+ Reply to Thread
Results 1 to 8 of 8

Need Help with IF condition...PLEASE HELP- not sure if this already posted ..sorry

  1. #1
    Registered User
    Join Date
    02-12-2006
    Posts
    10

    Need Help with IF condition...PLEASE HELP- not sure if this already posted ..sorry

    let me apologize if this already posted but the forum kicked me out ....anyway...

    I need a column to be have an IF statement that either says "yes" of "no" depending on a date so take the following example:

    start date entitlement
    jon 01-Jan-01
    sam 15-Feb-08
    jill 03-Oct-02


    specific date 01-Oct-07



    if the start date is greater (older) than the specific date then the entitlement should read "yes" if not then "no"

    Thanks

    Lushus

  2. #2
    Registered User
    Join Date
    11-21-2011
    Location
    Sussex, UK
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Need Help with IF condition...PLEASE HELP- not sure if this already posted ..sorry

    Try =if(startdatecell>specificdatecell,"Yes","No")

  3. #3
    Registered User
    Join Date
    02-12-2006
    Posts
    10

    Re: Need Help with IF condition...PLEASE HELP- not sure if this already posted ..sorry

    @Aileanor


    Thakns but.....
    is not working it gives me "no" for the first one then "yes" for the all the others, doesn't make sense

    start date entitlement
    jon 01-Jan-01 no
    sam 15-Feb-08 yes
    jill 03-Oct-02 yes


    specific date 01-Oct-07

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need Help with IF condition...PLEASE HELP- not sure if this already posted ..sorry

    are you sure that all your dates are in fact dates (values) and not text?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    02-12-2006
    Posts
    10

    Re: Need Help with IF condition...PLEASE HELP- not sure if this already posted ..sorry

    @FDibbins

    i right clicked the date column, went to format cells, made sure it was date ,,,still not working....am I doing something wrong?

  6. #6
    Registered User
    Join Date
    08-21-2012
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need Help with IF condition...PLEASE HELP- not sure if this already posted ..sorry

    Can you post an example?

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need Help with IF condition...PLEASE HELP- not sure if this already posted ..sorry

    formatting does not change the contents of the cell, all it does is change the appearance (cosmetics).

    to check this, test a few cells using =isnumber(cell). True = a value, False = text

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Need Help with IF condition...PLEASE HELP- not sure if this already posted ..sorry

    Hi Lushus,

    We would love to continue to help you with your query, but first, before we can proceed, please see the forum rules about proper thread titles and adjust accordingly...

    Please send me a PM when complete and this post will be removed…

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Last edited by jeffreybrown; 09-22-2012 at 08:43 PM.
    HTH
    Regards, Jeff

+ 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