Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 186
Default Summing a range of cells based on criteria in another range


A8 = 300 B8 = 600 C8 = sum of B8-A8 or 300 D8 = 100% E8
= +
A9 = 200 B9 = 150 C9 = sum of B9-A9 or = -50 D9 = -25.0% E8
= -
A10 = 100 B10 = 100 C10 = sum of B10-A810 or = 0 D9 = 0.0% E8 = 0

The formula I need will scan the E column for all cells that contain a "+",
then add those cells in the C column that correspond, delivering one total.
Same for the "-" and the "0" in E column.

Appreciate any help.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Summing a range of cells based on criteria in another range

Try these:

=SUMIF(E:E,"+",C:C)

for the + sign, and:

=SUMIF(E:E,"-",C:C)

for the negatives, and:

=SUMIF(E:E,0,C:C)

for the zero values.

Hope this helps.

Pete

On Nov 4, 11:52*pm, Jack wrote:
A8 = 300 * * B8 = 600 * C8 = sum of B8-A8 or 300 * * * * *D8 = 100% * * * E8
= +
A9 = 200 * * B9 = 150 * C9 = *sum of B9-A9 or = *-50 * * *D9 = -25.0% * *E8
= -
A10 = 100 * B10 = 100 *C10 = *sum of B10-A810 or = 0 *D9 = 0.0% * * * *E8 = 0

The formula I need will scan the E column for all cells that contain a "+",
then add those cells in the C column that correspond, delivering one total. *
Same for the "-" and the "0" in E column.

Appreciate any help.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Summing a range of cells based on criteria in another range

Try
=SUMIF(E:E,"+",C:C)
=SUMIF(E:E,"-",C:C)

You can do that without using colE as
=SUMIF(C:C,"0")
=SUMIF(C:C,"<0")


If this post helps click Yes
---------------
Jacob Skaria


"Jack" wrote:


A8 = 300 B8 = 600 C8 = sum of B8-A8 or 300 D8 = 100% E8
= +
A9 = 200 B9 = 150 C9 = sum of B9-A9 or = -50 D9 = -25.0% E8
= -
A10 = 100 B10 = 100 C10 = sum of B10-A810 or = 0 D9 = 0.0% E8 = 0

The formula I need will scan the E column for all cells that contain a "+",
then add those cells in the C column that correspond, delivering one total.
Same for the "-" and the "0" in E column.

Appreciate any help.


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summing a range of cells with criteria Fredrated Excel Worksheet Functions 7 September 2nd 09 12:18 PM
Summing based on a range of criteria Mike Excel Discussion (Misc queries) 3 June 16th 09 07:05 PM
Summing a range based on value criteria WiFiMike2006 Excel Discussion (Misc queries) 2 March 1st 07 01:08 AM
Add text to begining of cells within a range based on specified criteria jsd219 Excel Discussion (Misc queries) 5 October 20th 06 03:59 PM
color a range of cells based on a criteria Dave F Excel Discussion (Misc queries) 2 October 13th 06 02:29 PM


All times are GMT +1. The time now is 01:25 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"