Need help with formula to weed out duplicates
It's not real clear what you want to do.
Do you want to count Yes and No for unique patients?
P1...Y
P1...Y
P2...N
P2...Y
P3...N
P4...Y
P4...Y
Where unique "Yes" would = 3 and unique "No" would = 2
--
Biff
Microsoft Excel MVP
"Meenie" wrote in message
...
Excel 2003
I receive information regarding patients in a hospital setting, the
patient
being
identified by Medical Record Number.
I need to know the number of pts on ventilators in a month, then the
compliance
to several different tasks/processes performed on those patients per
month.
(# of yes answers divided by the total number of pts) The problem is that
a
lot of the data received is on the same pt, repeated on different days.
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
|