Task
I have a commission report for my team - I've managed to get the formule correct to total each person by booking agent
BUT, I need to have a check/balance......IF THE RANGE DOES NOT INCLUDE THEIR BKAGENT INFO - SUM IT
So, for each employee, its BZ70XX - where XX is their individual identifier
Kelley Is KT (BZ70KT)
=SUMIF(D:D,"*BZ70KT*",M:M)
And that works for BZ70, and in one cell per staff member (BZ70YS BZ70YT BZ70OY and BZ70YN)
So I tried to make the exception......if the range doesn't have one of the above, AND E3="2".....sum it - what am i doing wrong:
=IF(E3="2",SUMIF(D:D,"<>*OY*,*KT*,*YN*,*YS*,*YT*",M:M))
I've tried it with *BZ70OY*,*BZ70KT*,*BZ70YN*,*BZ70YT* aswell - but it's a no go
(and the reason I need it to only sum the additional, when "2" is present...is because the spreadsheet has subtotals.... so it's summing those....which is not helpful....to exclude the subtotal rows, I'm saying it must have a Branch # 2 in Column E...which they do not
HELP!
I have a commission report for my team - I've managed to get the formule correct to total each person by booking agent
BUT, I need to have a check/balance......IF THE RANGE DOES NOT INCLUDE THEIR BKAGENT INFO - SUM IT
So, for each employee, its BZ70XX - where XX is their individual identifier
Kelley Is KT (BZ70KT)
=SUMIF(D:D,"*BZ70KT*",M:M)
And that works for BZ70, and in one cell per staff member (BZ70YS BZ70YT BZ70OY and BZ70YN)
So I tried to make the exception......if the range doesn't have one of the above, AND E3="2".....sum it - what am i doing wrong:
=IF(E3="2",SUMIF(D:D,"<>*OY*,*KT*,*YN*,*YS*,*YT*",M:M))
I've tried it with *BZ70OY*,*BZ70KT*,*BZ70YN*,*BZ70YT* aswell - but it's a no go
(and the reason I need it to only sum the additional, when "2" is present...is because the spreadsheet has subtotals.... so it's summing those....which is not helpful....to exclude the subtotal rows, I'm saying it must have a Branch # 2 in Column E...which they do not
HELP!