+ Reply to Thread
Results 1 to 4 of 4

If Statement

Hybrid View

  1. #1
    Registered User
    Join Date
    09-27-2007
    Location
    UK
    MS-Off Ver
    MS365
    Posts
    69

    If Statement

    I have a question that I'm sure someone will know straight away:

    =IF(B5>=14 or less than 28,B3-B2,0)

    I don't know how to show: or less than 28.

    Thank you in advance.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: If Statement Help

    =IF(or(B5>=14,b5<28),B3-B2,0)

  3. #3
    Registered User
    Join Date
    09-27-2007
    Location
    UK
    MS-Off Ver
    MS365
    Posts
    69

    Re: If Statement Help

    Thank you very much.

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: If Statement Help

    Good afternoon jimd1768

    Try :
    =IF(AND(B5>14,B5<28)=TRUE,B3-B2,0)

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

+ 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