Need help to create VBA Code for Attendance Sheet

SagarB

New Member
Joined
Jun 16, 2022
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
I have multiple headers in column A such as Employees, In Time, Out Time, Duration & Status
I need to first filter it and write formula to check the In Time & Out Time on each of the "Duration" rows
similarly once the output comes post writing the formula on "Duration" rows, I need to filter "Status" row and write another formula to get the FINAL Result
Once the formula is written and it shows the result, all the formulas should be paste special as values
Then filter the A column and select "status" rows with the result, same needs to be copied & pasted to another sheet (Attendance).

Sample Data pasted as image

Thank you so much in advance.
 

Attachments

  • SampleDB.JPG
    SampleDB.JPG
    157 KB · Views: 16

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,215,343
Messages
6,124,400
Members
449,156
Latest member
LSchleppi

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