ROUND AND SUM FUNCTION IN ONE FORMULA

HighlandPiper

New Member
Joined
Apr 28, 2016
Messages
19
Good afternoon, all

I have a spreadsheet with a sum function in K20 formatted for a percentage, which looks like this =SUM(K6:K19) and it returns a value of 16.13%

As well as displaying the total percentage I would also like to ROUND the figure to 0 decimal places. is it possible to combine a SUM function and a ROUND function together, if so how can I do this please?

Also, is it possible to add a round function to a cell when taking information from another worksheet such as this ='Template '!C47
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Assuming you want the percentage rounded to 0DP, that's actually rounding the sum to 2DP, so:

Excel Formula:
=ROUND(SUM(K6:K19),2)
 
Upvote 0
Assuming you want the percentage rounded to 0DP, that's actually rounding the sum to 2DP, so:

Excel Formula:
=ROUND(SUM(K6:K19),2)
Hi Rory - there is no ROUND function applied at present it is just a SUM function with the formatting to 2 decimal places. I want to use a ROUND to 0DP. Thank you for the function, much appreciated. Could you also support with the ROUND function when the information is taken from a different sheet and how both link together please, i.e. how would I add the ROUND function to this formula?

='Template '!C47
 
Upvote 0
What I meant was that a percentage is in hundredths - eg 16.13% is actually the number 0.1613 so if you rounded the underlying value to 0DP you would get 0 which is of course also 0%. You need to round the value to 2DP (0.16 in this case) and then display as a percentage (16%)

It would be
Excel Formula:
=ROUND('Template '!C47,0)
for example
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,762
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top