+ Reply to Thread
Results 1 to 4 of 4

return cell reference in a table based upon given lookup criteria

  1. #1
    Travis
    Guest

    return cell reference in a table based upon given lookup criteria

    Is there a way to return the cell reference, or column/row coordinates,
    of a cell within an array or table by providing lookup criteria?


  2. #2
    Ron Coderre
    Guest

    RE: return cell reference in a table based upon given lookup criteria

    Perhaps something like this:

    For a table of value in A1:E10

    F1: (the value to find)
    G1: =ADDRESS(MAX((A1:E10=F1)*ROW(A1:E10)),MAX((A1:E10=F1)*COLUMN(A1:E10)))
    Note: Commit that array formula by holding down the [Ctrl][Shift] keys and
    press [Enter].

    That formula returns the address of the 1st cell containing the value in F1,
    or #VALUE! if there is no match.

    Am I on the right track here?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "Travis" wrote:

    > Is there a way to return the cell reference, or column/row coordinates,
    > of a cell within an array or table by providing lookup criteria?
    >
    >


  3. #3
    Herbert Seidenberg
    Guest

    Re: return cell reference in a table based upon given lookup criteria

    If the value criteria occurs only once in array1,
    =ADDRESS(SUMPRODUCT((array1=criteria)*ROW(array1)),
    SUMPRODUCT((array1=criteria)*COLUMN(array1)),1,1)
    otherwise post example.


  4. #4
    Travis
    Guest

    Re: return cell reference in a table based upon given lookup criteria

    Hello Herbert,

    That worked perfect! Thanks a million!

    Travis


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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