I want to detect a part of string from a cell and then apply vlookup to get corresponding value from another table. Please refer below tables. Values are to be extracted from second table into first table: (there are also few spaces in first table in start of string)
First Table
<colgroup><col><col></colgroup><tbody>
</tbody>
Second Table
<colgroup><col><col></colgroup><tbody>
</tbody>
First Table
Structure | Value |
** WBS 99OP-11223.P.01 Project RT | |
* WBS 99OP-11223.P.01.01 Project Roots Data | |
WBS 99OP-11223.P.01.01.01 First Line Item | |
WBS 99OP-11223.P.01.01.02 Second Line Products | |
WBS 99OP-11223.P.01.01.03 Third Line Items |
<colgroup><col><col></colgroup><tbody>
</tbody>
Second Table
Structure | Value |
99OP-11223.P.01 | 25,254,759 |
99OP-11223.P.01.01 | 25,254,759 |
99OP-11223.P.01.01.01 | 1,910,442 |
99OP-11223.P.01.01.02 | 7,176,356 |
99OP-11223.P.01.01.03 | 3,796,289 |
<colgroup><col><col></colgroup><tbody>
</tbody>