Help! Equally spaced cell reference

G

geoff1234

Can anyone help with the following please:

On one work sheet I have data equally spaced vertically, ie cell 1 is
A, cell 11 is B, cell 21 is C etc...

On another worksheet I want to make a list of A,B,C... ie 1 maps to 1,
2 maps to 11, 3 maps to 21 and so on.

Is there a way I can automate/autofill this. This is a simplicfication
of the problem but I can't find a way to do it. Any idead?

Cheers

Geoff
 
R

robert111

in macro code cell A1 is cells(1,1)

cell B5 is cells(5,2)

so you need to write a simple macro along the lines of

for j=1 to 1100 step 10
cells(j,1)="A"
next j
end

if your data to be inserted is in a list in column Z try

for j=1 to 1100 step 10
sum=sum+1
cells(j,1)=cells(sum,26)
next j
end
 
R

robert111

in macro code cell A1 is cells(1,1)

cell B5 is cells(5,2)

so you need to write a simple macro along the lines of

for j=1 to 1100 step 10
cells(j,1)="A"
next j
end

if your data to be inserted is in a list in column Z try

for j=1 to 1100 step 10
sum=sum+1
cells(j,1)=cells(sum,26)
next j
end
 
G

geoff1234

Cheers, I'll give it a go. I'd have thought there was a more simpler way
to do it though!
 
G

geoff1234

Cheers, I'll give it a go. I'd have thought there was a more simpler way
to do it though!
 
D

David Biddulph

geoff1234 said:
Can anyone help with the following please:

On one work sheet I have data equally spaced vertically, ie cell 1 is
A, cell 11 is B, cell 21 is C etc...

On another worksheet I want to make a list of A,B,C... ie 1 maps to 1,
2 maps to 11, 3 maps to 21 and so on.

Is there a way I can automate/autofill this. This is a simplicfication
of the problem but I can't find a way to do it. Any idead?

If your 1,2,3 are in A1, A2, A3, etc.
then in B1 use
=1+10*(A1-1)
and copy down.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top