Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Roy
 
Posts: n/a
Default Formula for multiple conditions

The formula i have entered does not work for all conditions. Here is the
formula i have entered and works for 2 conditions but not all 4.

=IF(A12=0,"",IF(S12=0,"",IF(s12<=R12,"GREEN",IF(S1 2R12,"RED/LATE",IF(R12<=TODAY()+3,"YELLOW","WHITR")))))

A12, R12, S12 contain dates and Column T is a status column. If no date is
in column A then i want column T to be blank. And if column S date is blank,
then i want column T to be white (on target for due date, column R), or
yellow (3 days before due date). If column S is R it should be RED/LATE,
or if < should be GREEN. The red and green work fine, but i can not get the
yellow or white to work. What can i do?
  #2   Report Post  
Barb R.
 
Posts: n/a
Default

This might be a good application for a conditional format. Access it using
FORMAT - Conditional Formatting. It will format the cells selected and you
can change the color of the cells, among other things.

"Roy" wrote:

The formula i have entered does not work for all conditions. Here is the
formula i have entered and works for 2 conditions but not all 4.

=IF(A12=0,"",IF(S12=0,"",IF(s12<=R12,"GREEN",IF(S1 2R12,"RED/LATE",IF(R12<=TODAY()+3,"YELLOW","WHITR")))))

A12, R12, S12 contain dates and Column T is a status column. If no date is
in column A then i want column T to be blank. And if column S date is blank,
then i want column T to be white (on target for due date, column R), or
yellow (3 days before due date). If column S is R it should be RED/LATE,
or if < should be GREEN. The red and green work fine, but i can not get the
yellow or white to work. What can i do?

  #3   Report Post  
Roy
 
Posts: n/a
Default

Contitional formating is set up (1st condition cell = RED/LATE, 2nd condition
cell= YELLOW, 3rd condition cell = GREEN). am i doing something incorrectly?

"Barb R." wrote:

This might be a good application for a conditional format. Access it using
FORMAT - Conditional Formatting. It will format the cells selected and you
can change the color of the cells, among other things.

"Roy" wrote:

The formula i have entered does not work for all conditions. Here is the
formula i have entered and works for 2 conditions but not all 4.

=IF(A12=0,"",IF(S12=0,"",IF(s12<=R12,"GREEN",IF(S1 2R12,"RED/LATE",IF(R12<=TODAY()+3,"YELLOW","WHITR")))))

A12, R12, S12 contain dates and Column T is a status column. If no date is
in column A then i want column T to be blank. And if column S date is blank,
then i want column T to be white (on target for due date, column R), or
yellow (3 days before due date). If column S is R it should be RED/LATE,
or if < should be GREEN. The red and green work fine, but i can not get the
yellow or white to work. What can i do?

  #4   Report Post  
Barb R.
 
Posts: n/a
Default

YOu can only set conditions for the cells you are formatting. You can't base
the results on other cells.

"Roy" wrote:

Contitional formating is set up (1st condition cell = RED/LATE, 2nd condition
cell= YELLOW, 3rd condition cell = GREEN). am i doing something incorrectly?

"Barb R." wrote:

This might be a good application for a conditional format. Access it using
FORMAT - Conditional Formatting. It will format the cells selected and you
can change the color of the cells, among other things.

"Roy" wrote:

The formula i have entered does not work for all conditions. Here is the
formula i have entered and works for 2 conditions but not all 4.

=IF(A12=0,"",IF(S12=0,"",IF(s12<=R12,"GREEN",IF(S1 2R12,"RED/LATE",IF(R12<=TODAY()+3,"YELLOW","WHITR")))))

A12, R12, S12 contain dates and Column T is a status column. If no date is
in column A then i want column T to be blank. And if column S date is blank,
then i want column T to be white (on target for due date, column R), or
yellow (3 days before due date). If column S is R it should be RED/LATE,
or if < should be GREEN. The red and green work fine, but i can not get the
yellow or white to work. What can i do?

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
Named SUM Formula with relative refernce(s) Werner Rohrmoser Excel Worksheet Functions 2 April 20th 05 04:56 PM
Frequency formula Curious Excel Worksheet Functions 1 April 12th 05 09:49 PM
If formula with 12 conditions tkacoo Excel Discussion (Misc queries) 5 April 7th 05 04:54 PM
Formula to return cell contents based on multiple conditions Bill Excel Worksheet Functions 3 January 19th 05 09:59 AM
Cell shows formula and not the result of the formula. stumpy1220 Excel Worksheet Functions 2 January 14th 05 05:11 PM


All times are GMT +1. The time now is 08:27 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"