+ Reply to Thread
Results 1 to 2 of 2

Sumifs for a date range

  1. #1
    Registered User
    Join Date
    01-20-2010
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    21

    Sumifs for a date range

    I am using this formula to calculate for a specific date (E1) but want to be able to calculate between 2 dates (E1-F1) and 7 days before and/or after (E1).

    =SUMIFS(Metrics!F:F,Metrics!D:D,A6,Metrics!A:A,E1)


    I am using Excel 2010

    Thanks
    Last edited by Cassi; 03-27-2013 at 02:00 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Sumifs for a date range

    I'm not sure exactly what you are asking for (or how your data is set up) but from your formula, this should Sum F if the date in A is between E1 and F1 (and the value in D is equal to A6). Does that help?
    =SUMIFS(Metrics!F:F,Metrics!D:D,A6,Metrics!A:A,">="&E1, Metrics!A:A, "<="&F1)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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