+ Reply to Thread
Results 1 to 3 of 3

CEILING Function

  1. #1
    Registered User
    Join Date
    02-22-2018
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    23

    CEILING Function

    Hi,

    Need some help please with a formula, I need N2 to show if L2 is less than I2 then order in multiples of K2, so the formula would work out the results which I have manually entered into N2, N3 & N4. Any help or suggestions gratefully received.

    Example.JPG

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: CEILING Function

    Try this in N2:

    =IF(L2<I2,K2*CEILING((I2-L2)/K2,1),0)
    Last edited by 63falcondude; 04-26-2018 at 03:23 PM.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,802

    Re: CEILING Function

    Perhaps I am misunderstanding, but it seems like it should be as simple as =CEILING(I2-L2,K2). On our older versions of Excel, this will result in a #NUM error when L2 is larger than I2 (when you don't need to place an order). An appropriate error trap (if needed) could capture that scenario. I think newer versions of Excel will simply round to 0, which also indicates no need to order.

    The question suggests that there is more to this than I am seeing, but that is all that I am seeing. Could it be that simple?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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] Using the CEILING FUNCTION
    By thefallofrome in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-25-2018, 01:39 PM
  2. Use of CEILING Function
    By IMA_Saihat in forum Tips and Tutorials
    Replies: 3
    Last Post: 04-12-2015, 05:17 AM
  3. Replies: 2
    Last Post: 09-19-2012, 11:44 AM
  4. add IF statement to CEILING function
    By m1066189 in forum Excel General
    Replies: 3
    Last Post: 06-09-2010, 02:47 PM
  5. Ceiling function help
    By danjstock in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-21-2010, 02:12 AM
  6. CEILING Function
    By jules02 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-26-2009, 01:01 AM
  7. Ceiling Function
    By Danielle123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-22-2008, 01:36 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