I am trying to calculate the following values. There is one formula that is not returning the right value. Cell B3 should be returning a value of 3 and it is returning a value of 5.
Here is the formula:
=SUM(IF(FREQUENCY(IF((A9:A29<>"")*(B9:B29=""), MATCH(A9:A29,A9:A29,0)),ROW(A9:A29)-MIN(ROW(A9:A29))+1),1))
The spreadsheet is attached.
Bookmarks