+ Reply to Thread
Results 1 to 4 of 4

How To Match Values from different sheets and get the sum of those values

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    4

    How To Match Values from different sheets and get the sum of those values

    Good day,

    I have a problem regarding the match of values from different sheets.

    I have here 3 worksheets, the first one is the Summary, then the two wroksheets is the project.

    scenario:
    I want to get sum of all the hours that he consume on that day and display it in the Summary Tab.

    Here is my macro code, but when i Msgbox at the sheet_hours it loops.


    Please Login or Register  to view this content.

    I appreciate your help. Thanks a lot and comment please
    Attached Files Attached Files
    Last edited by lofthi; 05-31-2013 at 12:56 PM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: How To Match Values from different sheets and get the sum of those values

    If you only have the two sheets to sum from, this formula could lookup the values and sum the two results.
    D11
    =INDEX('DOC TYPE'!$10:$100,MATCH($B11,'DOC TYPE'!$B$10:$B$100,0),MATCH(D$10,'DOC TYPE'!$10:$10,))
    +INDEX('KMS MOC'!$10:$100,MATCH($B11,'KMS MOC'!$B$10:$B$100,0),MATCH(D$10,'KMS MOC'!$10:$10,))


    Or, as in your example workbook, the names and dates are all the same on each sheet, you wouldn't have to lookup anything.
    D11 =SUM('DOC TYPE:KMS MOC'!E11)

  3. #3
    Registered User
    Join Date
    05-31-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: How To Match Values from different sheets and get the sum of those values

    Hi,

    Those 2 Worksheets was just for early example, So far, i didn't input yet all the sheets there.
    Actually it will be all the same template for all the worksheet, What i'm after is to find the time of a specific person and get the hours that he spend.

    Person 1 = get his total hours on all the same day of different project.

  4. #4
    Registered User
    Join Date
    05-31-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: How To Match Values from different sheets and get the sum of those values

    I want to get all the time of a specific person used on that day for every project and display it on the Summary Worksheet

+ 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