Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ltat42a
 
Posts: n/a
Default Blank cell if no value


I have a spreadsheet in which I enter numbers in, then calculate a
certain range -
sum(f4:f10). The cell that contains this formula always shows 0 if
nothing is entered in this range. How can I edit this forumla that will
display nothing in the cell if nothing is entered, if something is
entered, then it will display the sum

Any suggestions?


--
Ltat42a
------------------------------------------------------------------------
Ltat42a's Profile: http://www.excelforum.com/member.php...o&userid=24735
View this thread: http://www.excelforum.com/showthread...hreadid=397250

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


Hi, Ltat. You have two options.

1) ToolsOptions | View tabuncheck Zero Values in the Window options
section
note that this will affect ALL cells that have a zero value

2) Use an IF formula, as such:

=IF(sum(f4:f10)=0,"",sum(f4:f10))

A blank cell will be displayed if the sum is zero, else the sum will be
displayed.

HTH

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=397250

  #3   Report Post  
Ltat42a
 
Posts: n/a
Default


swatsp0p Wrote:
Hi, Ltat. You have two options.

1) ToolsOptions | View tabuncheck Zero Values in the Window options
section
note that this will affect ALL cells that have a zero value

2) Use an IF formula, as such:

=IF(sum(f4:f10)=0,"",sum(f4:f10))

A blank cell will be displayed if the sum is zero, else the sum will be
displayed.

HTH

Bruce



Perfect! - Thanx!


--
Ltat42a
------------------------------------------------------------------------
Ltat42a's Profile: http://www.excelforum.com/member.php...o&userid=24735
View this thread: http://www.excelforum.com/showthread...hreadid=397250

  #4   Report Post  
lfhale
 
Posts: n/a
Default


I am new to pivot tables and have a quandary I can't seem to address. I
have several columns with a code letter representing a theme present in
a large set of qualitative data. So, the row has a comment and then if
the comment fits the designation under a particular theme (column) I
enter the code under that theme to show where it fits. So I'm dealing
with different letters in cells that represent a type of data, under
several columns that represent themes. If the cell is blank, that
means that comment does not fit under that theme. When I try to count
the number of different types of data under the theme columns I can't
get it to tally how many separate codes are listed in each column. so
it looks like this:

Program Inst +
Inst- Course+
Photography Technology I T S
Photography Technology I M P
Photography Technology I C P

It keeps counting blanks and I can't get it to just count the filled
cells - What I'd like is under Inst+ for Photog I there are 1 M, 1T,
1C; under Inst-, 2P; Course+ 1S

Any ideas???


--
lfhale
------------------------------------------------------------------------
lfhale's Profile: http://www.excelforum.com/member.php...o&userid=26457
View this thread: http://www.excelforum.com/showthread...hreadid=397250

  #5   Report Post  
swatsp0p
 
Posts: n/a
Default


Ltat42a Wrote:
Perfect! - Thanx!



Glad it worked for you. Feedback is always appreciated. Which option
did you use?

Cheers!

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=397250



  #6   Report Post  
Ltat42a
 
Posts: n/a
Default


swatsp0p Wrote:
Glad it worked for you. Feedback is always appreciated. Which option
did you use?

Cheers!

Bruce


#1 -
ToolsOptions | View tabuncheck Zero Values in the Window options
section
note that this will affect ALL cells that have a zero value


--
Ltat42a
------------------------------------------------------------------------
Ltat42a's Profile: http://www.excelforum.com/member.php...o&userid=24735
View this thread: http://www.excelforum.com/showthread...hreadid=397250

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
Setting Purely BLANK Cell yokato95 Excel Worksheet Functions 4 August 18th 05 04:43 PM
Replace null string with blank cell gjcase Excel Discussion (Misc queries) 2 August 9th 05 02:13 PM
Look for change next blank cell in Range Nigel Bennett Excel Worksheet Functions 1 March 13th 05 09:45 PM
Go to first blank cell Curt D. Excel Worksheet Functions 4 February 28th 05 10:27 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 11:44 PM.

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"