jamescooper
Well-known Member
- Joined
- Sep 8, 2014
- Messages
- 834
Trying to get this to work, but I can't quite get it
IF(AND(OR(MATCH(D17,K:K,0)>0,MATCH(E17,L:L,0)>0),SUMPRODUCT(COUNTIF(M:M,TEXT(LEFT(F17,4)-10+ROW(M$1:M$21)-1,"0000")&" "&TRIM(MID(F17,6,100))))>0),"",
The OR statement in bold, the first match is greater than 0 and the second is not, therefore this should be true. Then the SUMPRODUCT part of the formula is also TRUE, so it should return blank, i.e. ""
I am not sure if I have this part correct...OR(MATCH(D17,K:K,0)>0,MATCH(E17,L:L,0)>0)
Any ideas please?
IF(AND(OR(MATCH(D17,K:K,0)>0,MATCH(E17,L:L,0)>0),SUMPRODUCT(COUNTIF(M:M,TEXT(LEFT(F17,4)-10+ROW(M$1:M$21)-1,"0000")&" "&TRIM(MID(F17,6,100))))>0),"",
The OR statement in bold, the first match is greater than 0 and the second is not, therefore this should be true. Then the SUMPRODUCT part of the formula is also TRUE, so it should return blank, i.e. ""
I am not sure if I have this part correct...OR(MATCH(D17,K:K,0)>0,MATCH(E17,L:L,0)>0)
Any ideas please?