ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum and Round all in one cell (https://www.excelbanter.com/excel-discussion-misc-queries/119690-sum-round-all-one-cell.html)

BAHoffman

Sum and Round all in one cell
 
I need to know how to round the sum of a cell up to the nearest 500. Can
anyone help me with this?? I would appreciate it. Thanks.

Elkar

Sum and Round all in one cell
 
Try something like this:

=ROUNDUP(SUM(A1:A100)/500,0)*500

HTH,
Elkar


"BAHoffman" wrote:

I need to know how to round the sum of a cell up to the nearest 500. Can
anyone help me with this?? I would appreciate it. Thanks.


Ron Coderre

Sum and Round all in one cell
 
Try this:

With
A1: (a number)

This formula rounds the value in A1 UP, in increments of 500
B1: =CEILING(A1,500)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"BAHoffman" wrote:

I need to know how to round the sum of a cell up to the nearest 500. Can
anyone help me with this?? I would appreciate it. Thanks.


David Biddulph

Sum and Round all in one cell
 
=CEILING(A1,500)
--
David Biddulph

"BAHoffman" wrote in message
...
I need to know how to round the sum of a cell up to the nearest 500. Can
anyone help me with this?? I would appreciate it. Thanks.




Bob Phillips

Sum and Round all in one cell
 
Do you mean sum and round in one go?

=CEILING(SUM(A1:A20),500)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"BAHoffman" wrote in message
...
I need to know how to round the sum of a cell up to the nearest 500. Can
anyone help me with this?? I would appreciate it. Thanks.





All times are GMT +1. The time now is 10:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com