+ Reply to Thread
Results 1 to 10 of 10

Mixed text and number vlookup reference

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Mixed text and number vlookup reference

    Hi,

    vlookup table reference are mixed text and numbers in excel. Am trying to vlookup value return N/A.

    I would like the Vlookup amended so that If the numbers are stores as text on sheet.

    The both of sheets as numbers/text on the sheet using the vlookup formula, it will return the correct information.

    Your assistance in this regard is most appreciated.

    file attached.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,806

    Re: Mixed text and number vlookup reference

    Try:
    Formula: copy to clipboard
    =VLOOKUP(--B2,DATA!$A$2:$B$3709,2,0)



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Mixed text and number vlookup reference

    thanks for the reply sir,

    vlookup value return most of cells N/A.

    file attached. please help me.
    Attached Files Attached Files

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,512

    Re: Mixed text and number vlookup reference

    how about this, but it requires a helper column. Helper column begins in col C of the data sheet. make it =--A2 and drag down. Then use this in Req Format
    =INDEX(DATA!B:B,MATCH(--B2,DATA!C:C,0)) and drag down.

    EDIT: sorry, wrote put the helper in D, no, put it in col C instead, corrected info.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,806

    Re: Mixed text and number vlookup reference

    Try:
    Formula: copy to clipboard
    =IFERROR(VLOOKUP(--B2,DATA!$A$2:$B$3709,2,0),VLOOKUP(B2&"",DATA!$A$2:$B$3709,2,0))


    But it would be better if you formatted the cells as general.

  6. #6
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Mixed text and number vlookup reference

    Sambo kid ,

    TRICKS...

    THANKS FOR THE REPLY.

  7. #7
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Mixed text and number vlookup reference

    TMS.

    awesome, Thanks for the help, formula returns desired result.

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,512

    Re: Mixed text and number vlookup reference

    Nice Trevor, sometimes I forget about adding something in under iferror.

  9. #9
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Mixed text and number vlookup reference

    Sambo kid,

    thank you so much sir.

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,806

    Re: Mixed text and number vlookup reference

    You're welcome.

    @Sambo: thanks for the rep


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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] Vlookup errors with mixed text & numerals
    By capt_tony in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-03-2013, 07:31 AM
  2. Moving only Text in a Mixed Text/Number Column to different Row/Colum
    By eas84 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2012, 12:37 PM
  3. [SOLVED] Count - Multiple Mixed Criteria (Number and Text)
    By christopherprater in forum Excel General
    Replies: 4
    Last Post: 05-19-2012, 03:56 PM
  4. Showing 2 decimals in mixed number/text cell
    By Johnmus in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-17-2011, 12:11 PM
  5. Match number with mixed text num in Column
    By aljanga in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2009, 03:33 PM
  6. ZeroPadding Mixed Number, Text, Number Content in Cell
    By Sbubendorf in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2008, 05:52 PM
  7. Merging mixed (number/text) data into Word
    By camilof in forum Excel General
    Replies: 0
    Last Post: 06-09-2008, 06:52 PM
  8. Replies: 1
    Last Post: 10-22-2005, 02:05 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