+ Reply to Thread
Results 1 to 19 of 19

How to make a formula with a max?

  1. #1
    Registered User
    Join Date
    08-07-2013
    Location
    dublin
    MS-Off Ver
    Excel 2003
    Posts
    11

    How to make a formula with a max?

    Hi,

    I need help to write a formel where there is a cap at 125% of a value of 2500. It should also show the value of ie 5%, 63%, 87% or 105% etc up to 125%. Anyone who can help me with that? ( hope the info mentioned is enough otherwise let me know and i will try to elaborate more).

    Thanks

  2. #2
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: How to make a formula with a max?

    Plz elaborate, also post a sample file for better understanding
    Rgd
    RT
    If my answer(s) helped you, please add me reputation by click on *

  3. #3
    Registered User
    Join Date
    08-07-2013
    Location
    dublin
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: How to make a formula with a max?

    Hi RT,

    I need the formula to show me what the value will be depending on the percentage. 100% is 2500, so what i need is a formula which calculate the value if it is 5%, 60% or 70% of the 2500, if it was 60% the value would then be 1500 but this is not really the issue. The problem is that there is a maximum of 125% and i don't know how to put this restriction in the formula. Could you help me with this?

    Thanks.

  4. #4
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: How to make a formula with a max?

    What should be the value if the >100%

  5. #5
    Registered User
    Join Date
    08-07-2013
    Location
    dublin
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: How to make a formula with a max?

    since the cap is 125% the max value would be 3125

  6. #6
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: How to make a formula with a max?

    Can u plz post a sample file along with the desired results

  7. #7
    Registered User
    Join Date
    08-07-2013
    Location
    dublin
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: How to make a formula with a max?

    I can't really post a sample as the result i want is the formula which is what i need help for (or maybe I don't understand your question)

  8. #8
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: How to make a formula with a max?

    Assuming that ur value is in col a, and cap in col b and percentage in col c. In col c

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    08-07-2013
    Location
    dublin
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: How to make a formula with a max?

    so if value=2500, cap=125%, percentage of value=60% how would you write the formula?

  10. #10
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: How to make a formula with a max?

    Try This

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For more clarification, plz post a sample file (not the actual file) and your desired result, explain how would u get the desired result manually.

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How to make a formula with a max?

    May be something like this...

    In A1 Cell
    2500

    In A2 Cell
    125%

    In A3 Cell
    ="[5%="&A1*5%/A2&"] [60%="&A1*60%/A2&"] [70%="&A1*70%/A2&"]"&"] [90%="&A1*90%/A2&"]"&"] [100%="&A1*100%/A2&"]"


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  12. #12
    Registered User
    Join Date
    08-07-2013
    Location
    dublin
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: How to make a formula with a max?

    I tried to use your formula but it says error (=IF(B1*A1>3125,0,A1*C1) --> 3125,0,A1*C1)--> it can't recognize the part i took out of the formula.

    My problem is to put a cap in the formula of 125%

  13. #13
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: How to make a formula with a max?

    Quote Originally Posted by hjensen View Post
    so if value=2500, cap=125%, percentage of value=60% how would you write the formula?
    Do u want to put formula in Cap col or percentage of value col.
    and can u plz explain how would u manualy calculate it, any example

  14. #14
    Registered User
    Join Date
    08-07-2013
    Location
    dublin
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: How to make a formula with a max?

    I would calculate it like this. Two examples: Example 1: 60% (this number will vary depending on other factors) of 2500 = 1500 - example 2: 150% (this number will vary depending on other factors) of 2500 = 3750 but the cap is 125% so I need this restriction in the formula. The percentage of the value always varies.

  15. #15
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: How to make a formula with a max?

    Supposing that a1 = value( say)2500 or 3125 or 3725 etc, and b2= cap, then b2, and your 100%=2500
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    this will restrict your cap to go beyond 125%

  16. #16
    Registered User
    Join Date
    08-07-2013
    Location
    dublin
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: How to make a formula with a max?

    Is that how you would write the formula cause when i type in its shows error? Sorry, im a totally excel noob

  17. #17
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: How to make a formula with a max?

    Plz see the attachment
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    08-07-2013
    Location
    dublin
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: How to make a formula with a max?

    Hi mate,

    Just got back from holidays. The attached file is exactly what I am looking for, thanks a lot. I was wondering if the value column is a percentage, how would the formula then be? I tried to change the number with a percentage but it gave me a value of 0 in the cap column.

  19. #19
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: How to make a formula with a max?

    In the given attachment post#17 Plz put the percentage where you want and also the desired result.

    It is always better to post a attachment with examples rather than long text explanation, to understand the problem better and fast solution. We are also working people who donot have much time to test your text explanation, test it and give solution, we are only trying to help you.

+ 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. Alternative Formula for multiples IFs (to make my formula shorter)
    By chico.corrales in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-07-2013, 12:37 AM
  2. [SOLVED] Formula whit INDEX and MATCH. I try to make this formula to result.
    By Anka in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-28-2012, 06:26 PM
  3. Formula question - cell value to make a formula true?
    By jabadeer in forum Excel General
    Replies: 3
    Last Post: 07-19-2011, 12:07 PM
  4. Replies: 7
    Last Post: 03-25-2011, 02:44 PM
  5. Replies: 7
    Last Post: 06-20-2006, 05:56 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