+ Reply to Thread
Results 1 to 4 of 4

Get the Correct Fortnight Date

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Get the Correct Fortnight Date

    I have a report that occurs and should only be extracted every Fortnight (14 days). Can macro able to detect the correct dates? Example is for the Month of May, only May 13 and May 27 should be the acceptable dates, in June it should only be June 10 and June 24 and so on..

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Get the Correct Fortnight Date

    I think it is better to upload sample workbook ....
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Get the Correct Fortnight Date

    What is the rule to determine the first date?

    For months that starts on a Friday what does it do? Which one should it take? E.g.:
    1st April 2016
    8th April 2016
    15th April 2016
    22nd April 2016
    29th April 2016

    Let's say you took 8th and 22nd April, 14 days from 22nd April is actually 6th May, but that's the first Friday of May, how should the macro decide to use 13th May? Is it always second Friday of the month? Followed by fourth Friday?

    Then, what do you want the macro to do after finding the correct dates?
    多么想要告诉你 我好喜欢你

  4. #4
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Re: Get the Correct Fortnight Date

    Seems its none since its been adding 14 days from now.. seems there is no answer for this. I just got it trap to error once it is not Friday.

+ 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. [SOLVED] Formula to automatically return date in correct cell based on date given
    By MichelleD75 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-10-2016, 01:29 PM
  2. [SOLVED] VBA: Read date and paste the date info on the correct cell. Analyse code please.
    By ropbasuel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-10-2013, 05:32 AM
  3. date format not correct
    By thesnake505 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 06:10 PM
  4. Equation to add X hours every Fortnight
    By Trace86 in forum Excel General
    Replies: 2
    Last Post: 09-28-2011, 08:19 PM
  5. Replies: 3
    Last Post: 10-28-2010, 07:04 AM
  6. Excel PAY AS YOU EARN (PAYE) FORTNIGHT TAX CALCULATOR
    By Hailey & Hayden in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-20-2010, 03:15 PM
  7. [SOLVED] Fortnight
    By j.mcgown in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-16-2005, 09:06 PM

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