+ Reply to Thread
Results 1 to 12 of 12

PROC? INDEX? Identify item in a matrix

  1. #1
    Registered User
    Join Date
    08-14-2019
    Location
    France
    MS-Off Ver
    365
    Posts
    5

    Lightbulb PROC? INDEX? Identify item in a matrix

    Captura de Tela 2019-08-14 às 16.55.21.png

    I have 3 columns (A, B,C). On each columns I have a list of items. I would like to be able to search an item and as a result I will have the name of the column: A, B or C.

    How can I do that?
    Procv is not working.
    ProcH is not working.

    Could you please help?

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: PROC? INDEX? Identify item in a matrix

    This formula should work, array entered(Ctrl+shift+enter) =INDEX(A1:C1,MAX(IF(A2:C10=E2,COLUMN(A2:C10)-COLUMN(A1)+1)))

    E2- lookup value
    Click the * to say thanks.

  3. #3
    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,460

    Re: PROC? INDEX? Identify item in a matrix

    Paul's suggestion in French:

    =INDEX(A1:C1;MAX(SI(A2:C10=E2;COLONNE(A2:C10)-COLONNE(A1)+1)))
    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.

  4. #4
    Registered User
    Join Date
    08-14-2019
    Location
    France
    MS-Off Ver
    365
    Posts
    5

    Re: PROC? INDEX? Identify item in a matrix

    Ali, Paul, thank you for your prompt help (so nice!) ... but still not working for me.

  5. #5
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: PROC? INDEX? Identify item in a matrix

    How do you search it? The formula will work only if the value you search is in E2. Have you entered it using Ctrl+Shift+Enter instead of regular Enter?

  6. #6
    Registered User
    Join Date
    08-14-2019
    Location
    France
    MS-Off Ver
    365
    Posts
    5

    Re: PROC? INDEX? Identify item in a matrix

    Yeap,Attachment 637260

    but I can't even get there (to E2). Reports an error in formula

  7. #7
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: PROC? INDEX? Identify item in a matrix

    Here is an example. Your attachment is invalid. GO to Advanced - Manage attachment to upload one
    Attached Files Attached Files

  8. #8
    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,460

    Re: PROC? INDEX? Identify item in a matrix

    You need to use the French version of the formula I gave you.

    Enter it with CRTL+SHIFT+ENTER

    =INDEX(A1:C1;MAX(SI(A2:C10=E2;COLONNE(A2:C10)-COLONNE(A1)+1)))

  9. #9
    Registered User
    Join Date
    08-14-2019
    Location
    France
    MS-Off Ver
    365
    Posts
    5

    Re: PROC? INDEX? Identify item in a matrix

    Fantastic, finally! YOU ARE THE BEST.
    Thank you very much for your help.

  10. #10
    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,460

    Re: PROC? INDEX? Identify item in a matrix

    De rien.

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

  11. #11
    Registered User
    Join Date
    08-14-2019
    Location
    France
    MS-Off Ver
    365
    Posts
    5

    Lightbulb Re: PROC? INDEX? Identify item in a matrix (Mac keys: CTRL+SHIFT+Enter)

    I'm using Mac (Excel), there is no way to find the key combination for CRTL+SHIFT+ENTER. Has anyone had this problem?

  12. #12
    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,460

    Re: PROC? INDEX? Identify item in a matrix

    Try SHIFT+CMD+ENTER.

+ 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] Identify letter patterns in matrix rows and columns
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-23-2018, 10:09 AM
  2. How to identify in a matrix if an X is listed in two columns of data
    By neim0003 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-25-2016, 01:51 PM
  3. Replies: 2
    Last Post: 10-14-2014, 07:12 AM
  4. Replies: 10
    Last Post: 03-27-2014, 06:05 PM
  5. Matrix: Identify cell content in column for a row if matrix content true
    By deuy2014 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2014, 11:52 AM
  6. Macro for OnKey: Can the proc name a VB6 proc?
    By im_chc in forum Excel General
    Replies: 1
    Last Post: 01-25-2006, 03:35 PM
  7. [SOLVED] How to identify entries in a matrix also present in another list
    By larkindale in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2005, 03:05 PM

Tags for this Thread

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