Create Pivot Chart

GMC The Macro Man

Board Regular
Joined
Mar 23, 2023
Messages
64
Office Version
  1. 2021
Platform
  1. Windows
Hi there
I am being extremely stupid here, but I cannot get a simple Pivot Table to create a Pivot Chart. In the sheet attached, I have 2 columns, "Tracking Grade" and "Working Grade". The number range will be from 1-9
I just want a bar graph that will count the number of 1 - 9's in Tracking and the number of 1-9' s in Working. (It will be a pivot chart as the numbers will change periodically)

In this sheet I only have 2 numbers, 6 and 7 to make it easy :) . In tracking, there are 32 number 6 and 4 number 7, and in Working there are 22 number 6 and14 number 7, however when I create my Pivot Table It does not calculate correctly (See image)
Can anyone help before I have no more hair left
TIA

Book1
CDEFG
2Tracking GradeWorking GradeTrackingWorking
3666 = 326 = 22
4667 = 47 = 14
566
666
767
866
977
1067
1167
1266
1377
1466
1566
1677
1766
1867
1967
2066
2167
2266
2367
2477
2566
2666
2766
2867
2967
3066
3166
3266
3366
3466
3566
3666
3766
3867
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C3:D38Cell Valuebetween 7 and 9textNO
C3:D38Cell Valuebetween 5 and 6textNO
C3:D38Cell Valuebetween 3 and 4textNO
C3:D38Cell Valuebetween 1 and 2textNO




1698158332365.png
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
You must identify each number with its respective "Grade", for example:

Dante Amor
CD
1GRADENUMBER
2Tracking Grade6
3Tracking Grade6
4Tracking Grade6
5Tracking Grade6
6Tracking Grade6
7Tracking Grade6
8Tracking Grade7
9Tracking Grade6
10Tracking Grade6
11Tracking Grade6
12Tracking Grade7
13Tracking Grade6
14Tracking Grade6
15Tracking Grade7
16Tracking Grade6
17Tracking Grade6
18Tracking Grade6
19Tracking Grade6
20Tracking Grade6
21Tracking Grade6
22Tracking Grade6
23Tracking Grade7
24Tracking Grade6
25Tracking Grade6
26Tracking Grade6
27Tracking Grade6
28Tracking Grade6
29Tracking Grade6
30Tracking Grade6
31Tracking Grade6
32Tracking Grade6
33Tracking Grade6
34Tracking Grade6
35Tracking Grade6
36Tracking Grade6
37Tracking Grade6
38Working Grade6
39Working Grade6
40Working Grade6
41Working Grade6
42Working Grade7
43Working Grade6
44Working Grade7
45Working Grade7
46Working Grade7
47Working Grade6
48Working Grade7
49Working Grade6
50Working Grade6
51Working Grade7
52Working Grade6
53Working Grade7
54Working Grade7
55Working Grade6
56Working Grade7
57Working Grade6
58Working Grade7
59Working Grade7
60Working Grade6
61Working Grade6
62Working Grade6
63Working Grade7
64Working Grade7
65Working Grade6
66Working Grade6
67Working Grade6
68Working Grade6
69Working Grade6
70Working Grade6
71Working Grade6
72Working Grade6
73Working Grade7
Hoja3


That way you can create the pivot table and put a row for each number:

1698161537478.png



I hope that helps you.
 
Upvote 0
Solution
Hi Danteamor

Thank you for taking the time to review my issue.
Unfortunately the columns in my report are side-by-side so your suggestion would not work but you did make me understand where I was going wrong so I created a little Helper page to copy the data and do the pivot table / Chart and this works perfectly

Thank you again
GMC
 
Upvote 0

Forum statistics

Threads
1,215,353
Messages
6,124,463
Members
449,163
Latest member
kshealy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top