+ Reply to Thread
Results 1 to 2 of 2

Find Number from Table and return location (row and column)

  1. #1
    Registered User
    Join Date
    06-22-2010
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    5

    Find Number from Table and return location (row and column)

    I have a Table with Horizontal labels from 1 thru 100 and Vertical labels from 1 thru 100.

    InnerTable has all these random numbers (10,000 numbers total). What i am looking for is return 2 values... 1 value for the Horizontal Label (Columns) and another value for Vertical Label (rows) ...

    So essentially, if i am searching for number "53" .. It should return 8 and 7 (where 8= Column "I", and 7 equals row = 7).


    =ADDRESS(SUMPRODUCT((tbl=53)*ROW(tbl)), SUMPRODUCT((tbl=53)*COLUMN(tbl)), 4)

    This formula returns only one value (H4) ... I need for it to return 2 values into 2 different cells... H into 1 cell... and 4 into another cell..

    Thanks

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Find Number from Table and return location (row and column)

    This part should get you the row:

    =SUMPRODUCT((tbl=53)*ROW(tbl))

    and this the column

    =SUMPRODUCT((tbl=53)*COLUMN(tbl))

    Note: If you want the column letter, then try:

    =SUBSTITUTE(ADDRESS(1,SUMPRODUCT((tbl=53)*COLUMN(tbl)),4),1,"")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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