+ Reply to Thread
Results 1 to 8 of 8

Match vertical and horizontal values and return value

  1. #1
    Registered User
    Join Date
    02-05-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    26

    Match vertical and horizontal values and return value

    Hi experts, looking for some help which hopefully you'll be able to give.

    I've got a large spreadsheet which contains two sheets: Names & Group Competence (example attached). The Group competence sheet lists the level of competence of the group as a whole against a range of activities (i.e. High, Medium, Low). The Names sheet lists all of the team members and what group they are a part of (Cols A & B respectively). What I need to do be able to do is, for each group member, show the level of competence the group they are a part of has against each activity. I've highlighted the cells that I need to populate in yellow in the attached. I've tried using index / match but can't for the life of me work it out and keep getting a #REF error.

    The format and structure of the data is given to me and unfortunately it can't be changed.

    Any help greatly appreciated.

    From a very grateful Level 1 Excel amateur
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Match vertical and horizontal values and return value

    Try this copied across and down:

    =LOOKUP(2,1/(('Group Competence'!$A$2:$A$9=Names!$B2)*('Group Competence'!$B$2:$B$9=Names!C$1)),'Group Competence'!$C$2:$C$9)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Match vertical and horizontal values and return value

    Is that what you want?
    Done with PowerQuery
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-05-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    26

    Re: Match vertical and horizontal values and return value

    Thanks Ali, that works a treat! Really appreciate it - saved me loads of time

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Match vertical and horizontal values and return value

    You're welcome!

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

  6. #6
    Registered User
    Join Date
    02-05-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    26

    Re: Match vertical and horizontal values and return value

    Thanks Sandy, that's exactly what I'm looking for. The dataset I have is very large (7000 rows and 150 columns) so the formula I've kindly been given on here doesn't appear to work and gets to a certain point before it crashes so I'm in need of something more efficient. Whats Power Query?

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Match vertical and horizontal values and return value

    The formula I gave you certainly does work. In what way does it not work for you, apart from being slow on your large dataset (which you did not tell us about up front)?

    PowerQuery is built into your version of Excel. It's on the Data ribbon (Get & Transform Data). If you click on Queries & Connections, you'll see how Sandy has done it. I hope Sandy will give you a step-by-step, as you (like many others) are clearly new to it. It's a great tool.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Match vertical and horizontal values and return value

    In short, PowerQuery (add-in for Ex2013 Pro Plus) is designed to transform BigData
    I suggest to read it first: Getting Started with Get & Transform (PowerQuery)

+ 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: 16
    Last Post: 06-01-2017, 06:01 PM
  2. index match two vertical one horizontal
    By jordycat in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-14-2017, 06:48 AM
  3. [SOLVED] From Vertical to Horizontal / Match index?
    By DieterKoblenz in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-18-2015, 08:35 AM
  4. Sum based on horizontal and vertical match
    By zeez36 in forum Excel Formulas & Functions
    Replies: 29
    Last Post: 04-04-2013, 05:43 AM
  5. [SOLVED] Sum based on horizontal and vertical match
    By Prcntrygrl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-29-2013, 01:41 PM
  6. [SOLVED] Using Index & Match to search 2 vertical columns and return data to a vertical set
    By QuietLife in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2013, 09:59 AM
  7. Return horizontal and vertical values
    By tsanodze in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-27-2008, 07:04 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