Soldato
- Joined
- 14 Jul 2007
- Posts
- 3,443
I have an excel formula problem that I am looking for some help with. I hope I can explain this as simply as possible, I’m sure its not actually that hard a problem to solve but by excel knowledge is reasonably hit and miss.
All of this refers to employees and their salaries.
I have a list of a few hundred employees that I get every month. Each employee has a name, an employee reference number, their salary for the month and a four digit code which tells me which area of the organisation their wages are paid from.
So for example
1000 John Smith 201403 £2,000
Would be Mr John Smith is employee number 201403 and he was paid £2,000 last month which was coded to cost centre 1000
I have another spreadsheet which I have created which I have sorted by the four digit cost centre number and has their total salaries for the year along with a whole pile of other information and calculations which doesn’t matter for the purposes of this question. Each month I use my spreadsheet to interrogate the monthly list and pull back the wage for each employee for that month and add it to their total for the year.
The purpose for all this is to compare budgeted salary totals for each area of the organisation to actual salaries paid as the year progresses. I use index and match to find the people from the monthly list based on matching their employee number and cost centre and returning the salary value
The spreadsheet works perfectly with one exception. It completely ignores any new employees who are employed throughout the year. They don’t exist in the initial spreadsheet and as such their info isn’t pulled back each month from the monthly sheet..
So here is my question if you are still awake!
Is there a formula that I could use which I can enter on the main spreadsheet below each cost centre which will look at the cost centre number and all the employee numbers and go to the monthly spreadsheet, find the same cost centre number and compare the employee numbers associated with that cost centre and return either a count or the values that don’t appear in both lists? This will give me a starting point for adding in any new employees every month.
Im not sure this makes any sense at all so apologies if its really really confusing. Any help is gratefully appreciated.
All of this refers to employees and their salaries.
I have a list of a few hundred employees that I get every month. Each employee has a name, an employee reference number, their salary for the month and a four digit code which tells me which area of the organisation their wages are paid from.
So for example
1000 John Smith 201403 £2,000
Would be Mr John Smith is employee number 201403 and he was paid £2,000 last month which was coded to cost centre 1000
I have another spreadsheet which I have created which I have sorted by the four digit cost centre number and has their total salaries for the year along with a whole pile of other information and calculations which doesn’t matter for the purposes of this question. Each month I use my spreadsheet to interrogate the monthly list and pull back the wage for each employee for that month and add it to their total for the year.
The purpose for all this is to compare budgeted salary totals for each area of the organisation to actual salaries paid as the year progresses. I use index and match to find the people from the monthly list based on matching their employee number and cost centre and returning the salary value
The spreadsheet works perfectly with one exception. It completely ignores any new employees who are employed throughout the year. They don’t exist in the initial spreadsheet and as such their info isn’t pulled back each month from the monthly sheet..
So here is my question if you are still awake!
Is there a formula that I could use which I can enter on the main spreadsheet below each cost centre which will look at the cost centre number and all the employee numbers and go to the monthly spreadsheet, find the same cost centre number and compare the employee numbers associated with that cost centre and return either a count or the values that don’t appear in both lists? This will give me a starting point for adding in any new employees every month.
Im not sure this makes any sense at all so apologies if its really really confusing. Any help is gratefully appreciated.