+ Reply to Thread
Results 1 to 2 of 2

Capping percentage of one cell based on percentage of another

  1. #1
    Registered User
    Join Date
    04-26-2021
    Location
    Lancashire
    MS-Off Ver
    MS365
    Posts
    51

    Capping percentage of one cell based on percentage of another

    I need to calculate a percentage in F39 so that the total in both F38 and F39 is 80% of the output (F35), up to a maximum of 90% of the annual consumption (F17).

    The following code works fine when the annual consumption (F17) is less than the generation (F35) or not much more than the generation (F35) (see image 4000)

    Please Login or Register  to view this content.
    But when the consumption is (F17) is far higher than the generation (F35) it all goes wrong! (see image 10000). The total of cells F38:F40 should add up to 100%.

    Please can someone help fix this so that the total of F38 and F39 combined never go over 90%?

    Thank you

    Also posted here - https://stackoverflow.com/questions/...f-another-cell
    And here - https://www.mrexcel.com/board/thread...-cell.1176917/
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Paul; 07-20-2021 at 11:41 AM. Reason: Added second cross-post link

  2. #2
    Registered User
    Join Date
    04-26-2021
    Location
    Lancashire
    MS-Off Ver
    MS365
    Posts
    51

    Re: Capping percentage of one cell based on percentage of another

    I've managed to fix this using the following

    Please Login or Register  to view this content.

+ 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: 6
    Last Post: 09-06-2005, 03:05 AM
  2. [SOLVED] Calculating recurring date in following month, calculating # days in that period
    By Walterius in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 02:05 AM
  3. Replies: 6
    Last Post: 09-06-2005, 01:05 AM
  4. [SOLVED] Calculating recurring date in following month, calculating # days in that period
    By Walterius in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 12:05 AM
  5. [SOLVED] Calculating recurring date in following month, calculating # days in that period
    By Walterius in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-05-2005, 11:05 PM
  6. [SOLVED] Calculating recurring date in following month, calculating # days in that period
    By Walterius in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-05-2005, 10:05 PM
  7. [SOLVED] Calculating recurring date in following month, calculating # days in that period
    By Walterius in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-04-2005, 07:05 PM
  8. Replies: 0
    Last Post: 03-15-2005, 10:06 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