+ Reply to Thread
Results 1 to 6 of 6

Date range (SUMIFS)

  1. #1
    Registered User
    Join Date
    01-10-2014
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    57

    Date range (SUMIFS)

    Hi,

    I'm basically having issues with the following equation:

    =SUMIFS(sheet1!M:M,sheet1!D:D,main!C12,sheet1!G:G,main!E7)

    So the part of the equation I need help with is in bold. sheet 1 contains a table with a range of days with in the month and i need to pick up everything within that month. However, as it'll only pick up one day of the month, depending on what i put in "main!E7". How do i make it so it picks up everything within that month?

    for example:
    Sheet 1:
    27/11/2013 5
    22/11/2013 6
    20/11/2013 7

    Main
    1/11/2013 =equation


    I need the main the pick up the 3 numbers in sheet 1.

    Thanks

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Date range (SUMIFS)

    If you have 1st of the month in E7 use this formula

    =SUMIFS(sheet1!M:M,sheet1!D:D,main!C12,sheet1!G:G,">="&main!E7,sheet1!G:G,"<"&EOMONTH(main!E7,0)+1)
    Audere est facere

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Date range (SUMIFS)

    hi shiser. your profile says you're using Excel 2003, but you are stating a SUMIFS eg. do change the version in your profile. it helps us give you newer formulas when we dont receive clues in your question. if your main!E7 can be any dates of the month,
    =SUMIFS(Sheet1!M:M,Sheet1!D:D,main!C12,Sheet1!G:G,">"&EOMONTH(main!E7,-1),Sheet1!G:G,"<="&EOMONTH(main!E7,0))

    if it's always the first:
    =SUMIFS(Sheet1!M:M,Sheet1!D:D,main!C12,Sheet1!G:G,">="&main!E7,Sheet1!G:G,"<="&EOMONTH(main!E7,0))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    01-10-2014
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    57

    Re: Date range (SUMIFS)

    thank you

  5. #5
    Registered User
    Join Date
    01-10-2014
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    57

    Re: Date range (SUMIFS)

    Another quick question!
    I'd like the cell to pick up the number if its a day with a specific month, going at the back of my initial question.
    So for example, date being 1/01/2014:

    Column A
    25/01/14 - 12
    23/01/14 - 55
    19/02/14 - 87


    Column B
    12
    55
    0

    thanks

  6. #6
    Registered User
    Join Date
    01-10-2014
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    57

    Re: Date range (SUMIFS)

    Nevermind! I figured it out!

+ 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 for a date range
    By Cassi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-27-2013, 01:47 PM
  2. [SOLVED] SUMIFS for Date Range
    By rlb278 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-23-2012, 03:26 PM
  3. [SOLVED] sumifs within date range
    By freud1 in forum Excel General
    Replies: 2
    Last Post: 08-22-2012, 04:56 PM
  4. Sumifs with date range - help please!
    By RuthieRu in forum Excel General
    Replies: 4
    Last Post: 08-14-2012, 05:50 AM
  5. [SOLVED] Using SUMIFS with a date range
    By millerman6566 in forum Excel General
    Replies: 3
    Last Post: 05-08-2012, 10:33 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