Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default sum by dates-Excell 2003

I have a spread sheet with dates in column "A" and numbers in column "B". I
would like to sum part of column B based on dates in column A (by quarters,
Jan-March, April-June, etc...)

Can anyone tell me if it can be done in Excell 2003?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default sum by dates-Excell 2003

Sure thing. Take a lookat SUMIF in help file.
Example for first quarter:
=SUMIF(A:A,"="&DATEVALUE("1/1/09"),B:B)-SUMIF(A:A,""&DATEVALUE("3/31/09"),B:B)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Zirt" wrote:

I have a spread sheet with dates in column "A" and numbers in column "B". I
would like to sum part of column B based on dates in column A (by quarters,
Jan-March, April-June, etc...)

Can anyone tell me if it can be done in Excell 2003?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default sum by dates-Excell 2003


See attached with notes included. It includes one formula:
=SUMPRODUCT(IF(YEAR($A$2:$A$170) & " Q" &
MOD(INT((MONTH($A$2:$A$170)-1)/3),4)+1=E2,$B$2:$B$170,""))
which should be array-entered, which refers to adjacent cells
containing the likes of:
2003 Q1
2003 Q2
2003 Q3
etc.
Zirt;429630 Wrote:
I have a spread sheet with dates in column "A" and numbers in column
"B". I
would like to sum part of column B based on dates in column A (by
quarters,
Jan-March, April-June, etc...)

Can anyone tell me if it can be done in Excell 2003?



+-------------------------------------------------------------------+
|Filename: Summing according to dates.xls |
|Download: http://www.thecodecage.com/forumz/attachment.php?attachmentid=194|
+-------------------------------------------------------------------+

--
p45cal

*p45cal*
------------------------------------------------------------------------
p45cal's Profile: http://www.thecodecage.com/forumz/member.php?userid=558
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=119373

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
My chart in Excell will only let me use 5 dates. ? WillB Charts and Charting in Excel 1 March 2nd 09 02:19 AM
auto locking of excell workbook (excell 2003) cheekymonkey Excel Discussion (Misc queries) 2 November 14th 08 11:50 PM
Is there a way to automatically add sequential dates in excell? genectn New Users to Excel 1 April 3rd 07 04:24 PM
DATES IN EXCELL DENNIS Excel Discussion (Misc queries) 8 November 29th 05 12:34 PM
Can excell notify me of due dates? Deion007 New Users to Excel 1 October 21st 05 09:35 PM


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