View Single Post
 
Old 05-21-2018, 04:42 AM
ArviLaanemets ArviLaanemets is offline Windows 8 Office 2016
Expert
 
Join Date: May 2017
Posts: 949
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

Quote:
Originally Posted by MILADREZAEE View Post
this method is so tricky, I looking the way which when operator entry new data to a table, summary and all related table automaticaly updated
Don't understand this sentence
Is the solution good or bad?

Whenever data are edited or a new row of data is added on Attendance sheet, the summarized values for employees on Employees sheet are updated (when month for updated/added row in Attendace is between ReportFrom and ReportTo on Employees sheet. You can select months from month of StartDate on SetUp sheet until month of current month. No need to add new sheets every new month, and then editing all formulas to take data in those new sheets into account. You can use the same workbook probably until Attendance sheet has about 20000 entries (maybe even more, the calculation speed is deciding factor). Having data validation lists for employees and month numbers minimizes the risk of typing errors messing up with formulas.

The list of months on Months sheet is updated automatically. You can prepare the Months table for several years into future (future month number are not displayed but they are in 'waiting'). When you can't select the current month anymore, then this means that the Months table is filled to bottom, and you have to add rows to it - simply drag the last cell in table down.

I advice to set on attendance sheet the autofilter to current month (or previous + current month) - so users don't have to scroll a long way to bottom of table.

1. Someone adds new employees to Employees table (when there were new ones). It may be operator, or someone else when you want to keep operator's part as simple as possible;
2. Operator opens the workbook, activates the Attendance sheet and scrolls to bottom of table;
3. Operator activates last cell in vacation column, and presses Tab. A new row is added to table, with Data Validation lists in place in columns Month and Name. Or enters a number into columns Available, Absent or Vacation with same result. When user starts new record entering Month number or employee name to cell, the data validation is not expanded to this row for this column, When this happens, then the Data validation must be copied to new row (PasteSpecial > Validation) from some uncompromised cell in same column;
4. Operator selects/enters Month number, selects/enters employee name, and fills rest of columns for this employee;
5. The cycle 3-4 is repeated until attendance for all employees for this month is registered. That's all.

Another possible work order is, that before end of month
1. Someone adds new employees to Employees table (when there were new ones);
2. The same person prepares Attendance table, adding new records with month number and employee names working in this month;
3. Operator(s) enter(s) attendance info (3 columns) for every employee.

I think anyone capable to open an Excel workbook is able to work with this one!
Reply With Quote