## Formula in Excel 2016

### Calculating the difference between two time stamps

Because time stamps are represented as serial numbers, you can subtract the earlier time from the later time
to get the difference.

### Calculating the Number of Work Days between two dates

When calculating the difference between two dates, you may want to exclude weekends and holidays.

### Calculating the Number of Days between two dates

A common type of date calculation determines the number of days between two dates.

### Excel Formula Evaluator

If you would like to better understand how some of these complex array formulas work, consider using a handy tool -

**Formula Evaluator**:### How to avoid misleading numbers

Applying a number format to a cell doesn't change the value, but only how the value appears in the worksheet. Formatting can play a joke with you, e.g., sum of values seems incorrect because Excel displays a limited number of decimal places and their sum is not equal to the real sum.

### Creating and using named ranges

Range names is a powerful Excel feature which allows you to give a symbolic name for the cell or range of cells to be later used as convenient replacement for cell/range address in formulas.

### Basic Formula operators

There are several operators that could be used in formulas.

### Using the formula bar as a calculator

If you simply need to perform a calculation, you can use the

**Formula**bar as a calculator.### Referencing cells outside the worksheet

Formulas can refer to cells in other worksheets-and the worksheets don't even have to be in the same
workbook. Excel uses a special type of notation to handle these types of references.

### Shortcut key to switch between relative, absolute and mixed references

You can enter nonrelative references (absolute or mixed) manually by inserting dollar signs in the
appropriate positions, or you can use a handy shortcut -

**F4**key.