Hi,
I have the fowllowing use case:
Every third cell in a row may contain only one of the follwoing: 0, >0 and blank(I'll mark it as _) values .
Some examples:
C1 = _
C2 = 0 F2 = _
C3 = 0 F3 = 0 I3 = _
C4 = 125 F4 = _
C5 = 0 F5 = 323
C6 = 0 F6 = 0 I6 = 445
All the values in between (for A,B, D, E etc. are not blank but irrelevant for me)
My output should be as follows:
Unless there is a >0 value in one of these cells ==> "NA"
If there is a >0 value in one of these cells ==> The number of 0's in the row + 1
Sם, for the rows above, the expected out puts should be as follows:
NA
NA
NA
1
2
3
I was trying to apply the following formula on GSheets but it doesn't work for me:
=IFERROR(AGGREGATE(14,6,{1,2,3}/(INDEX($A1:$I4,,{3,6,9})>0),1),"NA")
What is the error?
Thanks
Bookmarks