pivot table count based on criteria

swofm

New Member
Joined
Apr 12, 2018
Messages
15
Hi Everyone,
I have a table where it shows logs of different users working on a claim. I want to be able to create a pivot table but the count on the "Status" field should satisfy two conditions.

For this scenario, I want to count the "Pending" status for User1. For User1 to have a count, User1 has to have both "Pending" and "Ready" status. So for claim# 123, User1 will have 1 count but not for claim# 456 because User2 had the Ready status. I hope I have explained it clearly. Thank you in advance.

Claim#StatusUsernameDate
123PendingUser14/1/18
123ReadyUser14/2/18
123ArchivedUser24/4/18
456PendingUser14/10/18
456ReadyUser24/11/18
456ArchivedUser24/13/18

<tbody>
</tbody>
 
Last edited:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Build Pivot Table.
Status for Columns
Claim# for Rows
Username for Rows (2nd position)
Count of Claims in Values

Set to Tabular mode under Design
Turn off Grand Totals and Subtotals

Filter Status to NOT show "Archived"
Right Click a User name to select the Filter, Values, Count of Claim Greater or equal to 2.

Turn Grandtotals back on.
 
Upvote 0
For any fields to subtotal, Right click on a label and choose Subtotal.
 
Upvote 0

Forum statistics

Threads
1,215,329
Messages
6,124,302
Members
449,149
Latest member
mwdbActuary

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