Parsnip
Mechanical
- Apr 30, 2003
- 46
All,
I have a spreadsheet that calculates the amount of hours worked each week. I am able to calculate the amount of variance between what was worked and the standard. My problem is I want to show if this varaince is +ve or -ve.
For example
Standard hours = 37 in cell A1
Hours worked = 35:25 in cell A2
Variance = if(A2*24<A1,A1-a2*24,A2*24-A1)/24
and hece I get 1:35 as my answer which is correct. Now I want to use conditional formatting by turning the cell red to show that this is under the required hours - HOW??
All help would be appreciated.
Regards
![[smarty] [smarty] [smarty]](/data/assets/smilies/smarty.gif)
I have a spreadsheet that calculates the amount of hours worked each week. I am able to calculate the amount of variance between what was worked and the standard. My problem is I want to show if this varaince is +ve or -ve.
For example
Standard hours = 37 in cell A1
Hours worked = 35:25 in cell A2
Variance = if(A2*24<A1,A1-a2*24,A2*24-A1)/24
and hece I get 1:35 as my answer which is correct. Now I want to use conditional formatting by turning the cell red to show that this is under the required hours - HOW??
All help would be appreciated.
Regards
![[smarty] [smarty] [smarty]](/data/assets/smilies/smarty.gif)