Excel Formatting Question

Does anyone know how to have Excel automatically format cells depending on the contents being values, formulas, off-worksheet references (i.e. blue / black / green) without using a paid plug-in? I am trying to get this to work with conditional formatting but am having no luck. Thanks.

4 Comments
 

F5 go to special.

  1. Go to constant then just change color to blue
  2. Go to special formulas black
  3. Go to special formulas on out projections green (guessing you have the links in certain columns) then just horizontal highlight the margins/basic calls to black.
 
Best Response

Test this in a separate workbook first. Not sure how you want to select the greens. In case you want to choose different colors you can switch the code to .color = rgb(x, y, z)

Here's my fav link to color codes. http://dmcritchie.mvps.org/excel/colors.htm

Sub FontColor() ' ' For each worksheet in active workbook ' Select cells containing formulas, then constants ' Color these cells Black and Blue, respectively '

Dim ws As Worksheet Application.ScreenUpdating = False On Error Resume Next For Each ws In ActiveWorkbook.Worksheets ws.Activate Cells.SpecialCells(xlCellTypeFormulas, 23).Select With Selection.Font .ColorIndex = 1 End With Cells.SpecialCells(xlCellTypeConstants, 23).Select With Selection.Font .ColorIndex = 5 End With Next ws Application.ScreenUpdating = True

End Sub

I'll do what I can to help ya'll. But, the game's out there, and it's play or get played.
 

Expedita non et omnis ratione facere laborum id. Neque suscipit enim dignissimos et suscipit nulla. Ut dolore voluptas aut sed veritatis voluptatem ducimus id.

Similique dolorum ut error quibusdam perferendis. Voluptatem voluptas temporibus reiciendis in magni velit. Eveniet eum beatae similique voluptates itaque tenetur ab. Quae nostrum atque totam iste.

Molestiae tempore culpa eum sint. Labore facere nemo sed nihil est.

Numquam et aliquam repellat. Cupiditate qui quo ut. Quos sint natus necessitatibus quia earum facere nobis. Fuga inventore veniam nihil asperiores quaerat ducimus.

Career Advancement Opportunities

November 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • JPMorgan 01 98.4%
  • Guggenheim Partners 02 97.9%
  • Morgan Stanley 06 97.4%

Overall Employee Satisfaction

November 2026 Investment Banking

  • Moelis & Company No 99.5%
  • Morgan Stanley 02 99.0%
  • Evercore 01 98.4%
  • Banco Santander 04 97.9%
  • BMO Capital Markets 13 97.4%

Professional Growth Opportunities

November 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • Morgan Stanley 05 98.4%
  • Goldman Sachs 01 97.9%
  • JPMorgan No 97.4%

Total Avg Compensation

November 2026 Investment Banking

  • Vice President (17) $409
  • Associates (58) $261
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (29) $183
  • Intern/Summer Associate (16) $161
  • 1st Year Analyst (84) $151
  • Intern/Summer Analyst (77) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”