
Signature
Kind regards,
Niek Otten
Microsoft MVP - Excel
Thanks.
Actually, come to think of it, if I could have a formula that does if 3
letter of D3 is lower case, then divide by 50--that would be the best.
Is there a way to define "lower case" in 3rd position?
> Use the EXACT() function
Jim Rech - 06 Dec 2007 22:08 GMT
=IF(EXACT(MID(A1,3,1),LOWER(MID(A1,3,1))),"lower","upper")

Signature
Jim
| Thanks.
| Actually, come to think of it, if I could have a formula that does if 3
| letter of D3 is lower case, then divide by 50--that would be the best.
| Is there a way to define "lower case" in 3rd position?
|
| > Use the EXACT() function
stef - 06 Dec 2007 22:13 GMT
Thanks
> =IF(EXACT(MID(A1,3,1),LOWER(MID(A1,3,1))),"lower","upper")
mikelee101 - 06 Dec 2007 22:17 GMT
You could use something like this:
=IF(CODE(MID(D3,3,1))<=90,"Upper","Lower")
Where you'd replace "Upper" with what you want it to do if the 3rd character
is upper case and replace "Lower" with what you want it to do if the 3rd
character is lower case.
This assumes that the 3rd character will always be an alpha character (no
numbers or special symbols) and that your computer is using standard ASCII
character set.
Hope that helps.

Signature
Mike Lee
McKinney,TX USA
> Thanks.
> Actually, come to think of it, if I could have a formula that does if 3
> letter of D3 is lower case, then divide by 50--that would be the best.
> Is there a way to define "lower case" in 3rd position?
>
> > Use the EXACT() function
stef - 06 Dec 2007 23:42 GMT
That's good, (only letters no numbers or symbols in 3rd position). I
will try it. Tx.
> You could use something like this:
>
[quoted text clipped - 8 lines]
>
> Hope that helps.