How to fill series in a pattern ?

shyamsundar

New Member
Joined
Jan 29, 2012
Messages
4
ex1j.png


Column A contains a list of usernames, emails, account numbers, etc. I want to extract only the username and the respective email and put them is separate columns (C & D). So I entered the following formulas manually in C & D for the first 4 rows.

ex2my.png


I'm trying to autofill the cell addresses in the same pattern till the end of the list. Please tell me how to do it. For example, cell C6 should be equal to A22; C7=A27; C8=A32 and so on. Dragging and dropping generates incorrect values. Thanks in advance :biggrin:
 
Last edited:

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Welcome to MrExcel.

"Edit" option remains available for first 10 minutes or so. While in edit mode, if you cross the time limit then you get another message for getting it approved from admins.

In cell C2:
=OFFSET($A$2,5*(ROW()-2),0)
In cell D2:
=OFFSET($A$3,5*(ROW()-2),0)
And copy it down until you get blanks.
 
Upvote 0
Welcome to MrExcel.

"Edit" option remains available for first 10 minutes or so. While in edit mode, if you cross the time limit then you get another message for getting it approved from admins.

In cell C2:
=OFFSET($A$2,5*(ROW()-2),0)
In cell D2:
=OFFSET($A$3,5*(ROW()-2),0)
And copy it down until you get blanks.
The OFFSET function is a Volatile function and, as such, might be better avoided if possible. Here is a non-Volatile formula that should do the same thing...

C2: =INDEX(A:A,2+5*(ROW()-2),1)

D2: =INDEX(A:A,3+5*(ROW()-2),1)

Copy these down as needed.
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,619
Members
449,238
Latest member
wcbyers

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