Forum Discussion

Nimrah's avatar
Nimrah
Copper Contributor
Aug 06, 2019

I need to create a matrix that keeps count of varying categories.

I have a list of patients with demographic characteristics. 

 

Here's an example:

 

PatientIDDOBGenderEthnicityRaceMRNDiagnosis
Doe, Jane00101/01/91FNon-HispanicWhite12345678CD
Smith, John00202/02/92MNon-HispanicBlack or African American0246810UC
Knobi, Obi Wan00303/03/93MNon-HispanicAsian36912151UC

 

I want to create a matrix that will show me the number of patients that meet two different categories, like for example, I want one of the cells in the matrix to show me how many patients are Female (F) and also Non-Hispanic. How would I do this?

2 Replies

  • Kodipady's avatar
    Kodipady
    Iron Contributor

    have you considered pivot tables ? 

    You can find the options to create pivot table under menu "Insert->Pivot table"  

    it will look like picture attached.  once you create a pivot table , you can drag the different field to rows/columns 

     

Resources