+ Reply to Thread
Results 1 to 7 of 7

Formula needed please for a vlook up and match to return a specified value in a column

  1. #1
    Forum Contributor
    Join Date
    01-29-2018
    Location
    United states
    MS-Off Ver
    2019
    Posts
    243

    Formula needed please for a vlook up and match to return a specified value in a column

    Hello everyone I have a problem I know what I need but can not seem to get it to work, I have 9 columns with 500+ rows of different possibilities from a drop down list. I need the items entered in the drop down list to be looked up in the table below with all the different possibilities, and return a specified value in column M

    I am unsure how to do this, I have tried a vlook up and match but I think i am missing something as i cannot get it to work.

    Any help would be great
    The excel sheet is attached

    Thank you for your help guys.
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Formula needed please for a vlook up and match to return a specified value in a column

    Why not create a helper column in column D which contains a simple concatenation of the options in columns E to M.

    e.g. =CONCATENATE(E5,F5,G5,H5,I5,J5,K5,L5,M5)

    Once you have this, you can use a VLOOKUP function to return the value in column N
    Martin

  3. #3
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Formula needed please for a vlook up and match to return a specified value in a column

    Hi,

    Good suggestion from mrice, otherwise you'll end up using a somewhat clumsy Array formula to be confirmed by CSE (Control, Shift, Enter):

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached.
    Attached Files Attached Files
    Last edited by jtakw; 09-08-2018 at 03:49 PM.

  4. #4
    Forum Contributor
    Join Date
    01-29-2018
    Location
    United states
    MS-Off Ver
    2019
    Posts
    243

    Re: Formula needed please for a vlook up and match to return a specified value in a column

    Hello jtakw
    Thank you for the formula

    But I have a question. When i open the file, and click on the cell with your formula there is a { at the beginning and a } at the end of the formula. As soon as I try to edit it the {} dissapears leaving the formula as =INDEX(N14:N521,MATCH(E5&F5&G5&H5&I5&J5&K5&L5&M5,E14:E521&F14:F521&G14:G521&H14:H521&I14:I521&J14:J521&K14:K521&L14:L521&M14:M521,0))

    When I hit enter it comes back with a value error, when i try to put in the { and the} at the beginning and end of the formula it comes back as a text and does not calculate the value.

    I need to edit the returned value from N14: s521??? or there abouts. what is going on? how come i can not edit the formula??

    Please any advise would be great
    And thank you.



    Quote Originally Posted by jtakw View Post
    Hi,

    Good suggestion from mrice, otherwise you'll end up using a somewhat clumsy Array formula to be confirmed by CSE (Control, Shift, Enter):

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached.

  5. #5
    Forum Contributor
    Join Date
    01-29-2018
    Location
    United states
    MS-Off Ver
    2019
    Posts
    243

    Re: Formula needed please for a vlook up and match to return a specified value in a column

    Hello Mrice
    I used your formula and got it to respond the 5 row without commas, but I can not seem to get it to work with referencing the table, I then took your formula applied it to all the 521 rows but still could not get a match
    Any help would be great

    Thank you

    Quote Originally Posted by mrice View Post
    Why not create a helper column in column D which contains a simple concatenation of the options in columns E to M.

    e.g. =CONCATENATE(E5,F5,G5,H5,I5,J5,K5,L5,M5)

    Once you have this, you can use a VLOOKUP function to return the value in column N

  6. #6
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Formula needed please for a vlook up and match to return a specified value in a column

    Working example attached.
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Formula needed please for a vlook up and match to return a specified value in a column

    Read my post # 3, Formula Must be confirmed by CONTROL, SHIFT, ENTER, excel will automatically insert the curly brackets {} around the formula, do NOT try to type it in yourself.

+ 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: 1
    Last Post: 11-16-2015, 03:36 PM
  2. [SOLVED] Formula needed to match two columns on two spreadsheets and return a third
    By scyllanbay in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-14-2014, 11:26 AM
  3. Replies: 3
    Last Post: 02-21-2014, 10:02 AM
  4. Formula Needed to Match and Return Data from a Different Sheet
    By gunk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-25-2012, 08:35 PM
  5. Formula needed to return values for partial or full match
    By IntRes in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-07-2012, 08:32 AM
  6. vlook up return more than one match
    By dphair1979 in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 08-28-2007, 10:46 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