Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JGarces
 
Posts: n/a
Default Changing the cell color due to results.


To all,

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

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

Thanks for your help


--
JGarces
------------------------------------------------------------------------
JGarces's Profile: http://www.excelforum.com/member.php...o&userid=30406
View this thread: http://www.excelforum.com/showthread...hreadid=500744

  #2   Report Post  
Posted to microsoft.public.excel.misc
SVC
 
Posts: n/a
Default Changing the cell color due to results.

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

"JGarces" wrote:


To all,

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

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

Thanks for your help


--
JGarces
------------------------------------------------------------------------
JGarces's Profile: http://www.excelforum.com/member.php...o&userid=30406
View this thread: http://www.excelforum.com/showthread...hreadid=500744


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i record changing cell data (cell is dde linked) Morph Excel Discussion (Misc queries) 1 September 22nd 05 12:28 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Search Range for Criteria in given cell and produce results RFreeman12 Excel Discussion (Misc queries) 3 June 27th 05 09:23 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Changing cell references automatically Bigweed New Users to Excel 3 April 28th 05 12:27 PM


All times are GMT +1. The time now is 10:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"