Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Nested Functions for Conditional Formatting Formula

I'm trying get the right syntax figured out for the following so I can insert
it as a formula for conditional formatting to color a cell red or yellow. Not
sure if an IF function is even the right way to do this since I want the
conditional formatting function to color the cell (not change the contents)
if any of these conditions are true. Here's the basic statement. I need to
be able to place this in the cond formating block. Any help on making this
work would be greatly appreciated.

If B48 or (B44 and B63) or (B4=4 and B68) or (B4=3 and B68)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Nested Functions for Conditional Formatting Formula

Try this

=OR(B48,AND(B44,B63),AND(B4=4,B68),AND(B4=3,B6 8))

Mike

"RandyH" wrote:

I'm trying get the right syntax figured out for the following so I can insert
it as a formula for conditional formatting to color a cell red or yellow. Not
sure if an IF function is even the right way to do this since I want the
conditional formatting function to color the cell (not change the contents)
if any of these conditions are true. Here's the basic statement. I need to
be able to place this in the cond formating block. Any help on making this
work would be greatly appreciated.

If B48 or (B44 and B63) or (B4=4 and B68) or (B4=3 and B68)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Nested Functions for Conditional Formatting Formula

Thanks Mike - works perfect for what I was trying to do. I was getting all
wrapped up in the proper way to combine the OR and AND.

You saved me a lot of time and I learned something new!

Thanks again.

Randy

"Mike H" wrote:

Try this

=OR(B48,AND(B44,B63),AND(B4=4,B68),AND(B4=3,B6 8))

Mike

"RandyH" wrote:

I'm trying get the right syntax figured out for the following so I can insert
it as a formula for conditional formatting to color a cell red or yellow. Not
sure if an IF function is even the right way to do this since I want the
conditional formatting function to color the cell (not change the contents)
if any of these conditions are true. Here's the basic statement. I need to
be able to place this in the cond formating block. Any help on making this
work would be greatly appreciated.

If B48 or (B44 and B63) or (B4=4 and B68) or (B4=3 and B68)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Nested Functions for Conditional Formatting Formula

your welcome

"RandyH" wrote:

Thanks Mike - works perfect for what I was trying to do. I was getting all
wrapped up in the proper way to combine the OR and AND.

You saved me a lot of time and I learned something new!

Thanks again.

Randy

"Mike H" wrote:

Try this

=OR(B48,AND(B44,B63),AND(B4=4,B68),AND(B4=3,B6 8))

Mike

"RandyH" wrote:

I'm trying get the right syntax figured out for the following so I can insert
it as a formula for conditional formatting to color a cell red or yellow. Not
sure if an IF function is even the right way to do this since I want the
conditional formatting function to color the cell (not change the contents)
if any of these conditions are true. Here's the basic statement. I need to
be able to place this in the cond formating block. Any help on making this
work would be greatly appreciated.

If B48 or (B44 and B63) or (B4=4 and B68) or (B4=3 and B68)

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
Conditional Formatting Nested Formulas Marissa New Users to Excel 2 July 12th 08 02:11 PM
Conditional formatting/functions [email protected] Excel Discussion (Misc queries) 1 May 5th 08 05:34 AM
Nested functions in conditional formatting formulae Joseph Excel Discussion (Misc queries) 3 October 20th 05 11:52 PM
large formula question - Max nested functions PCLIVE Excel Worksheet Functions 3 October 17th 05 04:20 PM
ENTER EXCEL FORMULA WITH MORE THAN 7 NESTED FUNCTIONS Linda Bolton Excel Worksheet Functions 2 January 14th 05 11:58 AM


All times are GMT +1. The time now is 08:44 AM.

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"