+ Reply to Thread
Results 1 to 4 of 4

rounding up from zero

  1. #1
    Registered User
    Join Date
    12-14-2007
    Posts
    19

    rounding up from zero

    Okay i'm so confused and turned around I'm ready to tear my hair out! whew rant out of the way. I've spent an hour looking at other posts hoping that I wouldnt' be reposting a question.

    I have in cell e6 the number of units we have left/over forecast

    e6= 15 over
    this is based off of d6-c6 ((12-12 = +1 rounded up from zero))
    my next cell a3 is days left in the month ((this case: 3))

    i need cell f6 so have the formula e6/a3 to calculate how many we need to sell per day. If the TO GO is positive I need to PER DAY to match the TO GO number and change from red to green respectively.

    I am having trouble making cell f6 round up from zero to one when the TO GO is at +1.

    I'm at my wits end! please help? hope this wasn't too confusing.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Zero is the roundest number there is ...

    If you have N days left in the month, and M units left to sell, then you need to sell M/N units per day. Since you can't sell less than zero (excluding returns, I guess), the units per day can't be less than zero.

    Also, if there's no days left, the result doesn't mean anything.

    requiredSalesPerDay = if(daysLeft = 0, "Too late!", max(0, (quota - soldSoFar) / daysLeft) )

  3. #3
    Registered User
    Join Date
    12-14-2007
    Posts
    19

    once it hits zero

    once it hits zero the per day will switch to a postive when we have sold enough to meet our forecast. I just need for f6 to skip zero and go straight to a green one (positive) when that happens.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Sorry, you're going to have to explain that more clearly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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