LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Ron is offline
external usenet poster
 
Posts: 250
Default IF OR AND in same conditional formula

I'm setting up a conditional formula to use in a conditional format, where
depending on a couple of different conditions, the cell with the date entered
will be color-coded either red, yellow or green.

In this particular formula, I'm using the following variables:
- cell C7 = a percentage (70%)
- cell CI7 = the number of days calculated from today (19)

I've constructed the formula as such (makes sense to me, but Excel doesn't
like it)
=IF(AND(CI7<=30,D7=70%),(OR(AND(CI7=90,D7<=50%)) )).

Essentially, I'm asking Excel to evaluate two conditions, either of which
would have the conditional format set the cell color to green.

Tried it also as two nested IF statements, but that doesn't work either. A
single IF statement, with no values entered for TRUE or FALSE works fine... I
just want to simplify my conditional formatting formulae by including any
condition that meets my criteria for color coding...

Any ideas??
 
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 formula nordiyu Excel Worksheet Functions 7 April 21st 10 04:25 AM
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Formula, Conditional Formula Needed Karl Excel Discussion (Misc queries) 12 June 23rd 07 04:12 AM
Conditional Formula to indicate Formula in cell SteveW New Users to Excel 9 August 2nd 06 01:12 AM
Formula for conditional "ifs"? ringo tan New Users to Excel 4 December 1st 04 01:42 PM


All times are GMT +1. The time now is 11:30 AM.

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"