+ Reply to Thread
Results 1 to 4 of 4

Index match then returning a range of date values

  1. #1
    Registered User
    Join Date
    07-31-2013
    Location
    Denver, CO
    MS-Off Ver
    Excel 2003
    Posts
    2

    Index match then returning a range of date values

    Hi Everyone!

    An Index Match works well for me to return a date and address off of a list but if I want to return a sum of the prior 14 days from the look up date or the prior 90 days. How can I write to capture a sum of dates still using a look up on 2 criteria. Below is an example of the table. I am using =SUMIF(Data!$A$6:$A$147,$B$7,INDEX(Data!$B$6:$FR$147,0,MATCH($B$5,Data!$B$5:$FR$5,0))) for my look up to return one value.


    Sum of Total Gross Adds & Reacts Column Labels
    Row Labels 9/1/2014 9/2/2014 9/3/2014 9/4/2014 9/5/2014
    Blah Blah Account 37 43 52 58 82
    698 Iliff Ave 2 0 3 2 0
    520 E Iliff Ave Suite G 0 0 0 0 0
    220 E Iliff Ave Suite G 7 5 1 2 4
    270 E 6th Ave Unit 5 0 0 0 0 0
    5270 E 6th Ave. Unit 5 5 3 5 2 2
    628 E. Bruce Randolph 4 4 2 3 5
    930 havana st 2 1 1 0 0


    Thanks for your help everyone!

    Jennie

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,661

    Re: Index match then returning a range of date values

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Quang PT

  3. #3
    Registered User
    Join Date
    07-31-2013
    Location
    Denver, CO
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Index match then returning a range of date values

    Thanks. Here is a sample. I am looking to put in for the yellow highlighted cells.
    Attached Files Attached Files

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,661

    Re: Index match then returning a range of date values

    To sum 7 day prior:

    =SUMPRODUCT(OFFSET($A$1,MATCH($B$22,$A$1:$A$10,0)-1,MATCH($B$20,$A$2:$T$2,0)-1,,-7))

    Change the number -7 to +7 or -90 ...

+ 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 returning zero values ?
    By MMLBaylor in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-16-2015, 03:13 PM
  2. Index match returning incorrect values
    By Mrpussalia in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 10:55 PM
  3. Index and Match not returning values
    By -Spax- in forum Excel General
    Replies: 11
    Last Post: 12-06-2011, 11:29 AM
  4. Index and Match function returning same values
    By Climaxgp in forum Excel General
    Replies: 4
    Last Post: 12-15-2009, 05:59 AM
  5. Returning MULTIPLE values with Index and Match
    By Fly in forum Excel General
    Replies: 1
    Last Post: 06-01-2006, 12:55 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