+ Reply to Thread
Results 1 to 2 of 2

Distrube the difference between two numbers to the remaining cells.

  1. #1
    Registered User
    Join Date
    06-28-2010
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Distrube the difference between two numbers to the remaining cells.

    Let's assume we have 4 continuous cell in column C: C2,C3,C4, and C5.
    The sum of all 4 cells must equal a number, let's say 100.
    As the user inputs the first number in any of the cells, the other cells automically populate by equally dividing teh difference between 100 and the the cell where a was entered.

    Here are two examples which will make these easy to see:

    The user enters 25 into C3, 100-25=75. There are 3 remaining blank cells, so (75/3) 25 would be populated in
    the open cells.

    Let's say, the user enters 50 into C3, and 10 into C5, (100 - 50 - 10 = 40), 40 / 2 = 20, 20 woudl be entered in to the cells C2 and C4.

    make sense?

    Thanks for reading!

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Distrube the difference between two numbers to the remaining cells.

    Hi Tanner,

    Here's a start:Tanner.xlsm

    To clear it enter a null into any of the C2:C5 or delete all of them
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. Taking remaining value and sharing across remaining months?
    By kickme93 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-10-2013, 08:54 AM
  2. [SOLVED] Find difference between numbers in cells in 2 columns
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-08-2013, 07:01 AM
  3. [SOLVED] Remaining Days Formula Prodcuing Negatiive Numbers
    By PPD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-20-2012, 02:46 PM
  4. Percentage difference between numbers in 2 cells
    By Rajagopal in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-09-2005, 08:10 AM
  5. Remaining Numbers from a List that are not used
    By Lorence in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2005, 02:05 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