Macro to Lookup and rearrange the columns based on reference

newexcler

New Member
Joined
Nov 15, 2015
Messages
39
Dear Experts,

Problem: I have a data source and reference
Output 1: Create a data source with unique items and columns only based on the reference

Output 2: Vlookup / any other look up to show all the data source which match the product ID of reference.

Is it possible to rearrange the excel sheet columns only based on reference sheet which occasionally change and as there are many columns, look for a smarter way.

Please can you see the uploaded pictures and guide me the steps.

Thanks in advance.
2020-12-07_00h53_50.png
2020-12-07_00h54_50.png
2020-12-07_00h55_11.png
2020-12-07_00h55_35.png
2020-12-07_00h55_50.png
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,212,927
Messages
6,110,726
Members
448,294
Latest member
jmjmjmjmjmjm

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