Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Using OR to evaluate TEXT

Hey everyone... Probably a very simple fix, but I just can't seem to
figure it out on my own (kinda new to Excel).

I have a list of names, simple text, that I want to apply a condition
to. Basically as follows:

John
David
Mike
Harry
Brad

These names are in a validation drop down list in cell A1. In cell B1,
I would like to have some type of evaluation similar to the following:

If cell A1 is either Brad OR John, then color of cell B1 is red... for
every other name, color of the cell is blue.

I was trying to accomplish this through conditional formatting. Thanks
for any help anyone can provide!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Using OR to evaluate TEXT

Give the cell a nice blue color and override it with your conditional
formatting.

And use a conditional formatting formula of:
=OR(A1="john",A1="brad")
with a nice shade of red.

stacy wrote:

Hey everyone... Probably a very simple fix, but I just can't seem to
figure it out on my own (kinda new to Excel).

I have a list of names, simple text, that I want to apply a condition
to. Basically as follows:

John
David
Mike
Harry
Brad

These names are in a validation drop down list in cell A1. In cell B1,
I would like to have some type of evaluation similar to the following:

If cell A1 is either Brad OR John, then color of cell B1 is red... for
every other name, color of the cell is blue.

I was trying to accomplish this through conditional formatting. Thanks
for any help anyone can provide!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Using OR to evaluate TEXT

Awesome... It is always the simple fixes that I seem to miss. Thanks
for your time Dave!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a function that will evaluate a text string in a cell? Dave Excel Worksheet Functions 2 October 7th 09 04:25 AM
Evaluate text string as a function benb Excel Discussion (Misc queries) 3 July 19th 06 02:41 PM
converting constant/text to formula and evaluate it tsuoying Excel Programming 1 February 19th 05 04:28 PM
VBA Function to evaluate hlookup text string as formula Eric[_22_] Excel Programming 2 August 2nd 04 04:57 PM
How to evaluate a text expression as formula ? Krzysztof Klimczak Excel Programming 0 August 29th 03 04:31 PM


All times are GMT +1. The time now is 10:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"