Pull data from 2 columns into 1 using parameters of a different column.

%3CLINGO-SUB%20id%3D%22lingo-sub-3395698%22%20slang%3D%22en-US%22%3EPull%20data%20from%202%20columns%20into%201%20using%20parameters%20of%20a%20different%20column.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3395698%22%20slang%3D%22en-US%22%3E%3CP%3EI%20know%20there's%20an%20easy%20way%20to%20do%20this%2C%20I%20tried%20a%20sort%20of%20vlookup%20function%20or%20if%20function%2C%20but%20can't%20quite%20get%20what%20I%20need.%20I%20want%20to%20pull%20the%20data%20in%20the%20first%20spreadsheet%20with%20the%202%20yellow%20highlighted%20columns%20from%20picture%20A%2C%20and%20put%20them%20into%20the%201%20highlighted%20column%20on%20a%20different%20spreadsheet%20on%20picture%20B.%20However%20I%20want%20the%20parameters%20of%20the%20orange%20highlighted%20column%20to%20match%20the%20data%20being%20pulled.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20this%20makes%20sense.%20Thank%20you!%3C%2FP%3E%3CP%3EA%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Distributor_1-1652900564009.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372971i079BBEFBFBD16EDE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Distributor_1-1652900564009.png%22%20alt%3D%22Distributor_1-1652900564009.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EB%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Distributor_2-1652900603988.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372972i27C17A482468CD16%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Distributor_2-1652900603988.png%22%20alt%3D%22Distributor_2-1652900603988.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3395698%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-3395870%22%20slang%3D%22en-US%22%3ERe%3A%20Pull%20data%20from%202%20columns%20into%201%20using%20parameters%20of%20a%20different%20column.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3395870%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1393917%22%20target%3D%22_blank%22%3E%40Distributor%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DSUM(OFFSET('A-1%20PBC%202019%20Trial%20Balance'!%24A%241%2CMATCH(A2%2C'A-1%20PBC%202019%20Trial%20Balance'!%24A%242%3A%24A%2426%2C0)%2C2%2C1%2C2))%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EDoes%20this%20return%20your%20expected%20result%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3397712%22%20slang%3D%22en-US%22%3ERe%3A%20Pull%20data%20from%202%20columns%20into%201%20using%20parameters%20of%20a%20different%20column.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3397712%22%20slang%3D%22en-US%22%3EHave%20you%20tried%20doing%20that%20with%20XLOOKUP%2C%20I%20hope%20that%20should%20work%20for%20you%20%3CBR%20%2F%3ERegards%2C%20Faraz%20Shaikh%3C%2FLINGO-BODY%3E
Occasional Visitor

I know there's an easy way to do this, I tried a sort of vlookup function or if function, but can't quite get what I need. I want to pull the data in the first spreadsheet with the 2 yellow highlighted columns from picture A, and put them into the 1 highlighted column on a different spreadsheet on picture B. However I want the parameters of the orange highlighted column to match the data being pulled.

 

I hope this makes sense. Thank you!

A

Distributor_1-1652900564009.png

 

B

Distributor_2-1652900603988.png

 

 

 

1 Reply
Have you tried doing that with XLOOKUP, I hope that should work for you
Regards, Faraz Shaikh