+ Reply to Thread
Results 1 to 4 of 4

Timsheets example

  1. #1
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2003
    Posts
    32

    Timsheets example

    Hi,

    Im trying to create a timesheet doc. The idea is that it find the persons name and project and the weeks range and based on a number in a day of that week it calculates it. Hope that makes sense, can someone help me please? Ive tried looks ups but just cant get it to work.
    Timesheet Range Example.xlsx
    Thanks

    Matt

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Timsheets example

    Hello Matt

    As you're using 2003, try the following SUMPRODUCT with LOOKUP:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If I've understood you correctly, it seems to work for me.

    DBY

  3. #3
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Timsheets example

    Hi,

    Thanks so much this worked a treat. Im now trying to location the location of the file but having difficulty especially as Im using a formula with it.
    The file and file path is located in J2 can you help me?

    Many thanks

    MattAltair PTAR Validate 5.xlsx

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Timsheets example

    Hello
    You would have to use either INDIRECT (which won't work with a closed source file) and reference a cell, or type the file path into each range in the formula. I'm assuming you have a destination file with the SUMPRODUCT formula and a source file with the data. The way I would do this is to create a number of Named Ranges in the destination file linking to the Source file and then build the SUMPRODUCT formula using those.

    For example here I've used another file to link to your original file (Timesheet Range Example.xlsx) and in that created six named ranges (Red):

    =SUMPRODUCT((Name=J8)*(Projects=K8)*(LOOKUP(Dates,WeekDates,Weeks)=L8)*(Hours))

    The criteria are in J8; K8 and L8.

    Hope this helps.
    DBY

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1