Closed Thread
Results 1 to 2 of 2

IF Function with conditions

  1. #1
    EstherJ
    Guest

    IF Function with conditions

    I need a formula which will look at the following conditions and if it agrees
    put the text "OK" in a cell, if it does not match the "Not OK". Anything I
    have tried doesn't work!

    If cell A1 is greater that 28/11/2004
    If cell A1 less than 31/12/2005
    If cell B1 is greater than 28/11/2004

    Thank you for your help.

    Esther

  2. #2
    JulieD
    Guest

    Re: IF Function with conditions

    Hi Esther

    one way
    =IF(AND(A1>DATEVALUE("28/11/04"),A1<DATEVALUE("31/12/05"),B1>DATEVALUE("28/11/04")),"ok","not
    ok")

    Cheers
    JulieD

    "EstherJ" <EstherJ@discussions.microsoft.com> wrote in message
    news:EA151E9B-6907-48B4-A712-BA186437BAEE@microsoft.com...
    >I need a formula which will look at the following conditions and if it
    >agrees
    > put the text "OK" in a cell, if it does not match the "Not OK". Anything
    > I
    > have tried doesn't work!
    >
    > If cell A1 is greater that 28/11/2004
    > If cell A1 less than 31/12/2005
    > If cell B1 is greater than 28/11/2004
    >
    > Thank you for your help.
    >
    > Esther




Closed 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