Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 988

Find position of first uppercase character in excel string

$
0
0

I need to find the position of the first uppercase character in an Excel string. There are lots of resources on the web that have the same (or effectively the same) solution for this:

=MIN(IF(ISERROR(FIND(CHAR(ROW(INDIRECT("65:90"))),A1)),"",FIND(CHAR(ROW(INDIRECT("65:90"))),A1)))

However, this is an unusual usage of the functions. I couldn't find an explanation of exactly what it does and how it works. When I use this formula myself, it doesn't seem to work.

Can someone explain how this formula works so I can figure out what I might be doing wrong?


Note: revision 2 includes my own answer. The original version was put on hold, and I gather the main issue was that I included the answer in the "question" part of the post. If the question is taken off hold I will make the answer an answer and delete this note.


Viewing all articles
Browse latest Browse all 988

Trending Articles