+ Reply to Thread
Results 1 to 4 of 4

If Function Issue

  1. #1
    Registered User
    Join Date
    10-12-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    2

    Unhappy If Function Issue

    How do I use the IF Function (if this is the right function to use) to do the following: I want to be able to see if a subscription end date is coming to within 2 weeks of today's date and to show "look out for renewal"...?

    I have tried this so far:

    =IF($A$1(DAY(14)<=$J$8),"Look Out For Renewal", "Not Due Yet") But get #ref...

    Please help!

    Dee

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

    Re: If Function Issue

    Possibly?

    =IF($A$1>=$J$8-14,"Look Out For Renewal", "Not Due Yet")

    where J8 has due date and A1 contains the date to check (i.e. =TODAY() )

    To add Past Due, you can nest an IF:

    =IF($A$1>$J$8,"Past Due,IF($A$1>=$J$8-14,"Look Out For Renewal", "Not Due Yet"))
    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
    10-12-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: If Function Issue

    You are an absolute GENIUS!! Thank you so much. I forget sometimes it just easier to make things simple in Excel. Would you say then the DAY function is completely unecessary?

    Thank you for Past Due also! That looks like a very useful tool! How'd you get so good at all this?

    Dee

  4. #4
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: If Function Issue

    If you have a date in A1 say 25/01/2011 then in B1 you have =Day(A1) your result will only be the Day thats within the date, ie 25 it's redundant in what you're looking for.
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

+ 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