Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ty Ty is offline
external usenet poster
 
Posts: 2
Default Formatting Cell that displays sum from other worksheets

I have cells that display the sums from other worksheets. As it stand
right now if there is no value in the other worksheet the a 0
appearers in the totals cell. What I would like to do if possible is
instead of there being a 0 in the totals cell I would like it just to
be blank.

I have set up conditional formatting on the total cells to change the
font color if the value is greater than 0 but cannot seem to get rid
of the zero if there is no value to display.

Thanks,

Ty
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Formatting Cell that displays sum from other worksheets

Without seeing your formula, an applicable solution is just a guess.
The following formula will sum A1:A10 if there are any numeric values
in the range. If the range is empty or has only text data, it returns
an empty string.

=IF(COUNT(A1:A10)0,SUM(A1:A10),"")

You can do something very similar with individual cells rather than
ranges. The following formula looks at A1, A3, and A5 and sums them if
there is a numeric entry. Otherwise, it returns an empty string.

=IF(COUNT(A1,A3,A5)0,SUM(A1,A3,A5),"")

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Fri, 20 Mar 2009 08:43:44 -0700 (PDT), Ty
wrote:

I have cells that display the sums from other worksheets. As it stand
right now if there is no value in the other worksheet the a 0
appearers in the totals cell. What I would like to do if possible is
instead of there being a 0 in the totals cell I would like it just to
be blank.

I have set up conditional formatting on the total cells to change the
font color if the value is greater than 0 but cannot seem to get rid
of the zero if there is no value to display.

Thanks,

Ty

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ty Ty is offline
external usenet poster
 
Posts: 2
Default Formatting Cell that displays sum from other worksheets

The current format is as follows.

Assume a worksheet named "Ted" and a worksheet named 'Totals".

On the Ted sheet there is a totals column AH. So lets say that Cell
AH5 = 100

On the Totals sheet there is a Ted column with a corresponding cell 5
the correct formula in this cell is =Ted!AH5

It would display 100 in this case. If there was nothing entered in the
cell AH5 on the Ted it would display 0 which I would like to get rid
of and just have a blank cell.

This really is only a cosmetic thing to de-clutter the page as there
are allot of cells and columns in the form.

Thanks,
Ty

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Formatting Cell that displays sum from other worksheets

=IF(Ted!AH5="","",Ted!AH5)


Gord Dibben MS Excel MVP

On Fri, 20 Mar 2009 09:33:40 -0700 (PDT), Ty
wrote:

The current format is as follows.

Assume a worksheet named "Ted" and a worksheet named 'Totals".

On the Ted sheet there is a totals column AH. So lets say that Cell
AH5 = 100

On the Totals sheet there is a Ted column with a corresponding cell 5
the correct formula in this cell is =Ted!AH5

It would display 100 in this case. If there was nothing entered in the
cell AH5 on the Ted it would display 0 which I would like to get rid
of and just have a blank cell.

This really is only a cosmetic thing to de-clutter the page as there
are allot of cells and columns in the form.

Thanks,
Ty


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
How to seperate worksheets so each displays on different monitors ValD2009 New Users to Excel 3 January 7th 09 06:27 PM
Linked Cell Displays 0 Lambros Excel Discussion (Misc queries) 6 January 19th 07 11:55 PM
Formula Displays in One Cell BCBC Excel Worksheet Functions 0 February 6th 06 09:36 PM
Text displays as ### in a cell. Andre Excel Worksheet Functions 1 November 2nd 05 03:27 PM
Formula window displays correct answer while cell displays incorre MMV Excel Worksheet Functions 3 November 10th 04 09:28 PM


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"