+ Reply to Thread
Results 1 to 2 of 2

Thread: find the column

  1. #1
    Registered User
    Join Date
    09-20-2009
    Location
    manila
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question find the column

    hi there all, i'm new here, i joined this forum because i really believe that is a great forum to learn ideas in excel.

    i have a sort of a problem now... i have a table list of numbers from column a to f, row 4 to row 9. I have a criteria cell in b12. in my list is numbers, how to find that number in the list equal to number in b12, then if found return the value in the row 2, ( contains some data ) in same column as the 'found' number is located.

    thanks for help.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: find the column

    Do you mean something like ?

    Code:
    =IF(COUNTIF(A4:F9,B12),INDEX(A2:F2,MIN(IF(A4:F9=B12,COLUMN(A4:F9)))),"N/A")
    confirmed with CTRL + SHIFT + ENTER
    If the value occurs more than once it will return the first column heading in which the value is found.

Thread Information

Users Browsing this Thread

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

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.2.0