Hi needed help with Index match on Date:
I have a table tab1 with Staff members and dates their commission factor is adjusted
i have another table, tab2 for each month of the year where i need to use this efficiency factor to calculate commission based on sales
need a formula to use the factor for the month and till the month it changes and the use the new factor:
tried something like this : =Index tab1C:C,(match(1,(tab1B:B="Adam_H")*( tab1A:A<=Tab2A2 ),0))
need help with the date match portion
I have a table tab1 with Staff members and dates their commission factor is adjusted
Date (mm/dd/yyyy) | Staff | Comm_Fact |
01/05/2021 | Adam_H | 2% |
01/07/2021 | Sue_H | 5% |
03/05/2021 | Adam_H | 3% |
05/01/2021 | Adam_H | 3.5% |
Month | Staff | Sales | Expected Commission |
Jan 2021 | Adam_H | 1000 | 20 |
Feb 2021 | Adam_H | 1000 | 20 |
Mar 2021 | Adam_H | 1000 | 30 |
April 2021 | Adam_H | 1000 | 30 |
May 2021 | Adam_H | 1000 | 35 |
June 2021 | Adam_H | 1000 | 35 |
need a formula to use the factor for the month and till the month it changes and the use the new factor:
tried something like this : =Index tab1C:C,(match(1,(tab1B:B="Adam_H")*( tab1A:A<=Tab2A2 ),0))
need help with the date match portion