+ Reply to Thread
Results 1 to 3 of 3

Formula with multiple conditions

  1. #1
    Registered User
    Join Date
    01-25-2011
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    9

    Formula with multiple conditions

    Hi All

    I would like to create a formula where

    IF F7-D7 is = or < 0 then = 0

    IF F7-D7 is = or < G5 then = answer for F7-D7

    IF F7-D7 is > G5 then = G5

    I've found a bit of stuff on IF conditions in help but nothing that would let you do this
    Last edited by Dr M; 01-25-2011 at 12:37 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula with multiple conditions

    Try


    =IF(F7-D7<=0,0,IF(F7-D7<=G5,F7-D7,G5)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-25-2011
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Formula with multiple conditions

    That was quick! Thanks NBVC, I'll have to give you a tricky one next time

+ 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