+ Reply to Thread
Results 1 to 3 of 3

Looking for a roundup function

  1. #1
    Registered User
    Join Date
    04-27-2015
    Location
    Lincoln, UK
    MS-Off Ver
    Office 365
    Posts
    11

    Looking for a roundup function

    Hi all,

    I am looking for a round up function or a formula to take an addition and if the answer is below a certain value it will round the answer up to the specified value. But if the addition is greater than the value specified for the roundup function the function is ignored and the answer is just the addition.

    For example.

    I have 1 hour + 2 hours = 3 hours but I want to charge for a minimum of 4 hours so I want the answer rounding up to 4. However, if I have 2 hours + 3 hours I want to ignore the round up so that the answer is actually 5.

    Any help that can be given would be greatly appreciated.

    Thanks

    James

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,242

    Re: Looking for a roundup function

    =MAX(4,A1+B1) where A1 & B1 is your data

  3. #3
    Registered User
    Join Date
    04-27-2015
    Location
    Lincoln, UK
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Looking for a roundup function

    Quote Originally Posted by JohnTopley View Post
    =MAX(4,A1+B1) where A1 & B1 is your data
    Thank you that's perfect

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] ROUNDUP function nested in IF function--Having problems!
    By whitequeen11 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-08-2014, 04:32 PM
  2. =Roundup Function
    By wbishop56 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2012, 06:15 AM
  3. VBA Roundup function??
    By siegreen in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-21-2010, 05:03 AM
  4. Roundup Function
    By brown_toby in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-30-2006, 01:55 PM
  5. Roundup Function
    By Will in forum Excel General
    Replies: 4
    Last Post: 02-04-2006, 07:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1