+ Reply to Thread
Results 1 to 2 of 2

MONTH/SUMIF Function

  1. #1
    Registered User
    Join Date
    06-10-2007
    Posts
    1

    MONTH/SUMIF Function

    I have dates listed in column A in format 00/00/0000. I have costs located in column C, and would like to return sum of all costs that apply to specfic months. So if the date were 6/10/2007 and I had two others in the month of June and they each had a corresponding cost in Column C, I need the formula to return the sum off all costs in the month of June. I will have every month of the year listed, and I will be doing this for each month.

    I had a formula like this, but it won't work:
    "SUMIF(A:A,MONTH(6),C:C)" also
    "=SUM(IF(MONTH(A:A)=6,C3,0))"

    Thanks,
    Judy

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    =SUM(IF(MONTH(A1:A5)=6,C1:C5))

    Adjust ranges to suit and confirm with Ctrl+Shift+Enter not just Enter.

    Note: You can not use whole column references such as A:A with Array formulas such as this one.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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