#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 71
Default SumIf based on date

I have dates in Col B, and quantity in Col C. I want to enter a date in cell
K1, and have the quantities added in Col C that occurred on or before the
date in K1.
--
Thanks,
Harry
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default SumIf based on date

=sumif(b:b,"<=" & k1,c:c)
This assumes that you only have dates (not dates w/ times) in column B.


"Harry" wrote:

I have dates in Col B, and quantity in Col C. I want to enter a date in cell
K1, and have the quantities added in Col C that occurred on or before the
date in K1.
--
Thanks,
Harry

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SumIf based on date

Try this:

=SUMIF(B1:B20,"<="&K1,C1:C20)

--
Biff
Microsoft Excel MVP


"Harry" wrote in message
...
I have dates in Col B, and quantity in Col C. I want to enter a date in
cell
K1, and have the quantities added in Col C that occurred on or before the
date in K1.
--
Thanks,
Harry



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 71
Default SumIf based on date

Perfect! Thank you so much.
--
Thanks,
Harry


"bapeltzer" wrote:

=sumif(b:b,"<=" & k1,c:c)
This assumes that you only have dates (not dates w/ times) in column B.


"Harry" wrote:

I have dates in Col B, and quantity in Col C. I want to enter a date in cell
K1, and have the quantities added in Col C that occurred on or before the
date in K1.
--
Thanks,
Harry

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
How do I create a "SUMIF" based upon a Date Range? SRacak Excel Worksheet Functions 1 March 9th 09 07:44 PM
Sumif....date in table is greater than compared to date [email protected] Excel Discussion (Misc queries) 1 September 13th 08 05:44 PM
condition sumif commands based on date range? joek8724 Excel Discussion (Misc queries) 2 March 23rd 08 05:57 AM
Sumproduct based which also weights data based on date ExcelMonkey Excel Worksheet Functions 6 February 4th 07 08:51 AM
sumif based on date Todd Excel Worksheet Functions 7 January 25th 06 03:24 AM


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