+ Reply to Thread
Results 1 to 15 of 15

Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

  1. #1
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    These links describe a new feature coming in the 2019 release of Excel.

    Dynamic arrays are discussed here. https://support.office.com/en-us/art...4-df571bd4f1b4


    Please note:
    Any new formulas that return more than 1 result will automatically spill. There's no need to Press Ctrl+Shift+Enter.
    and this
    Can be easily modified by changing the source cell, whereas CSE array formulas require that the entire range be edited simultaneously.
    That apparently reflects MicroSoft's concept of how legacy array formulas are supposed to be committed ... whole range CSE.

    Then here Dynamic arrays and spilled array behavior

    is this quote:

    Only the first cell in the spill area is editable. If you select another cell in the spill area, the formula will be visible in the formula bar, but the text is "ghosted", and can't be changed. If you need to update the formula, you should select the top-left cell in the array range, change it as needed, then Excel will automatically update the rest of the spill area for you when you press Enter.


    Perhaps I am reading too much into all this, but it sounds like some of the most undesirable characteristics of whole range commitment CSE will become automatic (and not optional) with this "spilling" behavior.

    Can any Office Insiders enlighten me?
    Last edited by FlameRetired; 02-20-2019 at 10:53 AM.
    Dave

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,863

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    I'm not sure this will be as bad as you think. The majority (?) of CSE formulae will return an error if not confirmed that way. Perhaps I'm reading too little into this?

    It will only affect those with the newest versions of the software, so people still running legacy versions will still need to know how to use CSE.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    Thank you Ali.
    It will only affect those with the newest versions of the software, so people still running legacy versions will still need to know how to use CSE.
    Yes my concern is that I have 365 and as I understand it will be upgraded automatically to 2019 version sometime in the near future.

    The majority (?) of CSE formulae will return an error if not confirmed that way.
    I guess I didn't clarify something well. By committing the whole range CSE I mean selecting the whole target range and then from edit mode committing CSE all at once. Reading MS instructions on committing CSE have always(?) included those instructions.

    I find several reasons not to do it that way, and from what I gather I am not alone. My concern is that with the MS concept of how array formulas are committed they may not see the downsides ... that they think this is normal behavior.

    Again maybe I am reading too much into this. I hope so.
    Only the first cell in the spill area is editable. If you select another cell in the spill area, the formula will be visible in the formula bar, but the text is "ghosted", and can't be changed. If you need to update the formula, you should select the top-left cell in the array range, change it as needed, then Excel will automatically update the rest of the spill area for you when you press Enter.
    Any way thank you for looking at this and commenting.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,863

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    Yes my concern is that I have 365 and as I understand it will be upgraded automatically to 2019 version sometime in the near future.
    Your 365 subscription will never morph into the 2019 standalone version! Certainly it will have the newest features and functions.

    As for the downside, I am afraid I am not following you. Sorry!

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    Again Ali thank you.

    I was hoping there might be someone Office Insider who had experience with these new spilling behaviors.

    (I also think I needed to calm down before starting this thread. LOL )

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,863

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    LOL!!! It'll all be OK, Dave.

    Mynda Treacy talked about it in one of her newsletters last year. Not sure if this is available to all, but I'll give it a go: https://www.myonlinetraininghub.com/...dynamic-arrays

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    You'll get a #SPILL! error if any data is going to be overwritten.
    If posting code please use code tags, see here.

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    Thank you for the link Ali.

    And yes she mentions
    Previously we would have to select cells A1:A4 prior to entering the ROW formula and then press CTRL+SHIFT+ENTER to return the array. I think you’ll agree it’s now far simpler.
    I am rather surprised that this is such common practice. What I am accustomed to is committing the array formula in one cell and then filling down as with any other formula. You can edit, delete, and insert rows at will.

    Since as Mynda confirms:
    Also notice in the formula bar above that there aren’t any curly braces around the formula to indicate it’s an array formula. And when I move my cell selection away from A1 you can see the formula bar now contains a ghosted formula, indicating I can’t modify it.
    I am concerned that those of us fond of array formulas (and the fill down method above) are about to be "herded" into a box we are not going to like. There are a lot of us.

    Perhaps I'll just have to wait and see. Or again maybe I'm reading too much into this.
    Last edited by FlameRetired; 02-20-2019 at 06:45 PM.

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    Quote Originally Posted by Norie View Post
    You'll get a #SPILL! error if any data is going to be overwritten.
    Yes and thank you. I read that, too. It sounds like a promising feature.
    Last edited by FlameRetired; 02-20-2019 at 06:50 PM.

  10. #10
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    There is a big difference between an array formula that returns one result, which is then copied down multiple cells, and one formula array entered into multiple cells to return multiple results.
    Rory

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,863

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    I am concerned that those of us fond of array formulas (and the fill down method above) are about to be "herded" into a box we are not going to like. There are a lot of us.
    That's often the price of progress, and not liking something is usually a symptom of having to get used to working a bit differently - you get there eventually and sometimes end up liking it. I tend to go with the flow.

    By the way, I use the copy down method, too, but I have no problem with this concept: it seems similar to me to the current TRANSPOSE formula.
    Last edited by AliGW; 02-21-2019 at 03:41 AM.

  12. #12
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    I agree with FlameRetired. If true, this will not be something I will consider an improvement; a restriction, more like.

    I too have always preferred to commit an array formula to a single cell and then copy down. As well as the practical benefits mentioned by FlameRetired in post #8, I can also think of at least one other significant difference between the two practices: take the following construction for returning entries which match certain criteria (perhaps one of the most common requests on this forum):

    =INDEX(B:B,SMALL(IF(A$1:A$10="X",ROW(B$1:B$10)),ROWS($1:1)))

    works fine as a single-cell array formula and copied down, though not as the equivalent multi-cell version, since (at least as of now) the ROWS construction is not processed as desired.

    This will work as a multi-cell version:

    =INDEX(B:B,SMALL(IF(A$1:A$10="X",ROW(B$1:B$10)),ROW()))

    though unqualified ROW() constructions are hardly rigorous (to put it mildly), even less so if we have to offset them with hard-coded constants, e.g. ROW()-7, etc. to account for the row in which the formula lies. (https://excelxor.com/2014/08/25/row-...er-generation/)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  13. #13
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    Neither of those formulas will spill since they only return one value. The spilling only occurs for a formula that returns multiple results - eg if you changed that last one to:

    =INDEX(B:B,SMALL(IF(A$1:A$10="X",ROW(B$1:B$10)),ROW(A1:A10)))

    it would spill to 10 rows.

  14. #14
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    Ah, ok, thanks. I'd misunderstood.

    Cheers

  15. #15
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Office Insiders: SPILL behavior and "dynamic" arrays in the 2019 release. :eek:

    Quote Originally Posted by rorya View Post
    Neither of those formulas will spill since they only return one value. The spilling only occurs for a formula that returns multiple results - eg if you changed that last one to:

    =INDEX(B:B,SMALL(IF(A$1:A$10="X",ROW(B$1:B$10)),ROW(A1:A10)))

    it would spill to 10 rows.
    Thank you Rory for that. It's beginning to sound like I have read too much into the description of this feature.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 03-09-2016, 12:17 PM
  2. Replies: 4
    Last Post: 06-15-2012, 03:00 AM
  3. How to change "From" & to have a dynamic "Subject" line in Excel Mailing
    By andy_iyeng in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2012, 03:04 AM
  4. Opening excel in office 2010 and not office "starter"
    By AlisonK in forum Excel General
    Replies: 3
    Last Post: 03-02-2012, 10:01 AM
  5. allowing larger font charactrers to "spill over" into the cell above
    By luv2glyd in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-05-2010, 02:00 PM
  6. Difference between "Office.Interop" and "Office.Tools"
    By serhio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2008, 08:52 AM
  7. Replies: 0
    Last Post: 01-21-2006, 03:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1