Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ATK
 
Posts: n/a
Default Summing Monthly values


I have data values in a spreadsheet in columns: Date in one column, and
costsin a second column. How can I add up in another column all the
costs for January, for February, for March, etc.

Thanks


--
ATK
------------------------------------------------------------------------
ATK's Profile: http://www.excelforum.com/member.php...o&userid=27662
View this thread: http://www.excelforum.com/showthread...hreadid=513390

  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK
 
Posts: n/a
Default Summing Monthly values

Assuming dates in column A (A1 to A1000, say), and costs in column B,
enter January, February, March etc to December in C1:C12. Then enter
this formula in D1:

=SUM(IF(MONTH(A$1:A$1000)=ROW(),B$1:B$1000,0))

Do not use <enter when you have typed it in - use CTRL-SHIFT-ENTER at
the same time, and if you do it correctly then Excel will wrap curly
braces { } around the formula. Copy it down to D12.

Hope this helps.

Pete

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 to lookup multiple values and summing them up in one cell Amr Abul Laban Excel Worksheet Functions 7 April 19th 10 02:57 PM
summing values appearing in col B when col A has been filtered choc_penguin Excel Worksheet Functions 3 February 3rd 06 11:18 AM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
Min values in a list of numbers Traima Excel Worksheet Functions 1 August 5th 05 01:32 PM
What is the best method for summing values where you want 2 value. Susan F. Excel Discussion (Misc queries) 2 March 25th 05 07:03 PM


All times are GMT +1. The time now is 04:42 PM.

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"