Highlight cell when a percentage amount has been met.

mkrass

New Member
Joined
Mar 12, 2024
Messages
15
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
How can I dynamically highlight a cell that shows when I have reached a pre-determined percentage amount from a defined labor budget?
Budgeted hours - 80
Threshold - 80%

Day 1 - 8 hours
Day 2 - 8 hours
Day 3 - 8 hours
Day 4 - 8 hours
Day 5 - 8 hours
Day 6 - 8 hours
Day 7 - 8 hours
Day 8 - 8 hours
Day 9 - 8 hours
Day 10 - 8 hours
I would like to highlight the cells for Days 8, 9,10, etc. as they are greater than or equal to 80% of budgeted hours.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Welcome to thee MrExcel board!

It depends how your data is actually presented in your worksheet.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

See if this Conditional Formatting heads you in the right direction.

24 03 13.xlsm
AB
1
2Budgeted hours80
3Threshold80%
4
5DayHours
618
728
838
948
1058
1168
1278
1388
1498
15108
CF
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B6:B15Expression=SUM(B$6:B6)>=B$3*B$2textNO
 
Upvote 0
1710306305094.png
 
Upvote 0
Welcome to thee MrExcel board!

It depends how your data is actually presented in your worksheet.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

See if this Conditional Formatting heads you in the right direction.

24 03 13.xlsm
AB
1
2Budgeted hours80
3Threshold80%
4
5DayHours
618
728
838
948
1058
1168
1278
1388
1498
15108
CF
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B6:B15Expression=SUM(B$6:B6)>=B$3*B$2textNO
Thank you. I will download the add-on and I will try the test area. Also, thank you for the suggestion, I will try that as well and I'll let you know how it went.
 
Upvote 0
Given the image layout (XL2BB still better because we can copy from it to test whereas a picture we have to manually type. :() the adjustment to the Conditional Formatting would be

24 03 13.xlsm
ABCDEFGHIJKLMNOP
11/01/20242/01/20243/01/20244/01/20245/01/20246/01/20247/01/20248/01/20249/01/202410/01/202411/01/202412/01/2024
2Budgeted hours888888888888
3100
4
50.80
CF (2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E2:P2Expression=SUM($E2:E2)>=$A3*$A5textNO
 
Upvote 0
Solution
Welcome to thee MrExcel board!

It depends how your data is actually presented in your worksheet.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

See if this Conditional Formatting heads you in the right direction.

24 03 13.xlsm
AB
1
2Budgeted hours80
3Threshold80%
4
5DayHours
618
728
838
948
1058
1168
1278
1388
1498
15108
CF
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B6:B15Expression=SUM(B$6:B6)>=B$3*B$2textNO
Peter,
Thank you again. I am trying to learn the absolute and relative reference syntax. If the data is horizontal, .i.e., all in row 3. Is the syntax SUM(A$3:A3)? if the data is in cells F3:AJ3? (I know this is a basic question).
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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