Hello
I'm using Excel 2003.
I have a workbook with a worksheet entitled "rawdata". Each line of data is one hospital visit.
There are 25 columns for diagnoses (O to AM) and 25 columns for diagnosis type (AN to BL).
How do I search through the diagnosis array to find a certain diagnosis and then determine if it is a certain diagnosis type?
For instance if diagcd3 = "I20" and dxtype3 in ("1","W","X","Y") then count 1.
Thanks.
I'm using Excel 2003.
I have a workbook with a worksheet entitled "rawdata". Each line of data is one hospital visit.
There are 25 columns for diagnoses (O to AM) and 25 columns for diagnosis type (AN to BL).
How do I search through the diagnosis array to find a certain diagnosis and then determine if it is a certain diagnosis type?
For instance if diagcd3 = "I20" and dxtype3 in ("1","W","X","Y") then count 1.
Thanks.