Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 345
Default Formula to sort

Assuming lists are in column A & B, try this for a list of a/c nos. compiled
from B that also appear in column A.
Assume row 1 has headings then in C2 enter:
=IF(A2="","",IF(ISNUMBER(MATCH(A2,B:B,0)),"",ROW() ))
in D2 enter:
=IF(ROWS($1:1)COUNT(C:C),"",INDEX(A:A,SMALL(C:C,R OWS($1:1))))
Copy both C & D down to the bottom of your list.
Hide column C and D will contain the list you require.
Hope this helps

"kix" wrote:

I have two columns 1st column has certain account numbers, the 2nd has those
same numbers plus a couple hundred more. I want to eliminate the account
numbers in 2nd column that do not exist in 1st column. I don't know how to
write a
formula for this.

Thank you.

 
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
SUM formula (sort of) cjones4mvp Excel Worksheet Functions 1 October 9th 09 04:30 PM
Excel - Want to sort by formula value without losing formula HappyPill Excel Discussion (Misc queries) 3 February 4th 08 06:56 PM
Ascending Sort formula, change to neg #: descending sort.. nastech Excel Discussion (Misc queries) 6 July 2nd 07 11:00 PM
HOW DO I SORT USING THE IF FORMULA!!! HERNAN Excel Discussion (Misc queries) 2 July 17th 06 04:58 PM
Sort formula Robert Excel Worksheet Functions 0 May 24th 05 12:58 PM


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