kripper
Board Regular
- Joined
- Dec 16, 2013
- Messages
- 102
I am currently trying to figure out a way to extract a name from a cell with a different types of data.
Specifically, the employee's name that will appear after the statement "Employee (NUMBER): " and the employee's name is obviously different lengths of characters.
The current formula I am using is this
, which is working for some of the names, however it misses characters in some, and pulls characters from the next line if the name is too short.
As there are several lines within the cell, is there a way to have the formula recognize the carriage return or end of that line and not pick up and return data from the next line in the cell?
Hoping I explained it correctly.
Specifically, the employee's name that will appear after the statement "Employee (NUMBER): " and the employee's name is obviously different lengths of characters.
The current formula I am using is this
Code:
=MID(F171,SEARCH("Employee (NUMBER): ",F171)+38,15)
As there are several lines within the cell, is there a way to have the formula recognize the carriage return or end of that line and not pick up and return data from the next line in the cell?
Hoping I explained it correctly.