Searching Uppercase characters

S

Shams

Folks,
I have a text description in a cell which will sometime have the first 4
characters as uppercase:

i.e.

XBDP BDA OTHER: BOARDROOM PROD 08425360I

I want to be able to evaluate XBDP and return with the text "IA Code". I
thought I could do a left function combination that is evaluating an
uppercase string saying: if(left(A1,4) is uppercase, then type in the text
"IA Code" else type in the code "Other". I am trying to avoid doing a text
to column excel function.

I'll appreciate any help on this. Thank you.

Regards,
Shams.
 
S

Shams

Thank you very much for your help! I realized one more wrinkle in the text
after I sent out my message:

XBDP BDA OTHER: BOARDROOM PROD 08425360I

The good news about this text is that the variant XBDP will always be
followed by a space. So, can I add the space as well to my parameters so
that if the left(a1, 4) is uppercase as well has a space immediately
following it then return left(A1,4).

Thank you.

Regards,
Shams
 

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