Forum Discussion
Array formula not working in my computer
- Sep 01, 2017
Hi,
It is working !! The syntax was wrong.
=IFERROR(INDEX(names;SMALL(IF(groups=$E5; ROW(names)-MIN(ROW(names))+1);COLUMNS($E$5:E5)));"")
This worked. The snytax on this excel was seperated by semi colons and not commas.
Thanks and best regards,
365 works with arrays natively, on practice you may forget about old style array formulas.
However, if you Ctrl+Shift+Enter formula in 365 it returns only first elements of the array. For example, {=SEQUENCE(4)} returns single element 1.
https://www.bing.com/videos/search?q=excel+rows+does+not+work+in+arry+function&docid=608008378289452945&mid=225508992978832E475F225508992978832E475F&view=detail&FORM=VIRE&msclkid=eeca77e3b43211ecac1e1d8a6f8b7e87
For those who have the similar issues, it is good choice!
Chuck
- PeterBartholomew1Apr 04, 2022Silver Contributor
Sorry, but I disagree. To use 365 as if nothing has changed is a dreadful choice. True Mike Girvin puts out some great material with more tricks than a cart load of monkeys, but the game has changed. All of the time-honoured tricks with AGGREGATE (to compress a list of indices) and ROW (to generate a sequence of numbers) are no longer needed.
= FILTER(Table, (SalesRep=SelectedRep)*(Date=selectedDate))is neater or, padding it out
= LET( repCriterion, (SalesRep=selectedRep)+(selectedRep=""), dateCriterion, (Date=selectedDate)+(selectedDate=""), FILTER(Table, repCriterion*dateCriterion) )is more flexible in terms of catering for omitted criteria. Similarly, Mike's other formula would now be
= TAKE(SORTBY(UnitsRep, Units,-1), Top) or, failing that, = INDEX( SORTBY(UnitsRep, Units,-1), SEQUENCE(Top), {1,2} ) - SergeiBaklanApr 04, 2022Diamond Contributor
Yes, AGGREGATE always works, it is natively works with arrays. However, with 365 you may use dynamic arrays or Power Query. If not to be complex, as in attached file
- california2007Apr 04, 2022Copper ContributorThanks