Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check if on position 1 in an cell is an character

Status
Not open for further replies.

Marcel1958

Technical User
Oct 11, 2001
38
NL
in an cell i have the value : v 8,00
now i have to check if there is an v in the first position and if so fill the new cell with 8,00
if there is another character then the new cell must be empty
 
Hi Marcel1958,

If your value is in cell A1, then in B1 put ..

=IF(LEFT(A1,1)="v",MID(A1,3,LEN(A1)-2),"")

This checks for the "v" and takes everything from position 3 onwards if it finds it.

Enjoy,
Tony

------------------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading FAQ222-2244 before you ask a question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top