#INVALID OPERATION (SUMIF/SUMIFS to blame?)
The formula I'm trying to fix was not reporting our information correctly so I built a new formula in a test environment and it appeared to be working as intended only for me to find that when applying it in a live setting, the result was constant #INVALID OPERATION errors.
The formula is this:
=IF([Est. Annual Rent]@row = 0, " ", IF(SUMIF([Project No.]:[Project No.], [Project No.]@row, [Est. Annual Rent]:[Est. Annual Rent]) < 280000, "LEVEL I", IF([Project Aggregate Total Contract Value]@row < 10000000, "LEVEL II", IF([Project Aggregate Total Contract Value]@row > 10000000, "LEVEL III"))))
I made another version two with a modification to the end of the formula to see if that would help (It didn't):
=IF([Est. Annual Rent]@row = 0, "", IF(SUMIF([Project No.]:[Project No.], [Project No.]@row, [Est. Annual Rent]:[Est. Annual Rent]) < 280000, "LEVEL I", IF([Project Aggregate Total Contract Value]@row < 10000000, "LEVEL II", "LEVEL III")))
What I've Tried:
- In both the testing and live environments, all the column types are Text/Number.
- I switched the SUMIF to SUMIFS (As well as switching the range/criteria ranges to match what the function calls for)
- Rewriting the formulas from scratch to ensure syntax wasn't the issue (It still may be)
Screen Shots included to show column structure and errors
Comments
-
Hello,
I wasn't seeing an issue with the operators at first, so I created a sheet with the same column names and then pasted your formula in, but it worked just fine.
I went ahead and reached out to our Support team so they can refresh your sheets just in case that helps. If you're still receiving the #INVALID OPERATION error I'd recommend reaching out to our Support team directly so they can help you troubleshoot.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!