PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Charting Plot every other cell

Reply

Plot every other cell

 
Thread Tools Rate Thread
Old 03-07-2003, 06:03 PM   #1
Adam
Guest
 
Posts: n/a
Default Plot every other cell


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!
  Reply With Quote
Old 03-07-2003, 06:16 PM   #2
dvt
Guest
 
Posts: n/a
Default Re: Plot every other cell

Adam wrote:
> 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


  Reply With Quote
Old 04-07-2003, 02:15 PM   #3
Tushar Mehta
Guest
 
Posts: n/a
Default Re: Plot every other cell

[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.

--
Regards,

Tushar Mehta (www.tushar-mehta.com) MS MVP -- Excel

In article <023f01c3418d$59f9c080$a301280a@phx.gbl>,
drost@ci.wilsonville.or.us says...
> 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!
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off