If that's your only criteria, then why don't you remove the other criteria? Why do you need the check for blank value in M5?