ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sorting goes E100,E1001,E101 not E100,E101 etc. Why??? (https://www.excelbanter.com/excel-discussion-misc-queries/116369-sorting-goes-e100-e1001-e101-not-e100-e101-etc-why.html)

MEANLEANDEANE

Sorting goes E100,E1001,E101 not E100,E101 etc. Why???
 
Even trying Text,Numbers,General in the Format is giving me the same results.
ie E110,E1101------E1109 THEN E111 E1111 etc
It appears that the numbers are being treated in some type of formula.Could
it be that the combination of alpha and numeric is causing a peoblem?

David Biddulph

Sorting goes E100,E1001,E101 not E100,E101 etc. Why???
 
To me they don't look like numbers, they look like text strings, so Excel
will sort them alphanumerically.

If you've always got the one prefix letter, you may be able to get away with
splitting the number part into a helper column, and sorting by that; Excel
kindly gives you the option that anything that looks like a number is sorted
as a number.
--
David Biddulph

"MEANLEANDEANE" wrote in message
...
Even trying Text,Numbers,General in the Format is giving me the same
results.
ie E110,E1101------E1109 THEN E111 E1111 etc
It appears that the numbers are being treated in some type of
formula.Could
it be that the combination of alpha and numeric is causing a peoblem?




Stefi

Sorting goes E100,E1001,E101 not E100,E101 etc. Why???
 

E110,E1101------E1109 THEN E111 E1111 are strings for XL.

If you want to sort by numbers represented by characters after E then use a
helper column filled with formula =VALUE(MID(A2,2,256)) (supposed that your
data are in column A) and sort by this helper column!

Regards,
Stefi


€˛MEANLEANDEANE€¯ ezt Ć*rta:

Even trying Text,Numbers,General in the Format is giving me the same results.
ie E110,E1101------E1109 THEN E111 E1111 etc
It appears that the numbers are being treated in some type of formula.Could
it be that the combination of alpha and numeric is causing a peoblem?


MEANLEANDEANE

Sorting goes E100,E1001,E101 not E100,E101 etc. Why???
 
BINGO. Thanks a lot.

"David Biddulph" wrote:

To me they don't look like numbers, they look like text strings, so Excel
will sort them alphanumerically.

If you've always got the one prefix letter, you may be able to get away with
splitting the number part into a helper column, and sorting by that; Excel
kindly gives you the option that anything that looks like a number is sorted
as a number.
--
David Biddulph

"MEANLEANDEANE" wrote in message
...
Even trying Text,Numbers,General in the Format is giving me the same
results.
ie E110,E1101------E1109 THEN E111 E1111 etc
It appears that the numbers are being treated in some type of
formula.Could
it be that the combination of alpha and numeric is causing a peoblem?





MEANLEANDEANE

Sorting goes E100,E1001,E101 not E100,E101 etc. Why???
 
Thanlks a lot.

"Stefi" wrote:


E110,E1101------E1109 THEN E111 E1111 are strings for XL.

If you want to sort by numbers represented by characters after E then use a
helper column filled with formula =VALUE(MID(A2,2,256)) (supposed that your
data are in column A) and sort by this helper column!

Regards,
Stefi


€˛MEANLEANDEANE€¯ ezt Ć*rta:

Even trying Text,Numbers,General in the Format is giving me the same results.
ie E110,E1101------E1109 THEN E111 E1111 etc
It appears that the numbers are being treated in some type of formula.Could
it be that the combination of alpha and numeric is causing a peoblem?


Stefi

Sorting goes E100,E1001,E101 not E100,E101 etc. Why???
 
You are welcome! Thanks for the feedback!
Stefi


€˛MEANLEANDEANE€¯ ezt Ć*rta:

Thanlks a lot.

"Stefi" wrote:


E110,E1101------E1109 THEN E111 E1111 are strings for XL.

If you want to sort by numbers represented by characters after E then use a
helper column filled with formula =VALUE(MID(A2,2,256)) (supposed that your
data are in column A) and sort by this helper column!

Regards,
Stefi


€˛MEANLEANDEANE€¯ ezt Ć*rta:

Even trying Text,Numbers,General in the Format is giving me the same results.
ie E110,E1101------E1109 THEN E111 E1111 etc
It appears that the numbers are being treated in some type of formula.Could
it be that the combination of alpha and numeric is causing a peoblem?



All times are GMT +1. The time now is 03:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com