Extracting certain data from merged cell into unmerged cells

bamacwby

New Member
Joined
Sep 27, 2008
Messages
37
Office Version
  1. 365
If I have cells A1 & B1 merged with the data 1957 in that merged cell, how can I put the 1 into cell A4, the 9 in cell B4, 5 in C4 and 7 in D4? Also if I have the same data (1957) in cell M3 how can I put a single digit in a single cell, like A9 and so on? Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
@bamacwby Does this help?

Book1
ABCDEFGHIJKLM
11957
2
3
419571957
5
6
7
8
91957
10
Sheet4
Cell Formulas
RangeFormula
A4:D4A4=MID($A1,COLUMN(A4:D4),1)
A9:D9A9=MID($M4,COLUMN(A4:D4),1)
Dynamic array formulas.
 
Upvote 0
Solution
Another option.
Book1
ABCDEFGHIJKLM
11957
2
31957
41957
5
6
7
8
91957
10
Sheet7
Cell Formulas
RangeFormula
A4:D4A4=MID(A1,SEQUENCE(,LEN(A1)),1)
A9:D9A9=MID(M3,SEQUENCE(,LEN(M3)),1)
Dynamic array formulas.
 
Upvote 0
Just put the sheet name before the cell reference like 'Sheet 1'!A1
 
Upvote 0
@bamacwby Does this help?

Book1
ABCDEFGHIJKLM
11957
2
3
419571957
5
6
7
8
91957
10
Sheet4
Cell Formulas
RangeFormula
A4:D4A4=MID($A1,COLUMN(A4:D4),1)
A9:D9A9=MID($M4,COLUMN(A4:D4),1)
Dynamic array formulas.
Snakeships,
When I typed the formula +mid('engine formulas'!m3,column(engine!z5:ad5),1) I've got ## in cell z5 with the error of "we can't spill into merged cell" How do I correct this?
 
Upvote 0
You must have a merged cell 'obstructing' the spilling/displaying of the resultant array of that formula.
Similar to having another formula or hard written value in a cell that is too close to the elected spill result.

Check that there is not an unexpected random merged cell an underage it.
If there is a merged cell that is a requisite part of your data layout then you will need to adjust to suit.
 
Upvote 0
Another option.
Book1
ABCDEFGHIJKLM
11957
2
31957
41957
5
6
7
8
91957
10
Sheet7
Cell Formulas
RangeFormula
A4:D4A4=MID(A1,SEQUENCE(,LEN(A1)),1)
A9:D9A9=MID(M3,SEQUENCE(,LEN(M3)),1)
Dynamic array formulas.
now, another question, can i put the same formula in cell d10 and have it go right to left if I have a 0 in cell m4? because sometimes the data in m4 might be 4 or 5 digits
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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