Right on, this is good stuff to know. Apparently my understanding of it is a little off tho.. Here's how I'm interpreting it:
- (lookup(A1,{"car type 1","car type 2"},{5,10}) -
this is telling Excel to analyze the data in cell A1 (this is the cell with the drop down list where I select the vehicle type).
The formula continues: if A1 contains the txt "car type 1" the value of M is 5, if A1 = "car type 2" the value is 10.
Using this understanding I came up with the following formula:
Formula:
=P31/(LOOKUP(N31,{"Small Delivery Vehicle","Medium Delivery Vehicle","Large Delivery Vehicle"},{40,15,5.5})-(O31/100)*(LOOKUP(N31,{"Small Delivery Vehicle","Medium Delivery Vehicle","Large Delivery Vehicle"},{40,15,5.5})/100))
This formula returns incorrect values:
When Small Delivery Vehicle is selected it returns a value of: 96.36363636
When Medium Delivery Vehicle is selected it returns a value of: 35.3333333
When Large Delivery Vehicle is selected it returns a value of: #N/A
Perhaps someone is catching my error?
Bookmarks