formula to copy data from left to right

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,566
Office Version
  1. 2021
Platform
  1. Windows
I have the following data in b2:B6. I have the on several sheet and want to


Book1
AB
1Ageing
20-306515
330-609025
460-90825
590-1201005
6>120927
Sheet1



I have summary sheet and have tried to use an Index formula to extra the data going across from Left to Right, but only get the correct value for 0-30



It would be appreciated if someone could kindly assist me



Book1
BCDEF
10-3030-6060-9090-120>120
265156515651565156515
3
Summary
Cell Formulas
RangeFormula
B2=INDEX(Sheet1!$B3:$B3,ROWS(Sheet1!3:3)-ROWS(Sheet1!3:3)+1)
C2=INDEX(Sheet1!$B3:$B3,ROWS(Sheet1!3:3)-ROWS(Sheet1!3:3)+1)
D2=INDEX(Sheet1!$B3:$B3,ROWS(Sheet1!3:3)-ROWS(Sheet1!3:3)+1)
E2=INDEX(Sheet1!$B3:$B3,ROWS(Sheet1!3:3)-ROWS(Sheet1!3:3)+1)
F2=INDEX(Sheet1!$B3:$B3,ROWS(Sheet1!3:3)-ROWS(Sheet1!3:3)+1)
 
Last edited:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Try '=vlookup(B$1,Sheet1!$a$1:$b$6,2,false)' in your cell B2. Drag across to f2. You would then copy it down, changing Sheet1 to the right name on each row.
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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