Extracting numbers in serial order

ironsides

Well-known Member
Joined
Aug 12, 2002
Messages
575
I have Line 1 column A having 15 numbers. I want to insert 3 columns (B, C and D). Col B to have the first 5 of the numbers that is in col A, Col C to have the middle 5, and Col D to have to last 5. Is there a formula for this? Thank you, Ironsides.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
I took your source spec as column A housing N numbers in a multicell range...
Book3
ABCD
10555
2List0List1List2List3
32297
43384
56602
64451
788015
89   
98
100
115
12
137
144
152
161
1715
Sheet1


A1 must house a 0.

B1:D1 houses the number of items to extract from column A...

B3, copied across then down:

=IF(ROW()-ROW(B$3)+SUM($A$1:A$1)+1<=SUM($A$1:B$1),INDEX($A$3:$A$17,ROW()-ROW(B$3)+SUM($A$1:A$1)+1),"")
 
Upvote 0

Forum statistics

Threads
1,214,789
Messages
6,121,593
Members
449,038
Latest member
Arbind kumar

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