View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Mrbanner Mrbanner is offline
external usenet poster
 
Posts: 8
Default Help & me match these rows

Sorry for no reply i did send one but it didnt post
so i created new topic sorry
Her eit is again
Easier this time around

OK
Same data put it into 1 sheet
a b
1 hi.htm hi.htm
2 hello.htm hellow.htm
3 blue.htm bbloe.htm
4 bbloe blue.htm
5 happy.htm jeusus.htm
6 happy1.htm

Ok A has 1905 lines b has 2010 lines
what i need to do is if Anywhere in b1:1905 matches anywhere in
a1:2010
In C1:2010 it shows True or false.
that way i can see what records are missign from the colum B
and then fix them up quickly














On Nov 15, 12:05 pm, carlo wrote:
On Nov 15, 9:48 am, Mrbanner wrote:





Problem i have
1 Execel file 2 sheets


SHeet 1 has 1900 lines of data
Url File Names going down in Row A


hello.htm
hell2.htm
444.htm


Sheet 2 has 2100 lines of data
Row A
Same but this time only part of the data and sometimes full
hello.h
hell2.htm
444.ht


Which means people missed putting files into the excel file
What i need to do is do some type of if or match function so that if


A1:A1905 = Matches or part matches Sheet 2 A1:A2100 then it displaces
the word match or no match in the sheet 2 file some where


Any help would be great


is the filename unique?
or is it possible, that you have
hello.htm
hello.html
hello.php
hello.php4

If it is unique, a Vlookup should be able to do what you need.
If it is not unique, then it will be a little bit more difficult, to
be
honest i don't have any idea how i would solve the problem.

But if you want to try the vlookup:
Make a new column in your sheet2 with the formula:
=LEFT(A2,IF(ISERROR(FIND(".",A2)),LEN(A2),FIND("." ,A2)-1))
and copy it down

then in a new column in sheet1:
=if(iserror(vlookup(LEFT(A2,IF(ISERROR(FIND(".",A2 )),LEN(A2),FIND(".",A2)-1-)),sheet2!
B:B,1,false),"No Match", "Match")

I started with A2 in case you use Titles
change shee2!B:B to your new column in sheet2

hth

Carlo- Hide quoted text -

- Show quoted text -