Sequence number based on value of another column

dhen21dx

Board Regular
Joined
May 10, 2013
Messages
166
Hello,

Just wanna ask, what is the best way to achieved this kind of Item No sequence based on the value of Item.

Item NoCode1ItemCountry
1​
CACA8AT1
2​
CACA8BE1
3​
CACA8CN1
4​
CACA8CNB3
1​
GLGL302AT1
2​
GLGL302BE1
3​
GLGL302CNB3
4​
GLGL302CNDD
5​
GLGL302CZ1
6​
GLGL302FR1
7​
GLGL302GB1
8​
GLGL302HKTCP1
9​
GLGL302MY1
1​
GLGL353AT1
2​
GLGL353BE1
3​
GLGL353CNB3
4​
GLGL353CNDD
1​
USUS138HK1
2​
USUS138HKDD
3​
USUS138HKTCP1
4​
USUS138HKTT
5​
USUS138HU1
6​
USUS138IN1
7​
USUS138IT1
8​
USUS138JP1
9​
USUS138KR1
10​
USUS138KWAI CHUNG
11​
USUS138MX1
12​
USUS138MY1
13​
USUS138MY10
14​
USUS138MY11
15​
USUS138MYDD
16​
USUS138NL1
17​
USUS138NLDD
18​
USUS138PH1
19​
USUS138PHDD
20​
USUS138PHTT
21​
USUS138RO1
22​
USUS138SE1
23​
USUS138SG1
24​
USUS138TH1
1​
USUS139AT1
2​
USUS139BE1
3​
USUS139BR1
4​
USUS139CA1
5​
USUS139CN1
6​
USUS139CNB3
7​
USUS139CNDD
8​
USUS139CNSGMT
1​
USUS142AT1
2​
USUS142BE1
3​
USUS142CN1
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,223,276
Messages
6,171,140
Members
452,381
Latest member
Nova88

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