+ Reply to Thread
Results 1 to 2 of 2

Round forecast values up or down depending on cumulative decimal value.

  1. #1
    Registered User
    Join Date
    01-25-2019
    Location
    Enschede, The Netherlands
    MS-Off Ver
    365
    Posts
    4

    Round forecast values up or down depending on cumulative decimal value.

    Hi guys,

    I hope the title makes sense..

    I have the following problem:

    In excel, i am calculating a weekly forecast for many items.
    The forecast is calculated as a decimal value and the lowest value will be 0.1, or 1500 for example.
    I have to round the numbers up or down to an integer value.

    My problem is especially with lower values, rounding up or down really messes up the yearly forecast.

    Example 1:
    Weekly forecast: 0.2 per week
    Yearly forecast should be ~0.2*53 = 10,6
    Rounded down Yearly forecast = 0

    Example 2:
    Weekly forecast: 0.6 per week
    Yearly forecast should be ~1.6*53 = 84,8
    Rounded up Yearly forecast = 106

    Do you guys know a way to rond up/down like this:
    Calculated per week: 1.2 - 1.2 - 1.2 - 1.2 - 1.2 - 1.2 - 1.2 - 1.2 - 1.2 - 1.2...
    Rounded: 1 - 1 - 1 - 1 - 2 - 1 - 1 - 1 - 1 - 2...

    I can probably do this with VBA but i hope there is a more sophisticated way.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Round forecast values up or down depending on cumulative decimal value.

    For a weekly forecast number in A2, leave B2 blank, then enter this into C2, and copy to the right for 52 weeks:

    =ROUNDDOWN($A2*COLUMN(A1)-SUM($B2:B2),0)
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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. round using round function vs the decrease decimal
    By lastnn30 in forum Excel General
    Replies: 3
    Last Post: 10-25-2021, 07:49 PM
  2. FORMULA - Conditional Formatting 'good' values with 3 decimal places NOT round, trunc
    By auditor.non.general in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-07-2021, 03:24 AM
  3. [SOLVED] Round up decimal value to one in VBA code
    By keshavtale in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2018, 07:07 AM
  4. [SOLVED] Round all values in a column to two decimal places
    By The Phil in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-09-2015, 03:09 PM
  5. [SOLVED] Round Decimal Values using Formulas and/or Functions
    By pipoliveira in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-25-2015, 06:00 PM
  6. [SOLVED] How to round off all the values with 0.000999 into 3 decimal places?
    By raimy haidar in forum Excel General
    Replies: 8
    Last Post: 02-12-2015, 02:59 AM
  7. [SOLVED] round up to one decimal
    By rcprito in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2013, 07:17 AM

Tags for this Thread

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