Can excel sort part codes for me?

Gringo123

New Member
Joined
Mar 5, 2011
Messages
4
In my job I have to take a excel spreadsheet showing all the products that we have sold that month, and separate them out onto 2 new worksheets in order to show which of the items were manufactured in which of our 2 plants. I make this distinction by looking at the part number of each item. Is it possible to automate this task using excel? Can I feed all the item numbers into the program and say ask excel to separate them out for me?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
You can definitely do that.

First question... What about the part codes differentiates them for the two plants?
 
Upvote 0
Hi. Thanks for your help.
There is nothing in the part codes that tells you from which plant the item came. 90% are made in plant A and 10% in plant B so the list of plant B items is quite short. Would it be possible to write a progam that recognises this list of plant B items and sepataes them out?
 
Upvote 0
the are 5 number a "-" and 2 further numbers. example: 21458-01
However, there is ni link between the item codes and the plant in which they were made.
 
Upvote 0
You can use Text to Columns to split the codes on the hyphen.
Copy them to the next blank column, go to Data > Text to Columns, select - as the separator, and you will have the codes split into 2 sections.
You can then analyse them according to plant, probably the best option would be to use a VLOOKUP on a table containing the plant names and item codes.

Denis
 
Upvote 0

Forum statistics

Threads
1,224,526
Messages
6,179,322
Members
452,906
Latest member
Belthazar

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