Wait! You're applying this formula to the 'Grand Total' column of the Crosstab, aren't you?
It makes sense why it throws that error.
What is with the {Command.Event} column? Can't there be multiple columns? And which of those columns are we supposed to check for blanks and non-blanks?
Could you post a screenshot of the crosstab please?
-Abhilash