+ Reply to Thread
Results 1 to 7 of 7

Possibly need multiple VLOOKUP, or Index w VLOOKUP?

  1. #1
    Registered User
    Join Date
    01-07-2021
    Location
    Scottsdale, Arizona
    MS-Off Ver
    365
    Posts
    10

    Possibly need multiple VLOOKUP, or Index w VLOOKUP?

    Hello, forum.

    We have a sheet of about 22 columns of data that will contain results organized by month designated in Column A by three-letter month, Jan-Dec. We need to roll the data up by Employee, designated by Emp ID shown in Column B of the data sheet.

    The sheet we'll roll this up to will have rows for several metrics (from the data sheet) and will have columns for each month, then a quarterly results column.

    My challenge is finding a way to get the data to roll up into the correct monthly column for each employee. It seems I need to be able to search the data sheet for the Empl ID as well as the Month that their result for that month falls in.

    Attaching a simple workbook of two sheets to help clarify this. Thanks in advance for looking.
    Attached Files Attached Files
    Last edited by endavidson; 05-27-2021 at 03:00 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Possibly need multiple VLOOKUP, or Index w VLOOKUP?

    No workbook attached.

  3. #3
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Possibly need multiple VLOOKUP, or Index w VLOOKUP?

    Have you considered a pivot table, sounds doable to return the data you need that way.
    If you find the suggestion or solution helpful, please consider adding reputation to the post.

  4. #4
    Registered User
    Join Date
    01-07-2021
    Location
    Scottsdale, Arizona
    MS-Off Ver
    365
    Posts
    10

    Re: Possibly need multiple VLOOKUP, or Index w VLOOKUP?

    Thanks - sorry for not getting the workbook attached the first time. It seems to be there now.

    Yes, I had considered a PivotTable, but this is not my workbook and the owner really wants this format she designed. I may be able to disabuse her of that at some point.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Possibly need multiple VLOOKUP, or Index w VLOOKUP?

    Look at SUMIFS

    Not clear to me how tha headings of your data relate to the "roll-upŁ=" categories.

    Example

    =SUMIFS(C:C,B:B,A1,A:A,C1)

  6. #6
    Registered User
    Join Date
    01-07-2021
    Location
    Scottsdale, Arizona
    MS-Off Ver
    365
    Posts
    10

    Re: Possibly need multiple VLOOKUP, or Index w VLOOKUP?

    I understand the headings don't clearly match up to the metrics named in the rows where they want the data to be pulled forward (rolled up) but I can figure that out. I just can't see how to get a function that finds the Month and the Emp ID in one operation in order to drop it into the correct cell on the roll up sheet. It seems like I need a function that looks on the Data sheet and finds the Month, the Empl ID and the corresponding result.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Possibly need multiple VLOOKUP, or Index w VLOOKUP?

    The SUMIFS is doing what you want.

    =SUMIFS(C:C,B:B,A1,A:A,C1)


    BOLD matches Employee, Red matches Month and SUMs column C

+ 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. Vlookup with 2 matching criteria -- Index/Match Possibly?
    By dcoughl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-03-2021, 12:38 PM
  2. Replies: 32
    Last Post: 07-10-2018, 11:37 AM
  3. [SOLVED] Vlookup or index match possibly needed
    By Noah101 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-05-2017, 02:48 AM
  4. [SOLVED] VLOOKUP formula with multiple criteria (possibly INDEX/MATCH instead?)
    By Alphabex in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-03-2016, 04:09 AM
  5. [SOLVED] Is there a formula (possibly similar to VLOOKUP) that will return multiple results?
    By SilverUnicorn79 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-16-2016, 04:33 PM
  6. Vlookup with index/match possibly.
    By Kramxel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-05-2015, 06:06 AM
  7. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 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