Not being privy to the other advice you were given I have to wonder why you need to see this in a spreadsheet format when you're working in a db? It's that sort of thinking that gets you into these situations. Having to redesign forms and reports to include/exclude fields on an on-going basis just seems wrong to me. Why can't names go vertically with the numbers beside them?
handle this problem, so that my dashboard exclude the names automatically if there is no data
This is exactly what I'm saying, and is how a database should work whenever possible. If your form is based on a query that excludes names you don't want, then voilą - you get what your question asks for.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.