#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rae Rae is offline
external usenet poster
 
Posts: 27
Default sort & match

I have a 21 page sheet that I have to match and sort columns b & d. I sort by
column b and then by d, but when they do not match each other I am having to
manually move each one. Is there any way for me to sort and match the
columns?

A B C D
E
11/21/2006 83225185 $93.09 83225185 $93.09
11/21/2006 83225223 $190.23 83225223 $190.23
11/21/2006 83225969 $49.99 83225969 $49.99
11/21/2006 83225971 $49.66 83225971 $49.66
11/21/2006 83225983 $0.01 83225995 $89.99
11/21/2006 83225995 $89.99 83226579 $268.01
11/20/2006 83226579 $268.01 83226593 $41.17
11/20/2006 83226593 $41.17 83226605 $222.59

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default sort & match

-Hi Rae:

I assume that all the data is on one sheet and that it merely prints out on
21 pages.

Why not sort columns A:C using two keys B and C B ascending C ascending
and then D:E using two keys D and E D ascending E ascending

This should match them up and then you can check using
if(and(b1=d1,c1=e1),"","<<<")

The one issue that you do not discuss is the relevance of the date. Does it
matter that cells d and e are moved to another date?

--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Rae" wrote:

I have a 21 page sheet that I have to match and sort columns b & d. I sort by
column b and then by d, but when they do not match each other I am having to
manually move each one. Is there any way for me to sort and match the
columns?

A B C D
E
11/21/2006 83225185 $93.09 83225185 $93.09
11/21/2006 83225223 $190.23 83225223 $190.23
11/21/2006 83225969 $49.99 83225969 $49.99
11/21/2006 83225971 $49.66 83225971 $49.66
11/21/2006 83225983 $0.01 83225995 $89.99
11/21/2006 83225995 $89.99 83226579 $268.01
11/20/2006 83226579 $268.01 83226593 $41.17
11/20/2006 83226593 $41.17 83226605 $222.59

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
Index and Match Formula Barbara Schneier Excel Worksheet Functions 4 January 7th 07 06:07 PM
How can I sort multiple times Sorting data Excel Worksheet Functions 2 February 9th 06 05:22 PM
Using AutoFilter to Sort Data Pulled in by INDEX / MATCH A Romeo Jr Excel Worksheet Functions 7 January 30th 06 11:43 PM
How to match sort and lineup 2 sets of data VTALABRAT Excel Worksheet Functions 0 June 23rd 05 12:26 AM
A sort of lookup or match lehigh46 Excel Worksheet Functions 1 February 26th 05 02:47 AM


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