+ Reply to Thread
Results 1 to 4 of 4

IF THEN Statements

  1. #1
    Registered User
    Join Date
    10-26-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    1

    IF THEN Statements

    I am setting up a workbook for all my employees to tell me if the need training, it is not applicable, or if they are ok. I wrote this logic statement
    =IF(H2S!E2="NA","NA",IF(H2S!E2>TODAY(),"OK","NEED"))

    and it works great so I thought that if i could get it to tell me when the employess training renewal date was between 0-30days it would be even better. So I wrote this logic statement

    =IF(H2S!E2="NA","NA",IF(H2S!E2-TODAY()>=30,"OK",IF(H2S!E2-TODAY()>=0AND<=30,"SOON",IF(H2S!E2-TODAY()<0,"OVERDUE",""))))

    this did not work could some one help me or point out where my error is? H2S!E2 is a cell with a Date in it. I hope I explaned my self

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: IF THEN Statements

    Maybe try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: IF THEN Statements

    Also this should work:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    abousetta

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: IF THEN Statements

    May be this...

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope that helps!


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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