LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 553
Default Comparing two ranges and the positions of duplicates

Is is possible to compare two ranges and return a list of booleans
illustrating where the values in 1 range reside in the other.

Assume Range 1 is as follows (A1:A10):
Dog
Cat
Man
Women
Car
Rain
Black
In
Peter
Acid

Assume Range 2 is as follows (B2:B6):
Rain
Blue
Mary
Stick
Dog

I want the result to illustrate where the items in Range 2 reside in Range 1
as follows. {1,0,0,0,0,1,0,0,0,0} showing that both "Rain" and "Dog" reside
in Range 1 in positions 1 and 6.

Any ideas?

Thanks

EM

 
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



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