+ Reply to Thread
Results 1 to 6 of 6

VLOOKUP question

  1. #1
    Registered User
    Join Date
    08-27-2008
    Location
    Perth, Australia
    Posts
    8

    VLOOKUP question

    Gday all,

    I am just wondering if this was possible:

    I have a timesheet worksheet - and the employees fill it in against project numbers. The cell to the right of each "item" has the total number of hours spent on that project.

    However, during the week, we could jump to and from multiple projects.

    My query is, can I do a VLOOKUP from my main workbook to an employee timesheet, search for a particular project number in column C, and then it would pick up the corresponding number (of hours) in column L.

    Basically a formula which searches for a value (in column C), and then returns the value in the adjacent row of a different column (column L).

    Furthermore, it would be even better if the formula found ALL the same project numbers within the weekly worksheet, and did a sum of all hours in the adjacent cell of column L.

    I can post a mock sheet if required.

    Thanks again for everyones help - I am very new to Excel!

    Kind regards,
    Andy
    Last edited by Mehhico; 02-22-2010 at 04:09 AM. Reason: Solved.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: VLOOKUP question

    Yes, an example workbook would be fine
    Never use Merged Cells in Excel

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VLOOKUP question

    A mockup would be helpful, but in the meantime look up the SUMIF() formula, it sounds like what you need.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    08-27-2008
    Location
    Perth, Australia
    Posts
    8

    Re: VLOOKUP question

    Thank you for the comments.

    I have attached a brief sample of what I am after - any comments will be appreciated.

    There is sooo much to MS Excel - and I thought AutoCAD was a big program.....

    I will check out SUMIF() in the meantime.

    Thanks again,
    Andy
    Attached Files Attached Files

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VLOOKUP question

    Yep, SUMIF() is what you need. Checkout sheet2...
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-27-2008
    Location
    Perth, Australia
    Posts
    8

    Re: VLOOKUP question

    Thats it - problem solved!

    Thank you very much for your help on this.

    Kind regards,
    Andy

+ 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