Excel 2010 deleting my conditional formatting on either close or open...

jmwbowen

Board Regular
Joined
Jul 27, 2012
Messages
58
I have a problem where Excel 2010 is deleting one of my conditional formatting conditions. I do not know if it is deleting it on open or close. I just know that I enter the conditional formatting, save the workbook, close the workbook, reopen the workbook, and it is gone.

The other conditional formatting conditions (simple "Cell is Blank") are left intact.

Setup:

Cell with conditional formatting is on sheet "MyRecord" at "$E$7". A corresponding boolean value on separate sheet "Data" and must be referred to by using "OFFSET" with a record locator value (workbook level named range "RecordLocator") that leads to corresponding data row, so looks like following:

Code:
=IF(OFFSET(Data!$D$5,RecordLocator,0),TRUE,FALSE)

When I configure this, it works great until I save and close the workbook. When I reopen the workbook, this particular conditional formatting is gone with all other conditional formatting left intact.

I've tried using the actual range address in place of range name "RecordLocator", changes nothing.

I can't figure out why Excel deletes this particular conditional format. Help?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Are you actually saving it as a 2010 file (xlsx or xlsm extension) as opposed to a 2003 file (xls extension)
 
Upvote 0
Neil,

Thanks for pointing that out. The file is being saved as a 2003 file (.xls extension).

Update: I figured out a workaround where I place:

Code:
=OFFSET(Data!$D$5,RecordLocator,0)

in a hidden cell on the same page as the cell with the CF condition, then just reference that hidden cell to determine TRUE or FALSE.

Perhaps the limitation of 2003 file is that CF cannot refer to other sheets. I will try changing the file format to 2007/2010 version.
 
Upvote 0
Neil,

That did it!!!

I was saving the file as the wrong type. Updating the file to 2007/2010 workbook allowed the original CF to stick.

Thanks.
 
Upvote 0

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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