SQLDAXExcelPython
Leaderboard
TextMedium20 points

Format a number as text

Return the overall margin, 1 - total Cost / total Amount, as percentage text with one decimal, such as 32.5%. Amount is column J of Sales and Cost is column K.

How your answer is tested

Your formula goes in a blank sheet. A value or a spilled range both work.

Show solutionLifetime

Runs in your browser with IronCalc, an open-source spreadsheet engine, so this isn't Microsoft Excel. The questions here were checked against real Excel, but a few functions such as AGGREGATE are not available.

Excel formulaselect text to run only that part
Loading editor…

Press Ctrl+Enter or Run to see the result here.