#1   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default rounding

i am using an "IF" function. If the value is "TRUE", I need it to use the
value but round it up to the next highest whole integer. How do I do that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default rounding

try =IF(A1,ROUNDUP(A1,0))
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"joe" wrote:

i am using an "IF" function. If the value is "TRUE", I need it to use the
value but round it up to the next highest whole integer. How do I do that?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default rounding

Joe,

i am using an "IF" function.


Do you mean that you are already using an IF() function or you want to use
an IF() finction?
I'm going to assume that you want an IF() function.

Try:
=IF(F350,ROUNDUP(F3,0),F3)
or
=IF(F350,INT(F3)+1,F3)
or
=IF(F350,CEILING(F3,1),F3)
take your pick and adjust to suit your needs.

If you mean something different the post back with more details.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"joe" wrote in message
...
i am using an "IF" function. If the value is "TRUE", I need it to use the
value but round it up to the next highest whole integer. How do I do
that?



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 down John Excel Worksheet Functions 3 May 29th 06 05:26 PM
Rounding Richard Excel Worksheet Functions 1 January 18th 06 05:51 PM
Rounding El_Melenero Excel Discussion (Misc queries) 0 November 23rd 05 08:06 PM
Rounding Graham Aird Excel Discussion (Misc queries) 4 November 17th 05 05:30 PM
Rounding LaraHubbs Excel Discussion (Misc queries) 2 June 21st 05 09:42 PM


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

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"