narnian_uk
New Member
- Joined
- Jul 28, 2021
- Messages
- 21
- Office Version
- 365
- Platform
- Windows
- MacOS
I have an array which looks like this (but any of the elements could contain any positive value or zero, and there could be fewer or more rows; this is just an example):
I'm trying to write a formula which spreads the values in the above array evenly across three columns so that it ends up looking like this (I'll only show the final seven columns in order to make the screenshot large enough to be visible):
I had initially assumed that I could perhaps use something like =IF(array>0, CHOOSE({1,2,3},array/3,array/3,array/3),) - but that just produces an #N/A (I assume it's the equivalent of some kind of spill error).
I'd very much appreciate any thoughts you might have (including 'can't be done, stop wasting your time')!
I'm trying to write a formula which spreads the values in the above array evenly across three columns so that it ends up looking like this (I'll only show the final seven columns in order to make the screenshot large enough to be visible):
I had initially assumed that I could perhaps use something like =IF(array>0, CHOOSE({1,2,3},array/3,array/3,array/3),) - but that just produces an #N/A (I assume it's the equivalent of some kind of spill error).
I'd very much appreciate any thoughts you might have (including 'can't be done, stop wasting your time')!