PDA

View Full Version : HELP - Vlookup based on 2 criteria.



amar.kshirsagar
01-15-2014, 11:30 AM
Hi All,

Require your valuable help for two criteria base vlookup.

I have same numeric data sheet1 & sheet2, as PO number and line item number. In sheet2 I have one more column i.e."M" as delivery date.

I want to pool this cell value in front of sheet1, based on PO number and line item number.

Any help from your end will appreciate.

Sample file is attached for your refrance.

Thanks and regards

Amar K

analyst
01-15-2014, 02:22 PM
Have look at trailing links

VLOOKUP with multiple criteria. - Microsoft Community (http://answers.microsoft.com/en-us/office/forum/office_2007-excel/vlookup-with-multiple-criteria/c43ff8eb-8b6f-4034-97fa-f4212a55950d)

VLOOKUP - Multiple Criteria (http://www.mrexcel.com/forum/excel-questions/306615-vlookup-multiple-criteria.html)

Admin
01-15-2014, 02:35 PM
Hi,

In N2 and copied down,

=K2&"|"&L2

In T3 on Sheet1 and copied down,

=IFERROR(INDEX(Sheet2!$M$2:$M$440,MATCH(Q3&"|"&R3,Sheet2!$N$2:$N$440,0)),"")

Format the cell as date.

amar.kshirsagar
01-15-2014, 03:44 PM
Hi Admin

Thanks for your prompt reply.

THANKS A LOT, for solving my query. God bless you.

Thanks for your cooperation, valuable suggestion and formula sharing.

If this will bit enhance, as mentioned below. It will help me a lot

I proceed as you instructed, still code face problem to pull the data. In which cell having no data (PO number), formula is calculating delivery date of the same.

At row number 19, the numeric figure is 3100044866 and next cell having line item 5. While executing formula it show no result (i.e. blank cell)


Regards

Amar K

amar.kshirsagar
01-15-2014, 03:46 PM
Thanks Analyst

Your shared information is very useful. Thanks a lot

Admin
01-15-2014, 04:24 PM
I got 1/21/2014 in row # 19. Have you checked the ranges ? I can't upload the workbook as I'm at work now.

I'll upload the workbook once I reached home.

Admin
01-15-2014, 09:59 PM
Hi

PFA.

amar.kshirsagar
01-24-2014, 04:16 PM
Hi ADMIN

Regret for delayed replied.

Yeah.. it working perfectly…. You resolve my query….

Thanks a lot for your kindly cooperation and knowledge sharing

God bless you

Thanks

Amar K