Ted Lange as your Bartender
Footballguy
Anyone know a formula I could use in Excel that could extract the numbers from just the left side of a text string that always contains a hyphen in the middle?
For example:
72021969-101 Wells
How do I pull just the left sided number into a separate cell and leave out the “101” and everything else? Note that the number of digits on the left could vary in size so a simple “=LEFT” function wouldn’t consistetly work. I also found a more complex function on the inter webs involving LEN and SUBSTITUTE functions but it doesn’t seem to want to cut out digits to the right of the dash.
TIA
For example:
72021969-101 Wells
How do I pull just the left sided number into a separate cell and leave out the “101” and everything else? Note that the number of digits on the left could vary in size so a simple “=LEFT” function wouldn’t consistetly work. I also found a more complex function on the inter webs involving LEN and SUBSTITUTE functions but it doesn’t seem to want to cut out digits to the right of the dash.
TIA