Conditional Formatting, Formula equals <>0

Queeza

New Member
Joined
Jun 9, 2018
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello
I'm having trouble understanding why the conditional formatting formula =C$7-C$25<>0 is working for some column entries but not others. the conditional formatting is to highlight that the entries of time to project numbers equals the amount of time worked. The finish time is 15:03:30 just so the hours worked = 8.06 but that should not be a factor.
Any help with this would be greatly appreciated.
Thanks
Steve
Timesheet.xlsx
BCDEFGHIJKLMNOP
2SATSUNMONTUEWEDTHUFRI
3START TIME06:3006:3006:3006:3006:3006:3006:30
4START LUNCH12:3012:3012:3012:0012:3012:0012:30
5FINISH LUNCH13:0013:0013:0012:3013:0012:3013:00
6FINISH TIME15:03:3015:0315:0315:0315:0315:0315:03
7HOURS : MIN WORKED8.068.068.068.068.068.068.06
8PROJECT NUMBER PCC PCC PCC PCC PCC PCC PCC
9A18.067.061.006.006.064.004.06
10B21.007.061.001.001.001.00
11B31.061.001.001.00
12B42.062.00
13B5
14B6
15
16
17
18
19
20
21
22
23
24
25TOTALS8.068.068.068.068.068.068.06
Sheet1
Cell Formulas
RangeFormula
C7,E7,G7,I7,K7,M7,O7C7=ROUND((C4-C3+C6-C5)*24,2)
C8C8=IF(ISBLANK($R$1),"",$R$1-6)
E8E8=IF(ISBLANK($R$1),"",$R$1-5)
G8G8=IF(ISBLANK($R$1),"",$R$1-4)
I8I8=IF(ISBLANK($R$1),"",$R$1-3)
K8K8=IF(ISBLANK($R$1),"",$R$1-2)
M8M8=IF(ISBLANK($R$1),"",$R$1-1)
O8O8=IF(ISBLANK($R$1),"",$R$1)
C25,O25,M25,K25,I25,G25,E25C25=SUM(C9:C24)
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
try to add round fuction on TOTALS.
C25
Excel Formula:
=ROUND(SUM(C9:C24),2)
then copy to O25,M25,K25,I25,G25,E25

or
repalce
Excel Formula:
=C$7-C$25<>0
by
Excel Formula:
=C$7<>C$25
 
Last edited:
Upvote 0
Solution
Thanks HongRu the rounding did the trick. With both the Hours: Min Worked and Totals rows ROUNDED the conditional formatting now works.
Thanks again.
Steve
 
Upvote 0

Forum statistics

Threads
1,215,945
Messages
6,127,856
Members
449,411
Latest member
adunn_23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top