I request help to get a very complex output, so it seems a very complex array formula could be needed.
My inputs are 2 numbers that share a common prefix. The first number is the common prefix and the second has a few numbers more
and I need to get a list expanded up to the second number. This list should contain all possibilities sharing the same prefix.
I dont know if this only could be got using VBA macro or an array formula could do it.
Example:
For the firts case I made a very primitive array formula that expands partially.
This is my formula attemp:
I hope make sense.
Thanks for any help.
My inputs are 2 numbers that share a common prefix. The first number is the common prefix and the second has a few numbers more
and I need to get a list expanded up to the second number. This list should contain all possibilities sharing the same prefix.
I dont know if this only could be got using VBA macro or an array formula could do it.
Example:
Code:
If in [B]A1[/B] = [B]27[/B] and [B]B1[/B] = [B][COLOR=#ff0000]2773[/COLOR][/B] the output list from C1 should be like Output1:
If in [B]A1[/B] = [B]345[/B] and [B]B1[/B] = [COLOR=#ff0000][B]345920[/B][/COLOR] the output list from C1 should be like Output2
Code:
[B]Output 1[/B] [B]Output 2[/B]
270 3450
271 3451
272 3452
273 3453
274 3454
275 3455
276 3456
2770 3457
2771 3458
2772 34590
[COLOR=#ff0000][B]2773[/B][/COLOR] 34591
2774 [COLOR=#ff0000][B]345920[/B][/COLOR]
2775 345921
2776 345922
2777 345923
2778 345924
2779 345925
278 345926
279 345927
345928
345929
34593
34594
34595
34596
34597
34598
34599
For the firts case I made a very primitive array formula that expands partially.
This is my formula attemp:
Code:
C1={SMALL(0+($A$1&(ROW($1:$10)-1)),ROW(A1))}
Thanks for any help.
Last edited: