I am trying to get a unit count between a date range.

I am trying to get a unit count between a date range. I have two difference columns from one sheet and two difference columns on my main sheet I am referencing. I keep getting unparseable. Is there a way to to get the number I want with using the countifs formula? Or should I be using a different formula?
This is the formula I am using:
=COUNTIFS({15-ImpDate}, >=[Start Date]@row, {15-ImpProdHr}:{15-ImpProdHr}, >"0") + COUNTIFS({15-ImpDate}, <=[End Date]@row, {15-ImpProdHr}:{15-ImpProdHr}, >"0")
Best Answer
-
Try something like this:
=COUNTIFS({15-ImpDate}, AND(@cell >=[Start Date]@row, @cell <=[End Date]@row), {15-ImpProdHr}, >0
Answers
-
Try something like this:
=COUNTIFS({15-ImpDate}, AND(@cell >=[Start Date]@row, @cell <=[End Date]@row), {15-ImpProdHr}, >0
-
That worked perfectly! thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!