Duplicate rows for vlookup multiple values

Victor Moss

Board Regular
Joined
May 3, 2014
Messages
90
Hey guys,

I'm importing a sheet and doing a vlookup to assign values as vlookup works, however, if the vlookup is finding values to assign, I need to duplicate the row to which the value must be assigned to as many times as what there are rows for those values. Would anyone know how to do this?

Thanking you in advance...
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hello, can you provide an example of what this would look like? A vlookup is used to find extra information about say and employee id in another file/sheet that also contains the employee id. I'm not sure what you mean by "duplicating the row to which the value must be assigned to as many times as what there are rows for those values."
 
Upvote 0

<tbody>
[TD="class: xl67, colspan: 7"]Original Scenario[/TD]

[TD="class: xl65"]a[/TD]
[TD="class: xl65"][/TD]

[TD="class: xl65"]b[/TD]
[TD="class: xl65, align: right"]1[/TD]

[TD="class: xl65"]b[/TD]
[TD="class: xl65"][/TD]

[TD="class: xl65"]a[/TD]
[TD="class: xl65, align: right"]2[/TD]

[TD="class: xl65"]c[/TD]
[TD="class: xl65"][/TD]

[TD="class: xl65"]d[/TD]
[TD="class: xl65, align: right"]3[/TD]

[TD="class: xl65"]d[/TD]
[TD="class: xl65"][/TD]

[TD="class: xl65"]c[/TD]
[TD="class: xl65, align: right"]4[/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66"][/TD]

[TD="class: xl65"]f[/TD]
[TD="class: xl65, align: right"]5[/TD]

[TD="class: xl65"]f[/TD]
[TD="class: xl65"][/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66, align: right"]6[/TD]

[TD="class: xl65"][/TD]
[TD="class: xl66"][/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66, align: right"]7[/TD]

[TD="class: xl65"][/TD]
[TD="class: xl66"][/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66, align: right"]8[/TD]

[TD="class: xl67, colspan: 7"]Solved Scenario[/TD]

[TD="class: xl65"]a[/TD]
[TD="class: xl65, align: right"]2[/TD]

[TD="class: xl65"]b[/TD]
[TD="class: xl65, align: right"]1[/TD]

[TD="class: xl65"]b[/TD]
[TD="class: xl65, align: right"]1[/TD]

[TD="class: xl65"]a[/TD]
[TD="class: xl65, align: right"]2[/TD]

[TD="class: xl65"]c[/TD]
[TD="class: xl65, align: right"]4[/TD]

[TD="class: xl65"]d[/TD]
[TD="class: xl65, align: right"]3[/TD]

[TD="class: xl65"]d[/TD]
[TD="class: xl65, align: right"]3[/TD]

[TD="class: xl65"]c[/TD]
[TD="class: xl65, align: right"]4[/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66, align: right"]6[/TD]

[TD="class: xl65"]f[/TD]
[TD="class: xl65, align: right"]5[/TD]

[TD="class: xl65"]f[/TD]
[TD="class: xl65, align: right"]5[/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66, align: right"]6[/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66, align: right"]7[/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66, align: right"]7[/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66, align: right"]8[/TD]

[TD="class: xl65"]e[/TD]
[TD="class: xl66, align: right"]8[/TD]

</tbody>
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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