ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 7th, 2005, 09:52 AM
pmsm pmsm is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 2 pmsm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face Rounding up a number in excel

Hi

I am using excel 2002 to do a simple caluculation

This is probably a very simple problem I am having but I can't find away round it.

I have a basic formula in excel please see example below:

Cell B3 = 100000

Cell C3 = Formula = B3*3.9894 this gives the figure of 1,101,074.

I want to round the figure in C3 to 1,101.07

So basically all I am trying to do is get rid of the 4 proceeding 07at the end of the
calculation

Not sure if this is confusing. It is easier to explain in excel.


PM

Reply With Quote
  #2  
Old January 7th, 2005, 12:34 PM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Jun 2004
Posts: 3,002 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 19 h 40 m 17 sec
Reputation Power: 105
I'm confused. If B3 is 100000 and C3 contains a formula containing B3 * 3.9894 then this would result in 398940? If you ZIP the Excel file you can add it as an attachment to your post
__________________
selwonk

If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more!

Reply With Quote
  #3  
Old January 8th, 2005, 04:14 AM
roughneck82 roughneck82 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Tejas
Posts: 63 roughneck82 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 32 m 5 sec
Reputation Power: 5
Use this in cell C3
=ROUND(B3, 2)

The 2 is the number of decimals to round it to

I can't remember but I think there is a MROUND function as well

Reply With Quote
  #4  
Old January 10th, 2005, 06:06 AM
pmsm pmsm is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 2 pmsm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi Mike

You are correct. I need to roind this up to 398.94. I do not want the last number to be displayed as this is a monetary value.

Thanks

PMSM


Quote:
Originally Posted by selwonk
I'm confused. If B3 is 100000 and C3 contains a formula containing B3 * 3.9894 then this would result in 398940? If you ZIP the Excel file you can add it as an attachment to your post

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > Rounding up a number is excel


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT