Logical Functions-IF ELSE statement - Trying to apply condition where line item text contains "DEC"

Highlighted
Occasional Contributor

Logical Functions-IF ELSE statement - Trying to apply condition where line item text contains "DEC"

Hi there

I wish to populate the line item "FY TEST" with the future financial year when any "Dec" month is selected in line item

"End Period (Last Actual)"   For example, return "FY20" in "FY TEST" when "Dec 19" is selected in "End Period (Last Actual)".

The formula I have tried to write for line item "FY TEST" is below but the syntax is not correct.

IF End Period (Last Actual) = Dec% THEN PARENT('End Period (Last Actual)') + 1 ELSE PARENT('End Period (Last Actual)')

Can someone please assist with providing the correct syntax for this formula?

Many thanks

George

4 REPLIES 4
Highlighted
Frequent Contributor

Re: Logical Functions-IF ELSE statement - Trying to apply condition where line item text contains &q

Hi @gcaldis ,

You may use a formula like :

IF MONTH('End Period(Last Actual)') = 12 THEN FY + 1 ELSE FY + 10

I have used FY + 10 else to display a blank, assuming there won't be more than 10 years in application. You can use some other else depending upon your specific requirement.

Thanks,

Yash

Highlighted
Certified Master Anaplanner

Re: Logical Functions-IF ELSE statement - Trying to apply condition where line item text contains &a

Hi,

Or just simply use ELSE BLANK at the end to be sure the cells there is no undesired outcome.

Andris
Highlighted
Occasional Contributor

Re: Logical Functions-IF ELSE statement - Trying to apply condition where line item text contains &a

Thanks Andris, I will keep that in mind.

Occasional Contributor

Re: Logical Functions-IF ELSE statement - Trying to apply condition where line item text contains &a

Thanks Yash

This has solved my requirement.

Regards

George