Multiple Countifs - I think

ithoughtiknewit

New Member
Joined
Feb 11, 2021
Messages
10
Office Version
  1. 365
Platform
  1. MacOS
I have searched, tired, failed. I am trying to count across multiple cells. For example, A is a name and D is a "problem". I want to see how often a person has that problem and countifs worked great. Now the problems are spread across C:H and it won't work. Is there a better function?

In this example, how can I tell how many times Jay has a Weather problem:

Thank you all!!! :)

Name​
Contract​
Problem 1​
Problem 2​
Problem 3​
Problem 4​
Problem 5​
Problem 6​
Jay=countifs(A:A,"Jay", C:H, "Weather")
Jay​
13234​
Weather​
Fuel​
People​
Weather​
Mike​
65655​
People​
Weather​
People​
Jay​
245632​
None​
Fuel​
Chris​
13254​
None​
Jay​
34354​
Weather​
People​
Jay​
3343554​
Fuel​
Weather​
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi & welcome to MrExcel.
How about
+Fluff 1.xlsm
ABCDEFGHIJK
1NameContractProblem 1Problem 2Problem 3Problem 4Problem 5Problem 6Jay
2Jay13234WeatherFuelPeopleWeather3
3Mike65655PeopleWeatherPeople2
4Jay245632NoneFuel2
5Chris13254None
6Jay34354WeatherPeople
7Jay3343554FuelWeather
8
9
Master
Cell Formulas
RangeFormula
K2:K4K2=SUMPRODUCT(($A$2:$A$7=$J$1)*($C$2:$H$7=J2))
 
Upvote 0
Hi & welcome to MrExcel.
How about
+Fluff 1.xlsm
ABCDEFGHIJK
1NameContractProblem 1Problem 2Problem 3Problem 4Problem 5Problem 6Jay
2Jay13234WeatherFuelPeopleWeather3
3Mike65655PeopleWeatherPeople2
4Jay245632NoneFuel2
5Chris13254None
6Jay34354WeatherPeople
7Jay3343554FuelWeather
8
9
Master
Cell Formulas
RangeFormula
K2:K4K2=SUMPRODUCT(($A$2:$A$7=$J$1)*($C$2:$H$7=J2))
That did it!!!! Thank you!!!!!!!!!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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