Conditional Formatting for an exact formula

cappla011

New Member
Joined
Mar 13, 2013
Messages
29
Office Version
  1. 365
Platform
  1. Windows
Hey all,

This probably a silly question but I'm struggling to get it to work. Basically I have a formula in a worksheet that multiple people use. Often times they adjust the formula by adding numbers to the end or something. The formula is something like this --

=SUM(SUMIFS('2024Data'!$R:$R,'2024Data'!$C:$C,"2024",'2024Data'!$D:$D,$G$21,'2024Data'!$G:$G,{"11*"}))/1000-AC24-AC25

Basically I want to do conditional formatting to make sure the formula stays the exact same and no one changes it. If someone adjusts the formula, I want the background to go red. What should I enter into the Rule formula to make this work? Thanks all!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Wouldn't it be easier to simply lock the cells with formulas from being edited?
 
Upvote 0
Unfortunately people freak out when we lock the cells, so I was hoping to just use conditional formatting
 
Upvote 0
What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Thanks for that, what cell is your formula in?
 
Upvote 0
Ok, firstly you can change your formula to
Excel Formula:
=SUMIFS('2024Data'!$R:$R,'2024Data'!$C:$C,"2024",'2024Data'!$D:$D,$G$21,'2024Data'!$G:$G,"11*")/1000-AC24-AC25
There's no need for the SUM or the {}
Then you can use
Excel Formula:
=FORMULATEXT(AL24)<>"=SUMIFS('2024Data'!$R:$R,'2024Data'!$C:$C,""2024"",'2024Data'!$D:$D,$G$21,'2024Data'!$G:$G,""11*"")/1000-AC24-AC25"
But this will only work on that one cell.
 
Upvote 0
Unfortunately people freak out when we lock the cells, so I was hoping to just use conditional formatting
Seems a bit odd that would freak them out, especially if you don't want them changing it. Why would they "freak out"?
Note that Conditional Formatting won't stop them from changing it (or deleting the formula altogether!).
 
Upvote 0
Thank you so much! the =FORMULATEXT is exactly what I was looking for. That will help me with the other formulas. You rock!
 
Upvote 0

Forum statistics

Threads
1,222,564
Messages
6,166,818
Members
452,074
Latest member
Alexinho

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