Skip to main content

Calculate different % if it is before specific time or after

  • January 12, 2024
  • 2 replies
  • 18 views

Forum|alt.badge.img+2

Can anyone please help me solve this issue? Before 1/1/2024 I have to calculate a 2.99% fee and after is different 2.29%. I am trying a formula but only giving the result after 31/12/2023, before the result is blank:

 

IF(
    {Date Booked},
    IF(
        IS_AFTER(
                {Date Booked},
                DATETIME_PARSE(
                    '31/12/2023',
                    'DD/MM/YYYY'
                    )
                ),
({Total due}-(2.29*{Total due})/100)+{Manual Rate}),
IF(
           IS_BEFORE(
                {Date Booked},
                DATETIME_PARSE(
                    '1/1/2024',
                    'DD/MM/YYYY'
                    )
                ),
({Total due}-(2.99*{Total due})/100)+{Manual Rate})
)

2 replies

Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • January 23, 2024

Is there any moderator that can assist with this?


Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • January 25, 2024

I keep trying but is hard, anyone to give me an idea how to solve this?