ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   get Cell to not display ( $ - ) (https://www.excelbanter.com/new-users-excel/257792-get-cell-not-display-%24.html)

Morgan

get Cell to not display ( $ - )
 
hi, i have cells that are formatted for accounting and the cell formula
contains the SUM feature, when the cells are empty and waiting for a value,
they display ($ -) and so i have those symblos everywhere and would like the
cell just to be blank and then show up with the dollar sign when a value
appears in it.

Any ideas?
thanks

mahlandj

get Cell to not display ( $ - )
 
Try this. There might be an easier one, but this is what I use.

S

14 5
15 5
=IF(SUM(S14:S18)=0,"",(SUM(S14:S18)))
16 5
17 5
18 5


--
Thanks!


"Morgan" wrote:

hi, i have cells that are formatted for accounting and the cell formula
contains the SUM feature, when the cells are empty and waiting for a value,
they display ($ -) and so i have those symblos everywhere and would like the
cell just to be blank and then show up with the dollar sign when a value
appears in it.

Any ideas?
thanks


Morgan

get Cell to not display ( $ - )
 
thanks it works
--
thanks


"mahlandj" wrote:

Try this. There might be an easier one, but this is what I use.

S

14 5
15 5
=IF(SUM(S14:S18)=0,"",(SUM(S14:S18)))
16 5
17 5
18 5


--
Thanks!


"Morgan" wrote:

hi, i have cells that are formatted for accounting and the cell formula
contains the SUM feature, when the cells are empty and waiting for a value,
they display ($ -) and so i have those symblos everywhere and would like the
cell just to be blank and then show up with the dollar sign when a value
appears in it.

Any ideas?
thanks


Joe User[_2_]

get Cell to not display ( $ - )
 
"mahlandj" wrote:
Try this. [....]
=IF(SUM(S14:S18)=0,"",(SUM(S14:S18)))


"Morgan" wrote:
thanks it works


It does?! If so, fine. But I would think you want "$ -" when the sum is
exactly zero. In that case, try:

=IF(COUNT(S14:S18)=0, "", SUM(S14:S18))


----- original message -----

"Morgan" wrote:

thanks it works
--
thanks


"mahlandj" wrote:

Try this. There might be an easier one, but this is what I use.

S

14 5
15 5
=IF(SUM(S14:S18)=0,"",(SUM(S14:S18)))
16 5
17 5
18 5


--
Thanks!


"Morgan" wrote:

hi, i have cells that are formatted for accounting and the cell formula
contains the SUM feature, when the cells are empty and waiting for a value,
they display ($ -) and so i have those symblos everywhere and would like the
cell just to be blank and then show up with the dollar sign when a value
appears in it.

Any ideas?
thanks



All times are GMT +1. The time now is 07:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com