Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have values like in column A: (1-Mahesh), (Denish), (Jignesh), (2-Ramesh),
(1,1-Luicey), (1,1,1-Burman), (2,3,3-Barton).....etc. I want it such a way that in apears like Alphabet, not number. I also want to include numerical value. Sort order like, 2,2,3-Barton; 1,1,1-Burman; Denish; Jignesh, 1,1-Lucey; 1-Mahesh; 2-Ramesh. Hope someone have solution. Harshad |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Put this formula in B1:
=IF(ISNUMBER(FIND("-",A1)),RIGHT(A1,LEN(A1)-FIND("-",A1)),A1) and copy down as required. Then apply the sort to both columns, using column B as the sort field. Hope this helps. Pete On Sep 24, 6:05*am, Harshad wrote: I have values like in column A: (1-Mahesh), (Denish), (Jignesh), (2-Ramesh), (1,1-Luicey), (1,1,1-Burman), (2,3,3-Barton).....etc. I want it such a way that in apears like Alphabet, not number. I also want to include numerical value. Sort order like, 2,2,3-Barton; 1,1,1-Burman; Denish; Jignesh, 1,1-Lucey; *1-Mahesh; 2-Ramesh. Hope someone have solution. Harshad |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi dera Pete,
Thank you very much. Your answer has saved my so many working hrs. Keep it up. With regards, Harshad "Pete_UK" wrote: Put this formula in B1: =IF(ISNUMBER(FIND("-",A1)),RIGHT(A1,LEN(A1)-FIND("-",A1)),A1) and copy down as required. Then apply the sort to both columns, using column B as the sort field. Hope this helps. Pete On Sep 24, 6:05 am, Harshad wrote: I have values like in column A: (1-Mahesh), (Denish), (Jignesh), (2-Ramesh), (1,1-Luicey), (1,1,1-Burman), (2,3,3-Barton).....etc. I want it such a way that in apears like Alphabet, not number. I also want to include numerical value. Sort order like, 2,2,3-Barton; 1,1,1-Burman; Denish; Jignesh, 1,1-Lucey; 1-Mahesh; 2-Ramesh. Hope someone have solution. Harshad |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combine data in two columns into one and sort the combined column alphabetically..how?? | Excel Discussion (Misc queries) | |||
Excluding Text combined with numerical value in EXCEL 2003 | Excel Discussion (Misc queries) | |||
Sort by Last Name when name is combined | Excel Worksheet Functions | |||
how do i program alphabet letters to represent numerical values? | Excel Discussion (Misc queries) | |||
How do you change sort defaults for combined text number & hyphen. | Excel Discussion (Misc queries) |