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!
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
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
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
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
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
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.
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
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.
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks