A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

SumIf based on date



 
 
Thread Tools Display Modes
  #1  
Old April 12th, 2009, 05:40 PM posted to microsoft.public.excel.misc
Harry
external usenet poster
 
Posts: 222
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  
Old April 12th, 2009, 05:46 PM posted to microsoft.public.excel.misc
bapeltzer
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  
Old April 12th, 2009, 05:50 PM posted to microsoft.public.excel.misc
T. Valko
external usenet poster
 
Posts: 15,759
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  
Old April 12th, 2009, 06:03 PM posted to microsoft.public.excel.misc
Harry
external usenet poster
 
Posts: 222
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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.