+ Reply to Thread
Results 1 to 8 of 8

Reading column headers in matrix

  1. #1
    Registered User
    Join Date
    11-07-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    Reading column headers in matrix

    Hi all,

    I hope this is simple. I have a matrix, with names in a column and the various departments they are in in rows. What I would like to do is have a column that looks at each of the teams, and outputs them to a cell.

    In the attached spreadsheet, for example, I'd like the output in G2, so Diana is in Sales and Production

    Thanks in advance,
    Mark
    Attached Files Attached Files
    Last edited by marksmdog; 02-07-2023 at 06:42 AM. Reason: Solved

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

    Cool Re: Reading column headers in matrix

    with Power Query

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,528

    Re: Reading column headers in matrix

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copied down.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    11-07-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    Re: Reading column headers in matrix

    Thankyou Sandy, this looks like it would be a very useful tool to learn

  5. #5
    Registered User
    Join Date
    11-07-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    Re: Reading column headers in matrix

    Thank you TMS - this works perfectly. I'm annoyed I didn't work that out for myself!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,528

    Re: Reading column headers in matrix

    Or, in one go:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    Re: Reading column headers in matrix

    Quote Originally Posted by marksmdog View Post
    Thankyou Sandy, this looks like it would be a very useful tool to learn
    you are right, check here: Power Query

    so ...


    if the problem is solved, make us happy and hit Add Reputation (bottom left corner next to the post that was helpful)
    and then mark the thread as SOLVED (top above your first post - Thread Tools)

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,528

    Re: Reading column headers in matrix

    You're welcome. Thanks for the rep.

    I'm annoyed I didn't work that out for myself!
    You will next time

+ 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] Counting Values in a Matrix Based on Column Headers
    By Elainefish in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-23-2019, 04:56 AM
  2. Matrix Style Reading: Reading from one cell to cause change in another cell
    By snkhan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-23-2019, 01:52 AM
  3. Reading and writing a 40x40 matrix using VBA code
    By slobdiddy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-04-2016, 02:01 PM
  4. Concatenate matrix headers
    By menim in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-14-2013, 12:46 PM
  5. Reading columns without headers
    By iochoa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-01-2012, 12:44 AM
  6. [SOLVED] VBA: Loop through cells in matrix and return column- and row headers
    By Søren Larsen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2012, 08:43 AM
  7. Reading Row headers into a listbox
    By Steve in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-13-2006, 11:25 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