I'm trying to count the number of times a specific string of text is referenced in a column on another sheet. I've tried multiple ways, but it doesn't seem to come out right -
=COUNTIFS({KPHI: SHP Master Patient Tracker_ProcType}, "TAVR", {KPHI: SHP Master Patient Tracker_Comp@Proc}, CONTAINS("Arrhythmia, 1st Degree AV Block", @cell)) - Results in 0 (which is fine; however, I want the "TAVR" and "Arrhythmia, 1st Degree AV Block" to be referenced cells vs hard coded.
When I use, =COUNTIFS({KPHI: SHP Master Patient Tracker_ProcType}, =$IndexID$24, {KPHI: SHP Master Patient Tracker_Comp@Proc}, CONTAINS(=[Primary Column]@row, @cell)), I get the #INVALIDOPERATION error.
What am I doing wrong?
I'm trying to create a formula that counts if
- The reference sheet, Procedure Type = TAVR
- The reference sheet, Procedure Date = In the Past
- The reference sheet, Complications contains the @cell value
Please help