+ Reply to Thread
Results 1 to 8 of 8

Returning a cell address from a look up table

  1. #1
    Registered User
    Join Date
    10-02-2013
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    4

    Returning a cell address from a look up table

    I am having trouble figuring this one out:
    I have two worksheets,
    sheet 1 has two columns of numbers that I need to find the corresponding cell address for those numbers on sheet 2 which is a block of columnar data- 5 columns, 76 rows.

    Can any one help?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Returning a cell address from a look up table

    Hi there... and welcome to the Excel Forum.
    Will you please attach a sample Excel workbook? Please don't attach a picture of one.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    10-02-2013
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Returning a cell address from a look up table

    Thanks
    here is the test file
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Returning a cell address from a look up table

    Use this array formu;la in Sheet 1, F2, copied across and down:

    =ADDRESS(MAX(IF(Sheet2!$A$1:$B$5=D2,ROW(Sheet2!$A$1:$B$5))),MAX(IF(Sheet2!$A$1:$B$5=D2,COLUMN(Sheet2!$A$1:$B$5))),4,,"Sheet2")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-02-2013
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Returning a cell address from a look up table

    Thank you so much!

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Returning a cell address from a look up table

    Another way in F2:G6 is this non-array formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Returning a cell address from a look up table

    Glad to have helped!

  8. #8
    Registered User
    Join Date
    10-02-2013
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Returning a cell address from a look up table

    Thank you! Appreciate it

+ 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. [SOLVED] Returning Address of the Cell with Largest or Smallest Value in data table ?
    By wiliam_s in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-22-2016, 03:07 PM
  2. Returning a cell address from a VLOOKUP function
    By manning457 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-23-2015, 02:41 PM
  3. Finding Certain Cell Value and Returning the Cell Address
    By meacoldinch in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-15-2014, 01:55 PM
  4. [SOLVED] returning the next cell address in a column
    By 59amcad in forum Excel General
    Replies: 3
    Last Post: 02-05-2014, 12:33 PM
  5. returning cell address
    By fabb2004 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2010, 01:21 PM
  6. help with returning the address of a cell
    By boris.libman in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-01-2009, 06:45 AM
  7. Returning Cell Address based on a Lookup Function
    By ChristiaanV in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-25-2007, 10:05 PM

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