+ Reply to Thread
Results 1 to 4 of 4

sum up to maximum value

  1. #1
    Registered User
    Join Date
    01-31-2022
    Location
    United States
    MS-Off Ver
    2020
    Posts
    2

    sum up to maximum value

    Good evening. I am relatively new to excel formulas and looking to understand how to get what is in my head into a workable formula.

    1. THE ISSUE
    The values in the "N" column represent the actual value that was entered.
    The values in the "O" column represent how much those values are increasing.

    The value in "P" is obviously the SUM of "N" and "O", which is fine, until it goes over the number "10" which I would like to set as a metaphorical "threshold".

    2. WHAT I WANT THE FORMULA TO SAY (I think)

    IF "P" exceeds "10.00," then round down to "10.00"

    OR

    IF "P" exceeds "10.00," then display "10.00"

    I DO NOT want it to affect any other values, only the "P" column

    How would I write this?
    Thanks!

    123.PNG
    Attached Images Attached Images
    Last edited by FDibbins; 01-31-2022 at 01:16 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Calculation Help!

    Hi, welcome to the forum.

    Please take a few minutes to read our rules, specifically regarding thread titles - they need to explain what you are trying to do. ( have changed it for you - this time)

    For what you are doing, you need to use the MIN function....
    =MIN(N1+O1,10)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-31-2022
    Location
    United States
    MS-Off Ver
    2020
    Posts
    2

    Re: Calculation Help!

    Thank you very much. My apologies for disregarding the title format, I will check that more closely moving forward.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: sum up to maximum value

    No problem, happy to help

+ 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. CUMIPMT calculation doesn't seem to match interest calculation from amortization table
    By cdub39 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 11-28-2021, 08:11 PM
  2. Replies: 10
    Last Post: 07-22-2019, 06:27 AM
  3. [SOLVED] VBA to open a workbook with manual calculation and close with automatic calculation
    By thedunna in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2019, 12:28 PM
  4. [SOLVED] Calculation of dates and leaving blank cell when calculation sees non-date values
    By Hedy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-22-2018, 07:52 AM
  5. Replies: 0
    Last Post: 05-17-2014, 10:18 PM
  6. Replies: 1
    Last Post: 01-15-2013, 08:51 AM
  7. [SOLVED] Conditional statement calculation based on result of previous calculation.(Need some help)
    By takeprofit in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-01-2012, 01:45 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