Solved

Adds little box to the end of fields

Posted on 2011-09-26
6
283 Views
Last Modified: 2012-05-12
It's a little formatting box.  Yet if I place the cursor in one of these cells, in the cell I see:

R55[]    (pretend those brackets are a little box)

But in the line where you edit the text, the box is not there.  And if I just press Enter, now the box is gone from this cell!  The problem is that I have many hundreds of these cells.

Any ideas anyone?
0
Comment
Question by:dougp23
6 Comments
 
LVL 26

Expert Comment

by:redmondb
ID: 36601728
dougp23,

Could you post a sample file with at least one of these cells, please?

It's very likely that it's a single character that just needs to be replaced (formula or macro, your choice), but in case there are others, the more data you can send, the better.

BTW, what program does the original data come from?

Thanks,
Brian.
0
 
LVL 7

Assisted Solution

by:hippohood
hippohood earned 150 total points
ID: 36601783
You have one of special symbols (like Carret, Tab, etc.). They are used to format text in TXT format and not shown while printed. It is not unusual to have them in your spreadsheet after converting from a text file

If you are lucky, the very simple way to remove it is to
1) start editing the cell
2) select and copy (Ctrl+C) that symbol
3) press Esc, & Replace window
4) Paste (Ctrl+V) in the Find Waht fieldm and make empty the Replace With window.
5) press Replace All

Depending on the nature of symbol, it will or will not delete all it's occurences in your sheet

If it doesn't work, find out what symbol is that. The formula below (replace A1 with address to one of your cells) will tell you the code of the last symbol
=CODE(RIGHT(A1,1))

You can try enter this symbol in Find What field by dialing the code above on NUMPAD (important!) ketboard while pressing Alt. The entered symbol may stay invisible and look like space to you, but it would be reaplce.

If it also doesn't work - let us know what symbol code you are getting and we find a way
0
 
LVL 7

Expert Comment

by:hippohood
ID: 36601795
the items 3) and 4) shall be as below. Sorry, it seems I have a problem with my browser

3) press Esc, open Find & Replace window (Ctrl+H)
4) Paste (Ctrl+V) in the Find What field and make empty the Replace With window.
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 13

Expert Comment

by:nike_golf
ID: 36601804
We export some documents from a program that also leaves a similar item defined by the program, to identify page breaks on the report it generates a "square".

I would agree with Brian, in that a formula or macro is the best way to remove them unless you can suppress them in the actual program generating the data.

NG,
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 350 total points
ID: 36602196
You can also use the CLEAN() function to strip any non-printable characters from a cell

In a helper column use

=CLEAN(A1)

Copy down. Then copy the helper column and use Paste Special > Values to paste over the original data. Now you can delete the helper column.

This will remove several different non printable characters in one go, so you don't have to repeat a Find and Replace.

cheers, teylyn
0
 
LVL 1

Author Closing Comment

by:dougp23
ID: 36712459
Wow, love that CLEAN function!!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question