Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Round numbers 1.01 through 1.49 to 1.50

Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9,101
Default Round numbers 1.01 through 1.49 to 1.50

This may sound silly, but it works. Double the number and then Roundup().
This will give you either 3 or 4. The divide 3 or 4 by 2 to get 1.5 or 2.

"Thomas Prescott" wrote:

Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 461
Default Round numbers 1.01 through 1.49 to 1.50

Do

Ceiling(Cell Reference, .5)

Works like a charm

"Thomas Prescott" wrote:

Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Round numbers 1.01 through 1.49 to 1.50

Hold that thought....Your formula "FAILED"

Let's say A1=1.50
B1 =CEILING(A1,.5) your result 1.50, OP wants 1.50 through 1.99 to 2.00


"AKphidelt" wrote:

Do

Ceiling(Cell Reference, .5)

Works like a charm

"Thomas Prescott" wrote:

Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Round numbers 1.01 through 1.49 to 1.50

Try this:

=IF(MOD(A1,1)=0,0,IF(AND(MOD(A1,1)0,MOD(A1,1)<0.5 ),0.5,1))+INT(A1)


"Thomas Prescott" wrote:

Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Round numbers 1.01 through 1.49 to 1.50

Sweet! Just what I wanted to do. Many thanks. You are most kind

"AKphidelt" wrote:

Do

Ceiling(Cell Reference, .5)

Works like a charm

"Thomas Prescott" wrote:

Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Round numbers 1.01 through 1.49 to 1.50

Thanks. Oooops, didn't mean to start an Excel debate. Thank you all for the
help. I couldn't have figured this out without your help. Thanks again.

"Teethless mama" wrote:

Try this:

=IF(MOD(A1,1)=0,0,IF(AND(MOD(A1,1)0,MOD(A1,1)<0.5 ),0.5,1))+INT(A1)


"Thomas Prescott" wrote:

Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Round numbers 1.01 through 1.49 to 1.50

You said, "round 1.50 through 1.99 to 2.00"

His formula doesn't round the value 1.50 to 2.00


"Thomas Prescott" wrote:

Sweet! Just what I wanted to do. Many thanks. You are most kind

"AKphidelt" wrote:

Do

Ceiling(Cell Reference, .5)

Works like a charm

"Thomas Prescott" wrote:

Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Round numbers 1.01 through 1.49 to 1.50

Hi

??? (confused)
With number in A1
=ROUND(A1,2)

.... Or have they implemented the bankers rounding for worksheetfunction too
in later versions (I use Excel2000)?


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Thomas Prescott" <Thomas wrote in
message ...
Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00



  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Round numbers 1.01 through 1.49 to 1.50

Yes, I think you *are* confused, Arvi. With 1.37 in A1, =ROUND(A1,2) will
leave it at 1.37 (with 2 decimal places displayed), not round to 1.50.
--
David Biddulph

"Arvi Laanemets" wrote in message
...
Hi

??? (confused)
With number in A1
=ROUND(A1,2)

... Or have they implemented the bankers rounding for worksheetfunction
too in later versions (I use Excel2000)?
--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Thomas Prescott" <Thomas wrote in
message ...
Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00







  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Round numbers 1.01 through 1.49 to 1.50

Hi

Obviously it was too early morning for me :-))


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Yes, I think you *are* confused, Arvi. With 1.37 in A1, =ROUND(A1,2) will
leave it at 1.37 (with 2 decimal places displayed), not round to 1.50.
--
David Biddulph

"Arvi Laanemets" wrote in message
...
Hi

??? (confused)
With number in A1
=ROUND(A1,2)

... Or have they implemented the bankers rounding for worksheetfunction
too in later versions (I use Excel2000)?
--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Thomas Prescott" <Thomas wrote in
message ...
Round the number range from 1.01 through 1.49 to 1.50; and to round 1.50
through 1.99 to 2.00







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
How do you round off numbers 5,518,943 to 5,520,000 laurn Excel Discussion (Misc queries) 1 August 16th 06 03:32 PM
Round numbers THEN add them luckyt22 Excel Worksheet Functions 4 August 1st 05 03:05 PM
How to Round Whole Numbers? blank Excel Discussion (Misc queries) 3 May 18th 05 09:32 AM
Can you round numbers to display a specific set of numbers, for e. lbfries Excel Discussion (Misc queries) 3 April 20th 05 09:52 PM
Round off to 100 numbers? Foppa Excel Discussion (Misc queries) 3 March 13th 05 03:54 PM


All times are GMT +1. The time now is 06:25 AM.

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

About Us

"It's about Microsoft Excel"