+ Reply to Thread
Results 1 to 3 of 3

searching for a value over multiple tabs- formula not working

  1. #1
    Registered User
    Join Date
    07-09-2019
    Location
    colorado
    MS-Off Ver
    365
    Posts
    2

    searching for a value over multiple tabs- formula not working

    I have attached a sample spreadsheet. On the tab labeled "patent summary sheet", I am trying to search column A in all tabs for the value in column A of the patent summary sheet. When I find a match for that value, I want to return the value of the box 15 rows and 14 columns over from that found value. The formula that I built is

    =OFFSET(INDIRECT(CELL("address", INDEX(INDIRECT("'" &'Sheet lists'!$B$2:$B$9&"'!" & "A1:A400"), MATCH(A2,INDIRECT("'" &'Sheet lists'!$B$2:$B$9&"'!" & "A1:A400"),0)))),15,14)

    Its an array formula so I hit control-shift-enter to enter it.

    "Sheet lists" is a named array that contains the names of the sheet tabs.

    The problem I am having is that only values found on the first sheet (essentially the sheet returned by $B$2 on the $B$2:$B$9 array in the formula) do not give an error.

    Its like the formula just thinks I have $B$2 instead of $b$2:$b$9.

    If you look at column C of the patent summary sheet, only the values found on $B$2 return a value for this formula. the rest are #N/A

    I have spent hours pouring over this formula and I cannot find my error.

    Any help would be much appreciated.

    C-L
    Attached Files Attached Files

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

    Re: searching for a value over multiple tabs- formula not working

    With this:
    Sheet lists'!$B$2:$B$9&"'!" & "A1:A400"
    it is a 3-dimension range, that MATCH can only refer to 2-D range only.
    So my solution is helper columns in summary sheet, from G to N in the right, each sheet per column.
    G2:
    Please Login or Register  to view this content.
    Drag to N17
    Then in C2:
    Please Login or Register  to view this content.
    If you want to get the full address:
    D2:
    Please Login or Register  to view this content.
    If you want to get value, just using =INDIRECT(D2)
    Attached Files Attached Files
    Quang PT

  3. #3
    Registered User
    Join Date
    07-09-2019
    Location
    colorado
    MS-Off Ver
    365
    Posts
    2

    Re: searching for a value over multiple tabs- formula not working

    Thank you, its a bit cumbersome because I have 54 tabs on the full sheet, but Ill hide those columns. That will do the trick!

+ 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. Look up for multiple tabs not working
    By Jwisniowski in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-19-2018, 10:21 AM
  2. Complex If Formula - Searching among various tabs of 2 excels
    By DimitrisPap in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-02-2018, 07:01 AM
  3. IF(AND not working across multiple tabs
    By Stuepef in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2017, 09:48 PM
  4. Avarage of cells on multiple tabs but searching corresponding column
    By JanaVR in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-12-2014, 02:06 PM
  5. Replies: 1
    Last Post: 11-23-2013, 12:05 PM
  6. Searching multiple tabs for value and putting them in a list
    By 0nyx1756 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-28-2011, 01:11 PM
  7. searching of multiple tabs and list matches
    By manning in forum Excel General
    Replies: 3
    Last Post: 12-16-2009, 02:44 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