Sort, relisted

S

sdmccabe

I am missing something, sorry. I data I want to limit to seven characters
starts in column G2. In H2 I entered the formula, =right(G2,7), but it
doesn't display the last seven - what did I do wrong?
 
P

Pete_UK

Try this amendment to the formula to get the last 7 characters:

=RIGHT(TRIM(G2),7)

Copy down, highlight all the columns you want sorted and sort on column
H.

Hope this helps.

Pete
 
E

Elkar

So, H2 just displays the formula you typed "=right(G2,7)"?

If so, the cell is probably formatted as text. Change the Cell Format to
General.

HTH,
Elkar
 
D

Dave Peterson

Format H2 as General (format|cells|Number tab)

Then with H2 still selected, hit F2 and then enter.
 
Top