I have some calculated columns in an Excel (2007) table. I'd like to distinguish them visually from the user-input columns in some way, but without losing the nifty automatic row banding. It looks like I can create a "table style", but only the first and last columns can get separate formatting. Is there any way to format arbitrary columns (or at least the last n columns instead of just the last one)?
Excel – Is is possible to apply separate formatting to multiple different Excel table columns
formattingmicrosoft excelmicrosoft-excel-2007
Best Answer
You can format columns to unlock cells which are user-input, and then set conditional formatting for columns in your table specifying the formula condition =CELL("protect", ) as condition. Or you can set the following udf:
and then set an analogous conditional formatting.