1

I'm trying to find out if the 1st letter in a cell is UPPERCASE. I know how to convert case using PROPER(), UPPER(), and LOWER(), but not how to detect case.

The following checks every word in the string and returns false for A1 and true for A2, but I just want to know if the 1st character in the cell is proper, not every word.

=EXACT(PROPER(a1),a1) 

string in cell A1:

hello World

string in cell A2:

Hello World

Any ideas on a formula that will return false for cell A1 and true for cell A2?

1

=ARRAYFORMULA(IF(LEN(A1:A); IF(EXACT(UPPER(LEFT(A1:A; 1)); 
                                           LEFT(A1:A; 1)); TRUE; FALSE); ))

3

0

=IF(EXACT(UPPER(LEFT(A1; 1)); 
                LEFT(A1; 1)); TRUE; FALSE)

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.