Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
FormatCellsNumberCustom. In the Type box, enter
#;-#;- -- Kind regards, Niek Otten "JR" wrote in message ... 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 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for the reply. Is there a formula I can use instead?
"Niek Otten" wrote: FormatCellsNumberCustom. In the Type box, enter #;-#;- -- Kind regards, Niek Otten "JR" wrote in message ... 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 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(SUM(BB31,BD31,BF31,BH31,BJ31,BL31,BN31,BP31,BR 31,BT31)=0,"-",SUM(BB31,BD31,BF31,BH31,BJ31,BL31,BN31,BP31,BR31 ,BT31))
-- Kind regards, Niek Otten "JR" wrote in message ... Thanks for the reply. Is there a formula I can use instead? "Niek Otten" wrote: FormatCellsNumberCustom. In the Type box, enter #;-#;- -- Kind regards, Niek Otten "JR" wrote in message ... 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 |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
thanks
"Niek Otten" wrote: =IF(SUM(BB31,BD31,BF31,BH31,BJ31,BL31,BN31,BP31,BR 31,BT31)=0,"-",SUM(BB31,BD31,BF31,BH31,BJ31,BL31,BN31,BP31,BR31 ,BT31)) -- Kind regards, Niek Otten "JR" wrote in message ... Thanks for the reply. Is there a formula I can use instead? "Niek Otten" wrote: FormatCellsNumberCustom. In the Type box, enter #;-#;- -- Kind regards, Niek Otten "JR" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Returning a blank cell rather then #N/A (Lookup) | Excel Discussion (Misc queries) | |||
Returning Descending Values | Excel Worksheet Functions | |||
Vlookup returning No data. | Excel Worksheet Functions | |||
Problem with VBA returning the contents of a long formula. | Excel Discussion (Misc queries) | |||
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. | Excel Discussion (Misc queries) |