Thread: SUMIF
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default SUMIF

=SUMIF(A:A,"=1000",B:B)-SUMIF(A:A,"2000",B:B)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"gottahavit" wrote in message
...
I am trying to use multiple criteria for SUMIF. Let's say I have a bunch

of
numbers in colum A. I am trying to identify the ones that are between 2000
and 10000, multiply those numbers with the corresponding numbers in column

B,
and then add those numbers up.
I hope that makes sense. I just can't get it to work.
Thanks.