Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
steveo
 
Posts: n/a
Default formula to match a range(sort) so it matches an external column

Hey guys, I'm hoping you can help with this. I have a range from k4 to
p203 that I need to sort so that it matches another range b4 to d291.
The common between the two is U.S cities in the b and L columns.
The range from b4 to d291 has to remain exactly as it is. the rowa in
k4 to p203 need to move up and down to match the other range. There are
also multiple occurances of some cities in the b and l columns, and
there are a few blanks(no city) in the b column. Any ideas how to
accomplish this?
My best guess is this is an offset match or a vlookup. Please send some
suggestions you guys are a lot better at excel than I am. thanks! steveo

  #2   Report Post  
Posted to microsoft.public.excel.misc
Nick Hodge
 
Posts: n/a
Default formula to match a range(sort) so it matches an external column

SteveO

It sound like you need a 'custom sort' based on the order in your other
range

If this is correct, go to ToolsOptions...Custom Lists. In the import box
enter the range that holds your cities order and click add. Now go to the
range you want sorting in the same order as this list, select it and then
DataSort...Options... and in 'first key sort order' select your list and
it will sort in this same, custom order.

Hope I understood

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"steveo" wrote in message
oups.com...
Hey guys, I'm hoping you can help with this. I have a range from k4 to
p203 that I need to sort so that it matches another range b4 to d291.
The common between the two is U.S cities in the b and L columns.
The range from b4 to d291 has to remain exactly as it is. the rowa in
k4 to p203 need to move up and down to match the other range. There are
also multiple occurances of some cities in the b and l columns, and
there are a few blanks(no city) in the b column. Any ideas how to
accomplish this?
My best guess is this is an offset match or a vlookup. Please send some
suggestions you guys are a lot better at excel than I am. thanks! steveo



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
formula to sort a range so that it matches the exact rows of a column that is outside that range? steveo Excel Discussion (Misc queries) 1 June 18th 06 02:05 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Value between 2 dates AG Excel Worksheet Functions 11 August 21st 05 05:32 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
Formula for a column comicfly Excel Discussion (Misc queries) 2 March 11th 05 12:16 PM


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

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"