how to return header value

Status
Not open for further replies.

divya g

New Member
Joined
Dec 12, 2018
Messages
4
I want to return the column headings for each x in a record (row) I can find the first using index and match but not subsequent column headings.

adaeafag
1educhathumanfootprint
2xx
3x
4x

<tbody>
</tbody>

here i need to display header value(edu,chat,...)where ever x value is there and display header value in another column
how to write the formula


 

James006

Well-known Member
Joined
Apr 4, 2009
Messages
3,680
Hello,

Since a given row can contain many different X ... and therefore return many column headers ...

How (and where...) should the output be displayed ...?
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
32,050
Office Version
365
Platform
Windows
Duplicate https://www.mrexcel.com/forum/excel-questions/1080536-how-display-header-value-post5191270.html#post5191270

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).

Note that sometimes posts from new users require Moderator approval before you can see them on the public forums. When this happens, you should see a message to that effect when you try to post it.
Please be patient and do not attempt to post the question again.
 
Status
Not open for further replies.

Forum statistics

Threads
1,081,678
Messages
5,360,472
Members
400,588
Latest member
SpannersWatson

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top