+ Reply to Thread
Results 1 to 5 of 5

calculate end date using start date and number of specific weekdays

  1. #1
    Registered User
    Join Date
    11-12-2008
    Location
    Oregon
    Posts
    3

    calculate end date using start date and number of specific weekdays

    Hello,

    I am teaching a class that requires students to attend a total of 24 times - classes are held on mondays and wednesdays.

    What I want to do is input the student's start date and have a formula return an end date based on that student attending 24 classes.

    I want to have several cells in the excel sheet for each student - example:
    A1 = Start Date
    B1 = 24 (number of classes they have to attend)
    C1 = number of classes they have attended
    D1 = SUM(B1-C1) = number of classes remaining
    E1 = End date based on cell D1

    The information in E1 would need to update itself based on the information in D1 - leaving me the ability to change the data in C1 each time the student is present for class.

    I realize this is a bit complicated - i'm just totally lost on how to lay this out...

    So far I've been able to come up with the following code to determine the number of Mondays and Wednesdays between two specific dates, but that's not exactly what I'm after.

    Please Login or Register  to view this content.
    Any help would be so greatly appreciated!
    Thank you
    Last edited by freekystyley; 11-12-2008 at 05:10 AM. Reason: for clarification

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi and welcome to the board
    This page will help you calculate the number of chosen workdays ( minus holidays) between two dates.
    In combination with the solver it should work.
    I'm sorry I can't be more specific I don't have XL on this PC

  3. #3
    Registered User
    Join Date
    11-12-2008
    Location
    Oregon
    Posts
    3
    thanks for the welcome Much appreciated. I looked at the link you provided and I'm nto certain that's exactly what I'm after... or is it?

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

  5. #5
    Registered User
    Join Date
    11-12-2008
    Location
    Oregon
    Posts
    3
    Solution in this link - thank you

    http://www.mrexcel.com/forum/showthread.php?t=352845

+ 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