How do I adjust a formula.

tweacle

Rules violation
Joined
Nov 8, 2005
Messages
382
Hi

Ive got the formula of

=INDEX($BA$1:$CT$1,ROWS($A$6:A28))&" "&INDEX($BA$2:$CT$2,ROWS($A$6:A28))

which I believe takes the data from cells BA1-CT1 and also from BA2 to CT2 and works it way down the rows on a page. What Im trying to do is get the data starting from BA3 and copy all the way down the sheet as It is with other formula. The only thing is it will always be row 3 and just the one row.

Any Ideas?

Thanks
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Without seeing some sample data and how it's laid out it's a bit difficult to advise.
And this is not clear:
What I'm trying to do is get the data starting from BA3 and copy all the way down the sheet as It is with other formula. The only thing is it will always be row 3 and just the one row.

Are you wanting the formula to return values from the range from BA3:CT3 to BA??:CT?? as you copy it down?
If so, do you not need to remove the $ cell anchors from $BA$1:$CT$1 and $BA$2:$CT$2 in the INDEX functions?

Remember that the row and column arguments of INDEX (you have only the row argument) are telling it the position within a rectangular range (the intersection of row / column) from which to return a value.

As =Rows($A$6:A28) returns a minimum of 23 (=28-6), your current formula will ALWAYS:

  1. return the 23rd+ value from the left in $BA$1:$CT$1 with the 1st INDEX based on the ever-increasing count of rows from $A$6:A28+ as the formula is copied down
    and works it way down the rows on a page.
  2. return the 23rd+ value from the left in $BA$2:$CT$2 with the 2nd INDEX, based on the ever increasing-count of rows from $A$6:A28+ as the formula is copied down.
    and works it way down the rows on a page.



BTW I don't think this is what you're asking but as an aside, you could simplify your current formula by making:

  • BA3 = B1 & " " B2 then copying it across to CT3
  • ?? =INDEX($BA$3:$CT$3,ROWS($A$6:A28))
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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