+ Reply to Thread
Results 1 to 4 of 4

date formula

Hybrid View

DMA date formula 09-12-2008, 04:50 PM
TIPPYS Something like this ought to... 09-12-2008, 05:25 PM
protonLeah Have a look at this mod: ... 09-12-2008, 05:40 PM
DMA Thanks both of you. Works... 09-12-2008, 08:56 PM
  1. #1
    Forum Contributor
    Join Date
    07-08-2008
    Location
    New York City
    MS-Off Ver
    2013-2016
    Posts
    159

    date formula

    Hi. I ran into a few problems while working with date formulas and couldn't find a solution anywhere.
    I have a column with tenants lease expiration date. I entered a countdown formula in one column and the next column have another formula to inform when the lease is about to expire (90 days in advance).
    What i was trying to figure out is how to tell the formula to show "expired" once the lease is past due and the countdown formula to show something other than the #NUM! error (could be negative numbers) when the date is in the past.
    One more thing: Is there any way to avoid the #NUM! error message when cells are blank?
    Example file attached.
    Thanks.
    Attached Files Attached Files
    Last edited by DMA; 09-12-2008 at 04:53 PM.

  2. #2
    Registered User
    Join Date
    04-18-2008
    Posts
    80
    Something like this ought to do what you want.
    =IF(C5>0,C5-TODAY(),"")

    And

    =IF(D5<=90,IF(D5<0,"Expired","Lease expires in "&D5&" days."))
    Last edited by TIPPYS; 09-12-2008 at 05:27 PM.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,960
    Have a look at this mod:

    example.xls
    Ben Van Johnson

  4. #4
    Forum Contributor
    Join Date
    07-08-2008
    Location
    New York City
    MS-Off Ver
    2013-2016
    Posts
    159
    Thanks both of you. Works like a charm. I used a combination of both and got exactly what i needed. Love the mod with colored cells.

+ 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. date formula
    By shmeetbag in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2008, 06:16 PM
  2. Replies: 3
    Last Post: 01-18-2008, 09:09 PM
  3. looping issues
    By Marcus Gee in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2007, 11:42 PM
  4. Calendar Formula Problem
    By roadburner in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-07-2007, 06:36 PM
  5. Urgent HELP for Formula for a date problem on Excel!
    By flip_360_2002 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2006, 12:14 PM

Tags for this Thread

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