Trying to count text using a date as reference

Occasional Contributor

Need help to count the number of items based on a date.

my dates 01-Dec through to 25-dec are in column c. the items i need to count are in columns d through to ac there are 9 possible types of items

i'm trying to use a formula to know how many specific items i have on a specific date.  

ie. on the 01 December how many 1's, 2's 3's items ect there are 


i'm trying countifs but can't make the formula work across the multiple columns

12 Replies


PivotTable could work, do you consider such option?

thanks for the reply, i was looking to making a new sheet with the date specific to the date and item numbers hence the formula idea but i will certainly look at the pivot table idea thanks good idea.. However It's annoying that my formula only produces a zero a like to know where i'm going wrong


If you provide small sample file and mention on which Excel version / platform you are, we may try to play with formulas for your case.

@Sergei Baklan 

Hi Sergei


Much appreciated

File attached, i'm trying to build the table on the Orders Tab, from the test date on the form response tab.


forgot to add using 2011 on a mac
Hi received this mail..below but can't trace where the results are, sorry for being dense
..mail begin..
Microsoft Tech Community <>
Mon 04/10/2021 06:34
Here's the main Pivot View:
with the formula count below it, and other pivot views above and below it.:
mail end....



I removed it because my solution is not based on mac but here take a look see if you can work it out

Thankyou for you help the pivot looks good but a little too detailed for use.
So i'd really like to return to the count idea if possible. Filling in the order tab.. countifs should work but just can't get it too, i've also tried sum product, and vlookup won't work because there could be more than one date formula.
I'm at a total loss.


I modified it full Pivot View with slicers if its counts you need counts you will get:


Sliced View:


Sliced View with two party times:








best response confirmed by DaveK25483 (Occasional Contributor)
Only problem my mac doesn't support slicers but really thank you much appreciated




That's your business we're talking about, If you want to drive a ferrari in the numbers farm suit yourself or you can buy a Windows Pick-up truck for your farm. Its your business.



like it...