Okoth
Board Regular
- Joined
- Sep 10, 2009
- Messages
- 106
- Office Version
- 2019
- Platform
- Windows
Trying to figure this one out, but haven't succeeded yet.
I want to find the latest value in two columns (B and F) with some columns in between that match a criteria and the value must be bigger than 0.
Below, the criteria is B15 and the result should be 170 in cell D15.
Hope someone can help me with this, because the columns in between and the empty row are killing me.
<tbody>
</tbody>
I want to find the latest value in two columns (B and F) with some columns in between that match a criteria and the value must be bigger than 0.
Below, the criteria is B15 and the result should be 170 in cell D15.
Hope someone can help me with this, because the columns in between and the empty row are killing me.
A | B | C | D | E | F | |
1 | A | 110 | 111 | 222 | A | 110 |
2 | B | 120 | 112 | 222 | C | 120 |
3 | C | 130 | 113 | 223 | B | 130 |
4 | A | 140 | 114 | 224 | C | 140 |
5 | B | 150 | 115 | 225 | A | 150 |
6 | ||||||
7 | C | 160 | 116 | 226 | B | 180 |
8 | A | 115 | 117 | 227 | C | 170 |
9 | B | 125 | 118 | 228 | A | 180 |
10 | C | 135 | 119 | 229 | B | 170 |
11 | A | 0 | 120 | 220 | C | 0 |
12 | B | 0 | 121 | 222 | B | 0 |
13 | C | 0 | 122 | 222 | A | 0 |
14 | ||||||
15 | Latest | B | is | 170 |
<tbody>
</tbody>