Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to highlight calculated fields in an Excel spreadsheet?

Tags:

excel

Is there a simple way to do this, via macro or otherwise? By calculated field I mean a field that is computed from other fields, versus raw entered values. By highlight I mean colored differently. I need this to better understand a large spreadsheet from a client.

like image 780
DSO Avatar asked Mar 23 '09 05:03

DSO


People also ask

How do you highlight fillable fields in Excel?

Double-click the cell, and then drag across the contents of the cell that you want to select. Click the cell, and then drag across the contents of the cell that you want to select in the formula bar.

How do I highlight the results of a formula in Excel?

VBA: Highlight search resultsPress F5 key, then a searching box pops out for you to type the specified value you search. 4. Click OK, the matched results have been highlighted with a background color. Also, a dialog pops out to ask you if cancel the highlighting.

How do you highlight a set of data values in Excel?

On the Home tab, click Conditional Formatting, point to Highlight Cells Rules, and then click Text that Contains. In the box next to containing, type the text that you want to highlight, and then click OK.

How do you highlight cells in Excel based on data range?

Apply conditional formatting to text Select the range of cells, the table, or the whole sheet that you want to apply conditional formatting to. On the Home tab, click Conditional Formatting. Point to Highlight Cells Rules, and then click Text that Contains. Type the text that you want to highlight, and then click OK.


1 Answers

TLDR;

Use Conditional Formatting with a Formula to highlight all cells that contain a formula.

Details

In MS Office 365 Version: 5.0.4667.1002, the following works

  1. Select a range of cells.
    • Case1: Use Ctrl + A to select all cells.
    • Case2: Select a specific range.
  2. Go to the Home tab, Styles section, and choose Conditional Formatting > New Rule.
  3. The "New Formatting Rule" dialog will open.
  4. Choose "Use a formula to determine which cells to format"
  5. In the textbox, add the following rule: =IsFormula(A1)
    • Case1: If you selected all cells, use A1 because it is the first cell.
    • Case2: If you selected a specific range, replace A1 with the first cell in your range.
  6. Click Format...
  7. The "Format Cells" dialog will open.
  8. Choose the format you would like to apply. E.g. a yellow background.
  9. Click OK.
  10. All cells that have formulas will now have, for instance, a yellow background.

Screenshot

You've created a new formatting rule!

like image 149
Shaun Luttin Avatar answered Sep 19 '22 08:09

Shaun Luttin