+ Reply to Thread
Results 1 to 11 of 11

Discussion: creative ways to avoid CSE in Excel when arrays are needed

  1. #1
    Forum Contributor
    Join Date
    06-12-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    132

    Discussion: creative ways to avoid CSE in Excel when arrays are needed

    Title pretty much says it all. Just wondering about different ways to use certain functions to avoid having to enter array formulas (ctrl+shift+enter). I know 'sumproduct' is used to do so sometimes. Thanks!
    Last edited by AliGW; 12-28-2020 at 04:01 AM. Reason: Title updated

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Is there a thread that discusses creative ways to avoid array formulas?

    SUMPRODUCT can indeed be used to avoid array formulas in some instances. In later versions of Excel there is lots of using AGGREGATE to avoid arrays in s ome instances too.

    How to avoid arrays is very much dependent on what exactly you're trying to accomplish...

    BSB

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Is there a thread that discusses creative ways to avoid array formulas?

    Another way might be to use helper columns to do some of the calcs, then base other calcs off the helpers
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Is there a thread that discusses creative ways to avoid array formulas?

    OTOH SUMPRODUCT is an array formula but does not need the CSE...
    What are you trying to avoid? The CSE operation or the use of array formulas ( which are said to slow down sheets which is not always the case) ?
    Our friend XOR has some interesting views on the subject https://excelxor.com/2014/09/01/inde...mulas/#more-13

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,996

    Re: Is there a thread that discusses creative ways to avoid array formulas?

    Or upgrade to O365, where array entry is no longer required.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Forum Contributor
    Join Date
    06-12-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    132

    Re: Is there a thread that discusses creative ways to avoid array formulas?

    Quote Originally Posted by Pepe Le Mokko View Post
    OTOH SUMPRODUCT is an array formula but does not need the CSE...
    What are you trying to avoid? The CSE operation or the use of array formulas ( which are said to slow down sheets which is not always the case) ?
    Our friend XOR has some interesting views on the subject https://excelxor.com/2014/09/01/inde...mulas/#more-13
    Point taken. Trying to avoid CSE.

  7. #7
    Forum Contributor
    Join Date
    06-12-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    132

    Re: Is there a thread that discusses creative ways to avoid array formulas?

    Quote Originally Posted by Glenn Kennedy View Post
    Or upgrade to O365, where array entry is no longer required.
    Unfortunately can't upgrade.

  8. #8
    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,619

    Re: Discussion: creative ways to avoid CSE in Excel when arrays are needed

    Thread retitled and moved to a more appropriate forum section.
    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.

  9. #9
    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,619

    Re: Discussion: creative ways to avoid CSE in Excel when arrays are needed

    Many members offer AGGREGATE solutions to circumvent CSE issues. Here's a link to some YouTube tutorials that I noticed Caracalla had posted in another thread yesterday: https://www.youtube.com/user/ExcelIs...uery=aggregate

  10. #10
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Discussion: creative ways to avoid CSE in Excel when arrays are needed

    When you finally get the latest Excel with spilled formulas, you won't need [Ctrl]+[Shift]+[Enter] except to constrain array results to given ranges.

    That said, why avoid array formula entry? There's a misconception that array formulas are slower than alternatives. That's seldom the case unless calling the same match or lookup function multiple times.

  11. #11
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Is there a thread that discusses creative ways to avoid array formulas?

    A great many functions don't need [Ctrl]+[Shift]+[Enter] as long as one avoids using IF or, oddly, matrix functions like MMULT and TRANSPOSE, which are usually rather useless not entered as array formulas, generally speaking.

    For example, if using a version which lacks MINIFS, =MIN(INDEX(NOT(array_condition)*1E300+array_values,0)) should work to return the conditional minimum, but the array formula =MIN(IF(array_condition,array_values)) should be more efficient in terms of both memory usage and recalc time.

+ 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. [SOLVED] 2 ways array with multiple returns
    By Vibov in forum Excel General
    Replies: 1
    Last Post: 11-24-2020, 09:34 AM
  2. [SOLVED] How to avoid array formula ?
    By siroopm in forum Excel General
    Replies: 7
    Last Post: 03-14-2019, 08:14 AM
  3. [SOLVED] Avoid an Array Function by using Sumproduct
    By ibuhary in forum Excel General
    Replies: 8
    Last Post: 08-28-2018, 03:04 PM
  4. [SOLVED] Can I avoid Hyperlink formulas with #VALUE errors?
    By Enigmafish14 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2013, 08:12 PM
  5. Is there a way to avoid using an array?
    By jram in forum Excel General
    Replies: 0
    Last Post: 04-26-2011, 09:05 PM
  6. Creative Ways for a year-to-year comparison???
    By ridonkulous5 in forum Excel General
    Replies: 1
    Last Post: 03-23-2011, 01:27 AM
  7. Avoid copying formulas from one cell to another
    By ravichander in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-12-2009, 08:42 PM

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