SUMIF

A

Avner Mediouni

I would like to know if it is possible to use SUMIF function to sum number
that are BETWEEN two condition
(i.e. =SUMIF(A1:A10,">3 & <10",B1:B10)

Sincerely yours
Avner Mediouni
R&D Physicist
e-mail: (e-mail address removed)
 
L

Leo Heuser

Avner

One way:

=SUMPRODUCT((A1:A10>3)*(A1:A10<10)*B1:B10)

--
Best Regards
Leo Heuser
MVP Excel

Followup to newsgroup only please.
 
L

Leo Heuser

You're welcome, Avner.
We like to be on first names in the groups :)
It's more relaxed.

LeoH
 

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

Similar Threads

Renaming VBA module 2
Using Solver within Macro 1
color function 5
File saving 1
ComboBox 1
sumif when criteria range is larger but includes criteria 1
sumif weekday 3
Sumif using Arrays 2

Top