This error message indicates that you have a syntax error in your formula. Looking at your formula, you're missing an ELSE statement for your conditional. You always need to end with an ELSE, even if you have an ELSE IF in the middle.
https://help.anaplan.com/9fb6586e-0219-4771-a660-4ebcc317efc0-IF-THEN-ELSE
Thank you - this has been a huge help.
In terms of best practice and performance you could also create a line item to add some of the values together before using in the IF statement.You could also make a system module for Package and calculate the booleans once there.
Create an intermediate line item:
X = IF SYS Package.Purchase Order Type OR SYS Package. Subcontractor Type THEN B1 + B2 + B3 + B5 + B6 ELSE 0
The system module would replace the use of Type line item in your module
Then your line item would be:IF SYS Package.Purchase Order Type THEN X + B4 ELSE IF SYS Package. Subcontractor Type THEN X ELSE 0
The principles here are to do as few calculations as possible, part of this is achieved by using a System module; the naming convention should be clear so future developers will understand where to look for properties relating to that list.
Hi everyone 👋 If you build or maintain Anaplan models, you've probably hit the same walls I kept hitting. Some basic questions about a model's structure have no single screen to answer them. You end up clicking through modules and pages one by one, or writing API scripts just to get a list. These were the gaps that…
Hi Everyone, We have a requirement in Anaplan Consolidation & Reporting (Fluence) where the Entity Structure needs to change effective January 2026. The key requirement is that the existing entity structure should continue to be applicable for all reporting and consolidation periods through December 2025, while the new…
We've been building a tool called aplan4sheets and we'd genuinely like input from this community — both on what we've built so far and on what we should prioritize next. The problem we set out to solve: Anaplan's Excel add-in is Windows-centric, and there's no real native way to pivot Anaplan data in Google Sheets. We…