I have an issue where my subtotal array formula isn't working. However, when I just regular Max(IF.... it works just fine. Was wondering if anyone has an idea of why it's giving me just a #Value error.

Here's my formula =SUBTOTAL(104,(IF(TBL_Tasks[Phase]=[@Phase],TBL_Tasks[Days to Complete],0))) and it's an array so ctrl+shift+enter

I've also attached a sample file. Hopefully someone can help. Thanks in advance..
sample1.xlsm