test for upper case

  • Thread starter Thread starter MusicMan
  • Start date Start date
M

MusicMan

Is their a function or way to use the UPPER function to test if the contents
on a cell are all Upper case?

Alternatively if someone has a macro to do so I could copy I would appreciate.
 
To check A1, in another cell enter

=IF(EXACT(A1,UPPER(A1)),TRUE,FALSE)

Copy as needed. Hope this helps,

Hutch
 
Very close, but blanks also came back true. I can handle them in IF test
though. Thanks very much.
 
You don't, of course, need the IF(...,TRUE,FALSE), because you've already
got a Boolean.

=EXACT(A1,UPPER(A1)) will do.
 
Back
Top