Althoug I changed {1,2,3}
to
ROW(B$1:INDEX(B:B,LEN(A1)))
That produces an array of numbers from 1 to the # of Characters in A1.
So if A1 is 10 characters long, that would produce
{1,2,3,4,5,6,7,8,9,10}
If A1 is only 4 characters long, it would be {1,2,3,4}
Hope that helps.
Note, this is also an example of a circular reference...
The -- is coercing numbers stored as text to actual numbers. So the formula is finding the first consecutive number in the string by being larger than the largest possible value 999.
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.