+ Reply to Thread
Results 1 to 3 of 3

calculate how many weeks in a given date bracket

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

    calculate how many weeks in a given date bracket

    Hi there, can somebody help me out please?
    Here's the scenario;

    A1 = input date1 (earlier date)
    A2 = input date2 (current or later date)
    A3 = number of weeks between the above 2 dates

    Thank you in advance

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi fox,

    Try:

    =(A2-A1)/7

    Or if you want a whole number of weeks, with no remainder:

    =INT((A2-A1)/7)

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    quickbrwnfox

    Have a look at this link that explains how to use Datedif function

    http://www.cpearson.com/excel/datedif.aspx
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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