+ Reply to Thread
Results 1 to 4 of 4

Creating Workbooks for Employees with Functioning Macros

  1. #1
    Registered User
    Join Date
    03-02-2018
    Location
    Texas
    MS-Off Ver
    2016
    Posts
    13

    Creating Workbooks for Employees with Functioning Macros

    Hi All,
    I need to create tables for my employees and I need some help creating the formulas that I'll eventually record as macros with a shortcut so they can hit the shortcut and column e, g, and i will auto complete with their timelines.

    Each analyst will be entering new lines of data for each project that they are assigned, daily. Those items must be reviewed based on an internal schedule we set. They will set the meeting date on the sheet and then I want to have formulas for several columns to auto calculate the internal deadlines they must meet in order to keep the projects on schedule.

    I have attached an example document but here's what I need for one of the columns in regards to a formula.

    For column E: if the meeting in column A is on a Monday, then the formula should ultimately subtract 24 days to result in a Friday some weeks prior. If the meeting in Column A is on a Wednesday, then the formula should ultimately subtract 26 days to result in a Friday some weeks prior. (reference the "Meeting Schedule" template uploaded for the correct "Big Rocks" and other days for these workbooks)

    Thank you all!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,915

    Re: Creating Workbooks for Employees with Functioning Macros

    In E2

    =A2-(WEEKDAY($A2,2)+23)

    However, for date in A2 of 14th March, this gives date of "Big Rocks Due" date of 16 Feb 2016 (Friday) whereas your Meeting schedule gives the 15th with "Review" on 16th.

  3. #3
    Registered User
    Join Date
    03-02-2018
    Location
    Texas
    MS-Off Ver
    2016
    Posts
    13

    Re: Creating Workbooks for Employees with Functioning Macros

    Hi John,
    Thank you for that. The review is technically supposed to be done by that Thursday but the team review of that work is due on the Friday so we're using that as the due date on this workbook.

    How could I write the macro so that the formula for E, G, and I only enter if there is a date in A for that row?

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,915

    Re: Creating Workbooks for Employees with Functioning Macros

    This .

    =IF(A2="","",A2-(WEEKDAY($A2,2)+23))

+ 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. Need help in creating payslips for 25 employees.
    By hraditi in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-26-2014, 11:08 AM
  2. Calculating Employees hours in Macros
    By first_n_goal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-02-2014, 10:39 AM
  3. Calculating Employees hours in Macros
    By first_n_goal in forum Hello..Introduce yourself
    Replies: 0
    Last Post: 05-31-2014, 10:25 PM
  4. Macros functioning on iPad?
    By ISUCyclones in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2012, 01:44 PM
  5. Replies: 5
    Last Post: 06-04-2012, 01:12 AM
  6. Macros stop functioning when workbook is password protected
    By Reayn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-23-2011, 03:58 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