?
Solved

Remove a char from a column Excel 2007

Posted on 2014-04-11
3
Medium Priority
?
205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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