Excel vba to work out average score - excel

the attached shows a small example of a scorecard i have at work for drivers, the list is many lines long, around 120 drivers, i export a report each week and it produces the attached, i have added code to tidy it up and work out scores. I then have to work out an average score for the week for each driver but can't for the life of me think how to do it using code. Any help would be appreciated.

Fill the empty cells with the respective driver names and then build a pivot table. No code required to calculate averages per driver per week. That's just a few clicks. Add more data and refresh the pivot table. No VBA. Just Excel out of the box.
You may not even have to produce the report in the screenshot, but start with the original data. Pivot tables are used for exactly that: aggregate, slice and dice large amounts of data.

Related

A frequency line chart from pivot table on excel

I have a data I want to sort into pivot-based graphs and I need help with it.
Below is an example of the data im sorting
Basically, I want the pivot to have a week number and category filter. Then for it to sort the data like a frequency based line-chart based on how many people have unit output in certain ranges. End product should look like this.
I am having trboule because every category has very different min and max points so it can't be done manually.
I tried to use a traditional pivot table but I cant get the frequency part down.
Thank you

Creating a table in Excel to track performance on 2 data points

I am looking to create an excel table so i can review my colleagues performance on a certain area in work.
The two measurement areas are Resolved Problems and Total time spent. I can pull this info from a dashboard at the end of the week and manually input it to excel.
We have 6 members of the team and i want to be able to input this data as weekly totals per user.
I will then use this data to track trends like who is resolving most problems, who is doing the least. Who spends the most time on problems and who spends the least.
I am not sure the best way to go about this data capture in excel.
Any help is appreciated.
Isn't this something that you would right click, select pivot table, and pivot my person, value column of time, sort by time?

Excel - A row in my Pivot table calculates sum wrongly only for some entries (same data type/format)

I created a tracker of learning hours in order to conduct an experiment.
For the purpose of the ticket, there is a time series that does not sum correctly data in Pivot table.
Some other tickets on Stack Overflow mention how to correctly sum. Here's what I tried:
considered blank spaces > the Pivot does not consider them anymore, yet the issue persist.
data type & format > the whole column is set for data type short date
labeling > I use to copy-paste the category for each learning and I double checked if there was no typo in them.
Here's how the file works. There are 3 sheet in my Excel file. The core of it is "Data" where I do track the time spent for each learning / exercise. The columns marked in red are the ones used for the next Pivot Table.
These information are consolidated in another sheet, called SuperLearner Review. I use this one to display overall learning hours by type and category. Numeric outputs here are looked up from Data (or calculated accordingly).
After several checks, I cannot retrieve the issue. All I know is that for February data are not tracked correctly.
Originally I attributed either to wrong data labeling or format, but I can manually see what is the real sum of learning done in February:
In the data-series those hours seem not to display. This is what the Pivot table returns instead:
Whereas, for the consolidated information (coming from the same source) does not seem there are problems in calculation:
When I tried to cancel and build up again the same Pivot Table, the same error occur. So I am not getting out of this wrong calculation. Therefore it must not be a problem of calculation, rather than Excel does not retrieve some data entries at one point.
What would you recommend? Thanks for the help.

Does anyone know why my pivot table is changing a time value into a date?

[
[
I'm trying to make a pivot table that organizes the 15-minute time increments and shows average pedestrian count for each street recorded. I have been able to do this for smaller sections of the set but for some reason when I try to do the whole thing (about 288,000 rows), it will automatically add 'Years' and 'Quarters' to the table and instead of displaying times, it will just say "Jan, Apr, May, Jun".
It's worth noting that it still recognizes the 'dates' as a time because when I try to format it, it still says 'Time'. Is this just an issue caused by trying to work with too large of a data set? Any help would be hugely appreciated!
Working on Excel for Mac version 16.16.4
Thanks in advance!
The new Excel 2016 time grouping enhancements are here. You can read about it here - Time grouping enhancements in Excel 2016. If automatic grouping is not required, you can remove it by right-clicking on the time column in pivot and selecting Ungroup.

Power Pivot Report Slow

I wanted to see if anyone can assist. I have been using power pivot a fair amount over the last 2 years. I have created a report within it which uses 9 columns measuring 3 metrics. (Essentially sales over the last 2 years with a variance).
The Pivot table pulling through uses no sub-totals and is in tabular form pulling from only the one source file which is an excel workbook.
The issue I am receiving when I pulled in the 6th to 9th column the query got notably slower. Now taking up to 15 minutes to simply add a filter.
Can anyone assist in making this data refresh at a normal rate? I have tried making the source file smaller, making it now so that there is only one source file and not 3 however this seems to have a minimal effect.
I have other reports with much larger amounts of data and more connections where I am not encountering this problem at all so this is a little beyond my comprehension.

Resources