View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default hlookup & vlookup together

I'd do a little work to create a field in column C.
=LEFT(A1,SEARCH("/",A1)-1)&"-"&B1
and drag down

You'll end up with
10-james
10-john
10-andrew
10-peter
10-mike

Then I'd do that same thing for the second set of data (on Sheet2).

After I did that, I'd compare those two fields.

In D1:
=isnumber(match(c1,sheet2!c:c,0))
and drag down

If you see True, it matches. False means a problem.

You could do the similar formula in the other sheet, too. It might make
checking a bit easier.

schampiri wrote:

i have a master list having about 400 families and their member numbers
as follows

10/00 james
10/01 john
10/02 andrew
10/03 peter
10/04 mike

21/00 jane
21/01 moses
21/02 lucy

where */00 is the main member
i have another 2nd list having a version of the list as follows

10/00 james
10/00 john
10/00 andrew
10/00 peter
10/00 mike

21/00 jane
21/00 moses
21/00 lucy
21/00 (someone who shouldnt be here)

however some families in the second list have more members than in the
master list whereas others have less members

ive been using vlookup in a helper column in the 2nd list only but it
isnt very helpfull here since it lists for me only the main members as
seen in the masterlist ( but has been helpfull in seeing the missing
families)

is there a simple way perhaps using both vlookup & hlookup or any other
functions (without using macros if possible) to help me easily see the
problem families and the problem members.

thanks


--

Dave Peterson