fayez_MrExcel
Active Member
- Joined
- Oct 29, 2005
- Messages
- 439
- Office Version
- 365
- Platform
- Windows
I have a alpha numeric code where the number is (always) after the 2nd hyphen on the left, but (sometimes) with different format, one has leading zero and others are not, how can i subtract/add 1 while maintaining the format (see expected value)
Book7 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Original Value | Expected Value -/+ 1 | ||||
2 | QUA-QT-09-I1 | QUA-QT-08-I1 | ||||
3 | QUA-QT-9-I1 | QUA-QT-8-I1 | ||||
4 | ||||||
Sheet1 |