PDA

View Full Version : Dynamic Arrays/ Spilling alternative to type 2 CSE Entry



DocAElstein
02-23-2019, 03:18 PM
I have been made aware by formula Guru and excelforum Moderator Dave (FlameRetired) about planned changes in how Excel handles the so called Array formula CSE stuff
There is likely to be something going under the general name of Dynamic Arrays in the future.

It seems to be only concerned with the sort of CSE stuff often referred to as Type 2 CSE Entry , that is to say the following situation: You have something, ( a formula usually ) , that is returning you a field of results, so in order to see them you have to select an appropriate sized range first then put the formula in and enter it with the famous key combination of Control+Shift and Enter

For example , if I had a formula =A1:B2 , then that has available a 2x2 field of values to give me.
Currently if I want to be sure to get all those I would need to select at range of at least a 2x2 and then do the C S E stuff
For example, what I did to get the next screenshot was
_ put some arbitrary values in cells A1:B2
_ then I highlighted cells C3:E5
_ Typed the formula =A1:B2
_ confirmed with key combination of Control+Shift and Enter
=A1_B2 CSE.JPG : https://imgur.com/Mygbbg3
2174
_____ ( Using Excel 2007 32 bit )
Row\Col
A
B
C
D
E
F

1cell A1 valuecell B1 value


2cell A2 valuecell B2 value


3cell A1 valuecell B1 value
#NV


4cell A2 valuecell B2 value
#NV


5
#NV
#NV
#NV


6
Worksheet: DynamicArrays
_____ ( Using Excel 2007 32 bit )
Row\Col
A
B
C
D
E
F

1cell A1 valuecell B1 value


2cell A2 valuecell B2 value


3=A1:B2=A1:B2
=A1:B2


4=A1:B2=A1:B2
=A1:B2


5
=A1:B2
=A1:B2
=A1:B2


6
Worksheet: DynamicArrays
Note also there that if your chosen area is too small your values will be truncated, and if your chosen area is too large you get those #error things.

Currently if you type a formula that has multiple values available in a cell and just Enter normally, then usually you get an error, or sometimes you might get a single value.

Dynamic Arrays and Spilling
The change that Microsoft is currently planning is give you the full set of values after a normal Enter. They refer to the things as “spilling” : The range of output values automatically “spills” to the right and down to give all your available values.


I suppose if I had never heard of CSE stuff and started from the outset in Excel with the Dynamic Array and Spilling feature, then I doubt I would give it a second thought.
But having finally got my teeth around the whole CSE stuff, especially the type 2 entry, I have found that helpful to get a better understanding of how Excel is working. There are parallels with how some things work in VBA, and I find that further very helpful. Personally I prefer to have the CSE stuff left as it is.
Just my personal preference: I would prefer not to have the new dynamic array/ spilling feature.
By the way, CSE stuff will be kept for backward compatibility , apparently. But I feel that the availability of the Dynamic Array / automatic Spilling will further encourage user ignorance.
I think it is more healthy if users of software are also , at least to some extent, understanders of that software.

Alan


Ref
https://support.office.com/en-us/article/dynamic-array-formulas-vs-legacy-cse-array-formulas-ca421f1b-fbb2-4c99-9924-df571bd4f1b4
https://www.excelforum.com/the-water-cooler/1265329-office-insiders-spill-behavior-and-dynamic-arrays-in-the-2019-release-eek.html
https://www.myonlinetraininghub.com/excel-dynamic-arrays
http://www.excelfox.com/forum/showthread.php/2145-Excel-VBA-Interception-and-Implicit-Intersection-and-VLookUp
https://support.office.com/en-us/article/dynamic-arrays-and-spilled-array-behavior-205c6b06-03ba-4151-89a1-87a7eb36e531
http://www.excelfox.com/forum/showthread.php/2308-Dynamic-Arrays-Spilling-alternative-to-type-2-CSE-Entry?p=10998#post10998
https://www.youtube.com/watch?v=1HF0UGMF070
https://fastexcel.wordpress.com/2019/05/20/compatibility-of-office-365-dynamic-array-formulas/
https://newtonexcelbach.com/2019/05/23/working-with-dynamic-arrays-in-excel/
https://mailchi.mp/9c5dfba0e9c3/zm6lac2418-1484173?e=b8b970d9f5
https://fastexcel.wordpress.com/2019/05/20/compatibility-of-office-365-dynamic-array-formulas/
https://www.eileenslounge.com/viewtopic.php?f=30&t=33843#p262121
https://www.mrexcel.com/board/threads/remove-line-breaks.1120134/page-2#post-5401671
Roy 2020-09-08 13:22:43 https://excelribbon.tips.net/T007820_Replacing_Letters_with_Numbers.html