Conditional Formatting not correctly displaying upon spreadsheet open

NiMip

Board Regular
Joined
Oct 9, 2017
Messages
167
I have cells with conditional formatting, specifically Icon Set based on their value. The value thresholds for each colour (depicted below) are on another sheet, and for some reason this kinda breaks the formatting display. When I open the file, they're all green. If I edit one of the cells and hit enter, it refreshes the display and they correctly display again. I assume the cell edit is prompting the spreadsheet to recalculate values and reassess the conditional formatting.

I've checked the "EnableFormatConditionCalculation" property for both sheets and it is set to True (this was a suggestion I found on another website). Toggling it from False to True will also prompt the formatting to correctly display.
1599102213131.png


This is only a problem while having the thresholds located on a different sheet. If I cut and paste those thresholds to the sheet with the formatted cells, I don't have this problem. But I don't really want the thresholds on the same sheet. I have a sheet with a whole bunch of validation data etc. where I like to keep these things, so I'm hoping someone will know an easy fix.

Formatting value thresholds:
1599098726435.png


Incorrect formatting on file open, before editing a cell:
1599101768888.png


Correct formatting after editing a cell:
1599101795544.png
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Is the calculation set to Automatic when the workbook is opened and is it the only workbook open.
 
Upvote 0
Is the calculation set to Automatic when the workbook is opened and is it the only workbook open.

Yes and yes.

Interestingly "Calculate Now" doesn't update the formatting, but "Calculate Sheet" does.
 
Upvote 0
Do you have any circular references on other sheets?
 
Upvote 0
I am assuming that there is no vba in the workbook either in a regular module, ThisWorkBook or the sheet?
 
Upvote 0
I am assuming that there is no vba in the workbook either in a regular module, ThisWorkBook or the sheet?
No none whatsoever.

The cells that are conditionally formatted are within a Table, but I've converted it to a range, saved, closed and reopened and the problem persists, so I assume that isn't related.
 
Upvote 0
Can you go to your developer tab and open the VBE, then in the project window find the workbook and click on the sheet name that has the conditional formatting.
Now have a look in the Properties window and check if EnableFormatConditionsCalculation is set to True or False.

Try setting all the sheets in the workbook to true
 
Last edited:
Upvote 0
Yep can confirm they're all True.

If there's anything useful in the ThisWorkbook properties, here's a snip of those:

1599545232375.png
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,986
Members
449,058
Latest member
oculus

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