Pull Data Based On Header

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,089
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

how to get data based on header and joint them
my target that cell contains data
here this below :
<style type="text/css">
table.tableizer-table {
font-size: 12px;
border: 1px solid #CCC ;
font-family: Arial, Helvetica, sans-serif;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #CCC ;
}
.tableizer-table th {
background-color: #104E8B ;
color: #FFF ;
font-weight: bold;
}
</style>

[TABLE="class: tableizer-table"]
<thead>[TR="class: tableizer-firstrow"]
[TH]a[/TH]
[TH]b[/TH]
[TH]c[/TH]
[TH]target[/TH]
[/TR]
</thead><tbody> [TR]
[TD]1[/TD]
[TD] [/TD]
[TD]4[/TD]
[TD]a,c[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5[/TD]
[TD] [/TD]
[TD]a,b[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]a[/TD]
[/TR]
</tbody>[/TABLE]


any help me, thanks in advance

.sst
 
Last edited:

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
hi..
i have testing it but it's not working well...someone could help me out.
 
Upvote 0
Hi
Fazz formula is Ok but maybe
Code:
=$A$1&IF(LEN(B2)>0;","&$B$1;"")&IF(LEN(C2)>0;","&$C$1;"")
 
Upvote 0

Forum statistics

Threads
1,223,948
Messages
6,175,579
Members
452,652
Latest member
eduedu

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