+ Reply to Thread
Results 1 to 3 of 3

Calculate and print "late" dates

  1. #1
    Registered User
    Join Date
    07-31-2011
    Location
    london england
    MS-Off Ver
    Excel 2007
    Posts
    8

    Calculate and print "late" dates

    How do I calculate a date?
    I have 2 columns. Deadline (column A) and Actual submission date(column B)
    I want to do the following.
    if A=blank and B=blank, do not print any status
    if A<= today(), and B is blank, print late
    if B>A, print late.
    How do I do this, I tried many ways and end up confusing myself.
    Can anyone help?

  2. #2
    Registered User
    Join Date
    05-17-2009
    Location
    Port St. Lucie, FL
    MS-Off Ver
    Excel 2010
    Posts
    38

    Smile Re: Calculate and print "late" dates

    mosiactu,
    This is what I came up with:
    Column A ,cell1- "Deadline", Column B, Cell1- "Submission Date"
    Column C, cell2 - "=IF(AND(A2="",B2=""),"",IF(AND(A2<=TODAY(),B2=""),"LATE",IF(B2>A2,"LATE","")))" without the first " and last ".

    hth
    FloMM2

  3. #3
    Registered User
    Join Date
    07-31-2011
    Location
    london england
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Calculate and print "late" dates

    Quote Originally Posted by FloMM2 View Post
    mosiactu,
    This is what I came up with:
    Column A ,cell1- "Deadline", Column B, Cell1- "Submission Date"
    Column C, cell2 - "=IF(AND(A2="",B2=""),"",IF(AND(A2<=TODAY(),B2=""),"LATE",IF(B2>A2,"LATE","")))" without the first " and last ".

    hth
    FloMM2
    thank u soooo much. i did not realise that i should enter "late" in both cases.
    thanks a lot.

    btw, i have 2 more questions. does anyone knows??
    1. how to i enforce the a particular column, say, column A to accept only dates
    2. how do i protect the format of the worksheet and allow users to enter data only

+ 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