I have the following Google Sheet.
[1]: [https://docs.google.com/spreadsheets/d/1q9I7XhyEGKeAk93mDyiXpP95Kc9qmiPfvnhEOcTwbIU/edit#gid=0]
I could edit the fields in green (A16, B16), with A16 being a data validation drop-down list and B16 being a typed-in number.
Using vlookup, I can get the Base Value without any issues.
=VLOOKUP(A16,A2:B12,2, false)
What I can not figure out is how to get the factor value. For example, I have select H, which is row #9. As the size value is 1.62, which is greater than the Mid Size but less than the Max Size for that row, I want to return the Factor 2 value of 1.5.
I have tried multiple vlookup / query codes, but all don't work.
The Sum is just Base * Factor to give a final value. Ideally, I would select the lookup, enter a size and it only shows the Sum value.