#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Every "n'th" Row

How do I set a formula to choose every "n'th" row and extract it to another
spreadsheet?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Every "n'th" Row

On the "other" sheet enter this in A1

=OFFSET(Sheet1!$A$1,10*ROW()-10,0)

Drag/copy down as far as you wish.

Will return values from row 1, 11, 21, 31, 41 etc. from Sheet1

Adjust to suit.


Gord Dibben MS Excel MVP

On Thu, 2 Oct 2008 15:33:00 -0700, RyanR8881
wrote:

How do I set a formula to choose every "n'th" row and extract it to another
spreadsheet?


  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Every "n'th" Row

"RyanR8881" wrote:
How do I set a formula to choose every "n'th" row
and extract it to another spreadsheet?


Assume source data in Sheet1, cols A to C, data from row1 down

In say Sheet2,
you could place this in any start cell, say in B2:
=INDEX(Sheet1!A:A,ROWS($1:1)*2-1)
Copy B2 across by 3 cols to D2, fill down as far as required
to return rows: 1,3,5, ... from Sheet1

And if you wanted to return rows: 2,4,6, ... from Sheet1 instead,
use this in the start cell:
=INDEX(Sheet1!A:A,ROWS($1:1)*2)

Adapt to suit ..
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,400 Files:361 Subscribers:58
xdemechanik
---
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Function to find 'n'th largest alphanumeric field (like "Large") Smibes Excel Worksheet Functions 8 June 17th 07 04:13 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 09:52 AM.

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"