SUM IF

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to sum values within a certain range located in a separate
worksheet. $50MM Less than $5000 $5K to $10K $10,001 to $25K $25,001 to
$50K Greater than $50K


This formula does not work: Can you correct.

=SUMIF('Data Source $50MM'!B1:B2240,">=5000") -SUMIF('Data Source
$50MM'!B1:B241,"<=10000")
 
=SUMIF('Data Source $50MM'!B1:B2240,">=5000") -SUMIF('Data Source
$50MM'!B1:B241,">10000")

will count from 5000 to 10000


--


Regards,


Peo Sjoblom
 
One way:

=SUMIF('Data Source $50MM'!B1:B2240,">=5000") - SUMIF('Data Source
$50MM'!B1:B241,">10000")

(i.e., subtract values >10K from all values >=5K)

Another:

=SUMPRODUCT(--('Data Source $50MM'!B1:B2240>=5000), --('Data Source
$50MM'!B1:B2240<=10000), 'Data Source $50MM'!B1:B2240)
 
Can you help me one more time? I need to count the information in the same
ranges, but changing to countif from(sumif) doesn't work.
 
What does "doesnt' work" mean? COUNTIF() and SUMIF() should be
interchangeable as long as you have only two arguments.

What formula did you end up using? It would be helpful to reply to
*that* post, rather than the original one.
 
I used the SUMPRODUCT FORMULA BELOW - it worked great to determine Value, but
now I need to count the items.
 
One way:

=SUMPRODUCT(--('Data Source $50MM'!B1:B2240>=5000), --('Data Source
$50MM'!B1:B2240<=10000))
 

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

Back
Top