LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default data sort macro

I need to rank a column to a fairly complicated pattern, based on th
number of records. I can do this with the =large function with a se
number of records, but it's variable so i think a macro is the only wa
forward??

For example, if the number of records in column E is between 120 an
130, i need the lowest number to fill position 120 (the highest 1
integer), the second lowest 110 etc - down to 10. Then the next lowes
would need to fill the position of the highest 5 integer (either 125 o
115 depending on the number of records), then the 2nd highest 5 intege
etc down to 5.
When the 5's are completed i need to continue the same logic with th
cells filled in the following order;
*1, *6, *2, *7, *3, *8, *4, *9 so that the lowest value is in cell E9.

I can do a sort within a dynamic range but i'm stuck with somethin
this complicated.
Can something working with relative cell values be done

--
Message posted from http://www.ExcelForum.com

 
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
Sort Data Macro rbrewer Excel Discussion (Misc queries) 2 April 18th 06 09:11 PM
Help:macro to auto sort data to different worksheets... 2nd Time Around Excel Discussion (Misc queries) 2 August 6th 05 12:31 PM
Macro - Data Sort -Variable Selection Frantic Excel-er Excel Discussion (Misc queries) 3 June 6th 05 10:33 PM
Using a MACRO to sort data BAM718 Excel Worksheet Functions 5 April 16th 05 01:40 PM
Using a macro to sort your data in alphabetical order? Carrie Excel Discussion (Misc queries) 1 April 14th 05 03:07 PM


All times are GMT +1. The time now is 10:04 PM.

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

About Us

"It's about Microsoft Excel"