Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 164
Default Hiding Zeros

In cell C13 I have =SUM(T9:Z9) Cell C13 displays a zero (0) if there is
nothing in cell T9. How do code the sum statement in C13 to be blank unless
there is a value in T9?

--

Regards
Michael Koerner



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Hiding Zeros

=if(T9 = "", "",SUM(T9:Z9))
--
HTH...

Jim Thomlinson


"Michael Koerner" wrote:

In cell C13 I have =SUM(T9:Z9) Cell C13 displays a zero (0) if there is
nothing in cell T9. How do code the sum statement in C13 to be blank unless
there is a value in T9?

--

Regards
Michael Koerner




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 164
Default Hiding Zeros

Thanks, and much appreciated. I guess I left off the = before the if which
is where I was getting my error message.

--

Regards
Michael Koerner


"Jim Thomlinson" wrote in
message ...
| =if(T9 = "", "",SUM(T9:Z9))
| --
| HTH...
|
| Jim Thomlinson
|
|
| "Michael Koerner" wrote:
|
| In cell C13 I have =SUM(T9:Z9) Cell C13 displays a zero (0) if there is
| nothing in cell T9. How do code the sum statement in C13 to be blank
unless
| there is a value in T9?
|
| --
|
| Regards
| Michael Koerner
|
|
|
|


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
Hiding Zeros in Data Table Bruister via OfficeKB.com Charts and Charting in Excel 2 April 16th 10 01:07 PM
Hiding zeros in dynamic charts Carla Charts and Charting in Excel 3 April 22nd 08 08:46 PM
Hiding zeros on my worksheet thesuperhero Excel Discussion (Misc queries) 2 December 21st 05 08:58 PM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM
Hiding Zeros in Stacked Bar Charts Darshan72 Charts and Charting in Excel 1 February 3rd 05 10:18 AM


All times are GMT +1. The time now is 09:45 AM.

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

About Us

"It's about Microsoft Excel"