muhammad susanto
Well-known Member
- Joined
- Jan 8, 2013
- Messages
- 2,089
- Office Version
- 365
- 2021
- Platform
- Windows
hi all...
how to make lookup formula with 2 index (id_1 & id_2) like this :
[TABLE="width: 296"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]id_1[/TD]
[TD]tipe[/TD]
[TD]id_2[/TD]
[/TR]
[TR]
[TD="align: right"]4010106010[/TD]
[TD]Buliding A[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]4010202007[/TD]
[TD]Buliding B[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Permanent[/TD]
[TD="align: right"]49[/TD]
[/TR]
[TR]
[TD="align: right"]4010202004[/TD]
[TD]Resident[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]46[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]38[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]42[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]51[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]55[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]59[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]63[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]given (id_1)[/TD]
[TD]given (id_2)[/TD]
[TD]expected result[/TD]
[/TR]
[TR]
[TD="align: right"]4010202007[/TD]
[TD="align: right"]1[/TD]
[TD]Buliding B[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD="align: right"]46[/TD]
[TD]Houses[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]etc…[/TD]
[/TR]
</tbody>[/TABLE]
any help greathly appreciated...
m.susanto
how to make lookup formula with 2 index (id_1 & id_2) like this :
[TABLE="width: 296"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]id_1[/TD]
[TD]tipe[/TD]
[TD]id_2[/TD]
[/TR]
[TR]
[TD="align: right"]4010106010[/TD]
[TD]Buliding A[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]4010202007[/TD]
[TD]Buliding B[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Permanent[/TD]
[TD="align: right"]49[/TD]
[/TR]
[TR]
[TD="align: right"]4010202004[/TD]
[TD]Resident[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]46[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]38[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]42[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]51[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]55[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]59[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD]Houses[/TD]
[TD="align: right"]63[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]given (id_1)[/TD]
[TD]given (id_2)[/TD]
[TD]expected result[/TD]
[/TR]
[TR]
[TD="align: right"]4010202007[/TD]
[TD="align: right"]1[/TD]
[TD]Buliding B[/TD]
[/TR]
[TR]
[TD="align: right"]4010205001[/TD]
[TD="align: right"]46[/TD]
[TD]Houses[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]etc…[/TD]
[/TR]
</tbody>[/TABLE]
any help greathly appreciated...
m.susanto