0

Is there a way to change the text or background color of the cell if that cell contains formula? Ideally I'd like to change text to blue if cell is referencing other cells (similarly to HTML where links are in different color).

2
  • Excel 2016 has an ISFORMULA function. Commented Nov 12, 2017 at 15:51
  • 1
    Thanks a ton! For some reason, this link doesn't have ISFORMULA so i've missed it. Commented Nov 12, 2017 at 16:04

1 Answer 1

1

You can add conditional formatting rules for this:

Conditional Formatting -> use a formula to determine which cells to format

Then add either:

=ISFORMULA(A1)

or

=LEFT(FORMULATEXT(A1),1) = "="

And apply to whichever range you want. Make sure A1 is not entered as $A$1.

You would then set the font to blue associated with the rule or the fill.

There are probably other ways as well.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.