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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

edit cell value 1

Status
Not open for further replies.

faxof

Programmer
Dec 5, 2001
272
GB
i have a column containing codes in the following format:
"GB123456D"
i want to remove the GB part for each entry.

any ideas?
faxof
 
Faxof,

If the ref's are always the same length use:

=RIGHT(CellRef, 7)

If they vary in length use:

=RIGHT(CellRef,LEN(CellRef)-2)

Hope this helps.

Leigh Moore
LJM Analysis Ltd
 
You could also try:

=SUBSTITUTE(A1,LEFT(A1,2),"")

This assumes also that the references are always 2 characters long.

Hope this helps!



Peace! [peace]

Mike

Never say Never!!!
Nothing is impossible!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top