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 :) :)
 

Some videos you may like

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Status
Not open for further replies.

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,014
Messages
5,508,798
Members
408,694
Latest member
LightBright

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top