Extracting data from a worksheet and sorting into another

chrisinlakes

New Member
Joined
Jan 4, 2024
Messages
2
Office Version
  1. 2021
Platform
  1. Windows
Hi everyone,

I'm about to start a fair sized task where I have to use a spreadsheet to upload inventory data to a new POS system.
The data to be entered in being provided by our suppliers in spreadsheets of their making so there is no consistency in the formats of how they provide the data.
I will need to extract things such as product descriptions, product codes, prices and barcodes and put them into the upload template in the correct cells.

Is there an easy way to do this other than manually changing columns and pre sorting them to the upload template format and copying over?

I am still waiting on copies of the upload template and some source data before I can play around so am just trying to establish what is possible at the moment..

Thanks in advance...

Chris
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Send your suppliers your template? I had to do this with a new MRP system, the alternative is that you have to manually map each one of their spreadsheets into a master sheet and then ensure data format consistency is in line with your new system, i.e. text length, number formats, date formats, part numbers etc. How many suppliers are you dealing with?
 
Upvote 0
Hi, thanks for replying.
I don't have exact numbers yet, but think it's around 15 to 20.
Your suggestion however doesn't answer my question.
If it was an option to get someone else to do the sorting, I wouldn't have asked.
 
Upvote 0
You could potentially do it with some VBA, but there would still be a measure of manual labor to get columns or column headers as least into a workable order before running code on it. My thought is at the very least, you could normalize column headers across all sheets for the desired import data, and then search each sheet for those headers and go row by row importing and formatting the data as you need it.
 
Upvote 0
Hi, thanks for replying.
I don't have exact numbers yet, but think it's around 15 to 20.
Your suggestion however doesn't answer my question.
If it was an option to get someone else to do the sorting, I wouldn't have asked.
Thats not too many suppliers, I would manually map each one, you can do it by working out which column matches your master sheet, i.e. there column price column is 8, yours is 6. Temporarily for import, put above your name row a row for the mapping numbers, i.e. 8 above your price column as a reference to their column, use vlookup to bring the data in, copy and paste values, rinse and repeat.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,189
Members
452,616
Latest member
intern444

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