+ Reply to Thread
Results 1 to 8 of 8

Combining INDEX formulas

  1. #1
    Registered User
    Join Date
    12-14-2016
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    4

    Combining INDEX formulas

    I have a workbook where I am importing data from 2 external reports (CSV to Excel format), and I have to find matches between both reports to determine matching criteria. Once I have this match completed I am pulling the results into another worksheet (all same workbook), for displaying in a line by line order. This is needed since I am working with up to 100000 lines of data. All of this is inside the same workbook and of course is a bit more time consuming for calculations but is acceptable. Both formulas work correctly but I would like to combine the 2 formulas into one and have final results displayed on a single worksheet, rather than have the one worksheet get results of matching data, and then the other worksheet display the results in specific order. I do this since I end up with (for example) 1000 matching results scattered throughout the MATCH worksheet (cells C2:I100000) with the matches, and need to provide the results in an ordered fashion on the RESULTS worksheet.

    Rather than try to make this work using my total data and results, I have shortened my amount of data for now, for ease of getting it to work as a combined single formula on a single worksheet.

    Below are the 2 formulas for the 2 worksheets performing the match and displaying the results:

    MATCH:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    DISPLAY:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I have tried this to no avail (which Excel accepts):

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Combining INDEX formulas

    If you attach a sample workbook, we might be able to help you better

    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 then scroll down to Manage Attachments to open the upload window.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    12-14-2016
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    4

    Talking Re: Combining INDEX formulas

    Quote Originally Posted by dflak View Post
    If you attach a sample workbook, we might be able to help you better

    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 then scroll down to Manage Attachments to open the upload window.
    I uploaded file to work with. The results for both worksheets formulas work perfect. I only want to combine/merge or whatever I can to streamline the calculations or speed them up. What ever might be best scenario for managing data.

    Thanks
    Attached Files Attached Files

  4. #4
    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,918

    Re: Combining INDEX formulas

    Links to cross-posts now provided - thank you.
    Last edited by AliGW; 12-14-2016 at 02:02 PM.
    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.

  5. #5
    Registered User
    Join Date
    12-14-2016
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    4

  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,918

    Re: Combining INDEX formulas

    Thank you foe the links. You may now receive help in this thread.

    You might also want to refresh your memory by re-reading the forum rules: http://www.excelforum.com/forum-rule...rum-rules.html

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Combining INDEX formulas

    I'm sending in my punter - this has an aggregate of an array of aggregates - it's beyond simple recursive substitution until you have everything defined in terms of the original parameters. There is probably an array formula that can do it, but my mind isn't up to that many levels of abstraction now.

    Good luck to you.

  8. #8
    Registered User
    Join Date
    12-14-2016
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    4

    Re: Combining INDEX formulas

    Quote Originally Posted by dflak View Post
    I'm sending in my punter - this has an aggregate of an array of aggregates - it's beyond simple recursive substitution until you have everything defined in terms of the original parameters. There is probably an array formula that can do it, but my mind isn't up to that many levels of abstraction now.

    Good luck to you.
    Thank you for your reply, time and honesty. I know this is a little abstract and I can run with it like it is, but I can't help but think there is a better way.

+ 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. Format Index Match as Date When Combining Formulas
    By RelativeRisk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-01-2016, 02:19 AM
  2. Combining IF with INDEX and MATCH
    By Motox in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2016, 04:00 AM
  3. Combining IF and Index Match
    By csnyder10 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-29-2016, 03:16 AM
  4. [SOLVED] Combining INDEX and MATCH with MAX
    By jcswaby in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-12-2016, 10:35 AM
  5. [SOLVED] Combining 3 Formulas: Return all Names that Match Criteria Using Index/Match
    By bchilme in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-29-2014, 09:28 AM
  6. Combining index and hlookup?
    By thisiscrazy in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-21-2009, 05:33 PM
  7. Combining IF and either vlookup or index
    By thisiscrazy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2009, 05: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