Summing a range within a range

A

arlum

I need the formula that will sum a range within a range. Example: the primary
range consists of the following numbers: 1,2,3,4,5,6,7,8,9,10 and I need to
know how many numbers are >3 and <8. First I need to know the sum ot the
qualifying numbers; second I need to know how many items there are.

Stumped and exhausted...anyone's help will be greatly appreciated!
 
T

T. Valko

Try these...

For the SUM:

=SUMIF(A1:A10,">3")-SUMIF(A1:A10,">=8")

For the COUNT:

=COUNTIF(A1:A10,">3")-COUNTIF(A1:A10,">=8")
 
E

Eduardo

Hi,
to sum use

=SUMPRODUCT(--(A1:A10>3),--(A1:A10<8),A1:A10)

to count

=SUMPRODUCT(--(A1:A10>3),--(A1:A10<8))

change range to fit your needs

if this helps please click yes thanks
 

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