In the first sheet, where the data is entered, I want to populate the second sheet. Column "H" in the first sheet there is different data entered, and I want to find specifically STD-210, and then populate the associated sample number in the first sheet, which is in the "I" column, into the second sheet in the "B" column, but I keep encountering an issue that it's populating all data.
Below are examples of what I'm working with.
First sheet (below) in workbook, named: HG_2018_Sample_Tracking_MASTER
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]Type[/TD]
[TD]From[/TD]
[TD]To[/TD]
[TD]Area[/TD]
[TD]Level[/TD]
[TD]Heading[/TD]
[TD]Round[/TD]
[TD]String name[/TD]
[TD]Sample#[/TD]
[TD]By[/TD]
[TD]Date[/TD]
[TD]Shift[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]170S[/TD]
[TD]N[/TD]
[TD]R60[/TD]
[TD]170S-R60[/TD]
[TD]5555[/TD]
[TD][/TD]
[TD]Jan22[/TD]
[TD][/TD]
[TD]5.7[/TD]
[/TR]
[TR]
[TD]M[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]170S[/TD]
[TD]N[/TD]
[TD]R58[/TD]
[TD]170S-R58[/TD]
[TD]20635[/TD]
[TD][/TD]
[TD]Jan23[/TD]
[TD][/TD]
[TD]5.4[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]STD[/TD]
[TD][/TD]
[TD]210[/TD]
[TD]STD-210[/TD]
[TD]456456[/TD]
[TD][/TD]
[TD]Jan24[/TD]
[TD][/TD]
[TD]5.23[/TD]
[/TR]
[TR]
[TD]M[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]STD[/TD]
[TD][/TD]
[TD]210[/TD]
[TD]STD-210[/TD]
[TD]1234[/TD]
[TD][/TD]
[TD]Jan27[/TD]
[TD][/TD]
[TD]5.1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]STD[/TD]
[TD][/TD]
[TD]210[/TD]
[TD]STD-210[/TD]
[TD]6969[/TD]
[TD][/TD]
[TD]Jan28[/TD]
[TD][/TD]
[TD]5.15[/TD]
[/TR]
</tbody>[/TABLE]
Second sheet (below) in workbook, named: QAQC - STD 210
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]STD-210[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Date[/TD]
[TD]Sample#[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]456456[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]456456[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]456456[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1234[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]6969[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Please note: Above in the tables the alphabet is representing the cells in excel, and the rows are the numbers, so for example, A1 in the second sheet is the STD-210 cell.
The formula that I have inserted in the second sheet, in column "B", is as follows:
=IFERROR(VLOOKUP(A$1,HG_2018_Sample_Tracking_MASTER!H2:I5246,2,FALSE),"")
How should I alter the formula to only find the STD-210 in the first sheet, and then populate the sample# associated with STD-210, into the "B" column in the second sheet?
Any insight would be greatly appreciated.
Thank you in advance.
Below are examples of what I'm working with.
First sheet (below) in workbook, named: HG_2018_Sample_Tracking_MASTER
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]Type[/TD]
[TD]From[/TD]
[TD]To[/TD]
[TD]Area[/TD]
[TD]Level[/TD]
[TD]Heading[/TD]
[TD]Round[/TD]
[TD]String name[/TD]
[TD]Sample#[/TD]
[TD]By[/TD]
[TD]Date[/TD]
[TD]Shift[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]170S[/TD]
[TD]N[/TD]
[TD]R60[/TD]
[TD]170S-R60[/TD]
[TD]5555[/TD]
[TD][/TD]
[TD]Jan22[/TD]
[TD][/TD]
[TD]5.7[/TD]
[/TR]
[TR]
[TD]M[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]170S[/TD]
[TD]N[/TD]
[TD]R58[/TD]
[TD]170S-R58[/TD]
[TD]20635[/TD]
[TD][/TD]
[TD]Jan23[/TD]
[TD][/TD]
[TD]5.4[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]STD[/TD]
[TD][/TD]
[TD]210[/TD]
[TD]STD-210[/TD]
[TD]456456[/TD]
[TD][/TD]
[TD]Jan24[/TD]
[TD][/TD]
[TD]5.23[/TD]
[/TR]
[TR]
[TD]M[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]STD[/TD]
[TD][/TD]
[TD]210[/TD]
[TD]STD-210[/TD]
[TD]1234[/TD]
[TD][/TD]
[TD]Jan27[/TD]
[TD][/TD]
[TD]5.1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]STD[/TD]
[TD][/TD]
[TD]210[/TD]
[TD]STD-210[/TD]
[TD]6969[/TD]
[TD][/TD]
[TD]Jan28[/TD]
[TD][/TD]
[TD]5.15[/TD]
[/TR]
</tbody>[/TABLE]
Second sheet (below) in workbook, named: QAQC - STD 210
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]STD-210[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Date[/TD]
[TD]Sample#[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]456456[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]456456[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]456456[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1234[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]6969[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Please note: Above in the tables the alphabet is representing the cells in excel, and the rows are the numbers, so for example, A1 in the second sheet is the STD-210 cell.
The formula that I have inserted in the second sheet, in column "B", is as follows:
=IFERROR(VLOOKUP(A$1,HG_2018_Sample_Tracking_MASTER!H2:I5246,2,FALSE),"")
How should I alter the formula to only find the STD-210 in the first sheet, and then populate the sample# associated with STD-210, into the "B" column in the second sheet?
Any insight would be greatly appreciated.
Thank you in advance.