Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

data analysis pivot

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Data Analysis - Pivot Table

Data Analysis - Pivot Table

ResolvedVersion 365

Andrew has attended:
Excel Pivot Tables course

Data Analysis - Pivot Table

I have a file that I would be keen to share with you to obtain support. My aim is to pivot data from an existing excel table, but as the components are not necessarily straight forward, I am finding to difficult to translate into a workable format.

My email address is andrew.sharp@delifresh.co.uk

Thanks
Andrew

RE: Data Analysis - Pivot Table

Hi Andrew,

Thank you for your forum question.

Please can you send your Excel file(s) and further explanations to:

info@stl-training.co.uk

Kind regards
Martin Sutherland
(IT Trainer)

RE: Data Analysis - Pivot Table

Thanks Martin, I have emailed over...

RE: Data Analysis - Pivot Table

Hi Andrew,

Thank you for sending the Trays Driver Analysis spreadsheet and an explanation of what you want to achieve ie. % Trays Out by Trays In statistics per driver for each week.

This is no easy task looking at your data as the totals for each driver work across the multiple columns of daily trays in/out. Also, the drivers do not always do the same run. Ideally what you need is to have 3 columns showing Driver List, No. of Trays In and No. of Trays Out in order to analyse each drivers' total stats in a Pivot Table. Then you can create a calculated field to display % Trays Out by Trays In.

So to get your data structured to these 3 columns you will need to use Power Query which is available within Excel (new versions of Office 365 but also available in older versions as an add-in). This amazing tool can transform your data to how you need it to look and then you can output the changed structure to a Pivot Table to analyse your data.

Here is a Youtube link to an introduction to Power Query:

https://www.youtube.com/watch?v=L4BuUzccLpo

Also, STL provides training in Power Query which you may want to consider

Hope this helps

Kind regards
Martin Sutherland
(IT Trainer)

Thu 8 Aug 2024: Automatically marked as resolved.

Excel tip:

Use RANDBETWEEN to generate random numbers

There may be occassions where you need to generate random numbers in your spreadsheet. Use the RANDBETWEEN function to generate random numbers between two values that you specify.

The function looks like this:

=randbetween(LOW,HIGH)

where LOW is the lowest number you want generated; and HIGH is the highest number you want generated.

This formula will work with both positive and negative LOWs and HIGHs. Also it will only generate integer numbers unless forced to do otherwise by the following:

=randbetween(LOW*10^PRECISION,
HIGH*10^PRECISION)/(10^PRECISION).

where PRECISION represents the levels of decimal precision needed (i.e. if you need numbers with one decimal place, PRECISION would be 1; 2 for two decimal places and so on).

One final note, if the RANDBETWEEN formula does not work in your spreadsheet or returns a "#NAME" error, you need to install the Analysis Toolpak Add-In. You will need to press F2 then Enter following the installation.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.