Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Help with formula to round up to next higher multiple of 5

Hi,

I am looking for a quick formula that can take a number and round it up to
the next higher integer that is a multiple of 5. Does anyone have a formula
for this. You can email me at with any suggestions.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Help with formula to round up to next higher multiple of 5

Try the below formula with your value in A1

=IF(MOD(A1,5)=0,A1,A1+(5-MOD(A1,5)))

If this post helps click Yes
---------------
Jacob Skaria


"LarryUSCGMWR" wrote:

Hi,

I am looking for a quick formula that can take a number and round it up to
the next higher integer that is a multiple of 5. Does anyone have a formula
for this. You can email me at with any suggestions.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Help with formula to round up to next higher multiple of 5

Try this:

=CEILING(A1,5)

--
Biff
Microsoft Excel MVP


"LarryUSCGMWR" wrote in message
...
Hi,

I am looking for a quick formula that can take a number and round it up to
the next higher integer that is a multiple of 5. Does anyone have a
formula
for this. You can email me at with any suggestions.

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default Help with formula to round up to next higher multiple of 5

"LarryUSCGMWR" wrote:
I am looking for a quick formula that can take a number and round it up to
the next higher integer that is a multiple of 5. Does anyone have a
formula
for this.


Ostensibly:

=ceiling(A1,5)

However, be careful about confusing displayed values v. actual underlying
values. Suppose your cell is formatted as Number with 0 decimal places, and
it displays as 5. You might be surprised if CEILING(A1,5) results in 10
because the underlying value is really 5.1.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the formula in excel for higher level of square roots Cindy Nguyen Excel Discussion (Misc queries) 4 March 26th 08 11:40 PM
Round to multiple of 5 JmyCrikitt Excel Worksheet Functions 3 February 28th 08 08:50 PM
Why does Excel INT(x) behave like ROUND(x,0) for 10^14 and higher? joeu2004 Excel Discussion (Misc queries) 4 January 18th 08 08:42 PM
Replacing formula with round multiple times andyhofer Excel Discussion (Misc queries) 1 January 17th 08 09:42 PM
multiple and round Heather Gilroy Excel Worksheet Functions 2 July 22nd 05 06:38 PM


All times are GMT +1. The time now is 08:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"