Excel Help Please - Text String.

Associate
Joined
20 Oct 2002
Posts
1,616
Location
North West
Hi,

Can anybody help me with this problem in Excel.

I need to return four characters after an _ from a text string, example as :-

DV9675EG_3C07 Galaxy 1.0

I want the formula to return the value 3C07

Can anybody help?

Thanks
 
Hi, that works.

Do you happen to know the syntex for this.

Taking the example above, i want to return everything after the "_" and before the " " as i've discovered that the characters are sometimes longer then four. Thanks
 
Fixed
Code:
=MID(A1, FIND("_", A1)+1, FIND(" ",A1, FIND("_", A1)) - FIND("_", A1) - 1)

For syntax, just look it up in the help, that is all I can usefully do.

That is a bit messy, but I can't see any other functions to clean it up
 
Back
Top Bottom