Newly updated Spill function broke my indexing formula

%3CLINGO-SUB%20id%3D%22lingo-sub-1040745%22%20slang%3D%22en-US%22%3ENewly%20updated%20Spill%20function%20broke%20my%20indexing%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1040745%22%20slang%3D%22en-US%22%3E%3CP%3EI%20use%20the%20formula%20%3CEM%3E%3DINDEX(Column%20I%20want%20value%20returned%20from%2CMATCH(Column%20with%20value%20to%20match%2Cother%20column%20with%20value%20to%20match%2C0))%3C%2FEM%3E%20a%20lot%20in%20my%20work.%20Usually%20to%20return%20a%20value%20for%20the%20price%20stored%20in%20the%20same%20row%20with%20the%20part%20number%20I'm%20looking%20for.%20I%20use%20it%20to%20update%20pricing%20via%20CSV%20export%2Fimport%20for%20online%20stores%20from%20our%20excel%20price%20lists.%20It%20has%20always%20worked%20great.%20Now%20with%20the%20updated%20spill%20function%20it's%20just%20returning%20%3CSTRONG%3E%23SPILL%3C%2FSTRONG%3E%20in%20the%20cells.%20This%20has%20a%20massive%20impact%20on%20my%20work.%20Is%20there%20a%20way%20to%20turn%20off%20the%20feature%20or%20a%20different%20way%20to%20write%20the%20formula%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1040745%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1040989%22%20slang%3D%22en-US%22%3ERe%3A%20Newly%20updated%20Spill%20function%20broke%20my%20indexing%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1040989%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F473810%22%20target%3D%22_blank%22%3E%40DNA_Lab%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20your%20own%20notation%2C%20I%20believe%20you%20need%20to%20write%20the%20formula%20this%20way%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3E%3DINDEX(Column%20I%20want%20value%20returned%20from%2CMATCH(%3CSTRONG%3ECell%3C%2FSTRONG%3E%20with%20value%20to%20match%2CColumn%20with%20value%20to%20match%20from%2C0)%2C1)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EOr%3A%3C%2FEM%3E%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DINDEX(B%3AB%2CMATCH(C1%2CA%3AA%2C0)%2C1)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3Ewhere%20Col%20A%20holds%20part%20numbers%2C%20Col%20B%20prices%20and%20Col%20C%20will%20have%20the%20parts%20for%20which%20you%20want%20to%20match%20the%20prices.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041116%22%20slang%3D%22en-US%22%3ERe%3A%20Newly%20updated%20Spill%20function%20broke%20my%20indexing%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041116%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F473810%22%20target%3D%22_blank%22%3E%40DNA_Lab%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3EDon't%20give%20up%20and%20return%20to%20legacy%20approaches!%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3EThe%20spill%20error%20can%20arise%20because%20there%20is%20insufficient%20white%20space%20to%20output%20the%20spilt%20array%20or%20because%20you%20are%20attempting%20to%20use%20dynamic%20arrays%20from%20within%20an%20Excel%20Table.%26nbsp%3B%20Assuming%20the%20latter%20and%20condensing%20your%20notation%20to%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%20INDEX(%20return_array%2C%20MATCH(%20lookup_value%2C%20lookup_array%2C%200%20)%20)%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Ethe%20formula%20can%20be%20reduced%20to%20a%20single%20lookup%2C%20which%20a%20table%20will%20accept%2C%20by%20inserting%20the%20'%40'%20operator%20to%20give%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%20INDEX(%20return_array%2C%20MATCH(%20%40lookup_value%2C%20lookup_array%2C%200%20)%20)%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CFONT%3EThis%20formula%20will%20propagate%20down%20the%20table%20in%20the%20normal%20manner.%26nbsp%3B%20Using%20structured%20reference%20notation%20this%20is%20the%20same%20as%26nbsp%3B%26nbsp%3B%3CSTRONG%3E%5B%40%5BLookup_Value%5D%5D%20%3C%2FSTRONG%3Ewhere%20the%20text%20now%20refers%20to%20the%20column%20header.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3ESince%20you%20have%20spill%20errors%2C%20you%20will%20also%20have%20access%20to%20the%20XLOOKUP%20function%20that%20largely%20replaces%20INDEX%2FMATCH%20and%20VLOOKUP%2C%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%20XLOOKUP(%20%40lookup_value%2C%20lookup_array%2C%20return_array%20)%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EA%20further%20observation%20is%20that%20if%20the%20formulas%20are%20placed%20outside%20the%20table%20the%20formula%20can%20be%20allowed%20to%20spill.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EAnother%20way%20a%20generating%20a%20%23SPILL!%20error%20is%20to%20use%20entire%20worksheet%20column%20references.%26nbsp%3B%20If%20the%20formula%20is%20placed%20in%20row%201%20it%20will%20return%201048576%20values%2C%20just%20as%20you%20requested%2C%20but%20it%20is%20unlikely%20that%20this%20is%20your%20intention.%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041172%22%20slang%3D%22en-US%22%3ERe%3A%20Newly%20updated%20Spill%20function%20broke%20my%20indexing%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041172%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F214174%22%20target%3D%22_blank%22%3E%40Peter%20Bartholomew%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPeter%2C%20Dynamic%20Arrays%20and%20XLOOKUP%20are%20not%20deploying%20in%20parallel.%20Both%20of%20them%20are%20only%20on%20Insiders%20Fast%20channel.%3C%2FP%3E%0A%3CP%3EDynamic%20Arrays%20are%20additionally%20deployed%20for%20Monthly%20Targeted%20and%20partly%20for%20Monthly%20channels%20and%20Excel%20Online.%20No%20one%20of%20them%20so%20far%20has%20XLOOKUP.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041180%22%20slang%3D%22en-US%22%3ERe%3A%20Newly%20updated%20Spill%20function%20broke%20my%20indexing%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041180%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%20Segei%3C%2FP%3E%3CP%3EThat%20is%20useful%3B%20I%20had%20rather%20lumped%20them%20together%20as%20'dynamic%20array%20functionality'.%26nbsp%3B%20I%20recently%20read%20a%20post%20on%20the%20release%20cycle%2C%20starting%20with%20the%20MS%20internal%20'canary%20ring'%20(presumably%20named%20because%20a%20number%20of%20initiatives%20die%20when%20they%20are%20taken%20further%20down%20the%20mine).%26nbsp%3B%20Are%20you%20aware%20of%20any%20information%20source%20on%20what%20is%20in%20the%20pipeline%20and%20its%20most%20likely%20deployment%20schedule%3F%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20intended%20to%20revert%20my%20licenses%20to%20corporate%20semi-annual%20but%20I%20cannot%20do%20that%20until%20at%20least%20basic%20dynamic%20array%20functionality%20is%20in%20place%2C%20I%20cannot%20visualise%20coping%20without%20it!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041187%22%20slang%3D%22en-US%22%3ERe%3A%20Newly%20updated%20Spill%20function%20broke%20my%20indexing%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041187%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F214174%22%20target%3D%22_blank%22%3E%40Peter%20Bartholomew%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPeter%2C%20main%20source%20of%20information%20is%20Joe%20McDaid%20tweet.%20One%20of%20the%20latest%20is%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fjjmcdaid%2Fstatus%2F1199441292989587456%3Fs%3D21%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftwitter.com%2Fjjmcdaid%2Fstatus%2F1199441292989587456%3Fs%3D21%3C%2FA%3E.%20That's%20not%20about%20plans%20and%20pipelines%2C%20these%20are%20some%20latest%20news%20about%20deployment.%20Some%20later%20similar%20information%20could%20appear%20on%20Office%20Insiders%20site%2Ftwitter.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20for%20the%20plans%20practically%20the%20only%20information%20is%20Microsoft%20365%20roadmap%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fmicrosoft-365%2Froadmap%3Ffilters%3D%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fmicrosoft-365%2Froadmap%3Ffilters%3D%3C%2FA%3E%2C%20unfortunately%20it's%20practically%20nothing%20about%20the%20Excel.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I use the formula =INDEX(Column I want value returned from,MATCH(Column with value to match,other column with value to match,0)) a lot in my work. Usually to return a value for the price stored in the same row with the part number I'm looking for. I use it to update pricing via CSV export/import for online stores from our excel price lists. It has always worked great. Now with the updated spill function it's just returning #SPILL in the cells. This has a massive impact on my work. Is there a way to turn off the feature or a different way to write the formula?

5 Replies

@DNA_Lab 

Using your own notation, I believe you need to write the formula this way:

 

=INDEX(Column I want value returned from,MATCH(Cell with value to match,Column with value to match from,0),1)

 

Or:

=INDEX(B:B,MATCH(C1,A:A,0),1)

where Col A holds part numbers, Col B prices and Col C will have the parts for which you want to match the prices.

@DNA_Lab 

Don't give up and return to legacy approaches!

The spill error can arise because there is insufficient white space to output the spilt array or because you are attempting to use dynamic arrays from within an Excel Table.  Assuming the latter and condensing your notation to

= INDEX( return_array, MATCH( lookup_value, lookup_array, 0 ) )

the formula can be reduced to a single lookup, which a table will accept, by inserting the '@' operator to give

= INDEX( return_array, MATCH( @lookup_value, lookup_array, 0 ) )

This formula will propagate down the table in the normal manner.  Using structured reference notation this is the same as  [@[Lookup_Value]] where the text now refers to the column header.

 

Since you have spill errors, you will also have access to the XLOOKUP function that largely replaces INDEX/MATCH and VLOOKUP,

= XLOOKUP( @lookup_value, lookup_array, return_array )

 

A further observation is that if the formulas are placed outside the table the formula can be allowed to spill.

 

Another way a generating a #SPILL! error is to use entire worksheet column references.  If the formula is placed in row 1 it will return 1048576 values, just as you requested, but it is unlikely that this is your intention.

@Peter Bartholomew 

Peter, Dynamic Arrays and XLOOKUP are not deploying in parallel. Both of them are only on Insiders Fast channel.

Dynamic Arrays are additionally deployed for Monthly Targeted and partly for Monthly channels and Excel Online. No one of them so far has XLOOKUP.

@Sergei Baklan 

Hello Segei

That is useful; I had rather lumped them together as 'dynamic array functionality'.  I recently read a post on the release cycle, starting with the MS internal 'canary ring' (presumably named because a number of initiatives die when they are taken further down the mine).  Are you aware of any information source on what is in the pipeline and its most likely deployment schedule? 

I had intended to revert my licenses to corporate semi-annual but I cannot do that until at least basic dynamic array functionality is in place, I cannot visualise coping without it!

@Peter Bartholomew 

Peter, main source of information is Joe McDaid tweet. One of the latest is https://twitter.com/jjmcdaid/status/1199441292989587456?s=21. That's not about plans and pipelines, these are some latest news about deployment. Some later similar information could appear on Office Insiders site/twitter.

 

As for the plans practically the only information is Microsoft 365 roadmap https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=, unfortunately it's practically nothing about the Excel.