A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Round up by 0.5 if >=.25, down to integer if <.25



 
 
Thread Tools Display Modes
  #1  
Old December 13th 16, 01:57 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Round up by 0.5 if >=.25, down to integer if <.25

Hi there, what would be the formula to take above criteria and apply to numbers from 1-6, for results like this:

4.15 would be 4.0
4.35 would be 4.5
4.65 would be 4.5
4.75 would be 5.0

Another way to say it is rounding up or down to the nearest 0.5, with rounding threshold at 0.25.

Thanks!
Ads
  #2  
Old December 13th 16, 02:10 PM posted to microsoft.public.excel.worksheet.functions
Claus Busch
external usenet poster
 
Posts: 3,451
Default Round up by 0.5 if >=.25, down to integer if <.25

Hi,

Am Tue, 13 Dec 2016 05:57:21 -0800 (PST) schrieb :

> Hi there, what would be the formula to take above criteria and apply to numbers from 1-6, for results like this:
>
> 4.15 would be 4.0
> 4.35 would be 4.5
> 4.65 would be 4.5
> 4.75 would be 5.0


your numbers in A1:a4. Then try:
=ROUND(A1/0.5,0)*0.5


Regards
Claus B.
--
Windows10
Office 2016
  #3  
Old December 13th 16, 02:59 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Round up by 0.5 if >=.25, down to integer if <.25

On Tuesday, December 13, 2016 at 2:57:25 PM UTC+1, wrote:
> Hi there, what would be the formula to take above criteria and apply to numbers from 1-6, for results like this:
>
> 4.15 would be 4.0
> 4.35 would be 4.5
> 4.65 would be 4.5
> 4.75 would be 5.0
>
> Another way to say it is rounding up or down to the nearest 0.5, with rounding threshold at 0.25.
>
> Thanks!


Perfect, thanks Claus!
  #4  
Old December 14th 16, 08:41 AM
DungSports DungSports is offline
Banned
 
First recorded activity by ExcelBanter: Dec 2016
Posts: 5
Default

h*ng tốt giá rẻ có dịch vụ giao h*ng thu tiền t*n nơi đảm bảo cho khách h*ng. phụ bạn một tay chúc bạn ng*y phát triển
_________________
rau sạch

https://t.co/lupqwTD3JG
  #5  
Old December 15th 16, 05:12 AM
Luannguyen992 Luannguyen992 is offline
Junior Member
 
First recorded activity by ExcelBanter: Nov 2016
Posts: 5
Default

Thanks bác, giờ mình mới biết đến thông tin hữu *ch n*y. Ai có những thông tin dạng như thế n*y post lên cho mọi người cùng tham khảo luôn nhé. Đang rất quan tâm
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Round Up and Round Down Time DaveMoore Excel Worksheet Functions 2 January 1st 10 12:00 PM
How do I add an integer to an existing integer? Aaron Excel Worksheet Functions 3 December 17th 09 09:46 PM
How do I round a formula result to the next integer? LBurlingame Excel Worksheet Functions 8 March 13th 09 03:57 PM
HOW TO ROUND UP INTEGER VALUES TO NEAREST TENS EXAMPLE 376 TO 380 v k abbey Excel Worksheet Functions 5 March 22nd 08 06:45 PM
How do I ROUND() round off decimals of a column dataset? Højrup Excel Worksheet Functions 2 January 12th 05 10:50 AM


All times are GMT +1. The time now is 12:13 AM.


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