Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() Hi, I've got a column filled with part #s having a format like ABC1439 where the number of letters varies between 2-4 and the number of digits varies between 3-4. Ie these are all possible numbers: AB145, BDA1457, KDOG145, etc. What I'd like is to be able to extract the alphabetic part of the part #s. I know I could probably work something out with nested If statements, IsText(), Right() and Left() but that would be really messy. Theres gotta be an easier way than that! Note that IsText() reports ACB12 as true, so I'd have to test IsText on the right side until I get false and then find the length of the string and subtract from that and take left() of the result... what a pain! I know I can do it in VB as well, but since I've already got a formula in place (it only takes the leftmost two letters) it would be easiest just to change the formula. Thanks for any tips or hints! Tom -- ob3ron02 ------------------------------------------------------------------------ ob3ron02's Profile: http://www.excelforum.com/member.php...o&userid=15450 View this thread: http://www.excelforum.com/showthread...hreadid=273584 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
revert formula insertion to old method | Setting up and Configuration of Excel | |||
How do I copy a formula in excel where part remains absolute the . | Excel Discussion (Misc queries) | |||
Bold part of formula results | Excel Discussion (Misc queries) | |||
What instead of an array formula part 2 | Excel Discussion (Misc queries) | |||
my computor crashed and I lost my product code to reinstall how c. | Excel Discussion (Misc queries) |