Showing posts with label Conditional Formatting. Show all posts
Showing posts with label Conditional Formatting. Show all posts

How to highlight alternate rows in Excel 2013

Shade every other or alternate rows in Excel
Highlighting alternate rows in Excel 2013 worksheet makes the data visually much more appealing. Instead of doing this manually, we can use Conditional Formatting feature to automatically shade every other row in Excel.
Conditional Formatting gives us flexibility to change the shade colour in case it is required. The biggest advantage of using Conditional Formatting is that the shading is dynamic i.e. it automatically updates if we insert or delete the rows.

Also read: How to Trace Precedents and Dependents in Excel 2013
Below steps will help you highlight alternate rows:
  1. Select the data range where we want to highlight alternate rows.
  1. Go to "HOME" tab >>> Conditional Formatting >>> Click "New Rule..."
  1. This will open conditional formatting dialog box. Click "Use a formula to determine which cells to format"
  1. Enter the formula =MOD(ROW(), 2)
  1. Click on "Format" button and choose the shade or format for alternate rows
  1. Click OK >> OK and you will see that alternate rows in selected data range are shaded as per desired format (here with GREEN fill)

How to find and highlight cells with formula in Excel 2013

Find cells with formula in Excel
Excel 2013 has introduced some awesome new functions that can help professionals save time.
Some of the amazing new functions include: DAYS, IFNA, ISFORMULA, XOR, ISOWEEKNUM and many more.
The new ISFORMULA function detects if the cells contains formula. We can use CONDITIONAL FORMATTING along with ISFORMULA function to identify and highlight cells containing formula.
Syntax: ISFORMULA (reference)
  • Reference can be a cell reference, a formula, or even a name that refers to a cell.
Suppose we have data-set as shown below, with expense occurred in each month and column H have formula for total expenses.
How to find and highlight cells with formula in Excel 2013
Follow the below steps to identify and highlight cells with formula:
  1. Select cell range A4:H4 and keep A4 as active cell
    Identify cells with formula in Excel
  2. Go to "HOME" tab >>> Conditional Formatting >>> Click "New Rule..."
    Open conditional formatting
  3. This will open conditional formatting dialog box. Click "Use a formula to determine which cells to format"
  4. Enter ISFORMULA function giving reference to active cell (here A4 cell) =ISFORMULA(A4)
    Insert New Rule in conditional formatting in Excel

  5. Click on "Format" button and choose the format for the cells with formula
    Format cells in Excel 2013
  6. Click OK >> OK and you will see that all cells with formula are coloured with desired format (here with GREEN fill)
    Highlight cells with formula in Excel