+ Reply to Thread
Results 1 to 4 of 4

extracting column title from a table

Hybrid View

  1. #1
    Registered User
    Join Date
    07-19-2012
    Location
    paris, france
    MS-Off Ver
    Excel 2010
    Posts
    15

    extracting column title from a table

    Hello,

    I have data as in the table enclosed and just would like to extract the table column title every time the figure 1 is in the table...

    I just do not find the right formula for that.

    Please advise,

    Thanks,

    Tiger
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: extracting column title from a table

    =IFERROR(INDEX($B$5:$F$5,SMALL(IF($B7:$F7,TRANSPOSE(ROW(INDIRECT("1:"&COLUMNS($B7:$F7))))),COLUMNS($H:H))),"")

    Ctrl+Shift+Enter, not just Enter
    Copy across and down

  3. #3
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: extracting column title from a table

    I wrote a little macro to do the job.
    Since all are variables you can change the values and limits for the loops
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-19-2012
    Location
    paris, france
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: extracting column title from a table

    Many thanks to both of you!

+ 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