Excel Formula: How do I import data that match a certain team, AND only display the result until a certain date? - excel-formula

I trying to import our staff profile that joined from the the beginning until a month, at the same time will only display the result of a specific department.
Here is the example of my sheet
I can copy-paste until the month that I want, of course. But that would need to be updated every time I need it, so I want to turn this process from manual to auto. Unfortunately I'm not good at coming up with formulas just yet, so I would like to ask for help on this problem.
I want to import the staff data from a specific department and joined before a certain date. IT would be great if it can be automatic. Thank you in advance!

Related

Change values in cells based on data from drop down list

I'm making a basic booking system for our equipment, it's meant to be accessed in a teams folder, where you can either mark X for whole day, or hours the equipment will be used.
How can I connect the weekly schedule with the drop down list? Since I'm not using preset value, but inputs from every time something gets booked.
When I or a coworker change "Vecka:" (Week:) I want the "X" and time stamps to change accordingly. People must be able to book stuff weeks in advance. Preferably I'd also want the date next to the days to be applied aswell.
Maybe so. Mon-Sun even with date, for many weeks. Scrolling to the right. Freezing column A. Enter Weeknumber (combined with year) in A7, press Enter and it will scroll to that week.

Calculating Multiple Averages

It's my first time posting a question to this forum. Though I have found answers here many times before, I have been unable to find a solution to my current predicament.
I work in a call center and each week I need to analyze data from the thousands of call that took place over the week. I'm new to programming in Excel-VBA but I've been able to get pretty far.
The data is produced by a third party program and the format is nigh unreadable. Much of the programming I've done so far has been geared towards making the data more organized. Now, I'd like to get into more analysis.
The data is arranged by employee number (NOT in order, though). Each employee takes several calls over the course of the week, some for which the customer takes a survey. It's the survey scores I want. I want to take the average of all the surveys for each employee and then display that average in the same row as each of the entries.
Example
The yellow highlighted area is what I want to add. Any ideas? Thanks for any help in advance!
No need for VBA. If you have the supported version of Excel you can use AVERAGEIF. If not you can use below formula.
Enter as an array formula by pressing Ctrl+Shift+Enter when exiting cell edit mode (instead of just enter).
=AVERAGE(IF($A$2:$A$13=A2,$B$2:$B$13))
Then copy down for all rows.

Excel Formula Questions, please help me not have to work this weekend

If this has been discussed, I apologize. My boss just gave me a last minute project that needs to be completed by Monday and I am hoping someone could help tell how to complete this in a matter of minutes, not hours. I have very basic excel knowledge unfortunately, I will try to explain the best I can but I apologize in advance if there is something I didn't include or should know.
In my spreadsheet, D1-D34 has every model # of a specific brand that my company has sold last month. On a separate website, there is a chart that lists a "reward" associated with particular model sold. I can copy and paste that list into excel. When I do that, the eligible "model's" are on D56-D975, with the price associated each are on E56-E975.
Is there any formula that I can run that will basically do all of the manual work for me so that if one of the models in D1-D34 match one of the models in D56-D975, then the "reward" associated would appear in E1-E134?
Thanks a bunch. Hopefully I can get this resolved quickly and have some sort of weekend with my family.
InE1 enter:
=VLOOKUP(D1,$D$56:$E$975,2,FALSE)
and copy this down thru E34

Attendance Calculations / Period Calendar

This is a multi-tiered project. Let me give a quick overview. I have attendance data, card/ timestamp punches. I would like to have a pivot table with slicers in Excel. Ideally you'd be able to choose a department / last name / associate number. And also a period of time. Ideally this would be a table with the company period/week. And maybe default to last weeks.
I can get at timecard data in two ways:
(1) generate a CSV that automatically performs the timecard math, to figure out how many hours someone worked and it is smart enough to understand 3rd shift workers. The format of that CSV is:
Last Name, First Name, Personnel Type, Associate Number, Facility, Department, TimeIn, TimeOut, Total Hours
The problem with this method is that I would have to manually append the information to the CSV tables. Or come up with some autoIT script.
(2) Get at the raw data via sql/odbc. This way the math is not done. It is just all of the associates timestamps. I would have to figure up the daily hours myself and figure out a 3rd shift formula too. It is not a set schedule, many people swing shifts and others get called in a lot.
Lastly, I would like to be able to filter the dates by using our company fiscal calendar. I have a spreadsheet that goes from 2000 to 2093. With everyday listed and it's corresponding year/period/week.
Example period info spreadsheet:
date Year Period week WeekTotal Period Total
12/3/2007 2008 1 1 2008.1.1 2008.1
12/4/2007 2008 1 1 2008.1.1 2008.1
I know there is a lot going on here, but what would be the best way to approach this project?
First I have not been able to post any script however the last I tried it I used two options 1. Was a php conversion where the time was numbers ( which makes it easier for calculations)
2. Was in the tables where I deliberately entered the values places the time in different columns or fields for hours, mins, and seconds this meant that while the input is eased I still have to calculate the output in php especially for totals, averages and differences.
Hope it helps a bit

Sharepoint 2007 date time in a list

We are using a custom list on Sharepoint where we require users to enter data with a date and time field. We have been facing huge issues in data validity when generating reports due to this field. Following are the kinds of mistakes:
Selecting AM instead of PM or vice verse. Changing to 24 hrs format doesn't help much because then the users select (as an example) 02:00 instead of 14:00 for 02:00PM.
There are errors regarding formats of dates, hence some entries have dates from the future or the past.
As the reports are generated each week, the list needs to be populated by the end of the week. If the month has changed between the week, people forget to change the month in the calendar and the entries are of the last week of the current month instead of the last week of the previous month.
Are there ways to configure the list(Pref. without programming) so that:
A. Only working hours are available in the time related dropdown.
B. Dates from the future are not allowed( Or not available)
Any help would be appreciated.
As far as I know, you won't be able to satisfy these requirements with no custom code.
If you decide to go down the coding path, what you need to do is create a custom field type. Let me know of you need help on this.

Resources