I have monthly attendance on different sheets (almost 4 years).
The employee names might be in a different order or new employees might join. But the employee reg Number is unique.
Future employees will be added as new rows at the end.
Required:
Wanted to combine them all in one sheet and start entering the attendance in the combined sheet from now onwards.
In the Combined Sheet, I want a combo box (Or something else) to select a particular month and if I select that particular month it should hide (or filter not sure whether it is possible to filter horizontally) all the other days.
Need a button or something else to create days for the coming months.
Need to change the formula in Combined Sheet D to G Columns to get the subtotal values.
Please note that values in the COmbined sheet now doest not meet my requirements now.
Thanks in Advance and sorry for too many requests.
I was wondering if anyone knows if it's possible to import a data, in a sort of a COUNTIF function but only for the data dated today?
I have 2 sheets, Attendance and Department.
In the Department tab, I have a list of employee's in column A. In column B and so on, I have a drop down option to select which department they're are stationed for each day. Each column represent a day, B being the 1st, C being 2nd, ... and so on. The header for each column has the day for the day as well.
On the attendance sheet, I have the list of Department in column A and in B, it is used to record how many employee are stationed at that department. I also have the day for the day on this sheet on A1.
Is it possible that when I change the date, the number of employee stationed in each department will change according to the date?
Is it possible to do this with just functions?
I've tried using the COUNTIF function, but I've found that I will have to change the range on a daily basis.
Use The Function: in B4 of Attendance Tab
=COUNTIF(INDIRECT("Department!" &ADDRESS(3,MATCH($A$1,Department!$A$2:$P$2,0)) & ":" &ADDRESS(6,MATCH($A$1,Department!$A$2:$P$2,0))),$A4)
Results: Attendance Tab
Department Tab:
I have used all the references as in the screenshots, you can change them if they are different in your sheet.
your question can be solved by SUMPRODUCT function. See below solution picture:
SOLUTION
Just to quickly explain my solution, I gave a name to the date on the Department sheet, called it 'Date_Lookup'; and I gave a name to the dates on the Attendance sheet, called it 'Date_List'. Names will simplify my formula especially when referencing across worksheets.
You will eventually find a lot of COUNIF scenario can be solved by SUMPRODUCT and this is just one example. SUMPRODUCT can do a lot IFs than COUNTIFS can do. In your case there are two criteria, one is which department did an employee attend to, and the other is on which date did the employee attend to that particular department. So my SUMPRODUCT formula can be understood as:
=SUMPRODUCT(('from the list of dates'='the particular date I want to see')*('from the full attendance record'='how many employees went to the given department'))
Let me know if you have difficulties understand my answer. A good 1 hour read through some online articles regarding SUMPRODUCT will help.
Cheers :)
Your first step would be to use a function to work out in which column the entered date appears. So in your Department sheet you enter a date in A1, then set B1 to:
=IFERROR(MATCH(A1, Attendance!2:2, 0), 0)
I use the IFERROR as I don't like seeing errors on my sheet. Assuming the result isn't zero, use a COUNTIF looking for the department letter in a range in the result column. I'd simply use on OFFSET to get the right range, but sticklers would tell you to find a different way of doing it. So long as your spreadsheet isn't going to increase in size to a massive complexity, OFFSET is fine.
I am trying to find a formula to sum up some specific working hours.
From the first two sheets people can track when they work on a specific ID(Project) So you see that Lukas worked on ID 2 and Chinaedu on ID 5 on two different days.
In this sheet the working time on an ID should be calculated automatically just by putting the ID in the first column. That means that when you put an ID into the cell on the sheet UserStories, Excel should look for exactly this ID in column P of the other sheets and return the estimated time in sum and the date. Has anybody an idea which could help me along? Thanks in advance!
I have an excel sheet with 3 sheets. The second sheet is a list of permutation/combination of employee and the possible shifts they can work and hours they get.
The first sheet has a monthly calendar view. For each calendar day they are select from the list from second sheet
I want the their sheet to display number of total hours each employee is scheduled to worked based on sheet 2 numbers ( column B)
Awesome scheduler ... I made one just like it a couple of years ago but will additional reporting pages that would break down the total hours by standard pay, OT pay, and holiday pay, then with that information calculate their gross pay.
I recreated a basic version of what you have pictured above and then put together two different methods for calculating the total hours per week per employee based on the schedule.
The first way is the simpler way that makes each calculation individually and then totals them on the back end. To do so you will use the 'countif' function for each shift for each person (the range is the whole calendar and the , then multiply by the corresponding number of hours per shift on the 2nd page.
Then in the next column you see I merged the cells next these subtotals, and wrote a 'sum' formula to total the subtotals for each shift totals in column J. This approach is easier to put together and easier to diagnose issues with as you are working on it.
The 2nd method I used is more complicated as it nests these functions into a single operation using the 'sum' and then several iterations of the 'countif' within it.
If you really want to get fancy you could go another step further and put together an array formula, but they are a bit more tricky.
Depending on how meticulous you are about having innocuous data, I added an additional condition on mine that would leave the totals cells blank if someone didn't work, just because I don't like to see the '0' when I was reviewing the back end report.
Hope this helps.
Hopeful you can help me out.
I have an Excel spreadsheet open. The spreadsheet has two columns that I need assistance with.
The first column are dates and times that reflect a ticket that opened. The second column reflects dates and times that a ticket closed.
I am needing to correlate all the dates of which every ticket opened and closed to its respective week of the month. So if I have 20 tickets that opened up between the days of 2/22/15 - 2/28/15(all these dates are in the same column fyi...), then I will be needing to somehow correlate these tickets in my spreadsheet to some form of data to be used in a line stack chart.
An exec has laid this on my lap. I don't look useless and I would like a little assistance as to how to perform such a task. Formulas in Excel...Vlookup....or using Pivot Tables....please assist!
convert date in excel to its respective week of the month
in conjunction with the date range example:
=INT((DAY(A1)-1)/7)+1
In column 3 use the =Weeknum(A1, 1) formula to get the week number of the date in column a. The second argument lets you determine what you want for the beginning of the week to be.
In column 4 do the same for column b. This will give you the week ticket opened/closed respectively. Add column 5 to be the difference in weeks which can be used in a pivot table to show the distribution of tickets and weeks to resolve, etc.
Reply back if you have further needs.
Firstly get the week num of the first day of the month -1
A1 = 01/02/2018
B1 = =WEEKNUM(A1)-1
Then calculate the individiual ticket week numbers and take the week number before the first week of the month away from the returned value. You may need to format the cells as numbers as some reason Excel thinks its a date
Open Week = =WEEKNUM(OpenDateCell)-$B$1
Close Week = =WEEKNUM(CloseDateCell)-$B$1
Representative Image: