Find / Compare Text in 2 different cells

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.....
 
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)
 
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().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top