SumIf Criteria Matches

D

Debbie Dies

I am trying to sum the amounts in column c if they match the criteria i
colum f.

I can sum c if column f is a single criteria. My problem is I wan
column c to sum if the criteria in column f is <>.

Example:
column c column f
1000 -- 13.5
2000 -- 8
3000 -- 15
4000 -- 20

I want to get the sum in column c if column f is >8 and <14.99. Thi
should total 1000. I can't seem to find the right formula. I hav
tried using =sumif(F2:f19,>8<14.99,C2:c19). I must have somethin
wrong. Please help
 
P

Peo Sjoblom

One way

=SUMIF(F1:F100,">8",C1:C100)-SUMIF(F1:F100,">=14.99",C1:C100)

or

=SUMPRODUCT(--(F1:F100>8),--(F1:F100<14.99),C1:C100)

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top