I have a data series, example shown below, what I'm looking is to extract the LAST value on the bottom row based on the criteria of the top row. For example:
If top row = A, show result Grape
If top row = B, show result Apple
If top row = C, show result Banana
* note that range will vary and column data will potentially shift
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]Apple[/TD]
[TD="align: center"]Orange[/TD]
[TD="align: center"]Grape[/TD]
[TD="align: center"]Orange[/TD]
[TD="align: center"]Grape[/TD]
[TD="align: center"]Apple[/TD]
[TD="align: center"]Pear[/TD]
[TD]Banana[/TD]
[/TR]
</tbody>[/TABLE]
Is there a simple formula to achieve this?
Thanks.
If top row = A, show result Grape
If top row = B, show result Apple
If top row = C, show result Banana
* note that range will vary and column data will potentially shift
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]Apple[/TD]
[TD="align: center"]Orange[/TD]
[TD="align: center"]Grape[/TD]
[TD="align: center"]Orange[/TD]
[TD="align: center"]Grape[/TD]
[TD="align: center"]Apple[/TD]
[TD="align: center"]Pear[/TD]
[TD]Banana[/TD]
[/TR]
</tbody>[/TABLE]
Is there a simple formula to achieve this?
Thanks.
Last edited: