scamsel
New Member
- Joined
- Apr 2, 2007
- Messages
- 33
- Office Version
- 365
- Platform
- Windows
Hi, so i'm trying to be able to put a formula in a cell that will return the last name of the person listed in a string, where the name is not in the same position each time. I know there are some complicated formulas to achieve this but i was trying to think of a way to make the formula a little more simple by maybe referring to a small list of names to look within a table.
So for example:
for the list above, i would like to be able to search each string and pull out the last name present in each. so for example, first cell would return me 'Holsenbeck', second and third would return 'Hall', fourth cell 'Turschmann', so instead of having some huge nested formula with each name to look up, is there a way to reference a list that i maintain anytime new names are added?
thank you,
b
So for example:
RACETRAC2502 025023HOLLY SPRINGS MICHAEL HOLSENBECK-01196-071789294 770-4317600 |
SHELL OIL 5754237640KENNESAW GA DAVID HALL-02004-0083527 GAS STATION |
SHELL OIL 5754237640KENNESAW GA DAVID HALL-02004-0083451 AUTO FUEL DISPENSER |
QT MARIETTA GA JOHN TURSCHMANN-01014-00743048SYB OUTSIDE SALE |
QT MARIETTA GA GELTON FLORES-01162-0074304UDJE OUTSIDE SALE |
QT MARIETTA GA KRISTOPHER BAXSTER-02103-0074301D8QK INSIDE SALE |
for the list above, i would like to be able to search each string and pull out the last name present in each. so for example, first cell would return me 'Holsenbeck', second and third would return 'Hall', fourth cell 'Turschmann', so instead of having some huge nested formula with each name to look up, is there a way to reference a list that i maintain anytime new names are added?
thank you,
b