#1   Report Post  
Tim
 
Posts: n/a
Default Sorting Question

I have two columns of data that I want to match up. The
problem is that one of the columns has less data than the
other. I want the cells to line up when they equal the
same number. Some of the cells will not have an equal
though. I know that I can sort both columns, but the data
will not line up because one of the columns has less data
than the other. I can do an insert to push the data down
so that it lines up, but that is time consuming.

Thank you.
Tim
  #2   Report Post  
Dave O
 
Posts: n/a
Default

Here's one solution: a list of numbers- I used 1 thru 10- in A1:A10. A
second, shorter list of numbers in C1:C3. I wrote the following
formula in E1 and copied it thru E10:
=IF((ISERROR(MATCH(A1,$C$1:$C$3,0))),"",A1)
This does not require the lists to be sorted.

Will that do it for you?

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
Question about sorting in protected worksheet SJC Excel Worksheet Functions 6 March 24th 05 10:35 PM
SORTING question Rebecca New Users to Excel 3 February 24th 05 05:35 PM
Question on sorting dates Excel heavy user Excel Discussion (Misc queries) 3 January 21st 05 05:12 PM
sorting question Brian Excel Worksheet Functions 5 November 30th 04 05:32 AM
sorting question Brian Excel Discussion (Misc queries) 4 November 28th 04 12:30 PM


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