Assigning column values to a heading

Status
Not open for further replies.

Cranners

New Member
Joined
Jun 17, 2019
Messages
5
Hi,
Yesterday I posted a similar question to this one but figured more context is needed in order for a solution to work for me :(
For context, I have data in a primary table structured like below:

NameCityLevel
JeffPerth5
MarkLondon2
PhilNew York4

<tbody>
</tbody>


The names in which, are being input into another sheet using a vlookup, as below:


Jeff
MarkPhil
Height194175166
Weight817660

<tbody>
</tbody>

With the following formula: =IFERROR(VLOOKUP(COLUMN()-2,'Sheet1'!$C$5:$F$50,ROW(),0), "")
dragged across, accounting for small formatting deviations.

What I'm trying to achieve, is if I add a row to my first table, as below:


NameCityLevel
JeffPerth5
Jim
MarkLondon2
PhilNew York4

<tbody>
</tbody>

The second table, will react like below:


JeffJimMarkPhil
Height194175166
Weight817660

<tbody>
</tbody>

Instead of what I'm currently getting below:


JeffJimMarkPhil
Height194175166
Weight817660


<tbody>
</tbody>


So, essentially, I want the data below the heading in the second sheet, to move along with the heading if a new Name is added on the first sheet.

Sorry if this is a little confusing to follow

Thanks :) :)
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Status
Not open for further replies.

Forum statistics

Threads
1,214,569
Messages
6,120,286
Members
448,953
Latest member
Dutchie_1

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