multicriteria look up

aarti_rto

Board Regular
Joined
Nov 29, 2019
Messages
50
Office Version
  1. 2016
Platform
  1. Windows
  2. Web
Hello Experts,

i have below source data for 2 years , each month seperately.
Jan-25Feb-25
Actual Purchase from External SupplierAs per calculation - internalJan-25Jan-25Jan-25Actual Purchase from External SupplierAs per calculation - internalFeb-25Feb-25Feb-25
Part numberprice 1purchase qtyvalueprice 2Sale qtyvaluetotal valueQtyPrcprice 1purchase qtyvalueprice 2Sale qtyvaluetotal valueQtyPrc
ABC00028.66164151147050374.6647050374.66164151128.660000.00626160006261600.00
XYZ00018.265023859172321.1859172321.18550238518.260000.00176399001763990.00
DEF31.02028037684002121787.178 2121787.1786840031.020000.007216000721600.00
and i need "Qty" column wrt month in another file.
below is the format of another file..
ActualActualActual
Jan-25Jan-25Jan-25Feb-25Feb-25Feb-25Jan-25Jan-25Jan-25
Part NoPart NameWtMain Product GroupPrcQtyValPrcQtyValPrcQtyVal
ABC here I need the "prc" from source file wrt month and part nohere I need the "qty" from source file wrt month and part no here I need the "prc" from source file wrt month and part nohere I need the "qty" from source file wrt month and part no here I need the "prc" from source file wrt month and part nohere I need the "qty" from source file wrt month and part no
XYZ here I need the "prc" from source file wrt month and part nohere I need the "qty" from source file wrt month and part no here I need the "prc" from source file wrt month and part nohere I need the "qty" from source file wrt month and part no here I need the "prc" from source file wrt month and part nohere I need the "qty" from source file wrt month and part no
 
You can use =XLOOKUP() and combine the multiple lookup criterias with &.

Example
=XLOOKUP("ABC",Partnumbercolumn,XLOOKUP("Feb-25"&"Prc",Monthheaderrow&OtherHeaderRow,DataArea))

Not a great example because you have no celladresses in your picture. But I hope you get the idea.
 
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,919
Members
453,767
Latest member
922aloose

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top