Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-23-2023, 09:27 AM
tomohawk tomohawk is offline Help With Data Analysis/Pivot Table & Chart Windows 10 Help With Data Analysis/Pivot Table & Chart Office 2019
Advanced Beginner
Help With Data Analysis/Pivot Table & Chart
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default Help With Data Analysis/Pivot Table & Chart

Hi,



In the attached spreadsheet, I have data and a pivot table. I need to be able to do a further analysis (explained in the file), but I cannot figure out how to do it. There may be a way to do it directly from the original data.

Thanks,
Tommy
Attached Files
File Type: xlsx Test.xlsx (156.0 KB, 3 views)
Reply With Quote
  #2  
Old 02-23-2023, 11:41 AM
p45cal's Avatar
p45cal p45cal is offline Help With Data Analysis/Pivot Table & Chart Windows 10 Help With Data Analysis/Pivot Table & Chart Office 2019
Expert
 
Join Date: Apr 2014
Posts: 866
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

See attached
Attached Files
File Type: xlsx msofficeforums50478Test-15.xlsx (98.0 KB, 2 views)
Reply With Quote
  #3  
Old 02-23-2023, 12:34 PM
tomohawk tomohawk is offline Help With Data Analysis/Pivot Table & Chart Windows 10 Help With Data Analysis/Pivot Table & Chart Office 2019
Advanced Beginner
Help With Data Analysis/Pivot Table & Chart
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default

Thanks for the support p45cal.

Is it possible you could explain the formula, so that I can learn.

Even a link to a page explaining it would be great.

Tommy
Reply With Quote
  #4  
Old 02-23-2023, 01:27 PM
p45cal's Avatar
p45cal p45cal is offline Help With Data Analysis/Pivot Table & Chart Windows 10 Help With Data Analysis/Pivot Table & Chart Office 2019
Expert
 
Join Date: Apr 2014
Posts: 866
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by tomohawk View Post
Is it possible you could explain the formula, so that I can learn.
The only formula is in column D:
=COUNTIF([SO No.],[@[SO No.]])
This surely doesn't need explaining, but COUNTIF function - Microsoft Support

The rest is a standard pivot table & chart.
Column D is what groups the rows of data in the pivot.
Reply With Quote
  #5  
Old 02-23-2023, 01:55 PM
tomohawk tomohawk is offline Help With Data Analysis/Pivot Table & Chart Windows 10 Help With Data Analysis/Pivot Table & Chart Office 2019
Advanced Beginner
Help With Data Analysis/Pivot Table & Chart
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default

Thanks again p45cal.

I can't find a reference as to why you use @ in the formula on the page that you linked to, so I would really appreciate if you could bear with me a little longer.

Tommy
Reply With Quote
  #6  
Old 02-23-2023, 02:08 PM
p45cal's Avatar
p45cal p45cal is offline Help With Data Analysis/Pivot Table & Chart Windows 10 Help With Data Analysis/Pivot Table & Chart Office 2019
Expert
 
Join Date: Apr 2014
Posts: 866
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

the @ means refer to the same row in that column.
Without the @ refers to whole column.
You can see it when you edit the formula in the formula bar (the formula parts are highlighted in the same colour as the boxes around the ranges):


2023-02-23_210650.png


You don't need to type these references in. If you use the mouse to select ranges while you're building the formula, they will appear automatically.
Reply With Quote
  #7  
Old 02-23-2023, 03:31 PM
tomohawk tomohawk is offline Help With Data Analysis/Pivot Table & Chart Windows 10 Help With Data Analysis/Pivot Table & Chart Office 2019
Advanced Beginner
Help With Data Analysis/Pivot Table & Chart
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default

Many Thanksp45cal

I understand the formula now, but I'm struggling with the pivot table.

How did you calculate the percentages.

The only way I could find to do it was to create another pivot table and calculate from there (see attached)
Attached Files
File Type: xlsx David_Test.xlsx (82.2 KB, 1 views)
Reply With Quote
  #8  
Old 02-23-2023, 03:43 PM
p45cal's Avatar
p45cal p45cal is offline Help With Data Analysis/Pivot Table & Chart Windows 10 Help With Data Analysis/Pivot Table & Chart Office 2019
Expert
 
Join Date: Apr 2014
Posts: 866
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by tomohawk View Post
How did you calculate the percentages.

2023-02-23_223931.png


Right-click somewhere in the values area of the pivot (column G in my file, column K in your latest file) and choose Value field settings…
Reply With Quote
  #9  
Old 02-23-2023, 03:58 PM
tomohawk tomohawk is offline Help With Data Analysis/Pivot Table & Chart Windows 10 Help With Data Analysis/Pivot Table & Chart Office 2019
Advanced Beginner
Help With Data Analysis/Pivot Table & Chart
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default

Many thanks p45cal

Your continued support is very much appreciated.

Tommy
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
pivot chart for multiple data sets md0627 Excel 1 01-08-2023 05:17 PM
Can we update Chart in PPT based on a table in the excel and the table is part of the Chart Data nareshj PowerPoint 0 07-12-2018 02:29 PM
Copying a Chart Linked to a Pivot Table coma08 Excel 1 06-07-2017 08:24 PM
Combine multiple tables into one pivot table in order to do trend analysis marelisev Excel 2 04-15-2017 08:30 AM
Help With Data Analysis/Pivot Table & Chart Create PIVOT chart using few rows in pivot table Santhosh_84 Excel 1 08-31-2015 06:22 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft