+ Reply to Thread
Results 1 to 7 of 7

Hopefully Simple If with max and minimum values - TIA

  1. #1
    Registered User
    Join Date
    03-14-2016
    Location
    Raleigh, NC
    MS-Off Ver
    2013
    Posts
    3

    Hopefully Simple If with max and minimum values - TIA

    Hey guys, first of all thanks in advance for your help. I am an average Excel user and looking forward to learning more here in these forums. This is my first post so please be easy on me.

    I am a real estate appraiser and I pay a contract employee to help me out. I keep an excel spreadsheet in a shared dropbox folder that we both can see. I have a column where I put how much I am getting paid for a job and I have a column that has how much I am paying the contractor for it. I would like this field to calculate automatically with the following rules. I am paying him 2/3 of the total cost of the job with a minimum payment of $200. If the job is paying me under $200, I am paying the contractor the whole amount. So if a job is paying me $600, the formula should return $400 for his field. If the job is paying me say $240 then it should return $200 for him due to the $200 minimum. And finally if the job is paying $125, it should return $125 as that is the total amount of the job and it is below $200.

    Hopefully that is clear enough. Thanks again for your assistance!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Hopefully Simple If with max and minimum values - TIA

    Try

    =MAX(MIN(200,A2),A2*2/3)

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: Hopefully Simple If with max and minimum values - TIA

    =if( cell with amount <=200, cell with amount, MAX(cell with amount*2/3,200) )
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    03-14-2016
    Location
    Raleigh, NC
    MS-Off Ver
    2013
    Posts
    3

    Re: Hopefully Simple If with max and minimum values - TIA

    Thanks so much Jonmn1. We are almost there. That formula calculates everything great but all of my lines that havent been filled in yet so $200. Is there something we can add to the formula so that if the job amount is 0 it returns a blank? Thanks!

    Oh, and also, I want it rounded to the nearest dollar. No need geting involved with change. Thanks!

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Hopefully Simple If with max and minimum values - TIA

    Try
    =ROUND(MAX(MIN(200,A2+0),A2*2/3),0)

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Hopefully Simple If with max and minimum values - TIA

    Although, dealing with paying contractors....
    They'd probably prefer you to round UP..

    =CEILING(MAX(MIN(200,A2+0),A2*2/3),1)


    Or if the rounding should benefit you instead of the contractor, change Ceiling to Floor

  7. #7
    Registered User
    Join Date
    03-14-2016
    Location
    Raleigh, NC
    MS-Off Ver
    2013
    Posts
    3

    Re: Hopefully Simple If with max and minimum values - TIA

    Beautiful! Thanks so very much!

+ 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. Select minimum value from several values
    By tony burgess in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2015, 12:13 PM
  2. minimum value out of maximum values
    By shamym in forum Excel General
    Replies: 9
    Last Post: 01-21-2015, 05:42 AM
  3. Replies: 13
    Last Post: 10-13-2014, 02:00 AM
  4. Excel minimum values
    By uksoundz in forum Excel General
    Replies: 7
    Last Post: 04-07-2012, 04:49 AM
  5. Minimum of Values that aren't zero
    By andrewc in forum Excel General
    Replies: 3
    Last Post: 12-01-2009, 12:27 PM
  6. Can't Set Minimum Y Axis Values
    By annem in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-01-2006, 12:25 PM
  7. MINIMUM OF POSITIVE VALUES only
    By davidm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-01-2005, 02: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