Forum Discussion
highlight or format cells with formulas
I can't see quite this question on the forum, apologies if I've missed it!
I want to format every cell in the worksheet that contains a formula. I tried to make a conditional rule for every cell containing "=" as I thought that would identify the ones with formulas in, but it doesn't work. Then I tried highlighting them, but that didn't work either - help!
Select the entire range.
In the following I will assume that A1 is the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula=ISTEXT(FORMULATEXT(A1))
Click Format...
Activate the Fill tab.
Select a highlight color.
Click OK, then click OK again.
6 Replies
- LorenzoSilver Contributor
Excel Mac >/= 2011 & Excel Windows >/=2013 have function https://support.microsoft.com/en-us/office/isformula-function-e4d1355f-7121-4ef2-801e-3839bfd6b1e5
With Conditional Formatting:
- Granny_RuthCopper ContributorThank you -I have already sorted it out using Hans' post, but thanks for replying!
- LorenzoSilver Contributor
Glad we could help & Thanks for providing feedback
Select the entire range.
In the following I will assume that A1 is the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula=ISTEXT(FORMULATEXT(A1))
Click Format...
Activate the Fill tab.
Select a highlight color.
Click OK, then click OK again.- Granny_RuthCopper ContributorThank you, Hans -that did it, just as I wanted!
- Granny_RuthCopper Contributor
I also tried to find and replace with a bold format but that didn't work either....