katie1071 said:
I feel like a bit of a blonde at the moment , but that doesn't work either.
That's because that suggestion would not have worked regardless of anyone's hair color.
It sounds like what you want to do is visually recognize cells that contain formulas from cells that contain constants (i.e. something manually entered).
Try this, it worked for me, and assumes you truly want cells containing formulas in one color, and cells containing text another color, which means cells containing neither will have no color.
Note, if you do not want to color the formula-containing cells, then in Step 8 below, instead of picking a color from the color palette, select the "No color" option in that dialog above the palette.
The brunt of the CF for formulas was identified by David Hager, so thanks to him. Follow these steps:
Step 1
Click on Insert > Name > Define
Step 2
In the "Names in workbook" field, enter
"Formulas" without the quotes. Actually you can enter most any name you want, but let's keep it simple and call it Formulas.
Step 3
In the "Refers to" field near the bottom, enter
=GET.CELL(48,INDIRECT("rc",0))
Step 4
Click Add, then click OK.
Step 5
Select the range of cells on your worksheet that you want to conditionally format for formulas, for this example beginning in cell A1, so A1 is the active cell with all other cells you've selected on the sheet.
Step 6
Click on Format > Conditional formatting.
Step 7
Click the drop down arrow and select "Formula is". In the field to the right of that, enter
=Formulas
Step 8
Click on the Format button, select the kind of formatting you want from the options available, maybe a red square from the Patterns palette, and click OK. Click "No color" if you do not want formulas shaded.
Step 9
While still in the Conditional Formatting dialog, click the Add button.
Step 10
Click the drop down arrow and select "Formula is". In the field to the right of that, enter
=AND(LEN(A1)>0,ISTEXT("rc"))
Step 11
Click on the Format button, select the kind of formatting you want from the options available, maybe a green square from the Patterns palette, and click OK, then OK again to exit the Conditional Formatting dialog.
That should do it. Formula cells are in red (or nothing if you chose "no color" in Step 8), text cells are in green, empty cells have no conditional shading.
In Excel 2000 or before, if you try to copy and paste a cell references of an XLM formula (such as GET.FORMULA) into a different worksheet, that will result in a fatal error (Excel will crash), and you will lose unsaved data. I'm pretty sure this has been rectified with Excel2002 and XP (my system did not crash with Excel2003 and XP), but please be aware of that possibility.