+ Reply to Thread
Results 1 to 4 of 4

Formula - lookup - single cell value - return non-adjacent cell - Multiple worksheets

  1. #1
    Registered User
    Join Date
    06-07-2016
    Location
    Rockford, IL
    MS-Off Ver
    2010
    Posts
    6

    Formula - lookup - single cell value - return non-adjacent cell - Multiple worksheets

    I have a spreadsheet that has 2 columns, the first column starts at cell C30 and is titled "Supplier Name", the second column starts at cell D30 and is titled " Quantity". In the second column I have the following formula =LARGE('First:Last'!$K$29,ROW(1:1)). This formula returns the largest value in order from largest to smallest. What I am trying to accomplish is returning the "Supplier Name" associated with the values listed in column D on the summary page.

    The "Supplier Name" would be found in cell C2 on every worksheet and the value listed on the summary page (column D) would match a value listed on one of the worksheets in cell K29.

    I have tried various INDEX/MATCH formulas but none of them worked, as I kept getting errors even after pressing ctrl + shft + enter.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Formula - lookup - single cell value - return non-adjacent cell - Multiple worksheets

    Try

    in C30

    =IFERROR(INDIRECT("'"&INDEX($A$2:$A$4,MATCH(TRUE,COUNTIF(INDIRECT("'"&$A$2:$A$4&"'!K29:K29"),D30)>0,0))&"'!C2"),"")

    Enter with Ctrl+Shift+Enter

    copy down

    A2:A4 are your worksheet names (extend range as needed): you could make this a named range (e.g. Sheets)


    =IFERROR(INDIRECT("'"&INDEX(Sheets,MATCH(TRUE,COUNTIF(INDIRECT("'"&Sheets&"'!K29:K29"),D30)>0,0))&"'!C2"),"")
    Last edited by JohnTopley; 06-14-2016 at 11:58 AM.

  3. #3
    Registered User
    Join Date
    06-07-2016
    Location
    Rockford, IL
    MS-Off Ver
    2010
    Posts
    6

    Re: Formula - lookup - single cell value - return non-adjacent cell - Multiple worksheets

    Thank You! Works great.

  4. #4
    Registered User
    Join Date
    06-07-2016
    Location
    Rockford, IL
    MS-Off Ver
    2010
    Posts
    6

    Re: Formula - lookup - single cell value - return non-adjacent cell - Multiple worksheets

    Deleted by Frankie T.
    Last edited by Frankie T.; 08-17-2016 at 12:29 PM.

+ 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. lookup name and return value in adjacent cell
    By jaffacakes in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2016, 05:46 AM
  2. Replies: 3
    Last Post: 07-21-2015, 05:10 PM
  3. [SOLVED] Return adjacent cell from formula with multiple columns
    By deluga.69 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-24-2014, 02:00 PM
  4. Replies: 5
    Last Post: 07-07-2013, 03:39 PM
  5. [SOLVED] Lookup Function to Return Values in Adjacent Cell?
    By TCstr8 in forum Excel General
    Replies: 2
    Last Post: 03-30-2012, 11:54 AM
  6. [SOLVED] lookup multiple values of a single cell and return sum of results
    By Zeppelin17 in forum Excel General
    Replies: 7
    Last Post: 08-10-2011, 07:09 PM
  7. Summing single cell from multiple (not adjacent) worksheets
    By lakegoddess in forum Excel General
    Replies: 0
    Last Post: 01-21-2005, 10:37 AM

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