#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default Sum returning 0

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Sum returning 0

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default Sum returning 0

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Sum returning 0

=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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default Sum returning 0

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning a blank cell rather then #N/A (Lookup) Monk Excel Discussion (Misc queries) 2 January 24th 06 03:16 PM
Returning Descending Values Jim Excel Worksheet Functions 14 September 27th 05 01:30 PM
Vlookup returning No data. Alex H Excel Worksheet Functions 4 July 3rd 05 09:08 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. Martin Excel Discussion (Misc queries) 2 December 13th 04 11:21 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"