Warren Keogh
New Member
Hi
I have two tables of data. One shows periods (month 1 , month 2 etc), Sales person name , sales person code, commission earned.
The second table shows periods (month 1 , month 2 etc), Sales person name , sales person code, total pay for the month.
Some sales people do not earn commission in each month. I want to add a formula in table 2 which for each month will check if a sales person earned commission in that month and if so return the amount of commission. If there is no commission it would return 0.
I have tried Vlookups with Index or Match but its not pulling in the data correctly.
Any help appreciated.
WK
I have two tables of data. One shows periods (month 1 , month 2 etc), Sales person name , sales person code, commission earned.
The second table shows periods (month 1 , month 2 etc), Sales person name , sales person code, total pay for the month.
Some sales people do not earn commission in each month. I want to add a formula in table 2 which for each month will check if a sales person earned commission in that month and if so return the amount of commission. If there is no commission it would return 0.
I have tried Vlookups with Index or Match but its not pulling in the data correctly.
Any help appreciated.
WK