+ Reply to Thread
Results 1 to 4 of 4

Compare columns of dates

Hybrid View

rhino335 Compare columns of dates 06-18-2012, 06:25 AM
Cutter Re: Compare columns of dates 06-18-2012, 06:52 AM
rhino335 Re: Compare columns of dates 06-18-2012, 07:17 AM
Cutter Re: Compare columns of dates 06-18-2012, 07:19 AM
  1. #1
    Registered User
    Join Date
    05-23-2012
    Location
    Cumbria, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Compare columns of dates

    Hi

    I have a spreadsheet with two columns of dates running to 320 rows, which I need to compare row by row and provide given output in and adjacent cell. I aready have the following formula working

    =IF(ISBLANK($N$26:$N$320), " ",IF(ISBLANK($O$26:$O$320), "No", IF($O$26:$O$320="N/A", "N/A",IF($O$26:$O$320<=$N$26:$N$320,"Yes", IF($O$26:$O$320>$N$26:$N$320, "Overdue Closed","No")))))

    Giving the output- No, Yes, or Overdue Closed, dependant on the test result. I need to modifiy the above formula to add the output Overdue open.

    Overdue Open - would compare todays date against the target date in column N. If the target date is less than todays date and column O is blank the output will be Overdue Open.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Compare columns of dates

    Try this in P26 copied down:

    =IF(N26="","",IF(AND(N26<TODAY(),O26=""),"Overdue Open",IF(O26="","No", IF(O26="N/A","N/A",IF(O26<=N26,"Yes", IF(O26>N26,"Overdue Closed","No"))))))

  3. #3
    Registered User
    Join Date
    05-23-2012
    Location
    Cumbria, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Compare columns of dates

    Thanks Cutter, works a treat

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Compare columns of dates

    You're welcome. Don't forget to mark your thread as SOLVED (instructions in rule #9 - to view, click on Forum Rules @ top of page).

+ 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