#1   Report Post  
Posted to microsoft.public.excel.misc
ceemo
 
Posts: n/a
Default in order


im having trouble working out how to do this

I have two fields of data

Priority / Shift

Shfts are either AM, PM or EVE

Priority will be a number and not Duplicated more then once for each
shift. Therefore there could be 1 and AM as well as a 1 and PM

i would like to add an additional priority column like so

New@@Priority@@Shift
2"""""""""""1""""""""""""PM
1"""""""""""1""""""""""""AM
3""""""""""""1""""""""""""EVE
4""""""""""""2""""""""""""EVE
5""""""""""""3""""""""""""EVE

The new column is prioritised by the lowest priority starting with the
AM's then PM's then EVE's



If ive not explained this clearly enough and you think you could help
please say and ill try and explain it better.


Please help,


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=546509

  #2   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default in order


Could you not do this by sorting the data firstly by shift and then by
'old priority' and then adding a sequence starting at one to get your
new priorities?

You would need to change the names of your shifts to get them to sort
in your desired sequence e.g. 1-AM, 2-PM, 3-EVE.

If the original sequence is important to you you could add an
additional sequence number column before sorting and use this to
deconvolute the data as a last step.


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=546509

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generate Auto Order Number cher Excel Discussion (Misc queries) 1 March 28th 06 06:15 PM
Series order conflicts with line order Cowtoon Charts and Charting in Excel 3 January 15th 06 08:43 PM
How do you open multiple files in specifc order? a_marie1028 Excel Discussion (Misc queries) 0 December 14th 05 01:15 AM
Print order of worksheets Stray Doug Excel Discussion (Misc queries) 3 September 21st 05 12:37 AM
Maintaining a default worksheet order Graham Excel Discussion (Misc queries) 4 February 21st 05 08:52 PM


All times are GMT +1. The time now is 04:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"