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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to 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,641
Messages
6,120,695
Members
448,979
Latest member
DET4492

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