Link to home
Start Free TrialLog in
Avatar of Flora Edwards
Flora EdwardsFlag for Sweden

asked on

SUMIFs to exclude values

i am using below formula to exclude values with certain strings.

=SUM($A$2:$A$1000)-SUMPRODUCT(SUMIF($B$2:$B$1000,{"Maria","Greg","Gary"},$A$2:$A$1000))

is this correct way to do it? or is there any better way to do this?
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Flora Edwards

ASKER

thanks