SOLVED

#N/A in formula from data linked between workbooks

%3CLINGO-SUB%20id%3D%22lingo-sub-2438224%22%20slang%3D%22en-US%22%3E%23N%2FA%20in%20formula%20from%20data%20linked%20between%20workbooks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2438224%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3E%26nbsp%3BHello%2C%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22thread-message-content-body-text%20thread-full-message%22%3E%3CP%3EI%20have%20few%20workbooks%20which%20links%20data%20from%20one%20to%20another.%20For%20example%2C%20I%20have%20a%20sheet%20with%20list%20of%20trucks%20and%20owners%20(company%20name%201st%20column%20and%20truck%20plate%202nd%20column)%20linked%20from%20another%20WB.%20In%20another%20WB%20I%20have%20the%20list%20of%20trucks%20from%20intake%20report%20and%20I%20want%20to%20identify%20the%20owner%20from%20the%20list%20of%20trucks%20by%20bringing%20the%20company%20name.%3C%2FP%3E%3CP%3EMy%20formula%20is%20looking%20like%20that%20%3D%20VLOOKUP%20(O25%3B%20'LISTA%20AUTO'!%20%24N%243%3A%24O%242693%20%3B%201%20%3B%20TRUE%20)%20where%20O25%20is%20the%20cell%20with%20truck%20number%2C%20range%20to%20lookup%20for%20data%20is%20N3%3AO2693%2C%201%20is%20the%20column%20number%20to%20bring%20and%20true%20is%20the%20match.%20If%20I%20use%20false%20as%20a%20match%20brings%20me%20%23N%2FA%20on%20all%20column.%3C%2FP%3E%3CP%3EResults%20is%20that%2C%20my%20formula%20doesn't%20bring%20correct%20data%20meaning%20wrong%20owner%20or%20showing%20%23N%2FA.%3C%2FP%3E%3CP%3EEvaluation%20of%20the%20formula%20by%20step%20in%20for%20%23N%2FA%2C%20says%20that%20the%20truck%20no%20from%20O25%20is%20not%20recognized%20or%20found%20in%20my%20list.%3C%2FP%3E%3CP%3EThe%20list%20of%20trucks%20are%20the%20same%20used%20in%20the%20intake%20report%2C%20I%20just%20used%20it%20the%20same%20for%20my%20simulation.%3C%2FP%3E%3CP%3EI%20want%20to%20understand%20what%20is%20wrong%20with%20my%20formula%20and%20how%20to%20correct%20it%20to%20work%20out.%3C%2FP%3E%3CP%20class%3D%22x-hidden-focus%22%3EI%20use%20MS365%20and%20W10%20if%20this%20is%20useful.%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2438224%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2438391%22%20slang%3D%22en-US%22%3ERe%3A%20%23N%2FA%20in%20formula%20from%20data%20linked%20between%20workbooks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2438391%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1069281%22%20target%3D%22_blank%22%3E%40CarmenV%3C%2FA%3E%26nbsp%3BFrom%20what%20you%20describe%2C%20I%20believe%20you%20need%20to%20look%20at%20the%202nd%20column%20and%20use%20FALSE.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2438488%22%20slang%3D%22en-US%22%3ERe%3A%20%23N%2FA%20in%20formula%20from%20data%20linked%20between%20workbooks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2438488%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%2C%3CBR%20%2F%3EThank%20you%20for%20your%20approach.%20As%20I%20said%20in%20my%20first%20post%2C%20if%20I%20use%20FALSE%20result%20is%20%23N%2FA%20all%20column.%20So%2C%20is%20not%20workable%20this%20way.%20I%20believe%20the%20origin%20of%20my%20error%20stays%20in%20linked%20between%20sheets%20but%20cant%20figure%20out%20why%20and%20how%20to%20fix%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2438701%22%20slang%3D%22en-US%22%3ERe%3A%20%23N%2FA%20in%20formula%20from%20data%20linked%20between%20workbooks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2438701%22%20slang%3D%22en-US%22%3EAfter%20many%20tries%20by%20reducing%2Fchanging%20the%20range%20area%20and%20revers%20the%20columns%2C%20my%20formula%20at%20the%20end%20is%20working%20properly%20as%20you%20said%20with%20FALSE%20and%202nd%20column.%3CBR%20%2F%3ESo%20formula%20now%20is%20%3DVLOOKUP(O25%3B'LISTA%20AUTO'!%24B%243%3A%24C%242693%3B2%3BFALSE)%3CBR%20%2F%3EThanks%20Riny_van_Eekelen%20-%20You%20gave%20me%20reason%20to%20continue%20and%20find%20the%20way%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

 Hello,

I have few workbooks which links data from one to another. For example, I have a sheet with list of trucks and owners (company name 1st column and truck plate 2nd column) linked from another WB. In another WB I have the list of trucks from intake report and I want to identify the owner from the list of trucks by bringing the company name.

My formula is looking like that = VLOOKUP (O25; 'LISTA AUTO'! $N$3:$O$2693 ; 1 ; TRUE ) where O25 is the cell with truck number, range to lookup for data is N3:O2693, 1 is the column number to bring and true is the match. If I use false as a match brings me #N/A on all column.

Results is that, my formula doesn't bring correct data meaning wrong owner or showing #N/A.

Evaluation of the formula by step in for #N/A, says that the truck no from O25 is not recognized or found in my list.

The list of trucks are the same used in the intake report, I just used it the same for my simulation.

I want to understand what is wrong with my formula and how to correct it to work out.

I use MS365 and W10 if this is useful.

7 Replies
best response confirmed by CarmenV (Occasional Contributor)
Solution

@CarmenV From what you describe, I believe you need to look at the 2nd column and use FALSE.

Hi @Riny_van_Eekelen,
Thank you for your approach. As I said in my first post, if I use FALSE result is #N/A all column. So, is not workable this way. I believe the origin of my error stays in linked between sheets but cant figure out why and how to fix it.
After many tries by reducing/changing the range area and revers the columns, my formula at the end is working properly as you said with FALSE and 2nd column.
So formula now is =VLOOKUP(O25;'LISTA AUTO'!$B$3:$C$2693;2;FALSE)
Thanks Riny_van_Eekelen - You gave me reason to continue and find the way

@CarmenV Wait a minute. Trying to visualise your schedule. You say to have the the name in the first column and the plate in the second. And you look up the plate to find the name. Then you need to move the plate column towards the left of the name column and then look at the 2nd column with FALSE.

 

EDIT: Alternatively, see if your Excel supports XLOOKUP.

 

If this all seems nonsense, please upload your schedule to avoid any further confusion.

@Riny_van_Eekelen I did so and is working. I understood later on your 1st comment. VL formula is ALWAYS looking from left to right Thank you again for your support.
Carmen,
For the vlookup function, the lookup value in your lookup data, should be in the first colmn. In your situation the lookup value is in column 2.
If you change the list of trucks to truck plate in column 1 and company name in 2, you can return colmn 2 as name. You should use flase to get only exact maches.
If you cannot change the lookup table you could try xlookup or, in case you have an older version of Excel, you can used Index Match function.
Andre_nl , I did and is working. My comments above are in respect of this answer. Thank you too, to be involved in my question.