Trying to FIND lowercase or uppercase of target occurence

U

u473

My bible says the FIND function does not distinguish between case as
opposed to SEARCH.
I wanted to be flagged for the word FREIGHT embedded in a text cell,
but the following formula did not respond for lowercase Freight. Where
did I go wrong ?
I am using Excel 2007.
=IF(ISERROR(FIND("FREIGHT",V91)),"","F")

Thank you,

Celeste
 
D

Don Guillett

use for any
freight
FREIGHT
fREIGhT
Freight

=IF(ISERROR(SEARCH("FREIGHT",C1)),"","F")
 
P

Pete_UK

Find IS case-sensitive - use SEARCH instead of FIND if you want to be
independent of case. Alternatively, you could amend your formula to
this:

=IF(ISERROR(FIND("FREIGHT",UPPER(V91))),"","F")

Hope this helps.

Pete
 
Top