+ Reply to Thread
Results 1 to 8 of 8

Retrieve column heading from a matrix based on values

  1. #1
    Registered User
    Join Date
    03-23-2020
    Location
    india
    MS-Off Ver
    365
    Posts
    59

    Retrieve column heading from a matrix based on values

    I have an excel sheet with pipe wall thickness schedules. I need to get the table heading (highlighted in yellow) based on T4 & U4 cell values. T4 value will be the same as any of listed values in column A. but U4 will not be. so function need to look up for the equal or next greater value and then return with respective column heading/schedule. also the greater value shall be shown in bracket. hope someone will help.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-23-2020
    Location
    india
    MS-Off Ver
    365
    Posts
    59

    Re: Retrieve column heading from a matrix based on values

    Bump no response

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Retrieve column heading from a matrix based on values

    ARRAY formula in Y4
    Please Login or Register  to view this content.
    To enter ARRAY formula
    Copy and paste the formula in cell
    Press F2
    Press Ctrl+Shift+Enter together
    Excel covers the formula with {}.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Retrieve column heading from a matrix based on values

    This normal formula also works
    Please Login or Register  to view this content.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,094

    Re: Retrieve column heading from a matrix based on values

    Another option
    =XLOOKUP(U4,FILTER(C3:R35,A3:A35=T4),C2:R2,"",1)

  6. #6
    Registered User
    Join Date
    03-23-2020
    Location
    india
    MS-Off Ver
    365
    Posts
    59

    Re: Retrieve column heading from a matrix based on values

    Fantastic!!. Thanks

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Retrieve column heading from a matrix based on values

    If problem is solved mark the thread solved.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,094

    Re: Retrieve column heading from a matrix based on values

    Glad to help & thanks for the feedback.

+ 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: 8
    Last Post: 03-29-2020, 01:00 PM
  2. [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
  3. Retrieve Column Headers Dynamically - Based on column Values
    By akshaysudhir in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-12-2016, 05:42 AM
  4. [SOLVED] Retrieve the heading based on data
    By kumawat_s in forum Excel General
    Replies: 9
    Last Post: 03-25-2015, 03:43 PM
  5. Replies: 2
    Last Post: 12-27-2013, 01:12 PM
  6. Adding Column values based on Column Heading
    By sjhanson in forum Excel General
    Replies: 1
    Last Post: 11-17-2011, 02:58 PM
  7. Need help in comparing two sheets based on a column value and retrieve row values
    By balajiranganathan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-15-2010, 02:49 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