Excel Table extracting headers

ManuW

New Member
Joined
Jan 20, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello there,


Maybe you can help me with this question! I would appreciate it!
Okay, so the problem is I have a table with some data in it (just ones) and I want a column that gives me that data but compromised. I would like to have a string with just the headers of those column in which the one is.
I looks like this:

COLUMN I WANT TO HAVE header1header2header3header4
indicator1header11
indicator2header41
indicator3header21
indicator4header1,header311

I am sure I can bind the string together with =Textjoin but I am not really sure how to extract those headers. Especially if I have more than one header.

I hope you can help me.
Greetings,
Manú
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
How about
+Fluff 1.xlsm
ABCDEF
1COLUMN I WANT TO HAVEheader1header2header3header4
2indicator1header11
3indicator2header41
4indicator3header21
5indicator4header1,header311
Master
Cell Formulas
RangeFormula
B2:B5B2=TEXTJOIN(",",,IF(C2:F2=1,$C$1:$F$1,""))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,245
Messages
6,123,842
Members
449,129
Latest member
krishnamadison

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top