pencil pusher
New Member
- Joined
- Feb 24, 2016
- Messages
- 11
Hi,
So I have a list of data that looks somewhat like this
ABC00004
ABC01085
ABC00334
ABC00100
I want it to look like this
4
1085
334
100
The ongoing theme is that there will always be 3 letters and then numbers after it.
I want to capture the number only, and with no leading zeros, but I can't figure out how.
As a starting point, I tried using this formula below, but it cuts data like ABC01085 down to 85 instead of 1085 and ABC00100 comes up blank. Any ideas on how to fix this to meet my needs is appreciated!
So I have a list of data that looks somewhat like this
ABC00004
ABC01085
ABC00334
ABC00100
I want it to look like this
4
1085
334
100
The ongoing theme is that there will always be 3 letters and then numbers after it.
I want to capture the number only, and with no leading zeros, but I can't figure out how.
As a starting point, I tried using this formula below, but it cuts data like ABC01085 down to 85 instead of 1085 and ABC00100 comes up blank. Any ideas on how to fix this to meet my needs is appreciated!
Code:
=RIGHT(A1,LEN(A1)-FIND("@",SUBSTITUTE(A1,"\","@",LEN(A1)-LEN(SUBSTITUTE(A1,"\","")))))