+ Reply to Thread
Results 1 to 7 of 7

Making Data Formats Match for vlookup

  1. #1
    Registered User
    Join Date
    09-25-2008
    Location
    Scotland
    Posts
    12

    Making Data Formats Match for vlookup

    I'm trying to do a basic vlookup on three different spreadsheets however i ALWAYS have the issue of the data formats for the reference field not matching. i.e. some are stored as text, some as numbers etc The refernce filds i am using contain the same data but the vlookup can't seem to find them.

    What is the easiest way to make them match. Format Cells - Number does not work, i highlight all the and click on the green arrow indicating there is an error with the cells and click convert to number, still doesn't work. Please help.

    The reference field is a list of part numbers often begining with a 0. If needs must the 0 could be dropped when formating to a number but would prefer it didn;t have to.

    Many Thanks

    Colin

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    have a read here
    http://www.contextures.com/xlFunctions02.html#Trouble

  3. #3
    Registered User
    Join Date
    09-25-2008
    Location
    Scotland
    Posts
    12
    Thanks for your help but the two formulas below do not work.

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

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    well they do! but i dont know how you are using them!
    did you try the other options?
    =VLOOKUP(--A7,Products!$A$2:$C$5,3,FALSE)
    post a sheet with sample data that doesnt work

  5. #5
    Registered User
    Join Date
    09-25-2008
    Location
    Scotland
    Posts
    12
    Yes =VLOOKUP(--A7,Products!$A$2:$C$5,3,FALSE) works fine. I have now managed to get the second one i posted to work thanks, but the first one gives me the erroe in the screen dump attacted. That is just a sample sheet.

    Many Thanks

    Colin
    Attached Images Attached Images

  6. #6
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    take out the ) after the ""

    HTH

  7. #7
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    It's because the ")"
    try this
    Please Login or Register  to view this content.
    I need your support to add reputations if my solution works.


+ 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. Making one sheet's data appear in another sheet
    By spdorsey in forum Excel General
    Replies: 6
    Last Post: 09-24-2008, 12:55 PM
  2. Match two lists of data, if set A is >25% of set B output difference
    By eldoradotower in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2008, 04:09 PM
  3. Extract and summarize from 100 worksheets into one
    By HMIExcel08 in forum Excel General
    Replies: 6
    Last Post: 06-23-2008, 10:08 AM
  4. Making a line chart showing increases in data usage over time
    By rebecca08 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-24-2008, 04:55 PM
  5. Match data in two columns and import third
    By PaPaDiZ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-13-2008, 02:09 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