Pivot Table Ratio between 2 Columns

goko

New Member
Joined
Jan 3, 2022
Messages
12
Office Version
  1. 2021
Platform
  1. Windows
Consider the following table

DateInvitedAttendedisNotAbsent
Jan-23Wadeattended and performed1
Feb-23Daveattended1
Mar-23Sethabsent
Apr-23Ivanattended and performed1
May-23Rileyabsent
Jun-23Gilbertabsent
Feb-23Jorgeattended1
Mar-23Danattended and performed1
Feb-23Brianattended and performed1
Mar-23Robertoattended1
Jun-23Ramonabsent
Feb-23Milesattended and performed1
Mar-23Liamabsent
May-23Nathanielabsent
Jun-23Ethanattended and performed1
Feb-23Lewisattended1
Feb-23Miltonabsent
Mar-23Claudeabsent
Jun-23Joshuaattended1
Feb-23Glenattended and performed1
Jan-23Harveyabsent
Feb-23Blakeabsent
Mar-23Antonioattended and performed1
Apr-23Connorattended1
May-23Julianabsent
Jun-23Aidanattended and performed1
Feb-23Haroldabsent
Mar-23Connerabsent
Feb-23Peterattended and performed1
Mar-23Hunterattended1
Feb-23Eliattended and performed1
Mar-23Albertoattended and performed1
Jun-23Carlosattended1
Feb-23Shaneattended and performed1
Mar-23Aaronattended1
Mar-23Marlinabsent
Jun-23Paulabsent
Feb-23Ricardoattended1
Apr-23Hectorabsent
May-23Alexisattended and performed1
Jun-23Adrianattended1
Feb-23Kingstonattended and performed1
Mar-23Douglasabsent


I want to achieve the following but in pivotTable

DateInvitedAttendedAttendance Ratio
Jan-232150%
Feb-23141179%
Mar-2312650%
Apr-233267%
May-234125%
Jun-238563%


Is it possible?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Ok I was eventually able to solve the this.

I had to modify the table to the following and than added a calculated field = 'T Invited'/Attendance

DateInvitedAttendedT InvitedAttendance
1-Jan-23Wadeattended and performed11
1-Feb-23Daveattended11
1-Mar-23Sethabsent10
1-Apr-23Ivanattended and performed11
1-May-23Rileyabsent10
1-Jun-23Gilbertabsent10
1-Feb-23Jorgeattended11
1-Mar-23Danattended and performed11
1-Feb-23Brianattended and performed11
1-Mar-23Robertoattended11
1-Jun-23Ramonabsent10
1-Feb-23Milesattended and performed11
1-Mar-23Liamabsent10
1-May-23Nathanielabsent10
1-Jun-23Ethanattended and performed11
1-Feb-23Lewisattended11
1-Feb-23Miltonabsent10
1-Mar-23Claudeabsent10
1-Jun-23Joshuaattended11
1-Feb-23Glenattended and performed11
1-Jan-23Harveyabsent10
1-Feb-23Blakeabsent10
1-Mar-23Antonioattended and performed11
1-Apr-23Connorattended11
1-May-23Julianabsent10
1-Jun-23Aidanattended and performed11
1-Feb-23Haroldabsent10
1-Mar-23Connerabsent10
1-Feb-23Peterattended and performed11
1-Mar-23Hunterattended11
1-Feb-23Eliattended and performed11
1-Mar-23Albertoattended and performed11
1-Jun-23Carlosattended11
1-Feb-23Shaneattended and performed11
1-Mar-23Aaronattended11
1-Mar-23Marlinabsent10
1-Jun-23Paulabsent10
1-Feb-23Ricardoattended11
1-Apr-23Hectorabsent10
1-May-23Alexisattended and performed11
1-Jun-23Adrianattended11
1-Feb-23Kingstonattended and performed11
1-Mar-23Douglasabsent10


eventually getting the result that I wanted

Row LabelsSum of T InvitedSum of AttendanceSum of Field1
Jan2150%
Feb141179%
Mar12650%
Apr3267%
May4125%
Jun8563%
Grand Total432660%



The clue to solving the issue was that calculated fields only evaluate to sum o_O
 
Upvote 0
Solution

Forum statistics

Threads
1,223,884
Messages
6,175,175
Members
452,615
Latest member
bogeys2birdies

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