Hello,
I have too many data points (time, value) for a graph.
I want to select every 10th or 20th point to plot. Any ideas how I can achieve this please.
I have tried selection
row 1
row 10
row 20
and extending it but this then selects 2, 11, 21 !!
Help please !!
Thanks, Mel
Press the CTRL key and then highlight the data points. Excel should
pick up the fields you want.![]()
But I have 33,000 rows! So manual selection is out.
I am trying to do this:
row1>>>>>>>>link>>>>>>>>>row 1 (time, value)
row2>>>>>>>>>>>>>>>>>>>row10(time, value)
..>>>>>>>>>>>>>>>>>>>>>row20 (time, value)
row10
..
..
row20
so that I can easily graph the row1, row10, row20 pairs as they form a contiguous dataset I can lasoo.
Last edited by Mel_P; 07-20-2009 at 05:06 PM.
I have 33,000 pairs of values from a logger.
-Time, concentration
How do I plot (or extract) every 20th pair of value (or some other defined interval)?
Any ideas please (macro, VBA NOT manual selection)
Thanks. Mel
Threads merged -- there's no need to start a new one. Carry on.
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
Thanks mod - apols.
Any reason not to do this with a simple formula?
If you really want code, post a workbook that shows input (not all 30000 rows) and desired output (like, where it goes).
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
Posted it on microsoft excel forum and a response telling me to use the INDIRECT function worked.
So solved!
Well done.
Be aware that INDIRECT is a volatile function, so it recalculates every time anything changes. So is OFFSET, which is another alternative.
A better choice would be a solution that used INDEX.
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks