Forum Discussion
Join 2 COUNTIF to become 1 COUNTIFS
- Dec 21, 2023
Can you give an example of what you would want to be returned?
For instance, would you ask how many '456' exist in columns for 21-dec-2023? The answer would be 2.
Would there really by duplicate dates in row 1?
Which Excel version are you using?
Perhaps something like this:
COUNTIFS requires all criteria ranges to be the same size and dimension. So, you can't use both the entire row 2 and K4:ZZ300 as criteria ranges.
- Riny_van_EekelenDec 21, 2023Platinum Contributor
glennmckenna No you may not.
- glennmckennaDec 21, 2023Copper Contributor
Do you have another solution ?
What i'm trying to do is get excel to find the columns where the values match a certain date/value (these values are all on 1 line) and the look in those columns and count the values that match "456"
I've can't use a Pivot table
here is an example of the excel :
- Riny_van_EekelenDec 21, 2023Platinum Contributor
Can you give an example of what you would want to be returned?
For instance, would you ask how many '456' exist in columns for 21-dec-2023? The answer would be 2.
Would there really by duplicate dates in row 1?
Which Excel version are you using?
Perhaps something like this: