Change color in cell based on range of values, and change the color of same cell based on value in another range once that's entered.

nscaria00

New Member
Joined
Apr 21, 2023
Messages
18
Office Version
  1. 365
Platform
  1. Windows
Hi, I need help as I am totally new to VBA.
I have an excel document that's like a dashboard. I have Column 'N' for EO status'. User enters information in rows from A6 to E6 (same way for each rows). When someone enters infomartion, then Column 'N against that row needs to turn RED. Once Management signs off, which is in column 'F to M', then Column 'N' against that row needs to turn to Green.
Can you please help developing a code.
 

Attachments

  • Status Dashboard.PNG
    Status Dashboard.PNG
    39.1 KB · Views: 8
Also, you have merged cells. these really mess up folks trying to work with your data.
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
QUESTION: You did not say that columns F to N may contain formulas, you just said a 'sign off' which to me meant that someone will TYPE data into a blank cell. The conditional formatting counts non blank cells.
 
Upvote 0
Okay, I think this will work for you:



mr excel questions 25.xlsm
ABCDEFGHIJKLMNOP
10
11Completion Date
12 AccountingPurchasingCustomer ServiceQualityEngineeringProductionFinal SignoffEO Status
13EO #InitiatorDatePart #Change DescriptionPatMatLeahDavidAnishAnil2023-03-27
1423-Febadam2023-04-286655545PatMatLeahGeorgeDavidAnishAnil2023-04-28EO 23-02TRUETRUE
1523-Febadam2023-04-286655545PatMatLeahDavidAnishAnil2023-04-28EO 23-02TRUEFALSE
1623-Maradam2023-04-281523541EO 23-03TRUEFALSE
17FALSEFALSE
18FALSEFALSE
nscaria00
Cell Formulas
RangeFormula
O14:O18O14=SUM(--($A14:$E14<>""))>1
P14:P18P14=SUM(--($F14:$N14<>""))=COLUMNS(F$14:N$14)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
N14:N18Expression=SUM(--($F14:$N14<>""))=COLUMNS(F$14:N$14)textNO
N14:N18Expression=SUM(--($A14:$E14<>""))>1textNO
 
Upvote 0

Forum statistics

Threads
1,215,106
Messages
6,123,124
Members
449,097
Latest member
mlckr

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