+ Reply to Thread
Results 1 to 2 of 2

Summing Monthly values

  1. #1
    Registered User
    Join Date
    09-29-2005
    Posts
    6

    Talking 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

  2. #2
    Pete_UK
    Guest

    Re: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1