+ Reply to Thread
Results 1 to 3 of 3

Calculating dates due to expire

  1. #1
    Registered User
    Join Date
    10-19-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Calculating dates due to expire

    Hello,

    I have look all over and all codes i have tried are failing on me and im starting to struggle to find a solution.

    In I8:I200 i have various deadlined dates, i have done conditional formatting to hightlight all the dates which are due to exspire within the month (30days), This was done buy having =NOW() in cell A1.

    In cell E4 i would like a number which counts the amount of dates that are due to expire (ones in highlighted).

    Any tips on how this is done.

    Regards

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Calculating dates due to expire

    Use Countif

    =COUNTIF(I8:I200,">" &TODAY()-30)

    You also can use TODAY() in the Conditional Format formula instead of in a cell
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    10-19-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Calculating dates due to expire

    Hello,
    Thank you for your reply, i use this code and it works however, when i add a date like 20/05/2012 which is 3 months away its still calculates that?

    Cheers

+ 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