+ Reply to Thread
Results 1 to 12 of 12

vlooup-Can't find existing value - NOT format problem

Hybrid View

  1. #1
    Registered User
    Join Date
    03-24-2008
    Posts
    11

    Attachment

    Attachment.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-24-2008
    Posts
    11
    I've tried the formula:

    =IF(B15="", "", VLOOKUP(TEXT(B15,"0000000"), products, 2, FALSE))


    It did not work: The Item UPC is anything from 5 to 7 digits.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I've tried the formula:

    =IF(B15="", "", VLOOKUP(TEXT(B15,"0000000"), products, 2, FALSE))


    It did not work: The Item UPC is anything from 5 to 7 digits.
    ...yes I noticed..



    Try selecting Column B and then go to Data|Text to Columns.

    Click Next twice to get to the 3rd window.

    Select Text in the top right corner and then click Finish.

    Now when you type in a number with a leading zero, it should stay.

    Note: You may have to re-type some of your previous entries.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    03-24-2008
    Posts
    11
    It worked!!!!!

    Thanks a lot!!!!

    So, I guess it WAS a formatting problem.

    But why didn't a regular cell formatting work?


    I've noticed that If I insert a new row, I have to redo the process.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I've noticed that If I insert a new row, I have to redo the process.
    I tested this on the sheet you attached and I don't have to redo the process.... It stays text-formatted.

  6. #6
    Registered User
    Join Date
    03-24-2008
    Posts
    11
    Quote Originally Posted by NBVC
    I tested this on the sheet you attached and I don't have to redo the process.... It stays text-formatted.

    I Highlighted the column and choose Text as my format. Then I re-did Text to Columns. Then every time I inserted a row, the format stayed the same.

    But before that,the new row would have a General Format.



    Thanks for the help!!!

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by EliJB
    I Highlighted the column and choose Text as my format. Then I re-did Text to Columns. Then every time I inserted a row, the format stayed the same.

    But before that,the new row would have a General Format.



    Thanks for the help!!!

    So problem solved?

  8. #8
    Registered User
    Join Date
    03-24-2008
    Posts
    11
    Problem 100% solved.


    Thanks!!!!!

+ 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