+ Reply to Thread
Results 1 to 3 of 3

If Statement and dates

  1. #1
    Registered User
    Join Date
    07-11-2014
    Location
    UK
    MS-Off Ver
    2007
    Posts
    2

    If Statement and dates

    OK, so im trying to figure out how to use the IF statement to determine if cell A1 with 1/08/2014 in it is >= todays date. If true then cell (A2 = A2 - A3), if false (A2=A2).

    Am I going about this all wrong?

    Hope I make sense

    Thanks

    Jonny

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,647

    Re: If Statement and dates

    You will get circular reference for the formula A2 = A2 - A3 because you can not reference the formula cell in the formula itself.
    The IF statement can be written as
    Please Login or Register  to view this content.
    In the formula you can replace "Calculation if True" with whatever you want to do if the condition is evaluated to True and replace "Calculation if False" with whatever you want to do if the condition is evaluated to False.

    Does this help?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    07-11-2014
    Location
    UK
    MS-Off Ver
    2007
    Posts
    2

    Re: If Statement and dates

    Thats great thank!

    Its the whole not being able to reference the forumla cell in the formula itself that through me off. Ive fixed it now though

    Thanks for the help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. If statement between dates
    By Burt_100 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-08-2014, 12:08 PM
  2. IF Statement If Between these dates = this
    By Galbraith in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-30-2013, 01:31 PM
  3. If statement using Dates?
    By Brampy in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-11-2012, 05:04 PM
  4. Help with if statement with dates
    By jmoore1197 in forum Excel General
    Replies: 4
    Last Post: 10-06-2009, 03:10 PM
  5. using dates in IF statement
    By bigchuda in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-28-2008, 02:55 PM

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