I have used a calculation in a query to produce a field called "weight" within a table.
Goal #1: I would like to use the initially calculated results in the "weight" field, and look up values from another table. For example, if the calculated weight were 100 pounds, the result of the lookup would return the text "class A". If the weight were 200 pounds, the lookup would return the text "class B".
Goal #2: I would like to return the text "Class B" if the lookup text were 150 pounds (a value not explicitly stated in the lookup table, yet a value that is anything less than 200 = the next explicitly entered table value). In other words, the lookup would act somewhat like the Vlookup command in Excel: Class = Vlookup (Pounds, Sometable,2).
As a "newbie", I would be most grateful for any assistance that may be offered. Thanks so much in advance.
Goal #1: I would like to use the initially calculated results in the "weight" field, and look up values from another table. For example, if the calculated weight were 100 pounds, the result of the lookup would return the text "class A". If the weight were 200 pounds, the lookup would return the text "class B".
Goal #2: I would like to return the text "Class B" if the lookup text were 150 pounds (a value not explicitly stated in the lookup table, yet a value that is anything less than 200 = the next explicitly entered table value). In other words, the lookup would act somewhat like the Vlookup command in Excel: Class = Vlookup (Pounds, Sometable,2).
As a "newbie", I would be most grateful for any assistance that may be offered. Thanks so much in advance.