+ Reply to Thread
Results 1 to 7 of 7

Hpw to display result if date is prior to today

  1. #1
    Registered User
    Join Date
    10-07-2013
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    4

    Hpw to display result if date is prior to today

    Im trying to display a text result if a date is before today's date, and I can't get the formula right (although I'm sure its quite simple!) my best guess is
    =IF(TODAY()>=L2,"Overdue","Current"

    I need the calculation rather than conditional formatting so that i can create a pivot chart.

    Thanks in advance for any suggestions

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Hpw to display result if date is prior to today

    That should work fine. What exactly is in L2?

  3. #3
    Registered User
    Join Date
    10-07-2013
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Hpw to display result if date is prior to today

    L column has expected end dates, L2 specifically has 09/08/2012 so it should be returning Overdue, but the cell just sits there with the formula displayed in it.

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Hpw to display result if date is prior to today

    If your formula is displayed then the cell is either in text format or you've toggled Show Formulas.

    If it's the former, go to the format bar at the top, choose General. Click the cell, hit F2, and enter.

    If it's the latter, hit Ctrl+` (Ctrl + the key next to 1)

  5. #5
    Registered User
    Join Date
    10-07-2013
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Hpw to display result if date is prior to today

    Thanks, that fixed it! the cells are now showing a result, but all cells are showing the false result, when the date in column L is before today so should be showing the true result

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Hpw to display result if date is prior to today

    Sounds like a logic issue; just swap the outputs. =IF(L2<=today(),"Current","Overdue")

  7. #7
    Registered User
    Join Date
    10-07-2013
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Hpw to display result if date is prior to today

    I've swapped the logic outputs, but still only getting one result, except now its the true result for everything.

+ 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. condit. format: If date in cell = today, display "Today"
    By ratkins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2013, 01:33 PM
  2. Count Unique Text & blanks in one column prior to Today's date
    By VBSK8R in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-21-2011, 01:25 PM
  3. Display a Value based on Today's Date in Date Range
    By barella in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-12-2010, 06:25 AM
  4. Replies: 3
    Last Post: 02-26-2009, 04:28 PM
  5. sum values between today and 6 months prior
    By Qaspec in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-19-2005, 05:06 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