Was using the following formula for sometime now and suddenly it's stopped giving me the results and I'm hoping someone can help. It's to return a number from the "CUSTOMERS" sheet that is now giving an #NAME? error. I don't recall how the _xlfn.SWITCH was to play a part in the formula?
=IFNA(INDEX(_xlfn.SWITCH(E656,"Sets FOB",CUSTOMERS!$B:$B,"Part/Colour",CUSTOMERS!$C:$C,"FMA",CUSTOMERS!$D:$D,"Sets Installed",CUSTOMERS!$E:$E,"Full",CUSTOMERS!$F:$F,"Cartridge",CUSTOMERS!$G:$G,"Direct Ship",CUSTOMERS!$H:$H,"MG",CUSTOMERS!$I:$I),MATCH(D656,CUSTOMERS!$A:$A,0)),"")
Any help would be appreciated.
Thank you.
=IFNA(INDEX(_xlfn.SWITCH(E656,"Sets FOB",CUSTOMERS!$B:$B,"Part/Colour",CUSTOMERS!$C:$C,"FMA",CUSTOMERS!$D:$D,"Sets Installed",CUSTOMERS!$E:$E,"Full",CUSTOMERS!$F:$F,"Cartridge",CUSTOMERS!$G:$G,"Direct Ship",CUSTOMERS!$H:$H,"MG",CUSTOMERS!$I:$I),MATCH(D656,CUSTOMERS!$A:$A,0)),"")
Any help would be appreciated.
Thank you.