Conditional lookup using power query

Negi1984

Board Regular
Joined
May 6, 2011
Messages
198
Hi All,

I am importing 2 tables from a folder in master file link below:-

1) Date: Column I to AS are imported from original data and G & H I have inserted via Power Query.

2) Techno_Mapping : This is another sheet from where we need to take reference to insert new columns in Data sheet.
I am confused how to insert the new conditional columns.
New Column Headers are :

2G3G4G2G Techno3G Techno4G Techno

<colgroup><col width="82" style="width: 62pt;"><col width="84" style="width: 63pt;"><col width="90" style="width: 68pt;"><col width="94" style="width: 71pt;" span="3"></colgroup><tbody>
</tbody>
Logic for the same :-

1) 2G column : If column H is 2G then column A should be Column G , otherwise lookup the respective site code of Column G in Techno_Mapping

2) 3G column : If column H is 3G then column B should be Column G , otherwise lookup the respective site code of Column G in Techno_Mapping

3) 4G column : If column H is 4G then column C should be Column G , otherwise lookup the respective site code of Column G in Techno_Mapping.

When All these 3 column filled then lookup the respective code Techno in Techno_Mapping and fill the column D/E/F respectively.
Can anybody suggest me how to do this conditional lookup in this case.
Below is the link of the file


https://1drv.ms/x/s!Ap80Ku6M2Tw5gTDr2T4aCNWu44O9


Regards,
Rajender
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,214,943
Messages
6,122,370
Members
449,080
Latest member
Armadillos

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