Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Rounding 2 decimal Places

This seems easy enough but I cannot figure out the code and I cannot find an
example.

I need to round cells so there is 2 decimal places. I just need standard
rounding so there is no more than 2 decimal places.

This is what I did, but i cannot get it working.


Do While I <= 50
round(cells(I,3).value,2)
I = I + 1
Loop

or

Do While I <= 50
round(cells(I,3),2)
I = I + 1
Loop

And I have tried several other variations.....but I cannot get anything to
work.

Thanks,

Pete
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Rounding 2 decimal Places

I apologize.......I see this was answered.....I have been having trouble with
the forums lately.
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
Rounding value from millions to decimal places Bagia Excel Worksheet Functions 7 July 8th 14 07:32 PM
rounding decimal places Cherie QLD Excel Discussion (Misc queries) 4 September 10th 08 05:24 AM
Rounding to two even decimal places needhelp Excel Worksheet Functions 3 May 16th 07 12:49 AM
Rounding off decimal places Clay64 Excel Discussion (Misc queries) 7 March 29th 07 10:30 PM
Decimal places and rounding up (or down) Ash New Users to Excel 3 February 15th 05 08:16 PM


All times are GMT +1. The time now is 03:49 PM.

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"