I'd like to total the number of UNITS in an array if the customer is Steve or Sally. I've tried the following
{=SUM(IF((product="car")*(color="red")*OR(customer="Steve",customer="Sally"),UNITS,0))}
the function
{=SUM(IF((product="car")*(color="red")*(customer="Steve"),UNITS,0))}
gives me the number purchased by Steve. I'd like the number purchased by either Steve or Sally.
I thought the OR might work, but it apparently gets evaluated as TRUE and everything in the UNITS column gets summed...
Any suggestions? Thanks!
Bookmarks