Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default how do i specify alternating cell range (de-interleave) in excel?

given two sets of numbers which have been interleaved/alternated in (e.g) a
column, how can i specify a range that returns every other cell?
thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 303
Default how do i specify alternating cell range (de-interleave) in excel?

insert a helper column with the range 1,2,1,2,1,2,1,2,1,2,
all the way down
sort the two columns by the second column

greetings from NZ
Bill K

" wrote in
message ...
given two sets of numbers which have been interleaved/alternated in (e.g)
a
column, how can i specify a range that returns every other cell?
thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default how do i specify alternating cell range (de-interleave) in excel?

For even numbered rows, try this:

=INDEX(A:A,2*ROWS($1:1))

And copy down as needed.

For odd numbered rows, try this:

=INDEX(A:A,2*ROWS($1:1)-1)

And copy down as needed.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

" wrote in
message ...
given two sets of numbers which have been interleaved/alternated in (e.g)
a
column, how can i specify a range that returns every other cell?
thanks.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default how do i specify alternating cell range (de-interleave) in exc

ok, let me see if i can figure out how to get the chart wizard to swallow
that w/o inserting zeroes for the skipped cells.
thanks!
hwn

"Bill Kuunders" wrote:

insert a helper column with the range 1,2,1,2,1,2,1,2,1,2,
all the way down
sort the two columns by the second column

greetings from NZ
Bill K

" wrote in
message ...
given two sets of numbers which have been interleaved/alternated in (e.g)
a
column, how can i specify a range that returns every other cell?
thanks.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default how do i specify alternating cell range (de-interleave) in excel?

Assuming the column is A

In B1 enter =OFFSET($A$1,2*ROW() -1,0)

Copy down Column B to return every second cell in Column A


Gord Dibben MS Excel MVP


On Thu, 12 Oct 2006 12:25:02 -0700,
wrote:

given two sets of numbers which have been interleaved/alternated in (e.g) a
column, how can i specify a range that returns every other cell?
thanks.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default how do i specify alternating cell range (de-interleave) in excel?

cheers gang.
all the solutions seem to revolve around adding helper columns (either
the alternating even/odd indicator or to hold the extracted values).

i was hoping for something i could feed as series definitions to the
chart wizard w/o disturbing the original spreadsheet.
a range with parameters <begin <end <row_step <col_step
would be ideal.
anybody see the excel suggestion box anywhere? ;-)

thanks again.
hwn


" wrote:

given two sets of numbers which have been interleaved/alternated in (e.g) a
column, how can i specify a range that returns every other cell?
thanks.

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
First row in Selection range (first index of a cell) EXCEL VBA [email protected] Excel Worksheet Functions 1 March 20th 06 09:38 PM
need to Copy or Move to active cell from specified range kaream Excel Discussion (Misc queries) 2 December 14th 05 08:12 AM
Pasting Word table cell with paragraph markers into single Excel c Steve Excel Discussion (Misc queries) 1 June 16th 05 11:26 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Excel: How to return count for each cell within date range criter. Louisa Excel Worksheet Functions 0 November 5th 04 11:58 AM


All times are GMT +1. The time now is 11:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"