Formula - Drag down to get values from the same row.

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,860
Office Version
  1. 365
Platform
  1. Windows
I have values in sheet 2. I need a formula for on sheet 1, so when I drag the formula down it get values from sheet 2 from the same row.
For example,
Sheet2 row1has

02350258026101790180

I want formula to do this.

0235
0258
0261
0179
0180

Please advise.

Thanks.
 
In that case it's best to state then when starting a post. ;)
 
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Or if you did want a formula that you "drag down" rather than one that spills, you could try.

Book1
A
10235
20258
30261
40179
50180
Sheet1
Cell Formulas
RangeFormula
A1:A5A1=INDEX(Sheet2!$A$1:$E$1,ROWS(A$1:A1))

In that case it's best to state then when starting a post. ;)
Yes, I should have mentioned it. But I only found out that TOCOL doesn't work when I tried the function.
 
Upvote 0
But I only found out that TOCOL doesn't work when I tried the function.
.. but if you had said in post 1 that you needed the solution to work in 2021 I would not have even suggested TOCOL.

Whenever you ask a question, if you need/want it to work in any version(s) different to what is shown in your profile then you should say so up front so people do not waste their time on suggestions that are not going to suit your purpose. ;)
 
Upvote 0
@srizki
I have removed the 'Mark as solution' tick from post #13 as it clearly is not the answer to your question. Please mark the actual post that best answered your original question.
 
Upvote 0

Forum statistics

Threads
1,223,604
Messages
6,173,319
Members
452,510
Latest member
RCan29

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