Dudi Shvejk
New Member
- Joined
- Aug 9, 2017
- Messages
- 5
Hi everyone!
I need your help with the following issue.
I need a formula that would insert into a cell the last value from the first column depending on the wording in the second column. In other words, I need a formula that would insert into one cell the value of 40 (which is the last value with "football") and into another cell it should insert 456 (which is the last value for "tennis").
Thank you!
[TABLE="width: 500"]
<tbody>[TR]
[TD]234[/TD]
[TD]tennis[/TD]
[/TR]
[TR]
[TD]4234[/TD]
[TD]football[/TD]
[/TR]
[TR]
[TD]546[/TD]
[TD]tennis[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]tennis[/TD]
[/TR]
[TR]
[TD]456456[/TD]
[TD]football[/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD]football[/TD]
[/TR]
[TR]
[TD]54645[/TD]
[TD]tennis[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]tennis[/TD]
[/TR]
</tbody>[/TABLE]
I need your help with the following issue.
I need a formula that would insert into a cell the last value from the first column depending on the wording in the second column. In other words, I need a formula that would insert into one cell the value of 40 (which is the last value with "football") and into another cell it should insert 456 (which is the last value for "tennis").
Thank you!
[TABLE="width: 500"]
<tbody>[TR]
[TD]234[/TD]
[TD]tennis[/TD]
[/TR]
[TR]
[TD]4234[/TD]
[TD]football[/TD]
[/TR]
[TR]
[TD]546[/TD]
[TD]tennis[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]tennis[/TD]
[/TR]
[TR]
[TD]456456[/TD]
[TD]football[/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD]football[/TD]
[/TR]
[TR]
[TD]54645[/TD]
[TD]tennis[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]tennis[/TD]
[/TR]
</tbody>[/TABLE]