+ Reply to Thread
Results 1 to 2 of 2

INDEX MATCH Return multiple data for YTD calculation

  1. #1
    Registered User
    Join Date
    02-06-2017
    Location
    SKG
    MS-Off Ver
    2010
    Posts
    1

    INDEX MATCH Return multiple data for YTD calculation

    Greetings to all,

    Now I have tackled this problem with the offset function, however I can not use it since I need to collect these data from different excel files in a different server. (I am getting a Value Error and need to have all these files opened)
    My next solution would be to use the Index Match function, however I can't figure out how to receive multiple data.

    Please find below the actual file:
    https://drive.google.com/open?id=0B2...N5aXRoR2Z6VGVN

    If I wanted to receive one cell data, that would be easy by using the function below:
    =INDEX(D9:O20;MATCH(C4;C9:C20;0);MATCH(C5;D8:O8;0))

    I cant seem to receive multiple data and sum them for YTD calculation. So if the column_num variable would be for any date lesser than the date in C5, how would we go about this, since the correct answer would be d9+e9?
    I thought maybe this however I do not get any answer:
    =INDEX(D9:O20;MATCH(C4;C9:C20;0);MATCH("<="&C5;D8:O8;0))

    The way I did it with the offset function was :
    =SUM(OFFSET(C8,MATCH(C4,C9:C20,0),1,,MATCH(C5,D8:O8)))

    Thank you for your time and effort

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: INDEX MATCH Return multiple data for YTD calculation

    Better way is:

    Attach a sample workbook. (Not a picture!)
    Make sure there is just enough data to demonstrate your need. Include a BEFORE (original) sheet and an AFTER (required output) 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, it should reflect original structure of your data.
    Remember to desensitize the data.
    Note:
    • Please do not attach password protected workbooks/worksheets
    • Please do not attach file(s) from exterior servers
    • Please do not attach file(s) with enabled any Workbook Open/Autorun macros!

    20 rows of data is enough (probably)

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. Replies: 5
    Last Post: 10-16-2016, 02:33 AM
  2. [SOLVED] Index Match with multiple criteria - Return top sellers for certain week from year data
    By albanhac in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2016, 06:28 AM
  3. [SOLVED] Index/Match with Multiple Criteria and Multiple return values
    By Brawnystaff in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-28-2015, 10:27 AM
  4. Using Index/Match to return multiple values for one match
    By superboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2014, 06:21 PM
  5. Replies: 3
    Last Post: 05-08-2013, 02:10 PM
  6. Using Index Match to return multiple results with very messy data.
    By falkon007 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-30-2013, 12:28 PM
  7. [SOLVED] How to use Index Match to return multiple values
    By pingpoeng in forum Excel General
    Replies: 2
    Last Post: 04-09-2012, 09:58 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