+ Reply to Thread
Results 1 to 4 of 4

Combination Lookup: Column 1 (Employee Name) + Column 2 (Code) + Row (Month) and sum

  1. #1
    Forum Contributor
    Join Date
    11-19-2019
    Location
    Michigan
    MS-Off Ver
    Office 365
    Posts
    547

    Combination Lookup: Column 1 (Employee Name) + Column 2 (Code) + Row (Month) and sum

    I think this is possible. I need a lookup that combines 2 columns and row and sums up together.

    Attached are 2 sheets:

    1. Live Cube - This I will be refreshing each month from a OLAP cube. I will be adding a new month. It contains the name of an employee, the code they bill, and respective month.

    2. Summary Sheet - This will lookup the Live Cube for the name, the code and month name and sum up all the code quantities together. The code names can repeat so they have to be summed up together.

    I hope I was successful in explaining that. I have added a file for example.

    Thank you for taking the time out of your day to help.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Combination Lookup: Column 1 (Employee Name) + Column 2 (Code) + Row (Month) and sum

    Please try at C3

    =SUMIFS('Live Cube'!$D$3:$D$222,'Live Cube'!$C$3:$C$222,$B3,'Live Cube'!$A$3:$A$222,C$2)
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    11-19-2019
    Location
    Michigan
    MS-Off Ver
    Office 365
    Posts
    547

    Re: Combination Lookup: Column 1 (Employee Name) + Column 2 (Code) + Row (Month) and sum

    I think the formula is not taking in consideration of the employee name. This sample of data only includes one person but If in the live data it will have multiple employees. So it needs to consider the employee as well. Can the formula be augmented?

  4. #4
    Forum Contributor
    Join Date
    11-19-2019
    Location
    Michigan
    MS-Off Ver
    Office 365
    Posts
    547

    Re: Combination Lookup: Column 1 (Employee Name) + Column 2 (Code) + Row (Month) and sum

    I apologize for sending so early, I have figured it out. Thank you for your help

+ 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: 1
    Last Post: 09-24-2020, 04:23 AM
  2. [SOLVED] Lookup month when an employee leaves or starts a role
    By ergergfsd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-29-2018, 12:22 AM
  3. [SOLVED] Conditional formatting using lookup table and combination of column and header value
    By uPhone in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-27-2017, 05:53 AM
  4. [SOLVED] Lookup last number in a column that continues to expand each month
    By Excel15 in forum Excel General
    Replies: 3
    Last Post: 08-22-2017, 10:24 AM
  5. Replies: 7
    Last Post: 08-09-2015, 05:07 PM
  6. Code for looking in Column A find employee ID and pull total hours worked
    By prdponce in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-27-2013, 04:37 PM
  7. Lookup value by choosing column that matches current month
    By Ruthie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-19-2013, 12:35 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