Any Excel Gurus out there?
Discussion
Hi Guys,
I have been trying to create a simple spreadsheet which will allow the logging of days worked by freelancers and then allows summarisation of this date by month and individual freelancer.
Originally I thought I could do this as a pivot table but I seem to be making a right dogs dinner of it. It's as if my data has a 3rd dimension which I can't figure out how to handle. I'm hoping a friendly PHer might know how this could be done.
I want to end up with a result like this filterable by month

The initial sheet needs to look like a calendar so with only 1 entry for each date but if I run staff names down the rows that only leaves me the vertical columns to show the date, I can then only show 1 number or metric against this "days" whereas i really want to show days worked and cost by date and employee.
This below is the original data but only shows days worked as I can't seem to have both by day and cost.

Any help is massively appreciated and hopefully this is an easy one for someone out there who's a bit handy in excel!
Thanks
Simon
I have been trying to create a simple spreadsheet which will allow the logging of days worked by freelancers and then allows summarisation of this date by month and individual freelancer.
Originally I thought I could do this as a pivot table but I seem to be making a right dogs dinner of it. It's as if my data has a 3rd dimension which I can't figure out how to handle. I'm hoping a friendly PHer might know how this could be done.
I want to end up with a result like this filterable by month

The initial sheet needs to look like a calendar so with only 1 entry for each date but if I run staff names down the rows that only leaves me the vertical columns to show the date, I can then only show 1 number or metric against this "days" whereas i really want to show days worked and cost by date and employee.
This below is the original data but only shows days worked as I can't seem to have both by day and cost.

Any help is massively appreciated and hopefully this is an easy one for someone out there who's a bit handy in excel!
Thanks
Simon
you want days worked and cost?
replace the 1 with the day rate they charge
Also googling shows lots of cool stuff you can get:
http://chandoo.org/wp/2011/08/01/shift-calendar-ex...
replace the 1 with the day rate they charge
Also googling shows lots of cool stuff you can get:
http://chandoo.org/wp/2011/08/01/shift-calendar-ex...
On the second sheet you've shown. put a total column at the far right which adds up all the "1's" - that gives you the number of days.
Then on sheet 1, in the days column, link that cell to the total column created above.
Job done.
OR
If you don't want a total column then in the Sheet 1 days coulm, put the sum formula but reference the otehr sheet. For example in the 1st cell in the days column in Sheet 1 put =vlookup(cell with 'dave' in it,navigate to and highlight sheet2 range, column number with the total in it,false)
If that doesn't make sense email me the spreadsheet and it will take me literally 2 mins to get it done for you.
Then on sheet 1, in the days column, link that cell to the total column created above.
Job done.
OR
If you don't want a total column then in the Sheet 1 days coulm, put the sum formula but reference the otehr sheet. For example in the 1st cell in the days column in Sheet 1 put =vlookup(cell with 'dave' in it,navigate to and highlight sheet2 range, column number with the total in it,false)
If that doesn't make sense email me the spreadsheet and it will take me literally 2 mins to get it done for you.
I think there may be a problem with your pivot table. If you look at the bottom line on it as shown it appears that one of your workers is called Total and that he or she has worked 6 days in February.
If you want to use a pivot table to filter the data by month it will do that for you. A look up table could then be used to add the cost per day to the end of the pivot table and then a quick calculation will get you the total. To make it neat open a third tab and make a table of the employees names and their rates of pay. Highlight the table and then name it where the cell reference normally appears at the top left. This will create a global dimensioned array. You can then call this date using look up from any other sheet in the work book. If you call the table "bob" then the look up is
=VLOOKUP(E6,bob,2,FALSE)
If you want to use a pivot table to filter the data by month it will do that for you. A look up table could then be used to add the cost per day to the end of the pivot table and then a quick calculation will get you the total. To make it neat open a third tab and make a table of the employees names and their rates of pay. Highlight the table and then name it where the cell reference normally appears at the top left. This will create a global dimensioned array. You can then call this date using look up from any other sheet in the work book. If you call the table "bob" then the look up is
=VLOOKUP(E6,bob,2,FALSE)
Gassing Station | Business | Top of Page | What's New | My Stuff


