+ Reply to Thread
Results 1 to 7 of 7

Vlookup combined with SUMIF (Maybe)

  1. #1
    Registered User
    Join Date
    01-29-2015
    Location
    Atlanta
    MS-Off Ver
    2010
    Posts
    3

    Vlookup combined with SUMIF (Maybe)

    Hey guys,

    This is for work and I need some help figuring this problem out.

    I have two worksheets- 1 labeled tracking and another called summary.

    Tracking sheet tracks people that are requesting feedback, who has received feedback, who hasn't received feedback , how many days late the PM is late by person, etc.

    The summary sheet looks like this

    PM Days Late # late % on time
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N

    I am trying to get the summary sheet to search the tracking sheet by Project Manager and sum the 11th column titled "days late."

    This is what I have so far:


    SUMIF(Dayslate,VLOOKUP('Summary Sheet'!C4,'Tracking Sheet'!$B$3:$L$65,11,TRUE))
    This formula didn't work because it gives me the same result regardless of who the VLOOKUP is searching for (Project Manager A,B,C,etc).

    Thanks a ton for all the help!

    Dorian Grey

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Vlookup combined with SUMIF (Maybe)

    Can you post a sample dataset?
    I can probably assist, but it is always easier to give you the solution in excel with sample data, than in the forum.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    01-29-2015
    Location
    Atlanta
    MS-Off Ver
    2010
    Posts
    3

    Re: Vlookup combined with SUMIF (Maybe)

    mikeTRON,

    Attached is a sample worksheet.

    Thanks a lot for the help!

    Regards,
    Dorian Grey
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Vlookup combined with SUMIF (Maybe)

    You didnt have sample data so I made some up with simple formulas and such.
    I created a pivot table on the EXACT size of the data (as in the pivot range is static). I would either grab all data or make that dynamic so I dont ever have to think about it again)

    Then I added a few columns of simple logic to help parse the data in the pivot table.
    I then created a calculated field that simply takes the # on time divided by total # of assignments.

    If you have any questions, let me know.


    Project Manager Sample (1).xlsx

  5. #5
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Vlookup combined with SUMIF (Maybe)

    I went ahead and showed you how you can use formulas instead of the pivot, but I would still rather use the pivot.


    Project Manager Sample (1).xlsx

  6. #6
    Registered User
    Join Date
    01-29-2015
    Location
    Atlanta
    MS-Off Ver
    2010
    Posts
    3

    Re: Vlookup combined with SUMIF (Maybe)

    You are a beast mikeTron. Thanks for showing me how to do this and going through all the trouble.

    I can't believe I never thought about doing it through a pivot table.

  7. #7
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Vlookup combined with SUMIF (Maybe)

    I have found being "good" at Excel is mostly being aware of what methods are available then cleverly and simply applying them together.

    Also I am NOT a fan of copying and pasting stuff, OR models that are not self reliant.

    To take that model one step further I would wrap a name range around the data, so it automatically updates when you add new rows. That way you can simply hit refresh for the pivot and you are done.

    I created a name range with the offset function to start in cell B1, then count how many rows are NOT blank, and capture 15 columns. The named range is pivotDATA. Now whenever you add anything, you can simply hit refresh.

    Updated workbook:
    Project Manager Sample (1).xlsx


    Reference for dynamic named ranges:
    http://www.excel-easy.com/examples/d...med-range.html

+ 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. [SOLVED] SUMIF with combined rows
    By slacknoise in forum Excel General
    Replies: 1
    Last Post: 06-19-2014, 12:38 PM
  2. VBA Combined CountIf & SumIf On Match
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2014, 12:00 PM
  3. Combined VLOOKUP with a date range SUMIF from pivot table data
    By Marynorn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-13-2014, 12:17 PM
  4. Sumif & counta combined
    By kashaikh78 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-02-2013, 04:15 AM
  5. Can sumif and Max functions combined into one?
    By ReconMan in forum Excel General
    Replies: 4
    Last Post: 09-20-2011, 11:29 AM

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