Counting a unique string of text from one column based on an adjacent column

rkoehler58

New Member
Joined
Sep 18, 2014
Messages
22
I have a sheet with these columns

Column C Column D
Safety Safe
Safety Safe Hot
Safety Safe Hot Space
Operator Safe
Operator Safe Hot
Operator Safe Space Excav

I am trying to work out a formula that will allow me to count the number of times "Hot" is listed for each "Operator" entry in column C.

I have tried the following, but it does not work.

=COUNTIFS(C2:C7,"Operator",D2:D7,"Hot")
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

JoeMo

MrExcel MVP
Joined
May 26, 2009
Messages
18,067
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Maybe:

=COUNTIFS(C2:C7,"Operator",D2:D7,"*Hot*")

or if col C can contain other text with Operator

=COUNTIFS(C2:C7,"*Operator*",D2:D7,"*Hot*")
 
Upvote 0

Forum statistics

Threads
1,190,678
Messages
5,982,220
Members
439,769
Latest member
trungminh2802

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
Top