+ Reply to Thread
Results 1 to 2 of 2

Not sure if I should use Match or Vlookup, or how in this situation

  1. #1
    Registered User
    Join Date
    10-19-2010
    Location
    Arlington, WA
    MS-Off Ver
    Excel 2013
    Posts
    40

    Not sure if I should use Match or Vlookup, or how in this situation

    On sheet1, ColumnA I have a list of employee names from row4-row200. In row 1 from C:AG, I have a list of dates. For each name, I have a number of hours worked for that employee in the corresponding cell according to date.

    Now what I'd like to do is be able to sum these totals according to calendar week (week starts on Sunday, ends on Sunday) on sheet 2.

    So on sheet2, I have the same set up with names, but instead of 31 dates in row 1, i have just 5 from C1:G1. Entereing in a date in C1 changes the dates in D1:G1 accordingly. So, how do I get a weekly total depending on the dates in row 1 of sheet2?

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Not sure if I should use Match or Vlookup, or how in this situation

    The quickest most effective way to do this is by using a pivot table. Click anywhere in your data, then click insert, pivot table. There's lots of good information online about how to build a basic table, and it's worth your looking at.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

+ 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