Solved

Remove a char from a column Excel 2007

Posted on 2014-04-11
3
198 Views
Last Modified: 2014-04-11
I have a col in a sheet that has an extra char that I need to remove for 400 rows.

The char is a "N" and is at the end of every row in col A. There is also space in between of what I want to keep. There is not set number of spaces in between what I want to keep and the "N". There are different begining words within the 400 rows.

See the attached.
Org-List-by-Group.xlsx
0
Comment
Question by:CMILLER
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39994743
In column B add formula:

=LEFT(A2,LEN(A2)-1)

copied down.

Then copy the column B range and Paste Special >> Values over the original column A range.

You can then delete column B.

This will keep the trailing spaces.
0
 

Author Comment

by:CMILLER
ID: 39994859
Thanks, that works. Can I use that same formula in an Access 2007 DB? Thats where I pull the xls from?
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39994868
I would think so because both the LEFT() function and the LEN() function are available in Access.
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

773 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