Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everyone,
I have bunch of codes in this structu -'N''A' , where N = Number from 1 to 13, A = Alaphabet H,D,S,C in each cell, I have 5 of codes above combined together. e.g. 1D3S4C3D13S Problem is, those Alphabet codes and numbers have orders. i.e. Condition 1. H D S C, if it is bigger, it needs to be positioned left side. Condition 2. 1 is the biggest 13 is the smallest same rule applies. so if I have this code in cell A1 for an example : 5H8C3D1D13S this should really be arranged as 5H1D3D3S8C because H is the first priority 5H comes very first, 1D comes before 3D because number 1 is higher priority than 3 and they came before 3S because of the alphabet code 'D'. if I have an empty cell A1 (this is where I will be putting these 5codes in random order), how do i make it arrange it properly and display in B1 automatically according to those two conditions? thank you for your help in advance. regards, James |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
orders | Excel Discussion (Misc queries) | |||
Purchase Orders | Excel Discussion (Misc queries) | |||
Sum orders in a month from a table | Excel Programming | |||
how do you reverse the orders of numbers? | Excel Discussion (Misc queries) | |||
code for orders | Excel Discussion (Misc queries) |