Wild Card

G

Guest

Can someone please with a fourmula for this problem
A B
George Aguilar Male

I would like the word "True" to be displayed if coulmn (A) begins with the letter "A throug G" and false if it begins with any other letter.

Thanks a lot
 
R

Richard Massey

The "Code" formula turns a character into a number. Upper-
and lower-case letter carry different codes. The
following formula should work:

=IF(AND(CODE(UPPER(LEFT(<cell ref>,1)))>=65,CODE(UPPER(LEFT
(<cell ref>,1)))<=71),TRUE,FALSE)

If you need other laters later on, change the 65 and 71 to
the relevant upper case codes.

Rich

-----Original Message-----
Can someone please with a fourmula for this problem
A B
George Aguilar Male

I would like the word "True" to be displayed if coulmn
(A) begins with the letter "A throug G" and false if it
begins with any other letter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top