Separator to identify similar rows and code to add it

sncb

Board Regular
Joined
Mar 17, 2011
Messages
168
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi All,

I have a macro that cuts data from one tab and pastes it in this tab. But if you see the PO numbers for A3, A4 and A5 they all have the same PO numbers and I wanted to separate them and was able to separate A4 ad A5 but concatenating them (Col C).


Excel Workbook
ABCDEFG
1PO TypePO NumberType/NumberOrder dateKeepSalesperson*
2GB1650GB165016-FebNBrad*
3GB1500GB150023-FebNMichela*
4GB1500GB150023-FebNMichela*
5LP1500LP150023-FebNMichela*
6MN2500MN25008-MarNJasmine*
7MN3000MN300012-MarNDerek*
Sheet1




But the problem I face is that sometime the PO number and the PO codes are the same (A3, A4) and I need to add a separator to separate them.

Any suggestions on what could a separator be and also the code to add another column(or take next free column) and add the separator.

Thanks in advance
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,224,521
Messages
6,179,289
Members
452,902
Latest member
Knuddeluff

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