Consolidation if a least one criteria is met
HI
Look at this:
=IF(COUNTIFS($C$2:$C$7,"Yes",$A$2:$A$7,A2)0,SUMIF ($A$2:$A$7,A2,$B$2:$B$7),0)
Regards,
Per
"Nicawette" skrev i meddelelsen
...
Dear all,
I have the follwoing
Name Value Criteria
Aby 7 #N/A
Oby 9 #N/A
Ubi 1 #N/A
Orbi 9 Yes
Aby 6 Yes
Oby 2 Yes
and I would like to consolidate the data if "yes" is present at least
once for the name
e.g. Aby = 13, Oby = 11, Orbi = 9.
I tried this formula in column D
=SUMIFS(B2:B6,A2:A6,A2,C2:C6,OR(C2:C6="Yes",C2:C6) ) and remove the
duplicates but the formula does not add value with criteria = "Yes"
any idea?
Thank you
|