Plot every other cell

A

Adam

I have a spreadsheet that contains half hour information.
In a column, I combine numbers for two half hour periods
to calculate an hourly number. I do this in every other
cell. However, when I try to plot these hourly numbers,
my chart shows no line since every other cell is blank.

Is there a way to have Excel create a graph using evey
other cell?

Thanks!
 
D

dvt

Adam said:
I have a spreadsheet that contains half hour information.
In a column, I combine numbers for two half hour periods
to calculate an hourly number. I do this in every other
cell. However, when I try to plot these hourly numbers,
my chart shows no line since every other cell is blank.

Is there a way to have Excel create a graph using evey
other cell?

Thanks!

Try filling the empty cells with =NA().

Dave
dvt at psu dot edu
 
T

Tushar Mehta

[This followup was posted to microsoft.public.excel.charting with an
email copy to Adam.
Please use the newsgroup for further discussion.]

You could use a named formula. Create one with Insert | Name >
Define...

EveryOtherCell
=N(OFFSET(Sheet2!$B$1,(ROW(OFFSET(Sheet2!$A$1,0,0,COUNTA(Sheet2!$B:
$B),1))-1)*2,0,1,1))

This assumes you have data in every other row starting with B1. Now,
create the chart with this named formula. For more on how to use named
formulas in a chart see the Dynamic Charts page of my web site.
 

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