Countifs criteria difficulty
I'm trying to count the number of units installed and removed between two dates, along with narrowing it down to a specific machine and product type created with the units. The installation date and removal date are both logged into separate columns within a different sheet. The hope is to make something similar to a search feature in that the criteria can be changed and the formula will update results rather than using filters on the original data sheet. Where am I going wrong?
=COUNTIFS({Machine #}, =[3]@row, {Product Type}, =[2]@row, ({Date Installed}, >= ([4]2), {Date Removed}, <= ([5]2)))
Best Answer
-
Hey @Logan Hubbard,
The last two criteria sets in the formula have a weird number of parenthesis around them, would removing them so there's only the COUNTIFS parenthesis help?
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
Answers
-
Hey @Logan Hubbard,
The last two criteria sets in the formula have a weird number of parenthesis around them, would removing them so there's only the COUNTIFS parenthesis help?
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
-
That must've been it! I was experimenting with using AND and isolating some of the reference cells to make sure my commas were in the right spots, those must have been leftover from that. Thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!