Hello I am wanting to write a lookup which will bring back a value based on two conditions.
in sheet 1 I want to lookup Group (Column G) and Group counter(column H) and find the long text from sheet 2 column E.
(not all of the long text for each group is the same, each group counter can have different text, this is why I can't just do a lookup on the group)
Sheet 1
G H I[TABLE="width: 521"]
<tbody>[TR]
[TD]Group[/TD]
[TD]Group Counter[/TD]
[TD]Long text (want to bring back long text into here from sheet 2)[/TD]
[/TR]
[TR]
[TD]1110000 [/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110002[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110003[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110005[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110006[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110007[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110007[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110007[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110007[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
sheet 2
B C D E[TABLE="width: 1627"]
<tbody>[TR]
[TD]Group[/TD]
[TD]Group Counter[/TD]
[TD]Short Text[/TD]
[TD]Long Text[/TD]
[/TR]
[TR]
[TD]988[/TD]
[TD]1[/TD]
[TD]CHECK CONDITION OF SITE DOSING LINES[/TD]
[TD]CHK SAMPLE, DOSING & MOTIVE WATER LINES.CHECK & INSPECT CONDITION OF LINES &CHAMBERS:CL2, pH & CONDUCTIVITY SAMPLE LINES,CL2INJECTION LINES,MOTIVE WATER LINES.[/TD]
[/TR]
[TR]
[TD]1032[/TD]
[TD]1[/TD]
[TD]Weekly site proactive task list[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]1[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]2[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]3[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]4[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]5[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]6[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
</tbody><colgroup><col><col><col><col></colgroup>[/TABLE]
in sheet 1 I want to lookup Group (Column G) and Group counter(column H) and find the long text from sheet 2 column E.
(not all of the long text for each group is the same, each group counter can have different text, this is why I can't just do a lookup on the group)
Sheet 1
G H I[TABLE="width: 521"]
<tbody>[TR]
[TD]Group[/TD]
[TD]Group Counter[/TD]
[TD]Long text (want to bring back long text into here from sheet 2)[/TD]
[/TR]
[TR]
[TD]1110000 [/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110002[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110003[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110005[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110006[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110007[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110007[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110007[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1110007[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
sheet 2
B C D E[TABLE="width: 1627"]
<tbody>[TR]
[TD]Group[/TD]
[TD]Group Counter[/TD]
[TD]Short Text[/TD]
[TD]Long Text[/TD]
[/TR]
[TR]
[TD]988[/TD]
[TD]1[/TD]
[TD]CHECK CONDITION OF SITE DOSING LINES[/TD]
[TD]CHK SAMPLE, DOSING & MOTIVE WATER LINES.CHECK & INSPECT CONDITION OF LINES &CHAMBERS:CL2, pH & CONDUCTIVITY SAMPLE LINES,CL2INJECTION LINES,MOTIVE WATER LINES.[/TD]
[/TR]
[TR]
[TD]1032[/TD]
[TD]1[/TD]
[TD]Weekly site proactive task list[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]1[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]2[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]3[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]4[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]5[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
[TR]
[TD]1154[/TD]
[TD]6[/TD]
[TD]TAKE ELECTRIC METER READING[/TD]
[TD]No long text[/TD]
[/TR]
</tbody><colgroup><col><col><col><col></colgroup>[/TABLE]