Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Si Si is offline
external usenet poster
 
Posts: 9
Default how to delete alternate rows in a spreadsheet?

hello, i have a spreadsheet with about 60,000 data points in it, Excel will
only let me plot 32,000 points!
Is there a way/formular so i can delete everyother row? ie,so instead of
having rows numbered 1,2,3,4,5,6,7,8,9,10. I would end up with 1,3,5,7,9 and
so on!
This would give me around 30,000 points!

Thanks,
Simon.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,355
Default how to delete alternate rows in a spreadsheet?

In a helper column put this: =MOD(ROW(),2)
Autofilter the data and select the value that you want to delete and delete
it.
Then delete the helper column.
--
HTH,
Barb Reinhardt



"SI" wrote:

hello, i have a spreadsheet with about 60,000 data points in it, Excel will
only let me plot 32,000 points!
Is there a way/formular so i can delete everyother row? ie,so instead of
having rows numbered 1,2,3,4,5,6,7,8,9,10. I would end up with 1,3,5,7,9 and
so on!
This would give me around 30,000 points!

Thanks,
Simon.

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default how to delete alternate rows in a spreadsheet?

Sub delete_even_rows()
Dim r As Long
Dim rng As Range
Dim numLoops As Long

Set rng = Range("A1:A60000")
numLoops = Int((rng.Rows.Count / 2))
For r = 1 To numLoops
rng(r + 1, 1).entirerow.Delete
Next
End Sub


Gord Dibben MS Excel MVP

On Wed, 16 Apr 2008 03:44:00 -0700, SI wrote:

hello, i have a spreadsheet with about 60,000 data points in it, Excel will
only let me plot 32,000 points!
Is there a way/formular so i can delete everyother row? ie,so instead of
having rows numbered 1,2,3,4,5,6,7,8,9,10. I would end up with 1,3,5,7,9 and
so on!
This would give me around 30,000 points!

Thanks,
Simon.


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 860
Default how to delete alternate rows in a spreadsheet?

Hi Simon,

Another option is to copy them to a new sheet thus
leaving your raw data intact.

With your raw data in Sheet1 column A
Put this in Sheet2 column A and drag down 30000 odd rows.
=OFFSET(Sheet1!A$1,(ROWS($1:1)-1)*2,,)
adjust the Sheet name and column to suit.

This will extract every second value from Sheet1 to Sheet2

HTH
Martin

"SI" wrote in message
...
hello, i have a spreadsheet with about 60,000 data points in it, Excel
will
only let me plot 32,000 points!
Is there a way/formular so i can delete everyother row? ie,so instead of
having rows numbered 1,2,3,4,5,6,7,8,9,10. I would end up with 1,3,5,7,9
and
so on!
This would give me around 30,000 points!

Thanks,
Simon.



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
reformating data- how to delete alternate blank rows quickly datamanipulator Excel Discussion (Misc queries) 4 November 27th 07 04:41 PM
is there a way to delete alternate rows in excel Martin R Excel Discussion (Misc queries) 4 October 8th 07 04:57 PM
How do i delete empty rows in a spreadsheet Jim Excel Discussion (Misc queries) 2 July 19th 07 11:03 PM
How do I delete blank rows (rows alternate data, blank, data, etc ncochrax Excel Discussion (Misc queries) 2 June 27th 07 04:40 AM
How do I delete both duplicate rows from a spreadsheet? natalia Excel Discussion (Misc queries) 3 April 29th 06 11:40 PM


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