Data Fill Based On Name Header

muhammad susanto

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

how to fill/joint data based on header clue :
<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><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>B</th><th>RR</th><th>RB</th><th>after formula</th></tr></thead><tbody>
<tr><td>1</td><td>0</td><td>0</td><td>B</td></tr>
<tr><td>0</td><td>1</td><td>0</td><td>RR</td></tr>
<tr><td>0</td><td>1</td><td>0</td><td>RR</td></tr>
<tr><td>0</td><td>1</td><td>0</td><td>RR</td></tr>
<tr><td>0</td><td>0</td><td>1</td><td>RB</td></tr>
<tr><td>0</td><td>0</td><td>1</td><td>RB</td></tr>
<tr><td>1</td><td>0</td><td>0</td><td>B</td></tr>
</tbody></table>

any helps much appreciated...

m.susanto
 
Last edited:

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
BRRRBafter formula
100B
010RR
010RR
010RR
001RB
001RB
100B
col G
BRRRBafter formula
row 13100B####
010RR
010RR
010RR
001RB
001RB
100B
######
=IF(G13=1,$G$12,IF(H13=1,$H$12,IF(I13=1,$I$12,"")))

<colgroup><col width="64" span="13" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
muhammad susanto, Good morning.

Supposing your data at A1:D8

Formula:

D2 --> =INDEX($A$1:$C$1, MATCH(1, A2:C2, 0))

Copy it down as necessary.

Please, tell us if it worked for you.

I hope it helps.
 
Upvote 0

Forum statistics

Threads
1,213,522
Messages
6,114,112
Members
448,549
Latest member
brianhfield

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