Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
E Halliday
 
Posts: n/a
Default iF STATEMENTS WITHIN CONDITIONAL FORMATS

I am trying to build a conditional format into variance analyis based on %,
not true variance.

For instance
actuals = 50
Budget = 40
actuals greater budget show Green

actuals = 38.4
Budget = 40
actuals less than budget, but within 5% show amber

actuals = 20
Budget = 40
actuals less than budget, and greater than 5% show red

The variance on the sheet is in whole numbers not percentage - any ideas?

Many thanks

  #3   Report Post  
Max
 
Posts: n/a
Default

One way ..

Assuming this table below is in C1:D4

Actuals Budget
50 40
38.4 40
20 40

Select C2:C4

Click Format Conditional Formatting

Make the settings:

Cond1: Formula is: =C2D2
Format Patterns Green

Cond2: Formula is: =AND(C2<=D2,(D2-C2)/D2<=0.05)
Format Patterns Amber

Cond3: Formula is: =(D2-C2)/D20.05
Format Patterns Red
Click OK

C2:C4 will be filled with colors: Green, Amber, Red

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"E Halliday" <E wrote in message
...
I am trying to build a conditional format into variance analyis based on

%,
not true variance.

For instance
actuals = 50
Budget = 40
actuals greater budget show Green

actuals = 38.4
Budget = 40
actuals less than budget, but within 5% show amber

actuals = 20
Budget = 40
actuals less than budget, and greater than 5% show red

The variance on the sheet is in whole numbers not percentage - any ideas?

Many thanks



  #4   Report Post  
E Halliday
 
Posts: n/a
Default

Thanks - a working with both of these i've managed to sort it...


"Max" wrote:

One way ..

Assuming this table below is in C1:D4

Actuals Budget
50 40
38.4 40
20 40

Select C2:C4

Click Format Conditional Formatting

Make the settings:

Cond1: Formula is: =C2D2
Format Patterns Green

Cond2: Formula is: =AND(C2<=D2,(D2-C2)/D2<=0.05)
Format Patterns Amber

Cond3: Formula is: =(D2-C2)/D20.05
Format Patterns Red
Click OK

C2:C4 will be filled with colors: Green, Amber, Red

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"E Halliday" <E wrote in message
...
I am trying to build a conditional format into variance analyis based on

%,
not true variance.

For instance
actuals = 50
Budget = 40
actuals greater budget show Green

actuals = 38.4
Budget = 40
actuals less than budget, but within 5% show amber

actuals = 20
Budget = 40
actuals less than budget, and greater than 5% show red

The variance on the sheet is in whole numbers not percentage - any ideas?

Many thanks




  #5   Report Post  
Max
 
Posts: n/a
Default

You're welcome !
Glad to hear that ..
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"E Halliday" wrote in message
...
Thanks - a working with both of these i've managed to sort it...



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
how do I apply more than 3 conditional formats in excel chetwyndthomas Excel Discussion (Misc queries) 1 January 30th 05 04:24 PM
How do I set more than 3 conditional formats in Excel Reefshark Excel Discussion (Misc queries) 1 January 17th 05 11:57 AM
Use Conditional Formats to highlight blanks? kevin578 Excel Worksheet Functions 1 January 15th 05 08:15 PM
how do i get more than three conditional formats in excel Tom_t Excel Worksheet Functions 1 December 15th 04 07:35 AM
Conditional Formats in Excel DaveB Excel Worksheet Functions 2 November 15th 04 07:36 AM


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