+ Reply to Thread
Results 1 to 6 of 6

Index + Match to return result with Left function

  1. #1
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Index + Match to return result with Left function

    Hi everyone,

    I have the following formula:

    =INDEX(Data!E:E&Data!F:F&Data!G:G&Data!H:H&Data!I:I,MATCH(B27,Data!A:A,0))

    What I'm trying to do is add the LEFT function so that the Match returns only the first letter of the result string. I've tried a few instances of adding Left to the Match section but it either doesn't do anything or I get an error. So I kind of what it to look like this (I know its wrong):

    =INDEX(Data!E:E&Data!F:F&Data!G:G&Data!H:H&Data!I:I,MATCH(B27,Left(Data!A:A,1),0))

    Any ideas?

    Thanks

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: Index + Match to return result with Left function

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Please describe what you want to achieve
    Last edited by Pepe Le Mokko; 07-21-2014 at 12:55 PM.

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

    Re: Index + Match to return result with Left function

    This is array formula.Confirm with Ctrl+Shift+Enter keys
    Please Login or Register  to view this content.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Index + Match to return result with Left function

    Wouldn't it be

    =LEFT(INDEX(Data!E:E&Data!F:F&Data!G:G&Data!H:H&Data!I:I,MATCH(B27,Data!A:A,0)),1)

  5. #5
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: Index + Match to return result with Left function

    Jonmo, the simplicity of your answer makes me feel inadequate. Thanks very much for your help!

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Index + Match to return result with Left function

    You're welcome.

+ 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. INSERT/MATCH Function - can I match and return more than a single result?
    By nickwee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2014, 06:02 AM
  2. Vlookup/Match/Index combined with IF function to return 2nd to last result
    By Ollypetcon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-23-2014, 07:54 AM
  3. [SOLVED] index and match function result from three way look up
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2013, 03:32 AM
  4. [SOLVED] Left Function in Combination with IF, LOOKUP, MATCH, or INDEX?
    By superwhoever in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-29-2012, 01:31 AM
  5. Replies: 7
    Last Post: 06-09-2011, 05:25 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