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 Ordering Lists


I'm trying to write code to compare revenue data by state year ove
year. For purposes of my analysis, I need the states sorted i
descending order by revenue for the most recent year, then each prio
year needs to be sorted in the same order. So, if I receive data a
such:

2005

MA $1000
TN $950
IL $800
MN $300


2004

IL $5000
MN $300
TN $200
MA $50

I needed to sort the 2004 revenue data, so that the states are liste
in the same ordered as 2005, as seen below:

2004

MA $50
TN $200
IL $5000
MN $300

Does anyone know an efficient way to do this? I feel like their mus
be a way to store all this data in one array and then build a tabl
using the array.

Any help would be greatly appreciated.

Thanks,
Pete

--
PGalla0
-----------------------------------------------------------------------
PGalla06's Profile: http://www.excelforum.com/member.php...fo&userid=2426
View this thread: http://www.excelforum.com/showthread.php?threadid=46901

 
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
Re-ordering Worksheets Neil Pearce Excel Discussion (Misc queries) 2 June 16th 09 02:28 PM
Build too for ordering luckytr New Users to Excel 2 December 11th 08 06:14 PM
ordering pytelium Excel Discussion (Misc queries) 3 March 13th 06 11:21 PM
Need help on formulating ordering Angela Excel Worksheet Functions 2 October 7th 05 08:38 PM
ordering Dave B[_3_] Excel Programming 2 August 14th 04 03:52 AM


All times are GMT +1. The time now is 06:51 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"