search for words with capital letter at end
Try this:
=IF(EXACT(RIGHT(D18),"M"),"yes","no")
--
Biff
Microsoft Excel MVP
"Roger on Excel" wrote in message
...
I need to search for a word with a capital letter at the end of the string.
For example
Hydrochloric acid 1M
Ive tried using =IF(RIGHT(D18)="M","yes","no"), but it doesnt
differentiate
between lower case and upper case.
Can anyone help?
Thanks,
Roger
|