Fill Series & deleting alternate rows

notmyrealnamehahaha

New Member
Joined
Mar 13, 2004
Messages
5
I want to copy links to another spreadsheet down a column. The info I'm looking for is located in every other cell. ie F3, F5, F7. I want to fill the series (=$F3, =$F5, =$F7) automatically to save on typing. Fill series will do this with real numbers 3, 5, 7. Can it be down with a formula?

Also, is there a way to delete every other row with minimal keystrokes? Selecting with ctrl+mouseclick gets tedious when there is HUNDREDS to delete!

many tks[/img]
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi - Welcome to the board

Put this in Row 1 of any column (besides F) and fill down

=INDIRECT("F" & 2*ROW()-1)
 
Upvote 0
Enter F3 & F5, then fill down via the fill handle (without the "="). You'll get F3, F5, F7, F9, etc. Select all, and edit/replace F with =F.

to delete every other row, in an unused column enter 1, x, 2, x in the first 4 rows, then use the fill handle as far down as necessary. The series will repeat, 3, x, 4, x, etc. Sort everything by this column and all the x's will be together. You can delete all these rows, then clear the column.
 
Upvote 0
To delete every other row:
Code:
Option Explicit

Sub Test()

Dim x As Long
Dim LastRow As Long

    LastRow = Range("A65536").End(xlUp).Row
    For x = LastRow To 1 Step -2
        Rows(x & ":" & x).Delete
    Next x
    
End Sub
 
Upvote 0
Excellent answers! Thank-you very much.

I haven't much experience using code, I'll have to learn. But the other responses make sense.

Natalie
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,186
Members
449,071
Latest member
cdnMech

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top