+ Reply to Thread
Results 1 to 3 of 3

Calculating dates

  1. #1
    Registered User
    Join Date
    05-24-2007
    Posts
    12

    Calculating dates

    I am trying to calculate dates that will happen 16 days from date specified in column A (A23:A200), based off a certain entry in Column B (B23:B200), which is named in cell P5. I can get the date by doing the specified date + 16, e.g. =IF($B$23:$B$200=$P$5,$A23+16,"")

    The trouble I am running into is not having the date populate until it has reached 16 days from the dates in column A, show blank if possible until 16 days from date in column A.

    The dates in column A will always be previous to todays date.
    Last edited by gopherc4; 03-09-2009 at 03:47 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Calculating dates

    Hmm, a little convoluted, and I'm not testing your original formula without your sheet posted, so to add a date-check into the mix, try this:

    =IF(AND($B$23:$B$200=$P$5,TODAY()>=$A23+16),$A23+16,""))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-24-2007
    Posts
    12

    Re: Calculating dates

    That worked fine. Exept for the extra close parathesis on the end.

+ 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