Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Ron is offline
external usenet poster
 
Posts: 250
Default Conditional Sum w/o using the Wizard.

When I use this formula, I get a #VALUE error.

=SUM(IF(I9:I17="aaa",K9:K17,0))

I want to look for "aaa" in cells I9 thur I17 and sum the numbers in cells
K9 thru K17 for each occurance of "aaa" in cells I9 thru I17.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Conditional Sum w/o using the Wizard.

How about =sumif()

=sumif(i9:i17,"aaa",k9:k17)

ron wrote:

When I use this formula, I get a #VALUE error.

=SUM(IF(I9:I17="aaa",K9:K17,0))

I want to look for "aaa" in cells I9 thur I17 and sum the numbers in cells
K9 thru K17 for each occurance of "aaa" in cells I9 thru I17.



--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Conditional Sum w/o using the Wizard.

=SUM(IF(I9:I17="aaa",K9:K17))

press ctrl+shift+enter, not just enter


"ron" wrote:

When I use this formula, I get a #VALUE error.

=SUM(IF(I9:I17="aaa",K9:K17,0))

I want to look for "aaa" in cells I9 thur I17 and sum the numbers in cells
K9 thru K17 for each occurance of "aaa" in cells I9 thru I17.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Ron is offline
external usenet poster
 
Posts: 250
Default Conditional Sum w/o using the Wizard.

What a simple thing. Thanks to you both.

"ron" wrote:

When I use this formula, I get a #VALUE error.

=SUM(IF(I9:I17="aaa",K9:K17,0))

I want to look for "aaa" in cells I9 thur I17 and sum the numbers in cells
K9 thru K17 for each occurance of "aaa" in cells I9 thru I17.


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
Conditional Sum Wizard - Where is it in 2007 Carrco Excel Discussion (Misc queries) 1 August 6th 06 01:11 AM
Conditional sum wizard problem--Excel 2000 lcnlit Excel Discussion (Misc queries) 4 October 24th 05 04:13 PM
Conditional Sum Wizard Error Charlie Rowe Excel Discussion (Misc queries) 0 July 22nd 05 03:34 PM
Conditional Sum Wizard Presleytcb Excel Worksheet Functions 1 July 8th 05 07:15 PM
using wizard and conditional sum lloyd8156 Excel Worksheet Functions 1 June 5th 05 06:23 PM


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