serequiise
New Member
- Joined
- Apr 9, 2018
- Messages
- 2
Hi All.
I need an formula that will pull data from a sheet like this.
<colgroup><col style="mso-width-source:userset;mso-width-alt:2157;width:44pt" width="59"> <col style="mso-width-source:userset;mso-width-alt:2084; width:43pt" span="5" width="57"> <col style="mso-width-source:userset;mso-width-alt:3693;width:76pt" width="101"> <col style="mso-width-source:userset;mso-width-alt:2084; width:43pt" span="3" width="57"> </colgroup><tbody>
[TD="class: xl66, width: 57"]Metric 2
[/TD]
[TD="class: xl66, width: 57"]Metric 3[/TD]
[TD="class: xl66, width: 57"]Metric 4[/TD]
[TD="class: xl66, width: 57"]Metric 5[/TD]
[TD="class: xl66, width: 101"]Metric 6[/TD]
[TD="class: xl66, width: 57"]Metric 7[/TD]
[TD="class: xl66, width: 57"]Metric 8[/TD]
[TD="class: xl66, width: 57"]Metric 9[/TD]
[TD="class: xl66"]Metric A
[/TD]
[TD="class: xl66"]32
[/TD]
[TD="class: xl66"]44[/TD]
[TD="class: xl66"]8[/TD]
[TD="class: xl66"]40
[/TD]
[TD="class: xl66"]11[/TD]
[TD="class: xl66"]19[/TD]
[TD="class: xl66"]31[/TD]
[TD="class: xl66"]60[/TD]
[TD="class: xl66"]24[/TD]
[TD="class: xl66"]Matric B[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]47[/TD]
[TD="class: xl66"]42[/TD]
[TD="class: xl66"]46[/TD]
[TD="class: xl66"]50[/TD]
[TD="class: xl66"]18[/TD]
[TD="class: xl66"]21[/TD]
[TD="class: xl66"]42[/TD]
[TD="class: xl66"]46
[/TD]
[TD="class: xl66"]Metric C[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]58[/TD]
[TD="class: xl66"]19[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]27[/TD]
[TD="class: xl66"]11[/TD]
[TD="class: xl66"]59[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]45[/TD]
[TD="class: xl66"]Metric D[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]59[/TD]
[TD="class: xl66"]39[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]9[/TD]
[TD="class: xl66"]39[/TD]
[TD="class: xl66"]42[/TD]
[TD="class: xl66"]51[/TD]
[TD="class: xl66"]Metric E[/TD]
[TD="class: xl66"]30
[/TD]
[TD="class: xl66"]45[/TD]
[TD="class: xl66"]17[/TD]
[TD="class: xl66"]52[/TD]
[TD="class: xl66"]13[/TD]
[TD="class: xl66"]12[/TD]
[TD="class: xl66"]20[/TD]
[TD="class: xl66"]34[/TD]
[TD="class: xl66"]54[/TD]
[TD="class: xl65"]Total[/TD]
[TD="class: xl66"]43[/TD]
[TD="class: xl66"]50[/TD]
[TD="class: xl66"]23[/TD]
[TD="class: xl66"]40[/TD]
[TD="class: xl66"]34[/TD]
[TD="class: xl65"]Return this cell[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"]
[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl65"]Agent 2[/TD]
[TD="class: xl66"]Metric 1[/TD]
[TD="class: xl66"]Metric 2[/TD]
[TD="class: xl66"]Metric 3[/TD]
[TD="class: xl66"]Metric 4[/TD]
[TD="class: xl66"]Metric 5[/TD]
[TD="class: xl66"]Metric 6[/TD]
[TD="class: xl66"]Metric 7[/TD]
[TD="class: xl66"]Metric 8[/TD]
[TD="class: xl66"]Metric 9[/TD]
[TD="class: xl66"]Metric A[/TD]
[TD="class: xl66"]36[/TD]
[TD="class: xl66"]14[/TD]
[TD="class: xl66"]45[/TD]
[TD="class: xl66"]29[/TD]
[TD="class: xl66"]25[/TD]
[TD="class: xl66"]14[/TD]
[TD="class: xl66"]53[/TD]
[TD="class: xl66"]37[/TD]
[TD="class: xl66"]39[/TD]
[TD="class: xl66"]Matric B[/TD]
[TD="class: xl66"]41[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]38[/TD]
[TD="class: xl66"]32[/TD]
[TD="class: xl66"]54[/TD]
[TD="class: xl66"]7[/TD]
[TD="class: xl66"]34[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]Metric C[/TD]
[TD="class: xl66"]51[/TD]
[TD="class: xl66"]7[/TD]
[TD="class: xl66"]53[/TD]
[TD="class: xl66"]23[/TD]
[TD="class: xl66"]46[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]50[/TD]
[TD="class: xl66"]40[/TD]
[TD="class: xl66"]43[/TD]
[TD="class: xl65"]Total[/TD]
[TD="class: xl66"]42[/TD]
[TD="class: xl66"]39[/TD]
[TD="class: xl66"]19[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]29[/TD]
[TD="class: xl65"]Return this cell[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"]
[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"]
[/TD]
[TD="class: xl66"]
[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl65"]Agent 3[/TD]
[TD="class: xl66"]Metric 1[/TD]
[TD="class: xl66"]Metric 2[/TD]
[TD="class: xl66"]Metric 3
[/TD]
[TD="class: xl66"]Metric 4[/TD]
[TD="class: xl66"]Metric 5
[/TD]
[TD="class: xl66"]Metric 6[/TD]
[TD="class: xl66"]Metric 7[/TD]
[TD="class: xl66"]Metric 8[/TD]
[TD="class: xl66"]Metric 9
[/TD]
[TD="class: xl66"]Matric B
[/TD]
[TD="class: xl66"]56[/TD]
[TD="class: xl66"]12[/TD]
[TD="class: xl66"]47[/TD]
[TD="class: xl66"]60[/TD]
[TD="class: xl66"]18[/TD]
[TD="class: xl66"]9[/TD]
[TD="class: xl66"]10[/TD]
[TD="class: xl66"]11[/TD]
[TD="class: xl66"]31[/TD]
[TD="class: xl66"]Metric D[/TD]
[TD="class: xl66"]22[/TD]
[TD="class: xl66"]23[/TD]
[TD="class: xl66"]24[/TD]
[TD="class: xl66"]37[/TD]
[TD="class: xl66"]29[/TD]
[TD="class: xl66"]11[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]20[/TD]
[TD="class: xl66"]26
[/TD]
[TD="class: xl66"]Metric E[/TD]
[TD="class: xl66"]18[/TD]
[TD="class: xl66"]27[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]22[/TD]
[TD="class: xl66"]17[/TD]
[TD="class: xl66"]53
[/TD]
[TD="class: xl66"]48
[/TD]
[TD="class: xl66"]36[/TD]
[TD="class: xl66"]29
[/TD]
[TD="class: xl65"]Total[/TD]
[TD="class: xl66"]58[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]32[/TD]
[TD="class: xl66"]24[/TD]
[TD="class: xl66"]18[/TD]
[TD="class: xl65"]Return this cell[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"]
[/TD]
</tbody>
The intention is to be able to pull the total for an agent found in "return this Cell" when an Agent 2 is selected on another sheet.
The only way I can think of finding this result is to have an conditional array nested within Index Match set to first search for the cell address of "agent 2" then search increasing row numbers until "Total" is found. provide that cell address then offset by 6 column indexing the value I need.
I have attempted to use Cell("Address" to get the first part of the array then combine with &":"&"$G$2000" as although i have not been able to get the returned value to be read as an array.
I am unable to use a regular index match with offset due to the differing Metric (A,B,C) values although the metric (1,2,3) are static. Additionally there is a space between agent 2 row and metric A row preventing me from searching for the last non blank value offset from Agent 2.
The goal is to be able to type in an agents name on another Sheet and this formula will pull the data from 200+ agents.
Formulas preferred although Macros can be used.
Thanks in advance for the help. this one has me tapped out.
I need an formula that will pull data from a sheet like this.
<colgroup><col style="mso-width-source:userset;mso-width-alt:2157;width:44pt" width="59"> <col style="mso-width-source:userset;mso-width-alt:2084; width:43pt" span="5" width="57"> <col style="mso-width-source:userset;mso-width-alt:3693;width:76pt" width="101"> <col style="mso-width-source:userset;mso-width-alt:2084; width:43pt" span="3" width="57"> </colgroup><tbody>
[TD="class: xl66, width: 57"]Metric 2
[/TD]
[TD="class: xl66, width: 57"]Metric 3[/TD]
[TD="class: xl66, width: 57"]Metric 4[/TD]
[TD="class: xl66, width: 57"]Metric 5[/TD]
[TD="class: xl66, width: 101"]Metric 6[/TD]
[TD="class: xl66, width: 57"]Metric 7[/TD]
[TD="class: xl66, width: 57"]Metric 8[/TD]
[TD="class: xl66, width: 57"]Metric 9[/TD]
[TD="class: xl66"]Metric A
[/TD]
[TD="class: xl66"]32
[/TD]
[TD="class: xl66"]44[/TD]
[TD="class: xl66"]8[/TD]
[TD="class: xl66"]40
[/TD]
[TD="class: xl66"]11[/TD]
[TD="class: xl66"]19[/TD]
[TD="class: xl66"]31[/TD]
[TD="class: xl66"]60[/TD]
[TD="class: xl66"]24[/TD]
[TD="class: xl66"]Matric B[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]47[/TD]
[TD="class: xl66"]42[/TD]
[TD="class: xl66"]46[/TD]
[TD="class: xl66"]50[/TD]
[TD="class: xl66"]18[/TD]
[TD="class: xl66"]21[/TD]
[TD="class: xl66"]42[/TD]
[TD="class: xl66"]46
[/TD]
[TD="class: xl66"]Metric C[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]58[/TD]
[TD="class: xl66"]19[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]27[/TD]
[TD="class: xl66"]11[/TD]
[TD="class: xl66"]59[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]45[/TD]
[TD="class: xl66"]Metric D[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]59[/TD]
[TD="class: xl66"]39[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]9[/TD]
[TD="class: xl66"]39[/TD]
[TD="class: xl66"]42[/TD]
[TD="class: xl66"]51[/TD]
[TD="class: xl66"]Metric E[/TD]
[TD="class: xl66"]30
[/TD]
[TD="class: xl66"]45[/TD]
[TD="class: xl66"]17[/TD]
[TD="class: xl66"]52[/TD]
[TD="class: xl66"]13[/TD]
[TD="class: xl66"]12[/TD]
[TD="class: xl66"]20[/TD]
[TD="class: xl66"]34[/TD]
[TD="class: xl66"]54[/TD]
[TD="class: xl65"]Total[/TD]
[TD="class: xl66"]43[/TD]
[TD="class: xl66"]50[/TD]
[TD="class: xl66"]23[/TD]
[TD="class: xl66"]40[/TD]
[TD="class: xl66"]34[/TD]
[TD="class: xl65"]Return this cell[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"]
[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl65"]Agent 2[/TD]
[TD="class: xl66"]Metric 1[/TD]
[TD="class: xl66"]Metric 2[/TD]
[TD="class: xl66"]Metric 3[/TD]
[TD="class: xl66"]Metric 4[/TD]
[TD="class: xl66"]Metric 5[/TD]
[TD="class: xl66"]Metric 6[/TD]
[TD="class: xl66"]Metric 7[/TD]
[TD="class: xl66"]Metric 8[/TD]
[TD="class: xl66"]Metric 9[/TD]
[TD="class: xl66"]Metric A[/TD]
[TD="class: xl66"]36[/TD]
[TD="class: xl66"]14[/TD]
[TD="class: xl66"]45[/TD]
[TD="class: xl66"]29[/TD]
[TD="class: xl66"]25[/TD]
[TD="class: xl66"]14[/TD]
[TD="class: xl66"]53[/TD]
[TD="class: xl66"]37[/TD]
[TD="class: xl66"]39[/TD]
[TD="class: xl66"]Matric B[/TD]
[TD="class: xl66"]41[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]38[/TD]
[TD="class: xl66"]32[/TD]
[TD="class: xl66"]54[/TD]
[TD="class: xl66"]7[/TD]
[TD="class: xl66"]34[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]Metric C[/TD]
[TD="class: xl66"]51[/TD]
[TD="class: xl66"]7[/TD]
[TD="class: xl66"]53[/TD]
[TD="class: xl66"]23[/TD]
[TD="class: xl66"]46[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]50[/TD]
[TD="class: xl66"]40[/TD]
[TD="class: xl66"]43[/TD]
[TD="class: xl65"]Total[/TD]
[TD="class: xl66"]42[/TD]
[TD="class: xl66"]39[/TD]
[TD="class: xl66"]19[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]29[/TD]
[TD="class: xl65"]Return this cell[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"]
[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"]
[/TD]
[TD="class: xl66"]
[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl65"]Agent 3[/TD]
[TD="class: xl66"]Metric 1[/TD]
[TD="class: xl66"]Metric 2[/TD]
[TD="class: xl66"]Metric 3
[/TD]
[TD="class: xl66"]Metric 4[/TD]
[TD="class: xl66"]Metric 5
[/TD]
[TD="class: xl66"]Metric 6[/TD]
[TD="class: xl66"]Metric 7[/TD]
[TD="class: xl66"]Metric 8[/TD]
[TD="class: xl66"]Metric 9
[/TD]
[TD="class: xl66"]Matric B
[/TD]
[TD="class: xl66"]56[/TD]
[TD="class: xl66"]12[/TD]
[TD="class: xl66"]47[/TD]
[TD="class: xl66"]60[/TD]
[TD="class: xl66"]18[/TD]
[TD="class: xl66"]9[/TD]
[TD="class: xl66"]10[/TD]
[TD="class: xl66"]11[/TD]
[TD="class: xl66"]31[/TD]
[TD="class: xl66"]Metric D[/TD]
[TD="class: xl66"]22[/TD]
[TD="class: xl66"]23[/TD]
[TD="class: xl66"]24[/TD]
[TD="class: xl66"]37[/TD]
[TD="class: xl66"]29[/TD]
[TD="class: xl66"]11[/TD]
[TD="class: xl66"]26[/TD]
[TD="class: xl66"]20[/TD]
[TD="class: xl66"]26
[/TD]
[TD="class: xl66"]Metric E[/TD]
[TD="class: xl66"]18[/TD]
[TD="class: xl66"]27[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]22[/TD]
[TD="class: xl66"]17[/TD]
[TD="class: xl66"]53
[/TD]
[TD="class: xl66"]48
[/TD]
[TD="class: xl66"]36[/TD]
[TD="class: xl66"]29
[/TD]
[TD="class: xl65"]Total[/TD]
[TD="class: xl66"]58[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]32[/TD]
[TD="class: xl66"]24[/TD]
[TD="class: xl66"]18[/TD]
[TD="class: xl65"]Return this cell[/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"] [/TD]
[TD="class: xl66"]
[/TD]
</tbody>
The intention is to be able to pull the total for an agent found in "return this Cell" when an Agent 2 is selected on another sheet.
The only way I can think of finding this result is to have an conditional array nested within Index Match set to first search for the cell address of "agent 2" then search increasing row numbers until "Total" is found. provide that cell address then offset by 6 column indexing the value I need.
I have attempted to use Cell("Address" to get the first part of the array then combine with &":"&"$G$2000" as although i have not been able to get the returned value to be read as an array.
I am unable to use a regular index match with offset due to the differing Metric (A,B,C) values although the metric (1,2,3) are static. Additionally there is a space between agent 2 row and metric A row preventing me from searching for the last non blank value offset from Agent 2.
The goal is to be able to type in an agents name on another Sheet and this formula will pull the data from 200+ agents.
Formulas preferred although Macros can be used.
Thanks in advance for the help. this one has me tapped out.