Transposing columns of data

jms2553

Board Regular
Joined
Jun 5, 2002
Messages
107
I have 2 columns of data - both are over 25,000 rows. I need to subtract the number in A25000 from B1, the number in A25499 from B2 and so on.

I can only transpose rows to columns or vice versa and if I try to auto fill the formula, it won't go in reverse. Please help!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Code:
I need to subtract the number in A25000 from B1, the number in A25499 from B2 and so on.
What cells are these formulas going to be placed in?

We should be able to use the INDIRECT function with a calcualtion involving the ROWS function to do what you want.
 
Upvote 0
Maybe...

C1, copied down:

=B1-INDEX($A$1:$A$25499,ROWS($A$1:$A$25499)-ROW()+ROW($A$1))

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,219,161
Messages
6,146,657
Members
450,706
Latest member
LGVBPP

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