Need help with a formula
=COUNTIFS({Demand State}, [Primary Column]@row, {Investment Class}, "Grow", {Portfolio}, "P&C Claims", <=DATE(2023, 1, 1), {Demand Opened Date}, >=DATE(2023, 12, 31))
Can someone help me figure out why it's not working?
Best Answer
-
Then this should be your formula:
=COUNTIFS({Demand State}, [Primary Column]@row, {Investment Class}, "Grow", {Portfolio}, "P&C Claims", {Demand Opened Date},and(@cell>=DATE(2023, 1, 1), @cell <=DATE(2023, 12, 31)))
Answers
-
Not sure what you are trying to accomplish with the dates but you seem to be missing a {range} between "P&C Claims", and <=DATE(2023, 1, 1).
Is the below what you are looking for?
=COUNTIFS({Demand State}, [Primary Column]@row, {Investment Class}, "Grow", {Portfolio}, "P&C Claims", {Demand Opened Date},and(@cell<=DATE(2023, 1, 1), @cell >=DATE(2023, 12, 31)))
-
I am trying to count how many times [Primary Column]@row, when the Investment class is Grow, the Portfolio is P&C Claims, and the Demand Opened Date is between 01/01/23 - 12/31/23.
-
@Leibel S please see explanation above.
-
Then this should be your formula:
=COUNTIFS({Demand State}, [Primary Column]@row, {Investment Class}, "Grow", {Portfolio}, "P&C Claims", {Demand Opened Date},and(@cell>=DATE(2023, 1, 1), @cell <=DATE(2023, 12, 31)))
-
Thank you! That worked!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 129 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!