Hi,
I am struggling to find the right solution to a problem I have with my two spreadsheets. please can you help? Sorry about the formatting of the below tables.
Basically, I need to search the text string in sheet 2 C1, for the unique asset ID found also in sheet 1. But to then return the equipment number into cell D2 of sheet 2.
Please can you help with the formula for this? I don't even know where to start with the correct formula!
Many thanks,
Steve
Sheet 1
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]A[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]B[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD]C[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]D[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]Property ref[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]Property Name[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]Equipment number[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]Unique Asset ID[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]6155[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]SEVENOAKS 67 HIGH STREET - 6157[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]1229060[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]ABC0003LAWH1[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]HOVE 103 CHURCH ROAD - 6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]1228810[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]ABC0003LYD1[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]HOVE 103 CHURCH ROAD - 6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]1228811[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]ABC0003LYD2[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]Property ref[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]Property Name[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]Description[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]Equipment Number[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]6157[/TD]
[TD][TABLE="class: grid, width: 145, align: left"]
<tbody>[TR]
[TD]SEVENOAKS 67 HIGH STREET - 6157[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]B DEFECT (non com) Job for Lift Maintenance contractor - 3872 ABC0003LAWH1 - MIG-2024994 Task group STI. Priority P6 with response and completion time extended to five months from when job is raised. Carry out Maintenance items in accordance with report [/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]"=???[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]6177[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]HOVE 103 CHURCH ROAD - 6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]B DEFECT (non com) Job for Lift Maintenance contractor - 6766 ABC0003LYD1-LMN1 - MIG-2017502 - Electric Hydraulic Goods Lift - Task group STI. Priority P6 with response and completion time extended to five months from when job is raised. Carry out Maintenance items in accordance with report 6766[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]6177[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]HOVE 103 CHURCH ROAD - 6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]B DEFECT (non com) Job for Lift Maintenance contractor - 4017 ABC0003LYD2 - MIG-2065593 - Passenger/Goods Lift - Task group STI. Priority P6 with response and completion time extended to five months from when job is raised. Carry out Maintenance items in accordance with report[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am struggling to find the right solution to a problem I have with my two spreadsheets. please can you help? Sorry about the formatting of the below tables.
Basically, I need to search the text string in sheet 2 C1, for the unique asset ID found also in sheet 1. But to then return the equipment number into cell D2 of sheet 2.
Please can you help with the formula for this? I don't even know where to start with the correct formula!
Many thanks,
Steve
Sheet 1
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]A[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]B[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD]C[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]D[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]Property ref[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]Property Name[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]Equipment number[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]Unique Asset ID[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]6155[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]SEVENOAKS 67 HIGH STREET - 6157[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]1229060[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]ABC0003LAWH1[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]HOVE 103 CHURCH ROAD - 6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]1228810[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]ABC0003LYD1[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]HOVE 103 CHURCH ROAD - 6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]1228811[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]ABC0003LYD2[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 77"]
<tbody>[TR]
[TD]Property ref[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]Property Name[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]Description[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]Equipment Number[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]6157[/TD]
[TD][TABLE="class: grid, width: 145, align: left"]
<tbody>[TR]
[TD]SEVENOAKS 67 HIGH STREET - 6157[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]B DEFECT (non com) Job for Lift Maintenance contractor - 3872 ABC0003LAWH1 - MIG-2024994 Task group STI. Priority P6 with response and completion time extended to five months from when job is raised. Carry out Maintenance items in accordance with report [/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 159"]
<tbody>[TR]
[TD]"=???[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]6177[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]HOVE 103 CHURCH ROAD - 6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]B DEFECT (non com) Job for Lift Maintenance contractor - 6766 ABC0003LYD1-LMN1 - MIG-2017502 - Electric Hydraulic Goods Lift - Task group STI. Priority P6 with response and completion time extended to five months from when job is raised. Carry out Maintenance items in accordance with report 6766[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]6177[/TD]
[TD][TABLE="width: 145"]
<tbody>[TR]
[TD]HOVE 103 CHURCH ROAD - 6177[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][TABLE="width: 287"]
<tbody>[TR]
[TD]B DEFECT (non com) Job for Lift Maintenance contractor - 4017 ABC0003LYD2 - MIG-2065593 - Passenger/Goods Lift - Task group STI. Priority P6 with response and completion time extended to five months from when job is raised. Carry out Maintenance items in accordance with report[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]