Rounding numbers :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

Rounding numbers
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

JackO
Welcome to the Board


Joined: 28 Oct 2002
Posts: 4


Status: Offline

 Reply with quote  

Rounding numbers

I have a formula in a cell (A23 - example) that usually returns a decimal such as say 3.2 for an example. I want to round this number up each time, but when I use the ROUNDUP function for that cell I get a circular reference.
ROUNDUP(A32,0) is there another way to write this so it will round up?

This is the formula I have in cell A23, I want to roundup the result of this formula each time
=IF(H14<1,"",INDEX($U$94:$BD$134,MATCH(B14,$U$94:$U$134,),MATCH(C14,$U$94:$BD$94,))*H14)

icon_help.gif

Post Fri Sep 19, 2003 3:50 pm 
 View user's profile Send private message Send e-mail

IML
MrExcel MVP


Joined: 16 Feb 2002
Posts: 1361
Location: Denver, CO
Flag: Usa

Status: Offline

 Reply with quote  

Re: Rounding numbers

=roundup(yourformula,0)

Post Fri Sep 19, 2003 3:52 pm 
 View user's profile Send private message Send e-mail

Andrew Poulsom
MrExcel MVP


Joined: 22 Jul 2002
Posts: 8266

Flag: Uk

Status: Offline

 Reply with quote  

Re: Rounding numbers

Like this?

=ROUNDUP(IF(H14<1,"",INDEX($U$94:$BD$134,MATCH(B14,$U$94:$U$134,),MATCH(C14,$U$94:$BD$94,))*H14),0)

Post Fri Sep 19, 2003 3:54 pm 
 View user's profile Send private message

inarbeth
Board Master


Joined: 09 Apr 2002
Posts: 611
Location: Wivenhoe, England
Flag: Uk

Status: Offline

 Reply with quote  

Re: Rounding numbers

Hi, welcome to the board.
Won't =ROUNDUP(IF(H14<1,"",INDEX($U$94:$BD$134,MATCH(B14,$U$94:$U$134,),MATCH(C14,$U$94:$BD$94,))*H14),0)

give you the result you want?

Looks like I was beaten to the draw icon_huh.gif
_________________
 Dr Feelgood

Post Fri Sep 19, 2003 4:04 pm 
 View user's profile Send private message Send e-mail Visit poster's website
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.