Need to autofil a formula that is not recognised?

E

edroberts77

ok here goes! I have data in 1 tab... in another tab i want to be able to
show the ratio of sets of columns in tab1

so in theory all i want to do is get show is

B2/C2 D2/E2 F2/G2 H2/I2 AND SO ON....

If i try to autocomplet across the row (i have do do this to 400 sets) excel
will auto using b2/c2 c2/d2 d/e..... is there a way i can get it to skip ?

many thanks
 
P

PCLIVE

Not sure if this is overkill, but you could try something like this.

=INDIRECT(ADDRESS(2,CELL("col",B2)+COLUMN(B2)-2))/INDIRECT(ADDRESS(2,CELL("col",B2)+COLUMN(B2)-1))

HTH,
Paul
 
E

edroberts77

thanks will give it a wirl

PCLIVE said:
Not sure if this is overkill, but you could try something like this.

=INDIRECT(ADDRESS(2,CELL("col",B2)+COLUMN(B2)-2))/INDIRECT(ADDRESS(2,CELL("col",B2)+COLUMN(B2)-1))

HTH,
Paul
 
R

Rick Rothstein \(MVP - VB\)

This should work... put this in any cell and copy across (you can also copy
down)...

=INDEX(Sheet1!2:2,1,2*(COLUMN(A1)))/INDEX(Sheet1!2:2,1,2*(COLUMN(A1))+1)

The 2:2 reference is because you specified row 2 in your sample.

Rick
 
P

Peo Sjoblom

Here's another version


=INDEX(tab1!2:2,,COLUMNS($A$1:A1)*2)/INDEX(tab1!2:2,,COLUMNS($A$1:B1)*2-1)

--


Regards,


Peo Sjoblom
 

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