• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Excel table relationship troubleshoot

Aishashk

New Member
i have three worksheet in excel - timesheet, employee and projects

timesheet has columns - employee name, date, project no, time spent in hrs
employee sheet bears columns - employee name, position, dept, staff salary
projects sheet has columns - project no, project name,projected hrs

i have converted all the above sheet in tables and have given relation as

employee timesheet
employee name (Primary) employee name(foreign) 1-many

projects timesheet 1-many
Project No(Primary) project no(foreign)

my query is when i create a costing sheet in pivot table

(row section) (value Section)
Project Name
dept Staff Salary
Total hrs Spent
Cost = Staff Salary*Total Hrs Spent


- dept and salary is taken from employee table
- project name is taken from projects table
-total hrs spent from timesheet

but when i create this pivot, its not giving me correct result as its giving me message to create relationship, but the fact is there is no common field between project and employee table how will i create relationship between these two table

to summarise , i need to draw a pivot table to show projecwise how many employees were engaged , their total hrs spent, their salary(or rates per hr) and the totak cost involved in that project

Early reply will be really helpful
 
oh I m sorry.....enclosing the file....have tried to prepare the pivot to calculate cost and its giving me messge to create relationship
 

Attachments

  • testfile.xlsx
    747.4 KB · Views: 1
I don't know what I'm doing… the attached is a guess.
 

Attachments

  • testfile v2.xlsx
    592.7 KB · Views: 4
Back
Top