+ Reply to Thread
Results 1 to 8 of 8

[Solved] Calculate End date with Start date, Training hours and Based on Working days

  1. #1
    Registered User
    Join Date
    03-06-2020
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    4

    [Solved] Calculate End date with Start date, Training hours and Based on Working days

    Hi, would appreciate if the experts here can advise whether it can be done with a formula if I need to calculate a training end date based on below available info.

    A) Number of approved training hours
    B) End date should be calculated based on number of working days per week, which could be 5,5.5 or 6 days.

    I have attached a sample data and would appreciate very much if anyone could help please.

    Thank you
    Attached Files Attached Files
    Last edited by Nelson Ong; 03-06-2020 at 08:17 AM.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Calculate End date with Start date, Training hours and Based on Working days

    Does UDF will do.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Registered User
    Join Date
    03-06-2020
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    4
    Quote Originally Posted by kvsrinivasamurthy View Post
    Does UDF will do.
    Hi Kvsrinivasamurthy, sorry I am quite a noob in excel and does not really know what you meant by UDF. What happened is that I just took over a portfolio from my predecessor and she used to do manual calculation for such training end dates and I find it unproductive. Therefore, I was thinking if a formula could solve it more faster, especially if there are alot of new sign-up trainees within a month.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Calculate End date with Start date, Training hours and Based on Working days

    UDF means user defined function. We have to write code for function. It can be used like other functions.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Calculate End date with Start date, Training hours and Based on Working days

    Here is the code for UDF of GetDate.
    How to paste the code?
    In Developer Tab click on Visual basic.
    VB window opens.
    Insert --> Module
    Now copy and paste the code into VB window.
    Close VB window.

    GetData function is available in excel function list.
    See the file.
    Any clarifications welcome.


    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-06-2020
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    4
    Quote Originally Posted by kvsrinivasamurthy View Post
    UDF means user defined function. We have to write code for function. It can be used like other functions.
    I see. Thanks for educating and I learn something new to me today. Really appreciate your help on this. Will test it out and update here again.

  7. #7
    Registered User
    Join Date
    03-06-2020
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    4
    Quote Originally Posted by kvsrinivasamurthy View Post
    Here is the code for UDF of GetDate.
    How to paste the code?
    In Developer Tab click on Visual basic.
    VB window opens.
    Insert --> Module
    Now copy and paste the code into VB window.
    Close VB window.

    GetData function is available in excel function list.
    See the file.
    Any clarifications welcome.


    Please Login or Register  to view this content.
    Hi Kvsrinivasamurthy, thank you very very much. It works like a charm.....!!! Really save me alot of time from manual calculation on a calendar. Now I have more time to do other more important stuffs.

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: [Solved] Calculate End date with Start date, Training hours and Based on Working days

    Welcome. Have a nice day.

+ 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. Calculate start date & time of task (working hours)
    By kaaver in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-30-2016, 10:56 AM
  2. Calculate start date from finish date minus 14 working hours
    By PietBom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-08-2014, 07:23 PM
  3. [SOLVED] Calculate END DATE based on START DATE & No of working days
    By prashantha in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-20-2013, 07:22 AM
  4. Replies: 0
    Last Post: 03-21-2013, 12:22 PM
  5. Replies: 0
    Last Post: 09-13-2012, 05:28 AM
  6. Calculate START date based on duration (work hours) and END date
    By kaaver in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-06-2010, 12:21 PM
  7. Calculate start date based on working hours and end date
    By kaaver in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-28-2010, 06:58 AM

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