gtd526
Well-known Member
- Joined
- Jul 30, 2013
- Messages
- 684
- Office Version
- 2019
- Platform
- Windows
Hello,
Looking to find the Last Occupied Cell to complete the Range of Cells in a formula.
Using 'Test' L:L. Replace the $J$27 with a formula to find the address of the last non-blank cell. ie $N$20, to complete the formula in L:L.
Thank you.
Looking to find the Last Occupied Cell to complete the Range of Cells in a formula.
Using 'Test' L:L. Replace the $J$27 with a formula to find the address of the last non-blank cell. ie $N$20, to complete the formula in L:L.
Thank you.
Wager History.xlsm | |||||||
---|---|---|---|---|---|---|---|
J | K | L | M | N | |||
19 | G/L $ | Rank | TEST | Last Non-Blank | address of | ||
20 | -$5.45 | 5 | 5 | 4.55 | J27 | ||
21 | -$15.00 | 6 | 6 | ||||
22 | -$0.45 | 3 | 3 | ||||
23 | $4.55 | 2 | 2 | ||||
24 | $9.10 | 1 | 1 | ||||
25 | -$5.00 | 4 | 4 | ||||
26 | -$5.00 | 4 | 4 | ||||
27 | $4.55 | 2 | 2 | ||||
28 | |||||||
29 | |||||||
30 | |||||||
31 | |||||||
32 | |||||||
33 | |||||||
34 | |||||||
35 | |||||||
36 | |||||||
37 | |||||||
NBA Betting Ranks |
Cell Formulas | ||
---|---|---|
Range | Formula | |
J20:J37 | J20 | =IF(K20<>"",(F20*4.55)-(G20*5),"") |
K20:K37 | K20 | =IF(J20<>"",SUMPRODUCT((J20<=$J$20:$J$27)/COUNTIF($J$20:$J$27,$J$20:$J$27)),"") |
L20:L37 | L20 | =IF(E20<>"",SUMPRODUCT((J20<=$J$20:$J$27)/COUNTIF($J$20:$J$27,$J$20:$J$27)),"") |
M20 | M20 | =LOOKUP(2,1/(J20:J51<>""),J20:J51) |
N20 | N20 | ="J"&MATCH(2,1/(J:J<>""),1) |
Press CTRL+SHIFT+ENTER to enter array formulas. |