I am trying to use the Mid function in Excel, but I am stuck.
In column A, there is a string that looks like this: _string_unwanted
where _ equals a space, “string” is a string of variable length that i want to extract, _ is the 2nd space, and “unwanted” is a string of variable length that i don’t care about.
Here’s my function:
= Mid(A1, 2, __)
I put “2” to start at the 2nd character spot since I want to ignore the 1st space. What do I put in _ such that it finds the string of variable length? Meaning, it just isolates the “string” part of the above string..and ignores the 2 spaces, and the “unwanted” string?
Are you looking for this:-
Result:
EDIT:
This is the formula:-
Result: