Fix an Excel Structured Reference Formula for IMU Percentage
Question details
Calculate the initial markup percentage using retail price and cost in an Excel table.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants a structured reference formula to calculate IMU as a percentage of retail price for each table row.
- Observed behavior
- The formula returns an incorrect percentage when subtraction is not grouped before division.
Check that the data is in an Excel table with columns named RETAIL and LDP, and that RETAIL contains a nonzero price. LDP should contain the cost used in the calculation.
Group the subtraction in the Excel structured reference
Use parentheses to calculate the difference between retail price and cost before dividing by retail price.
Select the result cell in the Excel table and enter =([@RETAIL]-[@LDP])/[@RETAIL] in the formula bar.
Select the result cell or column, then choose Home > Number > Percent Style. Increase the decimal places if needed.
For a RETAIL value of 25 and an LDP value of 11.40, confirm that the formatted result is 54.4%.

Calculate IMU with regular cell references
Use this approach when the data is not in an Excel table or structured references are unnecessary.
Calculate IMU Percentage with WPS Spreadsheet
Use a grouped cell-reference formula in WPS Spreadsheet to calculate initial markup as a percentage of retail price, then format the results as percentages.
- 1. Open the spreadsheet: Open WPS Spreadsheet and use Open to select your workbook, or create a blank workbook.
- 2. Enter prices and costs: Enter a retail price in B2 and its cost in C2, with additional products in the rows below.
- 3. Calculate the percentage: Select D2 and enter =(B2-C2)/B2, then press Enter.
- 4. Format and copy the formula: Select D2 and choose Percent Style on the Home tab. Drag the fill handle down to apply the formula to other rows.

Frequently Asked Questions
Why does my Excel IMU formula return the wrong percentage?
Excel divides before it subtracts. In the formula bar, group retail price minus cost in parentheses: =([@RETAIL]-[@LDP])/[@RETAIL].
What should the IMU be for a $25 retail price and an $11.40 cost?
The calculation is (25-11.40)/25, which equals 0.544 or 54.4% when formatted as a percentage.
What do @RETAIL and @LDP mean in the formula?
In an Excel table, [@RETAIL] and [@LDP] refer to the RETAIL and LDP values in the current row. The column names in the formula must match the table headers.
How do I display 0.544 as 54.4% in Excel?
Select the result cell, choose Home > Number > Percent Style, and increase the decimal places if needed.
Why does the formula show a division-by-zero error?
The formula divides by retail price, so a RETAIL value of zero causes an error. Check the RETAIL cell and enter a nonzero price before calculating.




