+ Reply to Thread
Results 1 to 6 of 6

Question mark character?

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Question mark character?

    Hello...

    I am posting for the first time and hoping for some insight regarding an issue. I have an input file from a client formatted as an "xls" file. My company's application takes that file and processes it in order to return some additional information. We generate an output file that first just parrots back the input columns provided by the client. Generally that's a no brainer, but this time all of those cells have a little character after the text. I just tried to copy it here but it doesn't work. It's a little black diamond with a white question mark in it.

    I don't know if it's a special hidden character. If so, I don't know how to get rid of it. It does not display in my input file.

    I cannot return the file to the customer this way. Does anyone have any knowledge about this?

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: What's this silly little question mark character?

    Hi JoanneC,
    you will find that the are new line markers
    "Alt" + "Enter"
    which splits data up in a cell into new line within the cell
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    11-10-2011
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: What's this silly little question mark character?

    Wow!! I am so glad to know that. So can I turn them off or make them not visible like paragraph and space indicators in Word? If I send the file with them visible, will they also be visible to the client?

    Thanks so much for your help!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: What's this silly little question mark character?

    See here...http://en.wikipedia.org/wiki/Unicode...ment_character

    It seems to be an unknown character.. You may need to fix the text in the file before importing into excel
    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.

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: What's this silly little question mark character?

    Hi JoanneC
    I've used this code in the past to "clean" non-printable characters...see if it works for you. Specify in the code the column(s) you wish to "clean".
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  6. #6
    Registered User
    Join Date
    04-03-2017
    Location
    Auckland, New Zealand
    MS-Off Ver
    2010
    Posts
    12

    Re: Question mark character?

    If pike is correct with "new line markers" then =SUBSTITUTE(A1,CHAR(10),"") will remove the trailing hard return (Alt+Enter).

    If you're not sure what the character is though, =SUBSTITUTE(A1,RIGHT(A1,1),"") should cater for any odd characters at the end of the text. I'd use =trim(CLEAN(SUBSTITUTE(A1,RIGHT(A1,1),""))) just to make sure to catch everything, like trailing spaces.

    I've just applied it to the string "Women photographers � New Zealand" using =SUBSTITUTE(A1,MID(A1,SEARCH("s ",A1)+1,3),"|") and got 'Women photographers|New Zealand". The black diamond "Replacement Character" was a substitute for a question mark [=CODE(63)] for some reason, but =SUBSTITUTE(A1,CHAR(63),"") would not remove it.
    There is always a better way.

+ 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