Changing the cell color due to results.

J

JGarces

To all,

I saw this feature on a spreadsheet before, but I was unable to figur
it out.

For example, the total assets must equal total liabilities an
shareholder's Equity. So I have in cell A2 the sum of all Asse
accounts from another tab, in call A3 the sum of all Liabilitie
accounts from another tab and in call A4 the sum of all Equity account
from another tab, then, in cell A5, the result should equal zero if
have no mistakes. "Assets minus sum of Liabilities and equit
(A2-SUM(A3,A4))". If I have an error in the other tabs, the cel
returned a background color, which was RED. How do you do this withou
VBA? The spreadsheet didn't have macros....

Thanks for your hel
 
G

Guest

What you want to use is conditional formatting: Format > Conditional
Formatting.

Using your example, click in cell A5, then Format > Conditional Formatting.
Now set Condition 1 to "Formula is", and in the formula box type (without the
quotes) "=A2-SUM(A3:A4)<>0". Now click the Format button and select the
Patterns tab and then the color. Click OK twice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top