+ Reply to Thread
Results 1 to 14 of 14

Complex VLOOKUP or SUM

  1. #1
    Registered User
    Join Date
    02-29-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    8

    Arrow Complex VLOOKUP or SUM

    Hi Guys,


    I have an issue regarding summing certain peoples hours in a spreadsheet.


    So I have tasks by row: arbitrarily say 14 tasks in Column A (A1:A14) .

    In Column B are the quantities of task (B1:B14).

    In column C there are people (C1:C14)
    In column D there are the peoples hours (D1:D14)

    In column E there are people (E1:E14)
    In column F there are the peoples hours (F1:F14)

    and so on to

    In column S there are people (S1:S14)
    In column T there are the peoples hours (T1:T14)

    I really want to know how many hours Sandra did for the 14 tasks when the task quantities differ!



    I've tried a sumif by pair of columns (CD,EF..........) but i cant account for the quantities by row.
    I've tried VLOOKUP but it only works for 1 instance of sandra when there are actually many.

    Looking forward to some help on this one.


    Thank-you very much in advance

    Ben

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Complex VLOOKUP or SUM

    Could you post some sample data in a workbook?

    BSB

  3. #3
    Registered User
    Join Date
    02-29-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    8

    Re: Complex VLOOKUP or SUM

    I don't know how to add a workbook =(

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Complex VLOOKUP or SUM

    Follow the guide below.

    BSB


    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Registered User
    Join Date
    02-29-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    8

    Re: Complex VLOOKUP or SUM

    Thanks,

    It should be attached below.

    Please see the total hours that i'm trying to achieve.

    Regards

    Ben Illingworth
    Attached Files Attached Files

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Complex VLOOKUP or SUM

    So what are your expected results?
    I'm unsure how the "Quantity" column comes into this.

    Guessing that the below formula in cell G19 and copied down is not quite what you're looking for:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB

  7. #7
    Registered User
    Join Date
    02-29-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    8

    Re: Complex VLOOKUP or SUM

    I've tried that one,

    With regards to quantity in column 8 there was the task done 8 times so the hours are essentially 8 times bigger for row 5 they are 8 times bigger

    Ben Illingworth

  8. #8
    Registered User
    Join Date
    02-29-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    8

    Re: Complex VLOOKUP or SUM

    Sorry that should say 4 times bigger for row 5 by the way!

  9. #9
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Complex VLOOKUP or SUM

    I'm drawing a bit of a mental blank on this one. It's been a long day at the office!

    In the attached is one method of calculating what I think you need. It uses a helper range (the yellow cells) that you can hide away for the sake of neatness.

    I'm sure a clever soul will come along with an "in cell" solution for you soon.
    Well either than or the second I turn the computer off the answer will land in my brain!

    BSB
    Attached Files Attached Files

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Complex VLOOKUP or SUM

    Your last two messages are confusing but I will take a guess that you want to multiply the values for PEN, PEM, SDE, DCR, AND SANDRA by the values in column B relating to PEN, PEM, SDE, DCR, AND SANDRA.
    I think that this should do it.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    E
    F
    G
    19
    TOTAL HOURS
    PEN
    231
    20
    PEM
    2016
    21
    SDE
    824
    22
    DCR
    16
    23
    SANDRA
    438
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  11. #11
    Registered User
    Join Date
    02-29-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    8

    Re: Complex VLOOKUP or SUM

    If there was another column added before all the others which had ticks in it if the task was required and was empty if they weren't could this be added to the formula?

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Complex VLOOKUP or SUM

    If you added the "ticks" properly, probably. I have added Form Control check boxes with the linked cells being under the boxes to column A (Inserted new column). When checked, the cells return TRUE.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    02-29-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    8

    Re: Complex VLOOKUP or SUM

    Thanks a bunch newdoverman, Legend!

  14. #14
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Complex VLOOKUP or SUM

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Complex VLOOKUP Help
    By mainbrain in forum Excel General
    Replies: 4
    Last Post: 08-08-2015, 11:52 AM
  2. Complex Vlookup
    By adrdsouza in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-08-2013, 04:56 AM
  3. [SOLVED] Complex Vlookup
    By Rompetelo in forum Excel General
    Replies: 1
    Last Post: 08-07-2012, 11:46 AM
  4. complex vlookup
    By regevlio in forum Excel General
    Replies: 1
    Last Post: 07-27-2010, 10:51 AM
  5. Complex VLOOKUP help??
    By topgunnerp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-15-2007, 02:10 PM
  6. [SOLVED] Help with complex VLOOKUP
    By [email protected] in forum Excel General
    Replies: 3
    Last Post: 11-15-2005, 03:45 PM
  7. [SOLVED] Help with complex VLOOKUP
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2005, 03:45 PM

Tags for this Thread

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