Format another cell based on this cell value

advertisements

Is it possible based on current cell value, format another cell? Maybe I am overcomplicating things, but what I need to achieve is to display a message in a cell if the file is in Protected Mode. Once a user clicks "Enable Editing" this message should disappear. So what I thought of doing is have a cell set to the message. Then have another cell change this is cell if some calculation is correct. Since it won't be able to calculate until Editing is enabled, the message will display. And once a user Enables Editing, the message will be gone. Is there a direct way to do this or a workaround that will do the trick. Thank you.


have you tried using an IF formula?

=IF(cell=correct,"","Displayed Message")

You can replace the cell=correct with your condition check that you mentioned in your post. Leave the next set of quotes blank (so if that condition is met no message will appear) Change the contents of "Displayed Message" to whatever you want to display if your condition is not correct ie. your sheet is in protected mode.