Try

=P10=""

As you set P10 to null("") in your formula (not same as blank " ")