PatRichard
New Member
- Joined
- Dec 29, 2018
- Messages
- 16
- Office Version
- 365
- Platform
- Windows
Greetings!
I have a countifs that works perfectly:
Basically looks at the Purchased column for rows that match a certain field in another table that contains years. So Purchased might have 12/25/2020, and the Z56 cell might be 2020. So, we have a match. All is good. Just wondering if there is a more efficient way of writing the formula? Maybe convert to countif with a single criteria but using wildcards for month/day? I've tried the obvious choices of removing the second criteria, switching to = for the comparison, and using * for the month and day with no love. The official doc (COUNTIF function) doesn't seem to help.
Suggestions?
I have a countifs that works perfectly:
Excel Formula:
=COUNTIFS(MyInventory[Purchased],">="&DATE(Z56,1,1),MyInventory[Purchased],"<="&DATE(Z56,12,31))
Suggestions?