Executioner
Board Regular
- Joined
- Sep 26, 2005
- Messages
- 166
Hi everyone,
I have one column A of data that looks like this:
AAL2074883-XX / A
AAL2075713-XX / A
AAL2075715-XX / A
AP2925411 / D
AP2928142 / H
AP2928142 / J
I have inserted a new column B so I can filter the alpha characters only. In the example above, it should look like:
The formula that I'm working with looks like this:
=LEFT(A2,3-ISNUMBER(MID(A2,2,1)+0))
This works only for the first 3 rows. Rows with only 2 alpha characters show up with a number - AP2 for example. Not sure how to adjust my formula to make it work correctly. Thanks for your help.
I have one column A of data that looks like this:
AAL2074883-XX / A
AAL2075713-XX / A
AAL2075715-XX / A
AP2925411 / D
AP2928142 / H
AP2928142 / J
I have inserted a new column B so I can filter the alpha characters only. In the example above, it should look like:
Code:
A B
AAL2074883-XX / A AAL
AAL2075713-XX / A AAL
AAL2075715-XX / A AAL
AP2925411 / D AP
AP2928142 / H AP
AP2928142 / J AP
The formula that I'm working with looks like this:
=LEFT(A2,3-ISNUMBER(MID(A2,2,1)+0))
This works only for the first 3 rows. Rows with only 2 alpha characters show up with a number - AP2 for example. Not sure how to adjust my formula to make it work correctly. Thanks for your help.