Automate Attendance Marking Based on Daily Schedule in Excel

Aminsha143

New Member
Joined
Oct 8, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

I am seeking assistance in automating our company’s **daily attendance marking** process using Excel. Currently, we have two separate files:

1. **Daily Schedule Sheet**: Contains the next day’s activities for employees, including sections for:
- Job Assignments
- Office Staff
- Off Duty
- Standby
- Sick Leave
- Vacations
- Training
- Transportation
- Site Visits
- Marketing
- Store Duty

Each section has the respective employees listed under it.

2. **Attendance Sheet**: Where we manually mark the attendance of employees based on the daily schedule.

### Current Issue:
We are currently doing double the work by reviewing the **Daily Schedule** and manually updating the **Attendance Sheet**. The schedule already lists information like "Off," "Sick Leave," "Standby," etc., for employees, so I want to automate this process. The only thing that needs to be updated manually is **unauthorized absentees**.

### Requirement:

I would like to automate the attendance marking process in the **Attendance Sheet** by pulling data from the **Daily Schedule** sheet. Here’s the logic I want to implement:

1. If an employee is listed as **Off**, **Sick Leave**, **Standby**, or **Vacation** in the **Daily Schedule**, their corresponding status in the **Attendance Sheet** should be automatically updated with the same term.

2. If an employee is assigned a task (e.g., a job or project), they should be marked as **Present** in the **Attendance Sheet**.

3. The only manual updates needed would be for unauthorized absentees (those who are expected to be present but are absent).

### Example:

- **Daily Schedule:**

| Section | Employee Name |
|-------------|---------------|
| Off | John Doe |
| Sick Leave | Jane Smith |
| Project Work| Bob Johnson |

- **Attendance Sheet:**

| Employee Name | Status |
|---------------|-----------|
| John Doe | Off |
| Jane Smith | Sick Leave|
| Bob Johnson | Present |

### Desired Solution:
I need a formula or macro that will:
- Automatically update the attendance based on the schedule.
- Default the status to **Present** if the employee is listed for a task, and copy the exact status if it's "Off," "Sick Leave," etc.

If any employee is missing from the schedule or unplanned absent, they can be manually updated as **Absent**.

Any help with this would be greatly appreciated!

---

This draft should provide enough clarity and detail for anyone on Excel forums to understand your needs and help you find a solution.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Automate attendence marking with daily schedule in excel
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,222,554
Messages
6,166,753
Members
452,067
Latest member
rwsouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top