Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I want to select every 10th line of data in an excel spreadsheet?

Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default I want to select every 10th line of data in an excel spreadsheet?

Yes.

=MOD(ROW(),10) and Autofilter.
--
David Biddulph

"Matloter" wrote in message
...
Is this possible?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default I want to select every 10th line of data in an excel spreadsheet?

One way... This starts at row 2 and selects every 10th populated row after
that...

Sub Select10Th()
Dim rng As Range
Dim rngAll As Range

Set rng = Rows(2)
Set rngAll = rng
Do While Application.WorksheetFunction.CountA(rng) 0
Set rngAll = Union(rng, rngAll)
Set rng = rng.Offset(10, 0)
Loop
rngAll.Select
End Sub
--
HTH...

Jim Thomlinson


"Matloter" wrote:

Is this possible?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default I want to select every 10th line of data in an excel spreadsheet?

Here's one way

If A10:A200 contains your data,
with A10 the column heading (eg....MyData)

Try this:

A1: Crit
A2: =MOD(ROW(A11),10)=0

Note: That formula refers to the FIRST DATA cell, NOT the heading

Select A10:A200

From the Excel Main Menu:
<data<filter<advanced filter
Criteria Range: $A$1:$A$2
Click [OK]

Now only these data rows will be displayed:
20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120,
130, 140, 150, 160, 170, 180, 190, 200


Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Matloter" wrote in message
...
Is this possible?




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
Conditional Formatting - Draw Line every 10th Row Sam via OfficeKB.com Excel Worksheet Functions 16 May 31st 07 12:27 PM
Showing data as spreadsheet and a line graph. Shadyhosta New Users to Excel 1 January 31st 07 09:23 AM
How do I get to the last line of a large spreadsheet to add data LyndaGTT Excel Worksheet Functions 3 March 7th 06 05:21 PM
Select every 10th number in a list judoist Excel Discussion (Misc queries) 4 November 24th 05 04:30 PM
can i get excel to choose every 10th entry in a spreadsheet whaler Excel Worksheet Functions 2 June 9th 05 10:34 PM


All times are GMT +1. The time now is 12:14 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"