setting a formula = to no point in a graph

J

jxbeeman

Hello,
I'm trying to get a formulat to register as no point in a graph. Any Ideas?
I've tried setting the formulat to "" or 0 with no luck. What i'm looking
for is the formula to output a result say either a 1 or "". If this formula
is then graphed the values of 1 will show up (say for a line graph) but the
spots where the formula resulted in a "" gives a 0 which makes the line go to
0. The issues is that i'm graphing a coupld different series so the points
kinda overlap.
Any Ideas would be great!
Thanks,
Josh
 
P

Peo Sjoblom

use NA()

=IF(A1="x",1,NA())


so instead of using 0 or "" use the NA() function

if it looks ugly use conditional formatting and white fonts




--


Regards,


Peo Sjoblom
 
J

jxbeeman

Thanks Peo Sjoblom, that was exactly what i was looking for.
another question though???
How would you do the same thing for the X axis? so say you wanted a graph
to resize on only the values that a fromula calculates and leave out certain
values. I tried the NA() but it gives #NA for the values on the X axis
instead of "".

Thanks again,
Josh
 
B

Barb Reinhardt

I'm guessing you have a line chart. Try changing it to an XY Scatter to see
what happens.
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top