tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,194
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
Ok really need some help here as i'm totaly stuck
Hopefully I can explain this Ok
Every week I get a list of all the sales since day one, (we have a very old crm and this is how the data comes in,
now all i have to do is put the hourly rate for each employee down column N,
but heres the problem i have some time empolyees get promoted and have more than one rate
So this i my situation,
In the raw data sheet (where i need the formula,
Coloumn A has the date sold
Column C has the employees Number,
Now in sheet "Employees Data" Column AC has the Employees Number,
Column AO Has the start date
Column AP has the end date
Now because nobody is perfect it is possible the end date is before the date sold, in which case the most recent rate applies.
So all I need is for a formula to look at the date sold and the Employees Number, go to sheet "Employees Data" find the employees name that has a date to do with the start date and return the hourly rate in column BE
If you need more info please feel free to ask as im struggling to explain this,
but basically,
find the employee, see how many rows he has, if its just one then the rate is correct, if its more than one find the one with a start date (and end date?) before and after the sale date?
please help been trying to do this all day?
Thanks
Tony
Ok really need some help here as i'm totaly stuck
Hopefully I can explain this Ok
Every week I get a list of all the sales since day one, (we have a very old crm and this is how the data comes in,
now all i have to do is put the hourly rate for each employee down column N,
but heres the problem i have some time empolyees get promoted and have more than one rate
So this i my situation,
In the raw data sheet (where i need the formula,
Coloumn A has the date sold
Column C has the employees Number,
Now in sheet "Employees Data" Column AC has the Employees Number,
Column AO Has the start date
Column AP has the end date
Now because nobody is perfect it is possible the end date is before the date sold, in which case the most recent rate applies.
So all I need is for a formula to look at the date sold and the Employees Number, go to sheet "Employees Data" find the employees name that has a date to do with the start date and return the hourly rate in column BE
If you need more info please feel free to ask as im struggling to explain this,
but basically,
find the employee, see how many rows he has, if its just one then the rate is correct, if its more than one find the one with a start date (and end date?) before and after the sale date?
please help been trying to do this all day?
Thanks
Tony