Results 1 to 9 of 9

SUMIF with date range

Threaded View

  1. #1
    Forum Contributor Big.Moe's Avatar
    Join Date
    03-15-2012
    Location
    Corea, Maine, USA
    MS-Off Ver
    Excel 2010
    Posts
    258

    SUMIF with date range

    ***I'm using Excel 2003***

    This seems like it should be a no-brainer, but I just can't figure it out, but then again I'm not that advanced so I'm flailing away a bit here.

    In column A. I have a bunch of dates in the format dd/mm/yy. In column V, I have the corresponding sales figures. In column W, I'm trying to code a formula that will sum all the sales for the month. So when the end of the month comes along the total sales for that month will be calculated in column W. The catch is that, since this sheet will be used for different years, the row where the end of months occur are not none ahead of time, so I have to refer back to column A to find the end of the month. There are also blank cells in column V.

    Here's one formula I've tried without any success. The first part finds the end of month with no problem, but the SUMIF portion doesn't work.
    =IF(A5=WORKDAY(DATE(YEAR(A5),MONTH(A5)+1,1),-1),SUMIF(MONTH(A1:A7),MONTH(A5),V5:V4244,0)

    Col A------Col V------Col W
    1/2/15-----$15-------Blank
    1/15/15----Blank-----Blank
    1/23/15----$10------Blank
    1/30/15----Blank-----Blank
    1/31/15----$15------$40
    2/1/15-----$25------Blank
    2/7/15-----$10------Blank

    (Apologies for rough sketch, but table feature was not working properly)
    Last edited by Big.Moe; 05-01-2015 at 09:34 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] SUMIF Date Range
    By TylerJamison in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-04-2015, 04:36 PM
  2. SUMIF and date range
    By Exel_question_RS in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2014, 03:26 AM
  3. [SOLVED] Sumif when range is date + time and crieteria is date
    By lokpal.panwar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-05-2013, 06:46 AM
  4. Using SUMIF on a Date Range
    By mcmuney in forum Excel General
    Replies: 1
    Last Post: 11-11-2010, 08:26 PM
  5. [SOLVED] SUMIF within date range as a function of today()'s date
    By irvine79 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-06-2006, 01:00 PM

Tags for this Thread

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