ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Problem not counting duplicates (https://www.excelbanter.com/excel-discussion-misc-queries/252573-problem-not-counting-duplicates.html)

Meenie

Problem not counting duplicates
 
Excel 2003
Ok, I receive info regarding patients in a hospital setting, the pt being
identified by Medical Record Number.
I need to know the number of pts on a vent in a month, then the compliance
to several different tasks on those patients. (# of yes answers divided by
the total number of pts) The problem is that a lot of the info is duplicated.
I have a formula to disregard the duplicate med rec numbers:
=sumproduct((range<"")/countif(range,range&""))
this works fine to count the number of patients for the month without
counting duplicates.
How can I count the number of yes/no answers in other columns without
counting the duplicates? I don't know how to put that together successfully.
thanks, Meenie

T. Valko

Problem not counting duplicates
 
see your other post

--
Biff
Microsoft Excel MVP


"Meenie" wrote in message
...
Excel 2003
Ok, I receive info regarding patients in a hospital setting, the pt being
identified by Medical Record Number.
I need to know the number of pts on a vent in a month, then the compliance
to several different tasks on those patients. (# of yes answers divided by
the total number of pts) The problem is that a lot of the info is
duplicated.
I have a formula to disregard the duplicate med rec numbers:
=sumproduct((range<"")/countif(range,range&""))
this works fine to count the number of patients for the month without
counting duplicates.
How can I count the number of yes/no answers in other columns without
counting the duplicates? I don't know how to put that together
successfully.
thanks, Meenie





All times are GMT +1. The time now is 01:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com