The original formula I had works:
INDEX(MAX(COLLECT({Change Log - ADDRESS Prior DATE}, {Change Log - ADDRESS DATE CHANGE}, 1)), 1, 0)
Now I am trying to add an IF statement and am getting an #InvalidOperation error. Can you recommend a change to the formula?
I am trying to add an IF statement that looks at a date column the reference. If the date is not within the last 7 day
=IF(TODAY() - 7 < {FDOB Change Log - PROJECT CREATED DATE}, INDEX(MAX(COLLECT({Change Log - ADDRESS Prior DATE}, {Change Log - ADDRESS DATE CHANGE}, 1)), 1, 0), "")