Help w/ Countifs for multi-select drop down field

Hi,
I am trying to use the following countif on a RAID log where the 'impacted validation report' (RAID Log - Template Range 1) is a multi-select drop down field. I cannot get the formula to return anything but 0 when I know there are outstanding issues in each different status.
This is the raid log and formula. Each column references a different status and RAID Log - Template Range 2 is the status column. All the lines in yellow should be returning values other than 0 based on manual counts in the RAID log.
The formula I'm using is:
=COUNTIFS({RAID Log - Template Range 1}, CONTAINS([Item Type]@row , @cell ), {RAID Log - Template Range 2}, "In Process")
Any help would be greatly appreciated!
Answers
-
Hello! Could you try the below? If I'm understanding correctly, I have a similar use case set up that tracks, not multi-dropdown, but a contact column where multiple values are allowed, so the logic should hopefully be the same. Following my setup yours should look something like -
=COUNTIFS({RAID Log - Template Range 1}, HAS(@cell, [Item Type]@row), {RAID Log - Template Range 2}, "In Process")
-
Your formula returns 0 becauseΒ COUNTIFS canβt check inside multi-select fields directly. Try this short fix:
ReplaceΒ
CONTAINS
Β withΒHAS
:=COUNTIFS({RAID Log - Template Range 1}, HAS(@cell , [Item Type]@row ), {RAID Log - Template Range 2}, "In Process")
Why?
HAS
Β works with multi-selects to see if your Item Type exists in that cell.CONTAINS
Β doesnβt parse multi-select dropdowns in COUNTIFS.
Give that a go and let me know if it starts returning the counts you expect.
If my comment helps you, I appreciate a π‘
Kind regards
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
We offer Licenses - Training - Solution Engineering
π΄ GOLD Smartsheet Partner _______________________________________________
π― SCALEABLE Solutions Engineered by Lighthouse Consultings
We Donβt Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
Help Article Resources
Categories
Check out the Formula Handbook template!