+ Reply to Thread
Results 1 to 5 of 5

Get value for alterantive names

  1. #1
    Registered User
    Join Date
    10-31-2015
    Location
    zagreb
    MS-Off Ver
    2016
    Posts
    6

    Get value for alterantive names

    Hey,

    I need to return the original name for alternative names.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Get value for alterantive names

    As long as you don't have too many names

    =INDEX(A:A,SUMPRODUCT(($B$2:$D$4=H2)*ROW($B$2:$B$4)))

  3. #3
    Registered User
    Join Date
    10-31-2015
    Location
    zagreb
    MS-Off Ver
    2016
    Posts
    6

    Re: Get value for alterantive names

    Thank you for the fast solution.

    Can I add something to return "" if the value from the list doesnt exist in array.

    By too many names you mean too much rows or columns?

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Get value for alterantive names

    I just meant if it gets slow

    =IF(SUMPRODUCT(($B$2:$D$4=H2)*ROW($B$2:$B$4))>0,INDEX(A:A,SUMPRODUCT(($B$2:$D$4=H2)*ROW($B$2:$B$4))),"")

  5. #5
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Get value for alterantive names

    Hi, to all!

    Another option could be:
    [I2] : =IF(COUNTIF(B$2:D$4,H2),INDEX(A$2:A$4,AGGREGATE(15,6,ROW(B$2:D$4)-ROW(B$1)/(B$2:D$4=H2),1)),"")

    And drag it down. Blessings!

+ 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: 3
    Last Post: 03-14-2017, 01:48 PM
  2. [SOLVED] List in dynamic combobox which shows open workbook names and workshee names
    By igormigor in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2016, 06:09 AM
  3. Replies: 2
    Last Post: 12-08-2015, 03:01 PM
  4. [SOLVED] Error Message on Cell References, Range Names, Defined Names, etc.
    By BLS99covert in forum Excel General
    Replies: 2
    Last Post: 12-29-2014, 05:37 PM
  5. [SOLVED] I need to compare student quiz submission names/grades against a master list of names.
    By NoxExcel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-15-2013, 08:00 PM
  6. Replies: 1
    Last Post: 05-14-2012, 10:14 AM
  7. Replies: 5
    Last Post: 01-13-2012, 03:20 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