Sum returning 0

G

Guest

Hello,

When using:

=SUM(BB31,BD31,BF31,BH31,BJ31,BL31,BN31,BP31,BR31,BT31)

If hte cells are blank I get a 0 (zero). How can I write this formula so if
the cells are blank I get a - (dash)?

Thanks
 
N

Niek Otten

=IF(SUM(BB31,BD31,BF31,BH31,BJ31,BL31,BN31,BP31,BR31,BT31)=0,"-",SUM(BB31,BD31,BF31,BH31,BJ31,BL31,BN31,BP31,BR31,BT31))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top