## Formula in Excel 2016

### How to count days of week in the range of dates

From time to time you need to count days of week in some date range or between two dates (see
How to count day of week between two dates).
Excel proposes different formulas to work with data. It is easy to create the formula you need
for this task:

### Calculating the Number of Work Days between two dates for unusual shifts

When calculating the difference between two dates, you may want to exclude weekends and holidays.
You can see how to calculate the number of Working Days between two dates for the usual, standard
working week where weekends are Saturdays and Sundays.

### Hide formula errors in Excel

If you use formulas in Excel, you often can see messages such as #VALUE! or #DIV/0!. Most of the
time, this means you need to check the source of the error and fix it, but sometimes a formula
error simply means that the data used by the formula is not yet available.

### Quick way to transform your data without using formulas

Sometimes, especially when you work with a lot of data, you need to transform it. If you need to convert some range of data by dividing or multiplying it, it can be done in Excel in two clicks:

### How to insert cell content to the shape

If you are creating chart or diagram in Excel with shapes, you might need to update the shape text
automatically depending on the value in a particular cell.

### How to count cells by criteria

Use

**COUNTIF**if you need to sum values for a particular person or other criterion.### How to sum cells by criteria

Use

**SUMIF**if you need to sum values for a particular person or other criterion.### Hide formulas from appearing in the edit bar

Usually you can view a formula in the Excel cell when cell is selected, but you can protect spreadsheet to hide formulas in some cells.

### How to generate Series of Dates

Often you'll want to insert a series of dates into a worksheet. The most efficient way to enter a series of
dates doesn't require any formulas - just use Excel's

**AutoFill**feature.### Using Solver

Solver tool allows you to specify multiple adjustable cells and constraints on the values that the adjustable cells can have, generate a solution that maximizes or minimizes a particular worksheet cell, generate multiple solutions to a problem.