Nest formula.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,404
Office Version
  1. 2007
Platform
  1. Windows
I'm looking for a formula that can nest multiple numbers within.
For example if I type 200 in A1 it will return in B1:E1 ( 3,15,62,73 ) in separated cells, if I type 101 in A1 it would return in B1:C1 ( 1,5 ) etc…

Reference :
200 : 3,15,62,73
110 : 7,8,36,42,56
101 : 1,5

258.PNG
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi

Excel 365

=IF(A1=200,{3\15\62\73},IF(A1=110,{7\8\36\42\56},IF(A1=41,{1\5},"")))
 
Upvote 0
Hi ISY, Thank you for the formula but it return a error message !!!
 
Upvote 0
Hi


The formulas of the previous versions do not have this possibility
 
Upvote 0
Does someone have an idea how to make it work for 2007 version ?
 
Upvote 0
Would this formula work with excel 2010 ??

=IF(A1=200,{3\15\62\73},IF(A1=110,{7\8\36\42\56},IF(A1=41,{1\5},"")))
 
Upvote 0
Is there another formula that would give me the same result ?
Thank you.
 
Upvote 0
Hi everyone, I really need this formula, can someone help me with this, for Excel 2007, Please, Thank you.
 
Upvote 0
Book1
MNOPQRSTUVWXY
20
212003,15,62,73
221107,8,36,42,56
231011,510115
24
25
26
27
Sheet1
Cell Formulas
RangeFormula
R23:V23R23=IFERROR(TRANSPOSE(MID(SUBSTITUTE(INDEX(N21:N23,MATCH(Q23,M21:M23,0)),",",REPT(" ",LEN(INDEX(N21:N23,MATCH(Q23,M21:M23,0))))),(ROW(A1:A5)-ROW(A1))*LEN(INDEX(N21:N23,MATCH(Q23,M21:M23,0)))+1,LEN(INDEX(N21:N23,MATCH(Q23,M21:M23,0)))))+0,"")
Dynamic array formulas.


Please use fill option in after pressing Ctrl+Shift+Enter
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,816
Members
449,049
Latest member
cybersurfer5000

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