LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 791
Default Sumif less than x

Hi, I am trying to do a sumif where the criteria is less than a certain number

EG
row/col A B C
1 Month Value 3
2 1 50
3 2 75
4 3 100
5 4 200
6 5 300

If I enter the formula =sumif(A1:A6,"<3",B1:B6) then it works fine with the
answer being 125.

If I enter the formula =sumif(A1:A6,c1,B1:B6) then it works fine with the
answer being 100.

However I need the formula to refer to any months lower than the number in
cell C1 and if I enter the formula =sumif(A1:A6,"<c1",B1:B6) the cell returns
an answer of 0.

Does anyone know what I am doing wrong please?

 
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 for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
SumIf Sal Excel Worksheet Functions 10 April 19th 06 08:56 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 07:08 AM.

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

About Us

"It's about Microsoft Excel"