#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default EXCEL question

In cell H1, click FORMATTING in the menu and select CONDITIONAL FORMATTING.

In the Condition1 drop-down change CELL VALUE IS to FORMULA IS and in the
textbox to the right of the drop down enter the following formula:

=AND(B1="TEXT1",H1="NUMBER1")

Click the FORMAT command button, click the PATTERNS tab, click the red color
box and click OK 2 times to exit.

MOve to cell H2 and repeat the same process, but change the formula in cell
H2 to the following:

=AND(B1="TEXT2",H1="NUMBER2")

Click the FORMAT command button, click the PATTERNS tab, click the red color
box and click OK 2 times to exit.
--
Kevin Backmann


"Les Bogert" wrote:

How do I use a formula in EXCEL Conditional Formating to set a color in Cell
H1 based on the text in cell B1 and the number in cell H1?

If B1 = "TEXT1" and H1"NUMBER1", then H1 RED
or
IF B1 ="TEXT2" and H1"NUMBER2", then H2 RED

If B1 = anything else, and H1 = anything else H1 color default white.
--
Les Bogert

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
Excel question Molly Excel Discussion (Misc queries) 2 March 18th 08 11:38 PM
Help! Excel Question [email protected] Excel Discussion (Misc queries) 5 October 14th 06 12:36 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


All times are GMT +1. The time now is 01:07 PM.

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

About Us

"It's about Microsoft Excel"