Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ken0860
 
Posts: n/a
Default How do I compare tow columns of numbers?

I want to compare two columns of numbers to see if any combination of numbers
in column A equals any combination of numbers in column B.
  #2   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default How do I compare tow columns of numbers?


That's a lot of possible combinations so a long running macro will be
needed.

You could try to generate all the combinations in each by using the
binary representation of the two to the power or the number of items in
the column as a key to show which items to try together.

If you then loop through the combinations between the two columns, you
can list the matches as they occur somewhere else on the sheet.


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=551527

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
compare data from 2 columns micmed Excel Worksheet Functions 3 February 13th 06 02:53 AM
using functions to compare multiple columns for mismatch of cells MDIAZ451 Excel Worksheet Functions 3 February 13th 06 02:49 AM
Compare text/numbers in different columns. Mike Excel Discussion (Misc queries) 1 February 7th 06 07:18 PM
how to compare 6 columns of text data Deeptiman Excel Worksheet Functions 2 January 20th 06 07:13 PM
using VLOOKUP to compare 2 columns to find new information Jessica Excel Worksheet Functions 3 July 19th 05 02:59 AM


All times are GMT +1. The time now is 01:00 PM.

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"