Highlighting a cell if the a series of numbers does not add to the same value.

Pablo78

New Member
Joined
Oct 9, 2017
Messages
13
Hello, I am making a schedule for a project I am working on. Basically I have some fixed time durations that cannot change. Column A in the below example from column C onwards I will be adding hours on a week by week basis that should add up to 240 per week. I'd like to know If I can format the budgeted hours if the the total placed in the corresponding row does not match the value in column A. Example in A7, the calculation across row B7 - K7 does not meet the criteria. If the criteria is not met then the cell would conditional formatting to highlight there is an issue. This is a pretty big spreadsheet so it can easily go wrong. This would be a good validation method for me to ensure the criteria is met.


Budgeted Labor HoursTotal ResourcesWeek 9Week 10Week 11Week 12Week 13Week 14Week 15Week 16Week 17
39944.8429
1843.243
1843.243
1843.243139.628240240000000
112.040112.038
66.24#DIV/0!53.24
9.20#DIV/0!9.2
26.00#DIV/0!26
1.25#DIV/0!1.25
1.25#DIV/0!1.25
0.50#DIV/0!0.5
1.69#DIV/0!1.69
3.50#DIV/0!3.5
0.80#DIV/0!0.8
1.44#DIV/0!1.44
0.17#DIV/0!0.168
430.6118.19240182.267000000
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I ran out of time to edit my previous post and the example didn't work as I expected. Below is a better explanation of what I am trying to achieve.

Basically I have some fixed time durations that cannot change. Column A in the below example from column C onwards I will be adding hours on a week by week basis. I'd like to know If I can format the budgeted hours if the the total placed in the corresponding row does not match the value in column A. Example in A3, the calculation across row B7 - K7 does not meet the criteria. If the criteria is not met then the cell would conditional formatting to highlight there is an issue. This is a pretty big spreadsheet so it can easily go wrong. This would be a good validation method for me to ensure the criteria is met.
A
B
C
D
E
F
G
H
I
J
1Budgeted HoursWeek 9 Week 10Week 11Week 12Week 13Week 14Week 15Week 16 Week 17
2110.43110.43
366.249.5732
49.29.2
526.0026.00
61.251.25
70.500.50
81.691.69
93.503.50
100.800.80
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

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