Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default Empty content after a calculation

I want to make a chart where I use calculated cells. However when the
cell is empty, or should be, it is treated as 0 and shows the 0, instead
of showing nothing, like a REAL empty field.

The calculation I use is (for example) =IF(A1,A1,"")
So if A1 shows something, it will show the content. If not, it shows
nothing.

To be more specific. I put numbers in A1 to A6, exept for A3, which I
leave empty. In B1 to B6 I put the calculation. When I now use B1-B6 for
a graph, I see as if A3 is 0, not as if it were empty.

How can I see to it that it is seen as empty and thus not used in a
chart. When I leave B2 empty, it does not show in the chart as it should
be.

houghi
--
You tried, and you failed, so the lesson is, never try. - Homer J. Simpson.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default Empty content after a calculation


Tools | Options | Chart (tab)
Checkmark "Plot empty cells as: Not plotted (leave gaps)"
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"houghi"
wrote in message
I want to make a chart where I use calculated cells. However when the
cell is empty, or should be, it is treated as 0 and shows the 0, instead
of showing nothing, like a REAL empty field.
The calculation I use is (for example) =IF(A1,A1,"")
So if A1 shows something, it will show the content. If not, it shows
nothing.
To be more specific. I put numbers in A1 to A6, exept for A3, which I
leave empty. In B1 to B6 I put the calculation. When I now use B1-B6 for
a graph, I see as if A3 is 0, not as if it were empty.
How can I see to it that it is seen as empty and thus not used in a
chart. When I leave B2 empty, it does not show in the chart as it should
be.
houghi
--
You tried, and you failed, so the lesson is, never try. - Homer J. Simpson.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default Empty content after a calculation

Jim Cone wrote:

Tools | Options | Chart (tab)
Checkmark "Plot empty cells as: Not plotted (leave gaps)"


That does not seem to work, as the cell is not realy empty, but contains
a formula. Real empty cells are indeed ignored.

houghi
--
You tried, and you failed, so the lesson is, never try. - Homer J. Simpson.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default Empty content after a calculation

Ok, then try changing your formulas...
From: =IF(A1,A1,"")
To: =IF(A1,A1,NA())

--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


"houghi"
wrote in message
Jim Cone wrote:

Tools | Options | Chart (tab)
Checkmark "Plot empty cells as: Not plotted (leave gaps)"


That does not seem to work, as the cell is not realy empty, but contains
a formula. Real empty cells are indeed ignored.

houghi
--
You tried, and you failed, so the lesson is, never try. - Homer J. Simpson.
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default Empty content after a calculation

Jim Cone wrote:
Ok, then try changing your formulas...
From: =IF(A1,A1,"")
To: =IF(A1,A1,NA())


OK, that works for the chart, I just now see #N/A in the cell. What I
actualy use is:
=IF(ISERROR(GETPIVOTDATA(Bla...)),NA(),(GETPIVOTDA TA(Bla...)))

I can obviously work around it by using one set of numbers for the chart
and another for the numbers, but it would be nice if I would just need
one.

What I use it for is to have 3 weeks of data, monday through friday, and
this week wil seldom be complete and holidays will need to show nothing.

houghi
--
You tried, and you failed, so the lesson is, never try. - Homer J. Simpson.


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
empty cells in calculation climate Excel Worksheet Functions 5 December 10th 07 10:37 AM
Replace all empty or " by the content of the cell above it hccatmo Excel Worksheet Functions 3 November 9th 06 08:52 PM
Using last cell in a column that is not empty in a calculation Leo V. Excel Worksheet Functions 0 February 24th 06 06:33 AM
Empty Cell calculation Elan Excel Worksheet Functions 2 April 12th 05 02:15 PM
Can Excel "slide up" rows with content thru empty rows to condense portly44 Excel Worksheet Functions 2 April 1st 05 12:47 AM


All times are GMT +1. The time now is 12:53 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"