+ Reply to Thread
Results 1 to 5 of 5

Concatenate two strings use it for Vlookup

  1. #1
    Registered User
    Join Date
    02-21-2013
    Location
    INDIA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Concatenate two strings use it for Vlookup

    Hi,

    I am trying concatenating two Strings and use the result of Concatenate as look up value in vlookup function

    The result in #NA

    I am using VLOOKUP(CONCATENATE(A1,"to",B1),H1:I3,2,FALSE) in D9


    A1 and B1 are Stings (Text)
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,831

    Re: Concatenate two strings use it for Vlookup

    You need to put a space either side of "to", i.e.:

    =VLOOKUP(CONCATENATE(A1," to ",B1),H1:I3,2,FALSE)

    Also, you need to have the same spelling - Nager or Nagar? Change one of them.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor visha_1984's Avatar
    Join Date
    11-27-2012
    Location
    Pune,India
    MS-Off Ver
    Excel 2010
    Posts
    290

    Re: Concatenate two strings use it for Vlookup

    try this one

    Please Login or Register  to view this content.
    Happy to Help

    VISHA

    Click *, if the suggestion helps you!
    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>> "Mark your thread as Solved"

  4. #4
    Registered User
    Join Date
    02-21-2013
    Location
    INDIA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Concatenate two strings use it for Vlookup

    Thanks pete

  5. #5
    Registered User
    Join Date
    02-21-2013
    Location
    INDIA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Concatenate two strings use it for Vlookup

    Thanks Visha

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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