+ Reply to Thread
Results 1 to 8 of 8

Vlookup question involving two worksheets and then summing data

  1. #1
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    954

    Vlookup question involving two worksheets and then summing data

    Hello, This has been an ongoing project which I now have found a problem with. I'm looking for a formula that would look up the individual employee (i.e. Name1 for example) in the January sheet and then look for and sum any amounts that have a number and a symbol as reflected in A2 through A10 (8V, 4V▲,etc), which would then be calculated with a similar formula for the February sheet, specifically the time period between 1/26/14 and 02/08/14 as indicated above. As employees can switch shifts, the formula would have to locate now in February where employee (Name1) is and find that row for the same symbol/number calculations for this same time period in that given month. Currently I'm using an array formula which can be seen in the attached file in cell I4. The problem is that the formula assumes that Name1 is always in the same spot in all monthly sheets which isn't the case month to month and thus causes me more gray hair. The formula looks like this without the vlookup portion:
    Please Login or Register  to view this content.
    I also need to do a similar vlookup or match, etc with this formula too:
    Please Login or Register  to view this content.
    Any assistance would be greatly appreciated!!
    Attached Files Attached Files
    Last edited by lilsnoop; 02-11-2014 at 10:41 AM.

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Vlookup question involving two worksheets and then summing data

    Would there be always only 2 sheets involved?
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,582

    Re: Vlookup question involving two worksheets and then summing data

    In I4 Use this ARRAY formula and drag down
    Please Login or Register  to view this content.
    In O4 Use this formula and drag down
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    954

    Re: Vlookup question involving two worksheets and then summing data

    I appreciate your efforts looking at this issue for me.

    RobertMika-My workbook will have multiple sheets (January through December plus some additional sheets). The pay period ranges will only involve 2 worksheets at most though when typically near the end of one month and carrying over into the next.

    kvsrinivasamurthy-I tried both formulas and the top one didn't produce the results I needed and the bottom one gave me a #REF!.

  5. #5
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Vlookup question involving two worksheets and then summing data

    kvsrinivasamurthy worked on his copy of your workbook
    He has "Payroll (2)" sheet whereas your is just "Payroll"
    Removed the (2) from the formula

  6. #6
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    954

    Re: Vlookup question involving two worksheets and then summing data

    Ah.. good catch Robert will test it out!

  7. #7
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    954

    Re: Vlookup question involving two worksheets and then summing data

    Thanks so much kvsrinivasamurthy!!

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,582

    Re: Vlookup question involving two worksheets and then summing data

    @RobertMika
    Thanks for the suggestion.
    @lilsnoop
    Thanks for the compliments.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Question involving Tables And Data Validation...
    By panders in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-07-2013, 08:18 PM
  2. Replies: 0
    Last Post: 09-06-2005, 11:05 PM
  3. Replies: 0
    Last Post: 09-06-2005, 10:05 PM
  4. Replies: 0
    Last Post: 09-06-2005, 09:05 PM
  5. Replies: 0
    Last Post: 09-06-2005, 08:05 PM

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