+ Reply to Thread
Results 1 to 10 of 10

Max formulas that use the maximum of each

  1. #1
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Max formulas that use the maximum of each

    I currently have a formula that works. - Max((x28*$Z$7)-y28,0 This takes the maximum of (x28*$Z$7) minus y28 and enter the amount. Correct!

    I want to take the max of two numbers ($Z$7and F28) and then multiply that number by x28 and then minus y28 to get the amount.

    Any ideas?

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Max formulas that use the maximum of each

    I want to take the max of two numbers ($Z$7and F28) and then multiply that number by x28 and then minus y28 to get the amount.
    Try

    =MAX(Z7,F28)*X28-Y28

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Max formulas that use the maximum of each

    Also, referring to the first line of post #1, note that X28*Z7 will give you the same result as MAX(X28*Z7).

    X28*Z7 will return a number and the max of a number is that number.
    Last edited by 63falcondude; 09-15-2017 at 12:22 PM.

  4. #4
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Max formulas that use the maximum of each

    Something is not right. In laymans terms I want the max of $10.00(z7) or $10.50(f28) times x28 and then the max of that or 0 minus y28

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Max formulas that use the maximum of each

    @ssminnow

    I am interested in the result you expect for your given criteria.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Max formulas that use the maximum of each

    =MAX(Z7,F28)*X28-Y28 formula is correct however I am getting a negative number. If negative I want it to be 0.

  7. #7
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    484

    Re: Max formulas that use the maximum of each

    Maybe

    =MAX(0,MAX(Z7,F28)*X28-Y28)

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Max formulas that use the maximum of each

    You're changing the requirements.

    The following formula gives you exactly what you're asking for in post #4. The lack of commas make it a little challenging to understand though.

    =MAX(MAX(Z7,F28)*X28,0)-Y28

  9. #9
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Max formulas that use the maximum of each

    That works now. Thanks.

  10. #10
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Max formulas that use the maximum of each

    I'm not sure who's response you are referring to but I'm glad that you now have a working solution.

    Glad we could 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. [SOLVED] Options, formulas, enable iterative calculation, maximum change
    By Babosh in forum Excel General
    Replies: 3
    Last Post: 07-19-2017, 10:19 AM
  2. Replies: 7
    Last Post: 10-07-2015, 03:01 PM
  3. [SOLVED] sorting by maximum value and displaying a corresponding text with the maximum value
    By ScottBeatty in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-20-2013, 03:11 PM
  4. Replies: 1
    Last Post: 11-04-2012, 10:27 AM
  5. Replies: 1
    Last Post: 07-06-2012, 02:04 AM
  6. Maximum value within a 10 minutes timeframe (conditional maximum)
    By Jimmy T in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-15-2011, 09:58 AM
  7. Using formulas including a maximum and a minimum
    By sura in forum Excel General
    Replies: 3
    Last Post: 05-07-2009, 09:34 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