Conditional Formatting based on Upper case

  • Thread starter Thread starter Guest
  • Start date Start date
This is how the cell looks"
BUFFENS, Delle - or
BUFFENS, Delle R. -

I wanted to highlight the entire cell
 
You need to give us more examples assuming that those 2 should be
highlighted what about an example that is not highlighted?
Is it always the first word that is upper as opposed to something like
Delle, BUFFENS ?


Peo
 
Here an example. I only wanted the name highlighted, the hypen is okay to

LEUSER, Rudolf -
will
dec. trust
trust rest.
living will
p/atty. - prop.
p/atty. - h.c.
durable p/atty
designa. of h/c surrogate
Michigan durable p/atty
Michigan designa. of patient advocate
 
Not really a good solution but it might catch most of them

=EXACT(UPPER(LEFT(A1,FIND(",",A1)-1)),LEFT(A1,FIND(",",A1)-1))

assuming that the format of a name is always the same with all caps last
name, comma and first name
of course if the comma is unique to the each occurrence of an all caps name
then you could use

=ISNUMBER(FIND(",",A1))


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com
 

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

Back
Top