+ Reply to Thread
Results 1 to 4 of 4

IFERROR with INDEX and MATCH across multiple rows and sheets

  1. #1
    Registered User
    Join Date
    04-21-2020
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    2

    Angry IFERROR with INDEX and MATCH across multiple rows and sheets

    Hi,

    First time posting here, as I've exhausted my wife's Excel knowledge and mine. Google's searches seem to only bring me examples where people want numerical results, or are only dealing with a defined table set.
    I am running Excel 2016 but it does not have the IFS capability.

    I've recreated my problem set in a new smaller and simpler workbook for your guys' help. The original workbook that I need these formulas to work in has over 300 rows and 16 columns in the DR worksheet.

    I want the Priority worksheet to pull in Rows from DR sheet that Match the criteria of being "Open" or "Closed - E", as it states in Column A.

    I want the Priority list to also pull in Rows from the Upgrade sheet that Match the criteria of being "Upgrade", as it states in Column A.
    We then want to be able to have a Column B or wherever that would be the Disposition or "ranking". Based on the ranking, let's say 1 through 5, we'd sort the Priority worksheet to help prioritize what items should be worked on.

    As you can see, I tried using Helper columns to do an INDEX and MATCH for all items that met the criteria of being "Open" or "Closed - E" on the DR list, or "Upgrade" from the Upgrade Tracker sheet.

    I went down the IFNA/IFERROR pathways and was only able to pull correctly from the Upgrade worksheet and not from the DR worksheet. Tried to insert OR nested within the formula after IFNA/IFERROR and also tried to throw that OR between the indexes for the two different worksheets.

    I think my formula is getting jammed up trying to reconcile the helper index #'s from the DR worksheet and placing them appropriately into the Priority worksheet which is giving the win to the Upgrade worksheet.
    I was also getting correct information for Column B under Disposition and Column D under Helper, but I've tweaked the formula continuing to troubleshoot why the Priority worksheet is only pulling data from one of the two desired worksheets, so now it is just giving me a "TRUE" response under Columns B and D.

    Appreciate any help!

    IFERROR formula used to pull data into 'Priority' worksheet: =IFERROR(OR(INDEX(DR!A:A,MATCH(ROWS(DR!$1:1),DR!$D:$D,0))),((IFERROR(INDEX(Upgrade!A:A,MATCH(ROWS(Upgrade!$1:1),Upgrade!$D:$D,0)),""))))

    Helper formula used: IF(OR(A2="Upgrade"),1+MAX($D$1:D1),"")
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: IFERROR with INDEX and MATCH across multiple rows and sheets

    I would place all data in 1 sheet.

    After that you can analyse the data.

    This can be done with a filter or a pivot table.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    04-21-2020
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    2

    Re: IFERROR with INDEX and MATCH across multiple rows and sheets

    Quote Originally Posted by oeldere View Post
    I would place all data in 1 sheet.

    After that you can analyse the data.

    This can be done with a filter or a pivot table.
    The Upgrade worksheet will only have a few select users editing fields, and they don't want to slog through 300+ rows of entries from a different team of users. This also doesn't really help with taking the data, condensing it and sending to another party who only needs to have the prioritized data.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: IFERROR with INDEX and MATCH across multiple rows and sheets

    Try pasting the following into cell A2 on the Priority sheet and then copy down and across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The formula lags due to the whole column references. A better option would be to convert the ranges on the DR and Upgrade sheets to tables and use only the rows needed in the formulas.
    BTW the formula for column D on the Upgrade sheet could be written: =IF(A2="Upgrade",1+MAX($D$1:D1),"")
    If you have other sheets from which to extract data you might be interested in the tutorial on using Power Query (Get & Transform) to produce a combined table, updateable as the other tables are appended, which could be hidden and from which a pivot table could be produced.
    https://www.contextures.com/excelpow...inetables.html
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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: 2
    Last Post: 09-16-2019, 12:07 AM
  2. Replies: 4
    Last Post: 08-17-2016, 04:06 PM
  3. IFERROR, INDEX, MATCH AND SUMIFS to get from multiple pages
    By kgw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-31-2015, 02:59 PM
  4. IFERROR INDEX/MATCH for multiple sheets
    By mehare in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-22-2015, 12:47 PM
  5. [SOLVED] IFERROR, MATCH, INDEX functions to find differences of two sheets
    By LinaVa in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-30-2014, 10:29 AM
  6. nested iferror index match for 10k rows
    By bruno08102013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2014, 12:46 PM
  7. VBA Index/Match/iferror/and comparision and update file through two different sheets
    By gaurangaero in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2012, 11:33 AM

Tags for this Thread

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