I am having a problem with the code counting a number when it should not.
So, here are numbers I have in C2:
4.2.3, 4.2.4, 5.1, 5.2, 5.4.1, 5.5.1, 6.1, 8.1, 8.5
E1 has this number in it:
4.1
The code below is in E2 and is returning the sum of 1.
It should be 0, but it is counting the 4.1 from 5.4.1.
How do it get it to only sum if the number is exactly 4.1 and not count the 4.1 part of the number from 5.4.1?
Here is the code:
=SUMPRODUCT(SUBTOTAL(103,OFFSET($C$2,ROW($C$2)-MIN(ROW($C$2)),,1)),ISNUMBER(SEARCH(E$1,$C$2))+0)