This proposal adds two columns to both the RawData and Pivot sheets.
On the RawData sheet Column E is populated using:
Formula:
=COUNTIFS(A$2:A$13,A2,B$2:B$13,B2)=COUNTIFS(A$2:A$13,A2,B$2:B$13,B2,D$2:D$13,"Done")
Column F is populated using: =COUNTIFS(A$2:A$13,A2)=COUNTIFS(A$2:A$13,A2,D$2:D$13,"Done")
The columns are named Sstatus and Mstatus respectively and the columns (E:F) are then added to the pivot table, although hidden by grouping.
The formatting on the pivot table is accomplished using formulas similar to: =AND(A4<>"",F4="False")
Let us know if you have any questions.
Bookmarks