Conditional formatting

Patriot2879

Well-known Member
Joined
Feb 1, 2018
Messages
1,226
Office Version
  1. 2010
Platform
  1. Windows
Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to be filled with the colour Green, can you help me please?
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
ifcf.png

O4: =IF(P4=1,"Fully Utilised","") and drag down
CF - select range O4:O54 then
cf.png
 
Upvote 0
Hi thank you for that the only probably i got in column O to last row is that i have a 'list' in the cells will this still work
 
Upvote 0
all in range O4:O54 will be replaced by formula
you cannot eat cake and have cake
 
Upvote 0
Hi i get an error when inputting the =IF(P4=1,"Fully Utilised","") in cell O4 i think this is because i have a 'list' selection in the cell
 
Upvote 0
I have done it in Conditional formatting before but cant remember how i did it
 
Upvote 0
HI i just remembered i used this code below how can i still use this code and amend it to add the above query?
VBA Code:
Private Sub worksheet_calculate()
Application.EnableEvents = False
Dim rw As Long
For rw = 4 To 54
If (Cells(rw, "M").Value >= 6 Or Cells(rw, "N").Value >= 6) And Cells(rw, "O").Value <> "Fully Utilised" Then Cells(rw, "O").Value = "Fully Utilised"
Next rw
Application.EnableEvents = True
End Sub
 
Upvote 0

Forum statistics

Threads
1,212,927
Messages
6,110,727
Members
448,294
Latest member
jmjmjmjmjmjm

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