Hi guys. First of all, sorry for the vague description in the title. I have no idea what the name is for the function I'm looking for..
Bascily this is what I'm looking for;
I have a table with the number of sales and the bonus that belongs to that number of sales. I don't have a record for every possible number of sales so I'm using ranges and the bonus in Euro's.
I also have a query that shows the number of sales per week by each sales team.
What function do I need to use to show the bonus (from the bonus table) behind the number of sales in the query? Since I only have ranges of sales in the bonus table I'm looking for a function that can estimate to which range the number of sales in the query belongs.
Many thanks for your help guys!
Bascily this is what I'm looking for;
I have a table with the number of sales and the bonus that belongs to that number of sales. I don't have a record for every possible number of sales so I'm using ranges and the bonus in Euro's.
I also have a query that shows the number of sales per week by each sales team.
What function do I need to use to show the bonus (from the bonus table) behind the number of sales in the query? Since I only have ranges of sales in the bonus table I'm looking for a function that can estimate to which range the number of sales in the query belongs.
Many thanks for your help guys!