Whats wrong with your max formula?