Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
qwerty
 
Posts: n/a
Default SumIF - problem with Criteria

=SUMIF($A$9:$A48,"<=16",D$9:D$48)

The above works.

But what I need to do is to have the "<=16" get the variable value 16 from a
cell. The cell address with the current value 16 is AH1 and is on the same
worksheet.

Sorry folks - I can't figure out how to do this. If I enter "<=16", I get
the correct value. If I enter "<=AH1", I get 0.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default SumIF - problem with Criteria

=SUMIF($A$9:$A48,"<="&AH1,D$9:D$48)



qwerty wrote:

=SUMIF($A$9:$A48,"<=16",D$9:D$48)

The above works.

But what I need to do is to have the "<=16" get the variable value 16 from a
cell. The cell address with the current value 16 is AH1 and is on the same
worksheet.

Sorry folks - I can't figure out how to do this. If I enter "<=16", I get
the correct value. If I enter "<=AH1", I get 0.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default SumIF - problem with Criteria

Try this:

=SUMIF($A$9:$A$48,"<="&AH1,D$9:D$48)

Hope this helps.

Pete

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
qwerty
 
Posts: n/a
Default SumIF - problem with Criteria

Thank you. Problem solved.

"Dave Peterson" wrote in message
...
=SUMIF($A$9:$A48,"<="&AH1,D$9:D$48)



qwerty wrote:

=SUMIF($A$9:$A48,"<=16",D$9:D$48)

The above works.

But what I need to do is to have the "<=16" get the variable value 16
from a
cell. The cell address with the current value 16 is AH1 and is on the
same
worksheet.

Sorry folks - I can't figure out how to do this. If I enter "<=16", I get
the correct value. If I enter "<=AH1", I get 0.


--

Dave Peterson



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
Sumif with 2 criteria Mike Excel Discussion (Misc queries) 4 May 16th 06 09:21 PM
Multiple Criteria in a SUMIF formula JCARROLL Excel Discussion (Misc queries) 1 July 20th 05 09:17 PM
Sumif with criteria list Brian Barbre Excel Worksheet Functions 5 July 9th 05 12:50 AM
SUMIF, multiple criteria Lauren753 Excel Discussion (Misc queries) 1 June 20th 05 08:28 PM
SUMIF with only one criteria cell within range Stan Excel Discussion (Misc queries) 5 December 16th 04 10:12 PM


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