Increasing Cell

jmsutod

New Member
Joined
Jun 28, 2011
Messages
5
I have two worksheets. One has a list of account numbers, and sheet two needs to have nine itterations of that account number. While being extremely naive, I tried this:

=Sheet2!$A$2$ (for the first nine iterations of the first account number)
=Sheet2!$A(2+b1) (B was the column I was going to run single digits down to increase the value).

It ended in a collosal mess...so what I'm trying to figure out how to do, is get nine iterations of each account number from sheet 2 to appear in column 1 of sheet 1 without having to do it manually (there are 300 of these babies).

Thanks!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Welcome to the board...

Try

=INDEX(Sheet2!A:A,ROUNDUP((ROWS(A$1:A1))/9,0)-1+2)

I know the -1+2 seems silly, but it's there to help understand formula for adjustment purposes.
There's a reason for the madness

the 9 represents the interval - every 9 rows
the 2 represents the row to begin in.
DO NOT CHANGE the A$1:A1 part, it has nothing to do with the location of your data.


Hope that helps.
 
Upvote 0
Amazing...sigh, I wish I were smart and good looking...

Yes, I wish you were too...:LOL:

Just kidding.

Don't feel bad, this was not an easy easy thing to do in Excel.
I only responded so quickly because I've done it before...

Glad to help.
 
Upvote 0

Forum statistics

Threads
1,215,391
Messages
6,124,673
Members
449,178
Latest member
Emilou

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