COUNTIF Help

raymaster98

Board Regular
Joined
Oct 28, 2009
Messages
212
Using Excel 2003.

In column D, I have a list of radiology procedures Example (NM HIDA SCAN). All procedures begin with "NM".
Column H lists if the patient was a "NO SHOW". I would like to count the number of procedures in column D that have a corresponding "NO SHOW" in column H. Any help would be appreciated. Thanks, Kenny
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Try;

=SUMPRODUCT(--(D2:D1000<>""),--(H2:H1000="No Show"))

Do not use the whole column reference, D:D, H:H.
 
Upvote 0
Haseeb,

Thanks for the help. However, that formula counts all instances of "NO SHOWS" in column H. I need to count only the 'NO SHOWS" in column H that correspond with a procedure that has a prefix of "NM" in column D. The list in column D has multiple procedures. Only some are prefixed with "NM". The rest have other prefixes and cannot be included. Hope that makes sense. Thanks, Kenny
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,499
Members
449,089
Latest member
Raviguru

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top