PC Review


Reply
Thread Tools Rate Thread

Compare part of text cell to another

 
 
Nev
Guest
Posts: n/a
 
      12th May 2009
Hi there

I want to compare cell 1 with cell 2.

Cell 1 contains an address without the house number.

Cell 2 has the same address with the house number.

I want to be able to compare the 2 cells and if they are the same (excluding
the number) the answer is TRUE

Can this be done?

thanks

Nev
 
Reply With Quote
 
 
 
 
dan dungan
Guest
Posts: n/a
 
      12th May 2009
Hi Nev

You may be able to use the search function.

=SEARCH(A2,B2)

Dan
 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      13th May 2009
Somthing like this...If matching will return true; if not blank..

HIGH STREET, HIGH STREET 120 will return true
HIGH STREET 120, HIGH STREET will return true
HIGH STREET 120 , HIGH STEET 150 will return blank

A1 = Address1
B1 = Address2
C1 = IF(ISERROR(FIND(B17,C17))+ISERROR(FIND(C17,B17))<2,TRUE,"")



If this post helps click Yes
---------------
Jacob Skaria


"Nev" wrote:

> Hi there
>
> I want to compare cell 1 with cell 2.
>
> Cell 1 contains an address without the house number.
>
> Cell 2 has the same address with the house number.
>
> I want to be able to compare the 2 cells and if they are the same (excluding
> the number) the answer is TRUE
>
> Can this be done?
>
> thanks
>
> Nev

 
Reply With Quote
 
Nev
Guest
Posts: n/a
 
      13th May 2009
Dan

That's great. How do I stop #value! if the result is false. I want to
leave the cell blank or say no/false

Thanks

Nev

"dan dungan" wrote:

> Hi Nev
>
> You may be able to use the search function.
>
> =SEARCH(A2,B2)
>
> Dan
>

 
Reply With Quote
 
Nev
Guest
Posts: n/a
 
      18th May 2009
Hi Jacob

Thanks but perhaps you need a bit more information

Cell 1 address is formatted using Alt Enter ie

Union Buildings
Union Square
Bradford


Cell 2

25 Union Buildings
Union Square
Bradford
Yorks
BD5 8NN

I would like to be able to compare the 2 and that cell 1 is contained within
cell 2 so answer is "y" or "n"

Can you help?

thanks

Nev
"Jacob Skaria" wrote:

> Somthing like this...If matching will return true; if not blank..
>
> HIGH STREET, HIGH STREET 120 will return true
> HIGH STREET 120, HIGH STREET will return true
> HIGH STREET 120 , HIGH STEET 150 will return blank
>
> A1 = Address1
> B1 = Address2
> C1 = IF(ISERROR(FIND(B17,C17))+ISERROR(FIND(C17,B17))<2,TRUE,"")
>
>
>
> If this post helps click Yes
> ---------------
> Jacob Skaria
>
>
> "Nev" wrote:
>
> > Hi there
> >
> > I want to compare cell 1 with cell 2.
> >
> > Cell 1 contains an address without the house number.
> >
> > Cell 2 has the same address with the house number.
> >
> > I want to be able to compare the 2 cells and if they are the same (excluding
> > the number) the answer is TRUE
> >
> > Can this be done?
> >
> > thanks
> >
> > Nev

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FIND / SEARCH text compare cell to string in 3rd cell =?Utf-8?B?bmFzdGVjaA==?= Microsoft Excel Misc 0 29th Oct 2007 02:51 AM
Compare text string of a cell in Column A VS another cell in Colum =?Utf-8?B?VGFu?= Microsoft Excel New Users 2 1st Aug 2007 09:45 AM
Compare text string of a cell in Column A VS another cell in Colum =?Utf-8?B?VGFu?= Microsoft Excel Misc 1 1st Aug 2007 09:03 AM
Compare text string of a cell in Column A VS another cell in Colum =?Utf-8?B?VGFu?= Microsoft Excel Programming 0 30th Jul 2007 05:12 PM
Compare part of a cell to a column =?Utf-8?B?SmVzc2ljYVo=?= Microsoft Excel Misc 1 18th Sep 2006 07:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:38 PM.