Trying to work on a VLOOKUP formula for a calculator that I am working on that returns the highest value from column B where columns A = True. Unfortunately what I am getting with my current attempts is returning 1 not 9 like expected and hoping for some assistance as to what I am doing wrong/if what I want to do is even achievable.
Formula is =VLOOKUP("True", A1:B6,MAX(2),FALSE)
| A | B | |
|---|---|---|
| . 1 | False | 2 |
| 2 | False | 5 |
| 3 | True | 1 |
| 4 | False | 9 |
| 5 | True | 9 |
| 6 | True. | 8 |
| 7 | False | 10 |
Thanking you in advance for your time.
Sadly I am limited by the functions I can use/macros can't be used in this instance
=MAX(IF(A1:A7,B1:B7,0))=AGGREGATE(14,4,B2:B8*C2:C8,1)