+ Reply to Thread
Results 1 to 6 of 6

index match with sumif date range

  1. #1
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    index match with sumif date range

    I have wrote a index match array formula in columns C & D

    the formula in C4 looks at C3 & A4 then the date in D2

    what I need Is it to look at a date range so when I change the date it adds up what it has found.

    I.E

    Ardilla - Cases - between 02/01/14 & 03/01/14 would bring back 19

    I have attached the work book for an example.
    Attached Files Attached Files

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

    Re: index match with sumif date range

    hi namluke. try this in C4:
    =SUMIFS(INDEX(H$4:AY$34,,MATCH($B4,$H$2:$AY$2,0)),$G$4:$G$34,">="&$D$2,$G$4:$G$34,"<="&$E$2)

    copy down & across. by the way, it's been a while you've joined & you have probably upgraded your excel version since your file is an xlsx. could you update your profile of your MS Off Ver. it would be clearer & help members give you newer & more efficient formulas

    edit: by the way, i dont know where is the date range of 2Jan2014 to 3jan2014. i assume it to be D2 & E2
    Last edited by benishiryo; 01-13-2014 at 08:56 PM.

    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

  3. #3
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: index match with sumif date range

    hi thank you for your reply, it doesnt seem to work, it comes back with 0 - it needs to look up cases as well, so i think it would need to be an array formula.

    It need to look up the name (b4) the cases (c4) and the date range (d2 & e2)

    Hope this can be done as it would be a great help!

    Thank you for your time

  4. #4
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: index match with sumif date range

    So sorry! Yep works perfectly!!

    Thanks

  5. #5
    Registered User
    Join Date
    11-08-2015
    Location
    Sydney
    MS-Off Ver
    2007
    Posts
    8

    Re: index match with sumif date range

    Hello,
    I am having an issue with the same situation. I am trying to add values on cell C13 between date range based on criteria. But when I am writing the function I got an error.
    Could anyone assist me please? I have written this function =SUMIFS(INDEX(D3:G9,,MATCH(B13,B3:B9,0)),D1:G1,">="&B15,D1:G1,"<="&B16)



    Main A/c # Sub Account Total Budget May June July August
    1111
    400001 4000011000 1,900,000 158,316 157,740 160,748 157,224
    400001 4000012000 10,057,125 798,818 804,304 959,697 858,529
    400001 4000012100 2,819,793 192,303 222,257 275,415 289,158
    400001 4000013000 7,650,000 642,183 622,365 730,280 691,559
    400001 4000014000 10,645,130 767,988 760,082 1,017,803 954,500
    400001 4000015000 9,512,245 647,728 665,092
    400001 4000015100 95,520 45,997 49,523



    4000011000 #VALUE!


    Start month May
    End month August

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: index match with sumif date range

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Index Match Based on date range and name criteria
    By darkhangelsk in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-02-2014, 11:33 PM
  2. [SOLVED] INDEX MATCH based on 5 criteria, including a date range.
    By Folshot in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-05-2013, 09:35 PM
  3. [SOLVED] Index Match with date range criteria
    By NS4Excel in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 10-24-2013, 04:58 PM
  4. Index match, within a certain date range
    By Spreadsheetdaunting in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2013, 01:02 AM
  5. Replies: 3
    Last Post: 05-08-2013, 02:10 PM

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