+ Reply to Thread
Results 1 to 4 of 4

Formula to mark record as overdue or current

  1. #1
    Registered User
    Join Date
    06-26-2008
    Posts
    8

    Question Formula to mark record as overdue or current

    I have a spreadsheet with column c giving date and time (dd/mm hh:mm) and I'd like column D to contain a formula that will:

    Mark as "OVERDUE" if it is 24hours or more past the data in column c, or
    "current" if it's less than 24hours past the data in column c.

    I hope I've explained that clearly :/

    So far I've only figured out how to do it if it's "1 day" past the date, but that totally ignores the times in that cell, of course.

    Any help? I am rather stuck.

    Thanks in advance

  2. #2
    Forum Contributor
    Join Date
    07-31-2008
    Location
    Berkshire, UK
    MS-Off Ver
    2003 & 2007
    Posts
    118
    Quote Originally Posted by sooshi View Post
    I have a spreadsheet with column c giving date and time (dd/mm hh:mm) and I'd like column D to contain a formula that will:

    Mark as "OVERDUE" if it is 24hours or more past the data in column c, or
    "current" if it's less than 24hours past the data in column c.

    I hope I've explained that clearly :/

    So far I've only figured out how to do it if it's "1 day" past the date, but that totally ignores the times in that cell, of course.

    Any help? I am rather stuck.

    Thanks in advance


    Does this work?

    Please Login or Register  to view this content.

  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning sooshi

    Something like this works OK for me :
    =IF(NOW()-C1>=1,"OVERDUE","current")

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  4. #4
    Registered User
    Join Date
    06-26-2008
    Posts
    8
    Ah!!!! That's it! Thanks very much!

    I was using If =IF((TODAY()-C1>=1,"OVERDUE","current")

    Doh! All the difference

    Thanks guys!

+ 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. named formula VBA insert error
    By Hammer_757 in forum Excel General
    Replies: 14
    Last Post: 10-14-2006, 08:53 AM
  2. Adding WEEKDAY to current formula
    By edwardpestian in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-06-2006, 11:19 PM
  3. reference the current cell in a formula
    By Hammer_757 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-28-2006, 10:09 AM
  4. Applying a formula to a list of values
    By TrooperFarva in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2006, 04:34 PM
  5. Cell References in a Formula
    By cillowjr in forum Excel General
    Replies: 0
    Last Post: 09-12-2006, 10:54 AM

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