COUNTIFS with a multiple Dropdown selector not working with multiple values in one cell

xdresch

New Member
Joined
Mar 30, 2020
Messages
4
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
1585641599897.png

So i'm trying to get the formula to count how many of these tasks a person has done when you select the criteria. It works whenever I keep the cell value as a singular item. However, having (AS, NK) doesn't get counted, in that circumstance 2 people did the task together.
Is there a way to get the formula to count if "AS" appears within column 2 correlating to column 1's task selection.

The formula i'm using is =COUNTIFS(C16:C26,F15,B16:B26,G15)
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hey there,

try:

=SUMPRODUCT((B16:B26=G15)*(ISNUMBER(FIND(F15,C16:C26))))

Change the FIND function to SEARCH if you are not concerned with the casing of the string in cell F15.
 
Last edited:
Upvote 0
Welcome to the MrExcel board!

I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

Try a COUNTIFS formula with a structure like this

20 03 31.xlsm
ABCDEFG
4EFAS, NKASEF3
5EFAS
6EFAS
7EfDE
COUNTIFS
Cell Formulas
RangeFormula
G4G4=COUNTIFS(B4:B7,"*"&E4&"*",A4:A7,F4)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,205
Members
452,618
Latest member
Tam84

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