If there are no cells downstream of (i.e. depending on) the cell in which you want to display the message then you can simply check for null and return an HTML text in that case.
If there are, then you’ll probably want to employ a viewof cell. This thread holds some suggestions: Showing cell evaluation progress - #2 by mootari