+ Reply to Thread
Results 1 to 3 of 3

Adding RoundUp Back Into Formula

  1. #1
    Forum Contributor
    Join Date
    07-07-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    500

    Adding RoundUp Back Into Formula

    Greetings,
    I have a worksheet that has a Sub-Total, Contingency (10% of the Sub-Total), and Total (adds the Sub-Total and Contingency). I would like to round-up the Total to the nearest 5,000. However, I am needing to add the difference of the Total and the roundup Total back into the Contingency. But this creates a circular references. Any suggestions without using a Macro. *I need for the Workbook to remain a non Macro-Enabled Workbook

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

    Re: Adding RoundUp Back Into Formula

    If I correctly understand the algorithm, here's what I did:

    1) In B3, I have my subtotal (I used =RANDBETWEEN(10000,100000) because I have no idea where your subtotals are coming from)
    2) In B4, I calculate the 10% of subtotal =A3*0.1
    3) In B5, I calculate a "temporary" total =SUM(B3:B4).
    4) In B6, I round that up to the nearest 5000 =CEILING(B5,5000)
    5) IN B7, I calculate the additional contingency =B6-B5
    6) In B8, I calculate the total contingency =B7+B4
    7) In B9, I recalculate the total as a check =B3+B8

    If/when it is working correctly, B6 and B9 should be the same.

    If you decide that is the correct logic/algorithm, then I expect one could carefully combine steps/cells B5:B8 into a single cell formula.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    07-07-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    500

    Re: Adding RoundUp Back Into Formula

    MrShorty,
    Works great!!! Thank you much!!!

+ 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. Adding series back to legend
    By evanwm in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-04-2016, 02:11 AM
  2. Help With Adding Roundup To Formula
    By gaspower in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2015, 09:24 PM
  3. [SOLVED] Formula to arrive back at original figure after adding %
    By sumospim in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-29-2014, 05:15 PM
  4. [SOLVED] Need roundup formula
    By mikerules in forum Excel General
    Replies: 6
    Last Post: 03-23-2014, 10:17 AM
  5. Help adding ROUNDUP to a simple formula
    By Vdogeek in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-11-2014, 07:58 PM
  6. [SOLVED] RoundUP formula help pls
    By ashuk38 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-04-2013, 08:33 PM
  7. [SOLVED] Roundup within a formula
    By Nicola13 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-12-2012, 04:54 AM

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