How do I insert a ISBLANK function in this formula?

=(IF(D21-T21<=S25, "TIMES-UP", (D21-T21)))

If cell D is blank then cell E is blank if not, then the formula above will be executed. Also, I want this function to be present on all cells on E column.

This function is not working:

=(IF(ISBLANK(D:D)=TRUE;"Blank cell"; (D21-T21<=S25, "TIMES-UP", (D21-T21))))


=IF(ISBLANK(D21),"Blank cell",IF(D21-T21<=S25, "TIMES-UP", (D21-T21)))

ISBLANK() returns TRUE or FALSE - Doc ref - so there's no need to test for its value.

Side note:

Some locales use a comma (,) as a separator, others use a semicolon (;). Your first example uses a comma; the second uses a semicolon. The answer above uses a comma.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.