Pivot Data Slicer on Dynamic Data

VALVe101

Board Regular
Joined
May 1, 2016
Messages
52
Office Version
  1. 2016
Platform
  1. Windows
Hello All,

I have a sheet that has three columns, one for user ID, one for course name and another for completion status.
I have a problem of duplication for each course as shown below, so for one course i might get a user ID assigned twoice, one completed and one not started.

I want to capture the most up to date completion status for each user for each course on the following conditions:

user ID 1: Completed - I want to capture this only
user ID 1:Not started
User ID 1: In progress

Or if

user ID 1: Not started- I want to capture this only
user ID 1: Not started
User ID 1: In progress

so, I created a ranking system "count if that works on filtered data" for each time the user gets mentioned "while i sort the completion so completed comes first then in progress and lastly not started" in the user ID column so that when I filter the course, the user ID gets a rank like the following

Filter: Course 1

User ID Status Rank
User 1 Not started 1
User 1 Not started 2
User 1 In progress 3

Now I can get the most updated status for the course, but the issue is that the ranking is not limited to the filter as when i insert the slicer, ranking counts the users deuplication for all courses not the filterd one.


I apologize for the complication, but this is my only way around. Is there a way that i can filter the rank to mention only dependent data based on the course filter.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,214,827
Messages
6,121,823
Members
449,049
Latest member
cybersurfer5000

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