LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Coloring Cell Font based on Cell Contents

I create alot of financial models at work and I typically use the
following font color codes so that I can better audit the model later.

Row & Column Headings Always Black

Blue: Hard Number Input
Black: Calculation
Green: Hard Number Input used as a driver of the model
Purple: Link to another sheet or workbook
Red: Formula and a hard input number in it. Example (=A1 + 5)

I am trying to figure out a way to create a function that either always
updates based on they type of input in a cell or that I can just use a
shortcut key that goes throught the sheet to update all the cells. I
currently define a name called FormulaInCell
=GET.CELL(48,INDIRECT("rc",FALSE))and then just select all cells and
use conditional formatting to make that black and it colors all
formulas black. However I would like it to be more robust so that it
covers the situations mentioned above. There must be a way to do it,
but I just can't seem to figure one out. Any help is greatly
appreciated.

Will

As an example:
2001 2002 2003 2004E 2005E
Sales 100.0 110.0 120.0 129.0 137.4
Sales Growth 7.0% 10.0% 9.1% 7.5% 6.5%
Profit 52.0 53.0 58.0 60.6 63.9
Profit Margin 52.0% 48.2% 48.3% 47.0% 46.5%

In this model:
2001-2003 Sales are Blue because they are hard coded inputs
2001-2003 Growth is Black because it is a formula
2001-2003 Profit is Purple because it is linked from another sheet
2001-2003 Profit Margin is Black because it is a formula

2004E-2005E sales are black and calculated as
previous years sales * (1+ sales growth)
2004E-2005E Growth is hardcoded, but green because it drives the sales
number
2004E-2005E Profit is Black and calculated as Sales * Profit Margin
2004E-2005E Profit Margin is Red Because it is calculated as the
previous years profit margin + .1%

 
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
Return cell address of a cell based on contents of cell. Danny Excel Worksheet Functions 4 November 15th 08 03:11 AM
Coloring a cell based off the color of another cell Eric D Excel Discussion (Misc queries) 4 June 13th 08 05:24 PM
Returning Cell Contents of One Cell Based On Another Cell DallasLDY Excel Worksheet Functions 5 January 31st 07 11:00 PM
Conditional coloring of Excel cells, based on adjacent cell values? Greg Stuart Excel Worksheet Functions 0 March 10th 06 10:14 PM
Please help! Macro to change cell contents based on cell to the left Jennifer[_8_] Excel Programming 7 March 4th 04 01:06 AM


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

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

About Us

"It's about Microsoft Excel"