SOLVED

Index Match #NA error

%3CLINGO-SUB%20id%3D%22lingo-sub-3349527%22%20slang%3D%22en-US%22%3EIndex%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3349527%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20you%20can%20help%20me...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20office%20excel%202019%20(so%20use%20ctrl%2Bshift%2Benter%20to%20enter%20my%20index%20match%20formula).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%203%20array%20sheets%20as%20reference%20and%2025%20product%20sheets%20with%20the%20exact%20same%20format%20and%20design%20where%20I%20added%20my%20formulas.%20Each%20product%20sheet%20is%20for%20a%20different%20product%2C%20and%20pulls%20the%20product%20data%20from%20the%20correct%20array%20sheet%20depending%20on%20the%20data%20needed.%20The%20idea%20was%20to%20automate%20creating%20those%20admin%20documents.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20all%20working%20properly%20except%20for%203%20sheets...%20they%20are%20all%203%20displaying%20the%20same%20N%2FA%20error%20for%20all%20the%20index%2Fmatch%20formulas%20I%20have%20used%20(the%20other%20types%20of%20formula%20work).%20I%20have%20checked%20the%20array%20sheets%20and%20the%20format%20is%20the%20same%20as%20for%20the%20other%20products%20sheets%2C%20so%20I%20don't%20understand%20why%20it%20would%20work%20for%20all%20the%20sheets%20but%20those%203!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20have%20any%20idea%20why%20it%20would%20not%20pull%20properly%20for%20some%20sheets%20only%2C%20and%20what%20would%20be%20the%20solution%3F%20%3CLI-EMOJI%20id%3D%22lia_confused-face%22%20title%3D%22%3Aconfused_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20below%20screenshot%20for%20unsuccessful%20sheet%20and%20successful%20sheet%20example%2C%20as%20well%20as%20the%20array%20sheet%20I%20am%20pulling%20from%20for%20the%20exact%20formula%20selected%20on%20both%20successful%20and%20unsuccessful%20examples.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%2C%20I%20would%20have%20liked%20to%20upload%20my%20file%20here%20but%20I%20don't%20have%20the%20option!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EUnsuccessful%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22marinamos_2-1652174270359.png%22%20style%3D%22width%3A%20556px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370439i30146DF4444A7720%2Fimage-dimensions%2F556x339%3Fv%3Dv2%22%20width%3D%22556%22%20height%3D%22339%22%20role%3D%22button%22%20title%3D%22marinamos_2-1652174270359.png%22%20alt%3D%22marinamos_2-1652174270359.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ESuccessful%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22marinamos_3-1652174308575.png%22%20style%3D%22width%3A%20554px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370440iA2D7623BF28C9640%2Fimage-dimensions%2F554x342%3Fv%3Dv2%22%20width%3D%22554%22%20height%3D%22342%22%20role%3D%22button%22%20title%3D%22marinamos_3-1652174308575.png%22%20alt%3D%22marinamos_3-1652174308575.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EArray%20sheet%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22marinamos_4-1652174471134.png%22%20style%3D%22width%3A%20465px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370441iFA9296CB290BB563%2Fimage-dimensions%2F465x331%3Fv%3Dv2%22%20width%3D%22465%22%20height%3D%22331%22%20role%3D%22button%22%20title%3D%22marinamos_4-1652174471134.png%22%20alt%3D%22marinamos_4-1652174471134.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot%20in%20advance!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3349527%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3349625%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3349625%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1384877%22%20target%3D%22_blank%22%3E%40marinamos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20make%20a%20sample%20workbook%20(without%20sensitive%20data)%20available%20through%20OneDrive%2C%20Google%20Drive%2C%20Dropbox%20or%20similar.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3350177%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3350177%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F127945%22%20target%3D%22_blank%22%3E%40Hans%20Vogelaar%3C%2FA%3E%26nbsp%3BHere%20you%20go!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1H8rV29DZKWEWR9NXHNrzzwUI_c9pjxyA%2Fedit%3Fusp%3Dsharing%26amp%3Bouid%3D112757543183169338601%26amp%3Brtpof%3Dtrue%26amp%3Bsd%3Dtrue%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1H8rV29DZKWEWR9NXHNrzzwUI_c9pjxyA%2Fedit%3Fusp%3Dsharing%26amp%3Bouid%3D112757543183169338601%26amp%3Brtpof%3Dtrue%26amp%3Bsd%3Dtrue%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%20a%20lot%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3350233%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3350233%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1384877%22%20target%3D%22_blank%22%3E%40marinamos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20share%20the%20workbook%20-%20I%20currently%20get%20%22Access%20Denied%22.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3350304%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3350304%22%20slang%3D%22en-US%22%3E%3CP%20data-unlink%3D%22true%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1384877%22%20target%3D%22_blank%22%3E%40marinamos%3C%2FA%3E%26nbsp%3B%20posted%3A%26nbsp%3B%20https%3A%2F%2Fdocs.google.com%2F%3CFONT%20color%3D%22%23DF0000%22%3Espreadsheets%3C%2FFONT%3E%2F....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGoogle%20Sheets%20is%20not%20an%20Excel.%26nbsp%3B%20I%20don't%20believe%20an%20Excel%20file%20uploaded%20to%20Google%20Sheets%20is%20the%20%3CU%3E%3CEM%3Eoriginal%3C%2FEM%3E%3C%2FU%3E%20Excel%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20%22must%22%20use%20Google%20for%20file-sharing%2C%20upload%20to%20%3CFONT%20color%3D%22%23DF0000%22%3Edrive%3C%2FFONT%3E.google.com%2C%20not%20docs.google.com.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20prefer%20an%20%22unaware%22%20file-sharing%20website%20like%20box.net%2Ffiles%20or%20dropbox.com.%26nbsp%3B%20Then%20I'm%20confident%20that%20the%20file%20is%20not%20changed%20by%20%22smart%22%20software.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3350369%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3350369%22%20slang%3D%22en-US%22%3Eits%20a%20drive%20link%2C%20it%20does%20say%20docs.google%20but%20when%20getting%20access%20you%20can%20download%20the%20file!%20I%20tried%20the%20link%20with%20other%20people%20and%20it%20should%20work%20correctly!%20please%20let%20me%20know%20if%20you%20get%20access%20to%20it%3F%20thanks%20a%20lot%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3350388%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3350388%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1384877%22%20target%3D%22_blank%22%3E%40marinamos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20still%20get%20Access%20Denied.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3350458%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3350458%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F127945%22%20target%3D%22_blank%22%3E%40Hans%20Vogelaar%3C%2FA%3E%26nbsp%3Bsorry%20for%20that%2C%20I%20gave%20full%20access%20now%2C%20maybe%20now%20it%20works%3F%20%3CLI-EMOJI%20id%3D%22lia_confused-face%22%20title%3D%22%3Aconfused_face%3A%22%3E%3C%2FLI-EMOJI%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1H8rV29DZKWEWR9NXHNrzzwUI_c9pjxyA%2Fedit%3Fusp%3Dsharing%26amp%3Bouid%3D112757543183169338601%26amp%3Brtpof%3Dtrue%26amp%3Bsd%3Dtrue%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1H8rV29DZKWEWR9NXHNrzzwUI_c9pjxyA%2Fedit%3Fusp%3Dsharing%26amp%3Bouid%3D112757543183169338601%26amp%3Brtpof%3Dtrue%26amp%3Bsd%3Dtrue%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3350487%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3350487%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1384877%22%20target%3D%22_blank%22%3E%40marinamos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DLEFT(T5%2C9)%20returns%20%22SK386IVO%20%22%2C%20with%20a%20space%20at%20the%20end.%20The%20POs%20sheet%20has%20%22SK386IVO%22%20without%20a%20space.%3C%2FP%3E%0A%3CP%3EIf%20you%20change%20the%20formula%20to%20%3DTRIM(LEFT(T5%2C9))%20to%20remove%20the%20trailing%20space%2C%20it'll%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3351209%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3351209%22%20slang%3D%22en-US%22%3EThank%20you%20very%20much%20Hans!!%20I%20will%20use%20trim%20going%20forward%2C%20sooo%20useful%2C%20big%20big%20thanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3350460%22%20slang%3D%22en-US%22%3ERe%3A%20Index%20Match%20%23NA%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3350460%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1384877%22%20target%3D%22_blank%22%3E%40marinamos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20it%20worked%20now.%20I'll%20take%20a%20look.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi!

 

Hope you can help me...

 

I use office excel 2019 (so use ctrl+shift+enter to enter my index match formula). 

 

I have 3 array sheets as reference and 25 product sheets with the exact same format and design where I added my formulas. Each product sheet is for a different product, and pulls the product data from the correct array sheet depending on the data needed. The idea was to automate creating those admin documents.

 

It is all working properly except for 3 sheets... they are all 3 displaying the same N/A error for all the index/match formulas I have used (the other types of formula work). I have checked the array sheets and the format is the same as for the other products sheets, so I don't understand why it would work for all the sheets but those 3!

 

Does anyone have any idea why it would not pull properly for some sheets only, and what would be the solution?

 

See below screenshot for unsuccessful sheet and successful sheet example, as well as the array sheet I am pulling from for the exact formula selected on both successful and unsuccessful examples.

 

Sorry, I would have liked to upload my file here but I don't have the option!

 

Unsuccessful

marinamos_2-1652174270359.png

 

Successful

marinamos_3-1652174308575.png

 

Array sheet

marinamos_4-1652174471134.png

 

Thanks a lot in advance!!

 

10 Replies

@marinamos 

Please make a sample workbook (without sensitive data) available through OneDrive, Google Drive, Dropbox or similar.

@marinamos 

Please share the workbook - I currently get "Access Denied".

@marinamos  posted:  https://docs.google.com/spreadsheets/....

 

Google Sheets is not an Excel.  I don't believe an Excel file uploaded to Google Sheets is the original Excel file.

 

If you "must" use Google for file-sharing, upload to drive.google.com, not docs.google.com.

 

I prefer an "unaware" file-sharing website like box.net/files or dropbox.com.  Then I'm confident that the file is not changed by "smart" software.

its a drive link, it does say docs.google but when getting access you can download the file! I tried the link with other people and it should work correctly! please let me know if you get access to it? thanks a lot

@marinamos 

I still get Access Denied.

@Hans Vogelaar sorry for that, I gave full access now, maybe now it works?  

 

https://docs.google.com/spreadsheets/d/1H8rV29DZKWEWR9NXHNrzzwUI_c9pjxyA/edit?usp=sharing&ouid=11275...

 

Thanks a lot

@marinamos 

Yes, it worked now. I'll take a look.

best response confirmed by marinamos (Occasional Contributor)
Solution

@marinamos 

=LEFT(T5,9) returns "SK386IVO ", with a space at the end. The POs sheet has "SK386IVO" without a space.

If you change the formula to =TRIM(LEFT(T5,9)) to remove the trailing space, it'll work.

Thank you very much Hans!! I will use trim going forward, sooo useful, big big thanks