How do I create a SUMIF function to calculate total …

Computers and Technology Questions

Create and copy a SUMIF function to calculate total earnings by branch office. Select cell E18. Start the SUMIF function with cells $D$5:$D$14 as the Range argument. Set the Criteria argument as a relative reference to cell C18. Select cells G5:G14 for the Sum_range argument and make the references absolute. Copy the formula in cell E18 to cells E19:E20 without formatting to preserve borders. Format cells E18:E21 as Currency

Short Answer

To calculate total earnings for a branch office, use the SUMIF formula in cell E18. Copy this formula to other cells with the Format Painter, and format the result as currency for better readability.

Step-by-Step Solution

Step 1: Enter the SUMIF Formula

Start by selecting cell E18, where you want to display the total earnings for a specific branch office. Input the following formula: =SUMIF($D$5:$D$14,C18,$G$5:$G$14). This formula sums the values in the range G5:G14 that match the criteria defined in cell C18, which represents the specific branch office.

Step 2: Copy the Formula Using Format Painter

With cell E18 still highlighted, navigate to the Home tab on the ribbon and click on the Format Painter button. This tool allows you to duplicate the formula from E18 without carrying over any formatting. Drag your cursor to select cells E19:E20 and then release the mouse button to copy the formula into these selected cells, ensuring consistent calculations across multiple branches.

Step 3: Format Cells as Currency

To make the results clearer, select the range E18:E21 where your formulas are located. Then, go to the Home tab on the ribbon and click on the Currency button within the Number group. This action will format the selected cells to display the total earnings as currency, enhancing readability and ensuring that the financial data is presented correctly.

Related Concepts

Sumif

A function in excel that adds the values in a specified range that meet a given criteria.

Format Painter

A tool in excel that allows users to copy formatting from one cell to another without copying the cell’s contents.

Currency Formatting

A feature in excel that converts numbers into a monetary format, making it easier to read and understand financial data.

Scroll to Top