Pivot table question

TC123

New Member
Joined
Dec 14, 2010
Messages
32
Hello,

I'm hoping someone can help. I have a pivot table and one of the fields is Sequence ID (which is the number of wards a patient has stayed on in a hospital, eg 1,2,3,4). I also have the field of Visit ID (which is a unique reference number for each patient).
What I want to do is calculate how many patients were on 1 ward, how many patients were on 2 wards etc......
However, I can't figure out how to do this. As when I pull sequence ID into the Values section and Visit ID into the Row Labels I am getting the individual patients instead of how many patients as a whole stayed on 1, 2 or 3 wards for example. Can anyone help me?

Thanks
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,214,970
Messages
6,122,514
Members
449,088
Latest member
RandomExceller01

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