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

Excel: Selecting specific characters from data

Status
Not open for further replies.

NeilPattison

IS-IT--Management
Aug 24, 2005
52
0
0
GB
Hi everyone,

I have a list of grid references in a column in MS Excel in the form of two letters and then 4 numbers (i.e. SE4063).

I need to use a formula to select certain bits of this data(the first two letters and the 1st and 3rd numbers) which creates a grid square number (the result in this case would be SE46).

I know there is a way of doing this but my mind has gone blank.

Any help would be greatly appreciated.
 
if the data's in cell A4:

=LEFT(A4,3)&MID(A4,5,1)

Cheers,

Chris
 
Hi,

You could also use Data > text to columns...FIXED WIDTH

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top