+ Reply to Thread
Results 1 to 5 of 5

Excel if statement

  1. #1
    Registered User
    Join Date
    01-22-2015
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Excel if statement

    Equation is simple enough just not sure how to choose it.

    Example: Experience level - level adjustment. Essentially (X - Y). But the result can't be lower than one. Help on this one please?

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

    Re: Excel if statement

    Try

    =MAX(1, X-Y)

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    Re: Excel if statement

    I wonder if =MIN(1,X-Y) would work for you?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    01-22-2015
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Excel if statement

    Thanks for the help everyone. The =MAX function worked great. Whats the difference between MIN/MAX? +REP to you both.

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

    Re: Excel if statement

    You're welcome

    MAX returns the largest (Maximum) value of the given values
    MIN returns the smallest (Minimum) value of the given values
    Last edited by Jonmo1; 02-03-2015 at 09:07 AM.

+ 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. Why and If statement works in Excel 2007 but fails to work in Excel 2010?
    By Superfly1984 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-03-2013, 08:26 AM
  2. Excel VBA If then statement
    By Floralobi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-03-2012, 01:55 AM
  3. help with excel if statement please
    By britt.govols in forum Excel General
    Replies: 2
    Last Post: 09-07-2006, 02:07 PM
  4. Replies: 2
    Last Post: 03-17-2006, 11:00 PM
  5. [SOLVED] SQL Statement and Excel
    By DavidM in forum Excel General
    Replies: 3
    Last Post: 01-07-2005, 09:06 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