+ Reply to Thread
Results 1 to 12 of 12

Hidden Formatting?

  1. #1
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70

    Hidden Formatting?

    Hello everyone,

    I am using the VLookup function with two seperate sheets. The first sheet is what I have created. The second sheet is one that was given to me.

    I know how to build the format as I have done it numerous times in the past. This one only works if I copy the data into notepad, then copy it back into excel. Then it will work. I have looked at the formatting and I cannot see any differences.

    Can anyone tell me a way to get it to work without the notepad part?

    Thanks,

    Stephen

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Build what format? Copy what into Notepad?

  3. #3
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70
    I am sorry. I have been so frustrated that I was a little scattered and wasn't clear and failed to add that information.

    I know how to build the formula not format.

    I have a column of numbers for ids that appear in both tables that look like this..

    100214521
    100000984
    200014521
    Etc.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Sorry, I still have no clue: What format?

  5. #5
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70
    It is in the General format. I tried to change the format to number and text as well. Still no luck.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Can you post a workbook and explain in context?

  7. #7
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70
    I have attached the example. You will see on page 1 I have placed the VLookup formula in column B.

    There are two funky things that are happening with the workbook. Try to see if you can create a VLookup on page 1 that pulls information from page 2. I cannot get it to work unless I copy column b of page 2 and paste into notepad. The copy the data from the notepad and past back into tab b of page 2.

    Really strange.

    Another think I noticed is that you cannot take the fill background off of page 1.

    Go ahead and try.

    Stephen
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70
    I wanted to revive this discussion. It seams like it lost steam over the weekend. Does anyopne have any ideas why this is occurring?

  9. #9
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    I cannot access your workbook for some reason. (something about htm files missing). It does sound like Excel is seeing some numbers as text (and others as numbers). Try this for each list (assuming your lookup number is in A1); in a blank cell =ISNUMBER(A1). If some come up true and others FALSE, that's your problem.

    ChemistB

  10. #10
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70
    Thank you for the reply. I tried the function and it was not a number so I changed the format to number but still no luck.

    Then I stumbled upon something very strange. I did a find and replace and replaced all the zeros with zeros. Any numbers with the zeros then worked.

    This is making me pull my hair out.

  11. #11
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    One of the irritating things about Excel is that when you change the cell from text to number, Excel doesn't recognize the fact until a calculation occurs within the cell. I guess replacing all the zeros with zeros qualifies. Typically the trick is to use Data>text to columns or multiply all cells by 1 (using Paste Special>multiply). Glad you got it working.

    ChemistB

  12. #12
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70
    I tried your suggestion and I like it. I also told a couple others I work with and it was well received.

    Thank you so much for the suggestion.

    Stephen

+ 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