In this example, the goal is to calculate and display profit margin as a percentage for each of the items shown in the table. In other words, given a price of $5.00 and a cost of $4.00, we want to return a profit margin of 20%. Each item in the table has different price and cost, so the profit varies across items.
Profit margin is the ratio of profit divided by revenue. The general formula where "x" is profit margin is:
In the table shown, we have price and cost, but profit is not broken out separately in another column, so we need to calculate profit by subtracting Cost from Price:
and profit is calculated by subtracting Cost from Price. After we convert this to an Excel formula with cell references, we have this formula in E5:
Make sure you use parentheses to control the order of operations. As the formula is copied down, we get profit margin for each item in the table. Note the result will be a decimal number like .10, .25, .30, etc. To display this result as a percentage, apply Percentage number format. You can use the shortcut Control + Shift + %.
Formatting percentages in Excel
In mathematics, a percentage is a number expressed as a fraction of 100. For example, 95% is read as "Ninety-five percent" and is equivalent to 95/100 or 0.95. To display these numbers with a percent sign (%), apply Percentage number format. To convert these numbers to a whole number like 95, multiply by 100:
In this example, the goal is to work out the "percent of total" for each expense shown in the worksheet. In other words, given that we know the total is $1945, and we know Rent is $700, we want to determine that Rent is 36% of the total. The total...
In this example, the goal is to determine the percentage discount for each item shown in the table, given an original price and a sale price. In other words, given the Charcoal grill has an original price of $70.00 and a Sale Price of $59.50, we...
In this example, the goal is to calculate the variance between a Forecast (column C) and Actual (column D) as a percentage. For example, with a Forecast value of 100,000 and an Actual value of 112,000, we want to return a variance of 12%. The...
In this example, the goal is to calculate the percentage sold for each item listed in the table, where original number (Total) is in column C and the Sold number is in column D. In other words, if we know we started with 144 apples, and sold 108...
Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.