Thread: SUMIF with OR
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
dave roth dave roth is offline
external usenet poster
 
Posts: 10
Default SUMIF with OR

Thank you sir.

"Bob Phillips" wrote:

=SUM(SUMIF(B$2:B$40,{"DSO","OOJ"},C$2:C$40))

--
__________________________________
HTH

Bob

"dave roth" wrote in message
...
Good morning:

I'm running XL 2007, SP1 under WinXP.

I need to sum a range based on whether another range is either "DSO" or
"OOJ", i.e =SUMIF(OR(B$2:B$40="DSO","OOJ",),C$2:C$40)This formula
obviously
doesn't work, and I can't seem to get the syntax correct. Should I be
using
the double hyphen here?

Thank you for your assistance.