+ Reply to Thread
Results 1 to 3 of 3

Percentage and amounts adjust accordingly, total percentage should always be 100%

  1. #1
    Registered User
    Join Date
    07-19-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2

    Percentage and amounts adjust accordingly, total percentage should always be 100%

    Hi, I am new here in the forum, I have a predicament that I can't get over my head. It maybe a quick solution for you guys.

    I have 2 columns, each of these columns represents a percentage and a dollar amount. User can only put in a value between 0 and 100% in the percentage

    want to be able to change the percentage in any of the cells or delete percentage value and have the percentage be redistributed to the other cells to total to 100% and automatically adjusts the corresponding $ amount and vice-versa on the $ amount to a percentage.

    Notes:

    - Total $ amount is user input as well as the percentage for every row as long as it is equal to 100%

    - if I change the percentage or $ amount of the second row, it should compute for the percentage or $ amount that is equivalent to the percentage or $ amount I entered. And it adjusts the other cells accordingly to still equal to 100 %

    Please see attachment for sample.

    Thank you in advance.
    Attached Images Attached Images

  2. #2
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: Percentage and amounts adjust accordingly, total percentage should always be 100%

    If you are using formulas, what you are describing would require a separate input area and display area. If you are using macros, this can all be done in the same area, but you would need to post this thread in the correct forum requesting help for VBA and Macros.

    Would you be opposed to separating the input area from the display area? How would it adjust accordingly? Suppose you increase that 5% (on the second row) to 10%. Should the other six percentages each decrease by 5%/6? You need to come up with specific instructions.

  3. #3
    Registered User
    Join Date
    07-19-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2

    Re: Percentage and amounts adjust accordingly, total percentage should always be 100%

    Thanks for the feedback, apologize for not being clear. I want it to be a formula in excel.

    I'm ok with separate input and display areas for $ amount and percentage for the new values.

    if I change the percentage on the second row, it should override the previous value on percentage and it's equivalent $ amount (Same goes if I change the $ amount, updates equivalent percentage). Other cells' percentage should also be adjusted but corresponding $ amounts should remain as is. Total $ amount is updated. However, percentage is still equal to 100 %.

    Please see attached file for the expected behavior (increase that 5% (on the second row) to 10%).
    Yellow cells changed after increasing it to 10%.


    excel_forum2.png
    Last edited by iceman1213; 07-19-2017 at 09:36 PM.

+ 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. Replies: 1
    Last Post: 09-20-2016, 07:33 PM
  2. PivotTable sub-total/grand total percentage issue
    By Jess0121 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 04-19-2016, 05:59 PM
  3. Deduct (percentage) amounts off of specific quantity ranges
    By samliebl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-09-2014, 04:37 PM
  4. Getting sum total from percentage instead of percentage amount
    By Bluedemon909 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2013, 08:56 AM
  5. Macro to adjust zoom percentage depending on users screen resolution?
    By Smeddlesboy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-05-2011, 06:45 AM
  6. Trying to get the total percentage
    By YGAM in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2009, 04:33 AM
  7. Percentage of amounts and profits of individual sales
    By lulubelleshell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2005, 03:05 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