+ Reply to Thread
Results 1 to 3 of 3

Greater than formula

  1. #1
    Tracey
    Guest

    Greater than formula

    What is the correct formula for this situation:

    A1 + A2 = 1900 but if 1900 is greater than 1800 = 1800

    the reason, my staff can only accumulate sick time hours to a maximum of
    1800.

    thanks
    Tracey

  2. #2
    Forum Contributor
    Join Date
    12-14-2005
    Posts
    176
    Try the following:
    =IF(A1+B1<=1800,A1+B1,IF(A1+B1>1800,1800,"Check"))
    The "Check" can be any value you want for the false part of the last IF statement - This can be a warning or you can set it to 1800 also

  3. #3
    Domenic
    Guest

    Re: Greater than formula

    Try...

    =MIN(A1+A2,1800)

    Hope this helps!

    In article <[email protected]>,
    Tracey <[email protected]> wrote:

    > What is the correct formula for this situation:
    >
    > A1 + A2 = 1900 but if 1900 is greater than 1800 = 1800
    >
    > the reason, my staff can only accumulate sick time hours to a maximum of
    > 1800.
    >
    > thanks
    > Tracey


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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