Hello all, I have a range of data as table below and looking for the max cost for each item.
Wondering how can I use HLOOKUP to get the max cost.
Thanks for advance!
[TABLE="width: 448"]
<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"]Item A[/TD]
[TD="class: xl63, width: 64"]Item B[/TD]
[TD="class: xl63, width: 64"]Item C[/TD]
[TD="class: xl63, width: 64"]Item A[/TD]
[TD="class: xl63, width: 64"]Item D[/TD]
[TD="class: xl63, width: 64"]Item B[/TD]
[/TR]
[TR]
[TD="class: xl63"]Cost 1[/TD]
[TD="class: xl63"]2[/TD]
[TD="class: xl63"]4[/TD]
[TD="class: xl63"]5[/TD]
[TD="class: xl63"]10[/TD]
[TD="class: xl63"]9[/TD]
[TD="class: xl63"]20[/TD]
[/TR]
[TR]
[TD="class: xl63"]Cost 2[/TD]
[TD="class: xl63"]11[/TD]
[TD="class: xl63"]8[/TD]
[TD="class: xl63"]22[/TD]
[TD="class: xl63"]4[/TD]
[TD="class: xl63"]8[/TD]
[TD="class: xl63"]5[/TD]
[/TR]
</tbody>[/TABLE]
Result
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64"]Item A[/TD]
[TD="width: 64"]Item B[/TD]
[/TR]
[TR]
[TD]Cost 1[/TD]
[TD="class: xl65"]10[/TD]
[TD="class: xl65"]20[/TD]
[/TR]
[TR]
[TD]Cost 2[/TD]
[TD="class: xl65"]11[/TD]
[TD="class: xl65"]8[/TD]
[/TR]
</tbody>[/TABLE]
Wondering how can I use HLOOKUP to get the max cost.
Thanks for advance!
[TABLE="width: 448"]
<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"]Item A[/TD]
[TD="class: xl63, width: 64"]Item B[/TD]
[TD="class: xl63, width: 64"]Item C[/TD]
[TD="class: xl63, width: 64"]Item A[/TD]
[TD="class: xl63, width: 64"]Item D[/TD]
[TD="class: xl63, width: 64"]Item B[/TD]
[/TR]
[TR]
[TD="class: xl63"]Cost 1[/TD]
[TD="class: xl63"]2[/TD]
[TD="class: xl63"]4[/TD]
[TD="class: xl63"]5[/TD]
[TD="class: xl63"]10[/TD]
[TD="class: xl63"]9[/TD]
[TD="class: xl63"]20[/TD]
[/TR]
[TR]
[TD="class: xl63"]Cost 2[/TD]
[TD="class: xl63"]11[/TD]
[TD="class: xl63"]8[/TD]
[TD="class: xl63"]22[/TD]
[TD="class: xl63"]4[/TD]
[TD="class: xl63"]8[/TD]
[TD="class: xl63"]5[/TD]
[/TR]
</tbody>[/TABLE]
Result
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64"]Item A[/TD]
[TD="width: 64"]Item B[/TD]
[/TR]
[TR]
[TD]Cost 1[/TD]
[TD="class: xl65"]10[/TD]
[TD="class: xl65"]20[/TD]
[/TR]
[TR]
[TD]Cost 2[/TD]
[TD="class: xl65"]11[/TD]
[TD="class: xl65"]8[/TD]
[/TR]
</tbody>[/TABLE]