I want to have a query do the following:
If value A is greater than Col1 but less than Col2 then return cell Col3.
Here's an example:
Col1 | Col2 | Col3
1 | 5 | 100
6 | 10 | 200
11 | 20 | 300
I enter a value (8) into a record. The query runs and compares that value to the records in the table above. It would return 200 because 8 is greater than 6 but less than 10.
I'm thinking it would be something like an "If, Then" statement in Excel but am not sure how the statement should look in the query.