+ Reply to Thread
Results 1 to 3 of 3

SUMIFS with date range as a cell reference

  1. #1
    Registered User
    Join Date
    05-05-2016
    Location
    Dublin, Ireland
    MS-Off Ver
    2007
    Posts
    0

    SUMIFS with date range as a cell reference

    Hi All,
    I am working with the formula below, to add a list of values (Column A), in a particular month (Date in column B), that doesn't have a status of cancelled (Column C) and has a status of Revenue (Column D).
    This is working fine with no issues:

    =SUMIFS(A:A,B:B,">="&DATE(2016,3,1),B:B,"<="&DATE(2016,3,31),C:C,"<>"&"Cancelled",D:D,"Revenue")

    The only problem is that I have to set up the same formula again for each month, this requires changing the date 12 times, which is not ideal.
    I am trying to set it up in a way that I have a cell reference containing a date range, for example for April, it would be the 1/04/16 to 30/04/16.
    In this way all I have to do is change the Month name in my reference cell and the formula will automatically calculate the total for the desired month.

    I don't even know how to begin setting this up, would anyone here have any idea or have dealt with something similar before?
    I would imagine something along these lines

    =SUMIFS(A:A,B:B,"="&F1,C:C,"<>"&"Cancelled",D:D,"Revenue")

    Where F1 is my reference cell and I manually type in the month

    Many thanks in advance

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello malagajm,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    05-05-2016
    Location
    australia
    MS-Off Ver
    2007
    Posts
    0

    Re: SUMIFS with date range as a cell reference

    just new and also need help on sumifs

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sumifs reference criteria is text but I want to reference cell
    By bbeards2 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-06-2015, 04:04 PM
  2. [SOLVED] How do sumifs against multiple reference and date
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2015, 11:18 PM
  3. [SOLVED] Sumifs using a cell reference
    By rickycr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-23-2014, 07:09 PM
  4. [SOLVED] reference date time range, return the value into all cell that match datetime range
    By Jarvco13 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-22-2013, 10:39 PM
  5. SUMIFS formula with Cell reference
    By sanjeevkumarmc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2012, 09:59 AM
  6. [SOLVED] SUMIFS for Date Range
    By rlb278 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-23-2012, 03:26 PM
  7. SUMIFS does not give a value for cell reference
    By inayat in forum Excel General
    Replies: 2
    Last Post: 09-23-2011, 03:02 AM

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