Hi, I am trying to use a Sumproduct formula that looks in column B (B4:B64) for whatever is in cell D111 eg "Cardiology" then looks in column H (H4:H64) for EITHER the word "NA" or a number greater than zero. I tried the following:
SUMPRODUCT(--($B$4:$B$64=$D111)*--(H$4:H$64="NA")+(H$4:H$64>0)) but it isnt calculating correctly.
Can anyone help me? Thanks in advance
PS I cant post the worksheet as this contains patient data but have screenshotted the relevant data.
Annotation 2020-07-14 103943.jpg
Bookmarks