Trouble calculating unique values

PETERFT73

New Member
Joined
Oct 31, 2017
Messages
12
I maintain a little spreadsheet tracking NFL expected points, usually a trailing 5 week average of those points surrendered by each defense broken down by position group. I have a relatively minor but extremely annoying issue I can't seem to get past. I manage to get by well enough on mdiocre pivot table ability to produce a decent table with the defenses in first column, followed by the position groups with the sum of points for each team over those 5 weeks. But with bye weeks usually around 1/3 of teams have played one fewer game so I'm adding a column for # of games manually and then dividing those sums by that column. My spreadsheet has a column for 'Week' and I just want another one showing how many unique values are in that column for each Defense. I don't care if it's when I'm making the pivot table or before. I sincerely appreciate your help. The first image is the spreadsheet before pivot. And then the second is my pivot.
Thanks!
 

Attachments

  • Screen Shot 2023-11-23 at 7.10.45 AM.png
    Screen Shot 2023-11-23 at 7.10.45 AM.png
    209.7 KB · Views: 32
  • Screen Shot 2023-11-23 at 7.16.20 AM.png
    Screen Shot 2023-11-23 at 7.16.20 AM.png
    255.9 KB · Views: 29

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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