You've possibly got the brackets in the wring place, depending on what the formula is trying to do, or the logic is unsound...
Are you getting a "VALUE" error?
I think whats happening is that you are trying to multiply "", (ie an empty string, which is not the same as nothing), by a number.
If you make the formula in D31;
does it work?