PDA

View Full Version : [SOLVED:] Pivot table showing how a Batsman was given out



Aussiebear
06-22-2023, 08:20 PM
In the attached workbook is a summary of the runs scored by the Mythical VBAX cricket club for three matches. I would like (if possible) for a pivot table to show how each of the Batsmen were given out per match. For you non Cricket lovers.... there are two innings possible per match.

Paul_Hossler
06-22-2023, 09:52 PM
This is the best non-VBA solution I could come up with

Requires formatting the PT data area with Wingdings and a custom number format

30884

Two typos in Table1 (marked)

Aussiebear
06-22-2023, 11:51 PM
Thank you Paul

p45cal
06-24-2023, 04:27 AM
a pivot table to show how each of the Batsmen were given out per match. For you non Cricket lovers.... there are two innings possible per match.maybe also:30888

Aussiebear
06-24-2023, 05:47 AM
Thank you P45cal. Unfortunately your version does not run on a Mac for some reason. I like the fact that it shows the reason rather than a count in my version. Paul's version is clever but shows as a tick. By the way I've been going over your bowling performances and I think you should be picked for the Lord's Test.

Error message given. Data Model features will not run on this version of Excel.

p45cal
06-24-2023, 06:27 AM
MS365 without Data Model or Pivot:
30890
In haste, 3 formulae in green, the one in L2 copied down and across.

Aussiebear
06-24-2023, 02:56 PM
Thank you P45cal