Hello, Please advise me as I am just learning how to use these functions.
I am trying to use a formula that counts unique text values from this range
Patient_level!C6:C15000)
while meeting certain criteria ('yes') in this range: Patient_level!I6:I1048576.
I have working formulas for both (separately) but can't figure out how to combine them to sum into one cell..- not sure if I use sum or countif...
My formula for counting unique values:
=SUM(IF(FREQUENCY(IF(LEN(Patient_level!C6:C15000)>0,MATCH(Patient_level!C6:C15000,Patient_level!C6:C15000,0),""), IF(LEN(Patient_level!C6:C15000)>0,MATCH(Patient_level!C6:C15000,Patient_level!C6:C15000,0),""))>0,1))
And my formula for meeting criteria 'Yes':
=COUNTIF(Patient_level!I6:I1048576,"Yes")
Thank you in advance!!!
-B
I am trying to use a formula that counts unique text values from this range

while meeting certain criteria ('yes') in this range: Patient_level!I6:I1048576.
I have working formulas for both (separately) but can't figure out how to combine them to sum into one cell..- not sure if I use sum or countif...
My formula for counting unique values:
=SUM(IF(FREQUENCY(IF(LEN(Patient_level!C6:C15000)>0,MATCH(Patient_level!C6:C15000,Patient_level!C6:C15000,0),""), IF(LEN(Patient_level!C6:C15000)>0,MATCH(Patient_level!C6:C15000,Patient_level!C6:C15000,0),""))>0,1))
And my formula for meeting criteria 'Yes':
=COUNTIF(Patient_level!I6:I1048576,"Yes")
Thank you in advance!!!
-B