Pivot table layout

I have an excel spreadsheet with 950 patients each of which can have up to have procedures on one date.  Some of them have had more than one admission.  The column headings for example are Patient ID, Procedure Date, Procedure 1, Procedure 2, Procedure 3 etc. up to procedure 8. I need to count the average procedures for each admission.  What is the best way to set this out on a pivot table please?
Gwynneth TaylorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roy CoxGroup Finance ManagerCommented:
Can you provide a small example workbook, obviously disguise any names etc
0
Gwynneth TaylorAuthor Commented:
Hi I have made a dummy file that shows each patient ID can have more than one admission.  I have done a CountA for each patient on my own sheet then done an average at the bottom which works but I would rather do it in pivot table format to show the average per session if possible.  I hope this dummy file is enough thanks.
0
Roy CoxGroup Finance ManagerCommented:
I think that you forgot to  attach it.

Also, you can set a Field to calculate averages.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Gwynneth TaylorAuthor Commented:
Oops sorry I thought I had - I will try again
test.xlsx
0
Roy CoxGroup Finance ManagerCommented:
here's a suggestion
0
Roy CoxGroup Finance ManagerCommented:
Sorry just seen the example
0
Roy CoxGroup Finance ManagerCommented:
Is this what you expect

I'll post explanation
test--1-.xlsx
0
Gwynneth TaylorAuthor Commented:
Thank you if you could post your explanation please.
0
Roy CoxGroup Finance ManagerCommented:
Basically I have just created a simple Pivot using the IDs in the Rows column then  placed the Count of Procedures in the Values.

Now to show the average  you need to access the Value Field Settings dialog box, click anywhere in the column you want to change, then click on the Field Settings button in the Active Field group on the Analyze contextual tab OR double-click on the column heading. Then click on the Show Values as button to reveal a list of options. Choose "% of Grand Total" then format as per centagePT_ShowValuesAS.png
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gwynneth TaylorAuthor Commented:
Thank you for your help.
0
Roy CoxGroup Finance ManagerCommented:
Pleased to help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.