Countif within a If calculation

Hi,
I'm new to Smartsheet and I'm trying to get a calculation working, which I cannot seem to work out what I'm doing wrong
There is an issue with Countifs in the False option, however, if I put just this calculation it in a separate cell it works fine. the error I get is #INVALID OPERATION.
=IF(COUNTIFS({Date}, HAS(@cell, M$1), {Team Member}, HAS(@cell, $[Primary Column]@row), {Project Type}, HAS(@cell, "Confirmed")) >= 1, "-1", =COUNTIFS({Date}, HAS(@cell, M$1), {Team Member}, HAS(@cell, $[Primary Column]@row), {Project Type}, HAS(@cell, "Internal")))
any help greatly received
Many Thanks
Barry
"I have found the issue the = and the start of the second countifs is not required
Answers
-
Hi
Here's the corrected version of your formula without the unnecessary equals sign:
=IF(COUNTIFS({Date}, HAS(@cell, M$1), {Team Member}, HAS(@cell, $[Primary Column]@row), {Project Type}, HAS(@cell, "Confirmed")) >= 1, "-1", COUNTIFS({Date}, HAS(@cell, M$1), {Team Member}, HAS(@cell, $[Primary Column]@row), {Project Type}, HAS(@cell, "Internal")))
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Thanks Bassam
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 207 Use Cases
- 517 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 83 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!