#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default SUM IF

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")
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default SUM IF

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

will count from 5000 to 10000


--


Regards,


Peo Sjoblom




"Stella" wrote in message
...
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")



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default SUM IF

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)


In article ,
Stella wrote:

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")

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default SUM IF

I cannot thank you enough. Your quick accurate response is so greatly
appreciated.

"JE McGimpsey" wrote:

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)


In article ,
Stella wrote:

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")


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default SUM IF

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.

"Stella" wrote:

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")



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default SUM IF

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.


In article ,
Stella wrote:

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.

"Stella" wrote:

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")

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default SUM IF

I used the SUMPRODUCT FORMULA BELOW - it worked great to determine Value, but
now I need to count the items.

"JE McGimpsey" wrote:

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)


In article ,
Stella wrote:

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")


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default SUM IF

One way:

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


In article ,
Stella wrote:

I used the SUMPRODUCT FORMULA BELOW - it worked great to determine Value, but
now I need to count the items.

"JE McGimpsey" wrote:

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)


In article ,
Stella wrote:

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")


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"