+ Reply to Thread
Results 1 to 3 of 3

Formula to return column header

  1. #1
    Registered User
    Join Date
    02-27-2009
    Location
    chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    5

    Formula to return column header

    Hello,

    I am looking at formula to return the column header, see example attached. Can some one help?


    Thanks in advance.
    Regards
    smsformula Query.xlsx

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Formula to return column header

    Here's a solution for part of your problem.

    in G3
    =INDEX(B$1:F$1,1,MATCH(1,B3:F3,0))
    and copy down the column

    This results in header of the FIRST column with a 1 in it.

    Multiple columns separated by a comma are a little more complicated.
    Maybe someone on the forum has a quick solution to this.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to return column header

    L3=
    Please Login or Register  to view this content.
    and drag across.

    then you have to add the text together.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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] Need formula to return column header name for first entry on each row greater than zero
    By TotallyLost in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-12-2014, 10:56 AM
  2. [SOLVED] Find specific value in table and return header row and header column value
    By nelwan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-30-2013, 01:35 AM
  3. lookup formula to return data where column header matches
    By tim-harrison in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-06-2013, 12:58 AM
  4. [SOLVED] Formula to find first negative number in row and return column header
    By spoonedmango in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-09-2012, 02:08 PM
  5. [SOLVED] Formula Needed to Return Entire Column Under Header on Second Sheet
    By bigtunelover in forum Excel General
    Replies: 1
    Last Post: 01-27-2012, 11:19 PM

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