Not even sure how to explain this in a subject request

ayeready

New Member
Joined
Oct 26, 2018
Messages
18
Hi

Sorry for the terrible header but i'm not sure how to explain this correctly.

On one sheet I have 1 column of numbers. Each number is on a row with further data. Some columns have no data.
Some numbers are duplicated in the first column.

On a second sheet i have the same list of numbers with duplicates removed. The column headers are the same but the blank columns from sheet 1 are filled on sheet 2.

I need the second sheet to show the same spacing as the first in order to fill the blank values from sheet 1 using the known values from sheet 2 while setting the correct rows to mirror the duplicate numbers.

First sheet looks like this:

NumberColourDate
101/01/2011
101/01/2011
101/01/2011
202/01/2011
303/01/2011
404/01/2011
404/01/2011
505/01/2011
505/01/2011

<tbody>
</tbody>


Second sheet looks like this:

NumberColourDate
1Black
2White
3Blue
4Red
5Purple

<tbody>
</tbody>

I need the second sheet to end up like this in order that i can then copy down each row in order to duplicate the rows in sheet 1 with all data from both sheets.

NumberColourDate
1Black01/01/2011
2White02/01/2011
3Blue03/01/2011
4Red04/01/2011
5Purple05/01/2011

<tbody>
</tbody>

Is this possible?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
How about


Book1
ABC
1NumberColourDate
21Black01/01/2011
32White02/01/2011
43Blue03/01/2011
54Red04/01/2011
65Purple05/01/2011
Sheet2
Cell Formulas
RangeFormula
C2=INDEX(Sheet1!$C$2:$C$10,MATCH(A2,Sheet1!$A$2:$A$10,0))
 
Upvote 0
The starting point is 2 sheets with the same columns but a different amount of rows on sheet 1 that needs to be mirrored on sheet 2 with the data in columns from sheet 1 transferred to sheet 2.

Don't think your solution works.
 
Upvote 0
In what way doesn't it work? It looks to give the same output as you showed.
 
Upvote 0
In what way doesn't it work? It looks to give the same output as you showed.

You end up with the same amount of lines in sheet 2 rather than the line count from sheet 1.

Apologies. I may be setting your solution up incorrectly.
 
Upvote 0
A formula cannot "Insert" rows.
Are you simply trying to get the colours from sheet 2 onto sheet1?
 
Upvote 0
A formula cannot "Insert" rows.
Are you simply trying to get the colours from sheet 2 onto sheet1?

Thanks.

I need the data from the columns but also the additional rows added to sheet 2.
If there's no possibility to structure the rows then it may not be solvable.
 
Upvote 0
Can you please explain what you need as an end result, forget any intermediate steps.
 
Upvote 0
Can you please explain what you need as an end result, forget any intermediate steps.

Hi Fluff

I would be happy with either of these two options as the final result.

NumberColourDate
1Black01/01/2011
1Black01/01/2011
1Black01/01/2011
2White02/01/2011
3Blue03/01/2011
4Red04/01/2011
4Red04/01/2011
5Purple05/01/2011
5Purple05/01/2011

<tbody>
</tbody>
















NumberColourDate
1Black01/01/2011
2White02/01/2011
3Blue03/01/2011
4Red04/01/2011
5Purple05/01/2011

<tbody>
</tbody>
 
Last edited:
Upvote 0
In that case put this in B2 on sheet1 & fill down
=INDEX(Sheet2!$B$2:$B$6,MATCH(A2,Sheet2!$A$2:$A$6,0))
 
Upvote 0

Forum statistics

Threads
1,214,650
Messages
6,120,736
Members
448,988
Latest member
BB_Unlv

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