LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 45
Default Calculate to the third decimal and round up or down in cell

Hello!
I have a worksheet in MS2003 and users input data into a cell to calculate
information. I need to know if it is possible to write a formula or VB code
to do the following
1. Calculate the number to the third decimal place (1.234)
2. Round up when the last digit is 5 or greater (1.235 is rounded to 1.24)
3. Rounded down when the last number is 4 or less (1.234 is rounded down to
1.23)
The cell is already doing =sum(T3/21.7) to get the calculation I need, now
it just needs to stop at the third decimal and round. Any helpful ideas?
Thanks in advance for all the help!
~Roxy
 
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 i round decimal if 2.3=2.5 2.7=2.5 & 2.8=3.0 tiffa Excel Worksheet Functions 4 May 5th 08 02:00 PM
Round a repeating decimal from a formula... Snake2135 Excel Worksheet Functions 14 February 23rd 08 04:04 PM
Round a negative decimal Montana Excel Worksheet Functions 8 November 20th 07 06:09 AM
How do I round last number without a decimal point rollover22 Excel Worksheet Functions 1 July 26th 05 04:35 PM
ROUND DATA TO 2 DECIMAL PLACES roy in sunbury New Users to Excel 1 January 12th 05 03:33 AM


All times are GMT +1. The time now is 05:23 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"