+ Reply to Thread
Results 1 to 4 of 4

Sum IF with Dates

  1. #1
    Registered User
    Join Date
    10-26-2009
    Location
    new york, new york
    MS-Off Ver
    Excel 2000
    Posts
    9

    Sum IF with Dates

    Help please. I have a series of events listed by the date which they occur and I would like to write a SUMIF, which will return the sum for a given month. The data series is listed as follows:

    17-Aug-09 $560,000.00
    28-Aug-09 $266,400.00
    04-Sep-09 $335,093.00
    01-Sep-09 $225,000.00
    08-Sep-09 $114,750.00
    26-Aug-09 $260,000.00
    28-Aug-09 $588,650.00
    28-Sep-09 $129,000.00
    17-Sep-09 $378,473.00
    15-Sep-09 $360,000.00

    September =
    August =

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Sum IF with Dates

    Hi,

    for September you can use

    =SUMPRODUCT((MONTH(A1:A10)=9)*(B1:B10))

    or

    =SUM((MONTH(A1:A10)=9)*(B1:B10))

    The second formula must be confirmed with CTRL-SHIFT-ENTER. It is an array formula.

    For August, change the red bit to be 8

    hth

  3. #3
    Registered User
    Join Date
    10-26-2009
    Location
    new york, new york
    MS-Off Ver
    Excel 2000
    Posts
    9

    Re: Sum IF with Dates

    The array works perfectly, thank you very much!

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sum IF with Dates

    If you're doing this for each month you might want to consider pushing your data into a Pivot Table such that:

    Date is Row Field -> grouped by Month (& Year if necessary)
    Revenue is Data Field set to SUM.

    Pivot Tables will offer you immense reporting flexibility for little / no effort .. if you're unfamiliar with them there is a general intro link in my sig.

+ 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