+ Reply to Thread
Results 1 to 6 of 6

Add values found after vlookup matches multiple occurances of the search criteria

  1. #1
    Registered User
    Join Date
    12-17-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    46

    Add values found after vlookup matches multiple occurances of the search criteria

    I have a list of names in column B and time worked on a project in column C. I am trying to figure out how to use the 'VLOOKUP' and 'SUM' together to calculate the total time each person spent on the project. The names are listed again in Column D and the total spent is in Column E. Do I need to use both these functions or is one sufficient?
    Column B--------Column C--------Column D---------Column E
    --John--------------25-----------------John----------------?
    --Brian-------------15-----------------Tyler----------------?
    --Josh--------------20-----------------Brian---------------?
    --Tyler------------101-----------------Josh----------------?
    --Albert------------45----------------Albert----------------?
    --Tyler-------------26
    --Josh--------------48
    --Brian-------------52

    Can someone please help?
    Last edited by rod642; 08-29-2014 at 02:52 PM.

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Add values found after vlookup matches multiple occurances of the search criteria

    Use SUMIF rather than a lookup+sum combo. In E2:
    Please Login or Register  to view this content.
    does that do it for you?

  3. #3
    Registered User
    Join Date
    12-17-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Add values found after vlookup matches multiple occurances of the search criteria

    Works great!! Thanks

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Add values found after vlookup matches multiple occurances of the search criteria

    Or use a pivot table for that kind of work.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    12-17-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Add values found after vlookup matches multiple occurances of the search criteria

    oeldere,

    Thanks for the info. I've never used a pivot table and have no clue where to begin.
    Although I have another project that I believe that was suggested then, but for now that seems to be working fine. I will look into how to create a pivot table for when the other project starts getting larger.

    Thanks again

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Add values found after vlookup matches multiple occurances of the search criteria

    @rod642

    I suggest you to start with an small project, to learn pivot table.

    When you know the basic technics, it is easy to implement in a larger project.

+ 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. Replies: 2
    Last Post: 03-03-2014, 10:03 PM
  2. [SOLVED] Need to search 2 columns at once - and report the results where matches are found
    By mrs_doubtfire in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 10-16-2013, 03:40 PM
  3. Search named range for multiple matches to critera and return date & values
    By a.mack123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2011, 10:07 AM
  4. Replies: 6
    Last Post: 04-21-2009, 07:00 PM
  5. Replies: 1
    Last Post: 10-05-2006, 05:56 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