Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default Find / Compare Text in 2 different cells

hi, am trying to test if left 2 characters in 1 cell, is equal string of
characters in another cell. e.g.:

Cell A5: F00
Cell $A$3: A0 B0 C0 D0 E0 F0

Problem: does the left 2 characters "F0" exist in cell $A$3
thanks.....
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Find / Compare Text in 2 different cells

Try

=NOT(ISERROR(FIND(LEFT(A5,2),A3)))

--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"nastech" wrote in message
...
hi, am trying to test if left 2 characters in 1 cell, is equal string of
characters in another cell. e.g.:

Cell A5: F00
Cell $A$3: A0 B0 C0 D0 E0 F0

Problem: does the left 2 characters "F0" exist in cell $A$3
thanks.....


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Find / Compare Text in 2 different cells

Or equivalently:
=isnumber(FIND(LEFT(A5,2),A3))

And to the OP.

=find() is case-sensitive. If you don't care about the difference between F0
and f0, you can use =search() instead of =find().


Chip Pearson wrote:

Try

=NOT(ISERROR(FIND(LEFT(A5,2),A3)))

--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"nastech" wrote in message
...
hi, am trying to test if left 2 characters in 1 cell, is equal string of
characters in another cell. e.g.:

Cell A5: F00
Cell $A$3: A0 B0 C0 D0 E0 F0

Problem: does the left 2 characters "F0" exist in cell $A$3
thanks.....


--

Dave Peterson
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
FIND / SEARCH text compare cell to string in 3rd cell nastech Excel Discussion (Misc queries) 0 October 29th 07 02:51 AM
Help with Function: Compare text and and edit in cells CyranoDeBergarac Excel Worksheet Functions 2 June 12th 07 03:52 PM
How do I compare data in two worksheets to find matching cells? Gary Excel Discussion (Misc queries) 4 March 2nd 06 09:04 PM
Compare cells/columns and highlight matching text strings luxbelle Excel Worksheet Functions 1 February 25th 05 06:34 PM
How do you compare text in cells Sam Excel Worksheet Functions 1 February 18th 05 05:16 PM


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