Math · Excel formula

Divide a total among people

Divide the total by the number of people to calculate each share.

Use this formula

=B2/C2

The example below uses the column letters and row numbers in the formula. Enter it in a blank cell after the sample data.

See the cells and result

Visual example for Divide a total among people with sample rows and expected result

Example data

RowTaskTotalPeople
2Shared cost1806

Expected result: 30.

Why it works

Divide the total by the number of people to calculate each share.

Check this: Check for zero in the divisor before using real data.

Excel versions and testing

The example uses standard worksheet formulas. Open the workbook in a current desktop Excel version; other editions may display or calculate differently.

This original example has been checked against the browser formula engine and the downloadable workbook structure. The workbook has not been verified in every Excel edition. Microsoft function reference.

Common mistake and fix

If #DIV/0! appears, check the divisor cell for zero or a blank. Add a zero check with IF before dividing.

Try it yourself

Change a number or label in the data and predict the new result. Use the practice lab to test a supported formula, or download the data to work in Excel.

Try this example onlineDownload Excel workbookDownload CSV