Removing Data After Several Different Characters?

Dec 11, 2013

Currently I've been able to remove the prefixes and suffixes using the replace option as those were consistent across the data set, I'm now left with a series of numbers that look like this:

11.225D2
11.24c1
11.28.r1
11.31.1.2h1
11.36.g1
11.39 A2
11.39B1
11.3c1

In most cases I need to remove the information after the last period. Some of the data has a space at the end, instead of a period and then some have no space or period but have the letter that needs to be dropped. I'm using xl 2011 for MAC.

View 6 Replies


ADVERTISEMENT

Clean Data - Removing Unwanted Characters

Feb 25, 2007

I have an excel sheet with approx 30,000 rows of data.

These are all keyword phrases.

They can be related to any subject, but for this example these are related to the root keyword phrase of "car Rent"

I have some software which basically pulls in keyword phrases from search engines and meta tags etc, including misspelled keyword phrases.

My problem;

The data is uncleaned.

In other words there might be I think it's called "Carriage return" data in there, so the row of data might be very deep (Instead of a row height of say 10.5 it could be anything, IE some could be 100 or 200 even).

There are unwanted characters, for example; ()[]{}+?!""^*

(If it could delete all unwanted characters except for letters/digits)
There is a problem I see, that if it removes _ or - between words, that it will join the words together which won't be of any use. If it deletes anything with a letter either side of it or a letter and digit, or 2 digits, 1 either side it would then need to add a space to replace the hyphen.

So for example; if there was a phrase in the list like ....

View 9 Replies View Related

Removing Multiple Invalid Characters For Dependent Data Validation List

Oct 14, 2009

I have a list drop down that is dependent on a first list. The first list has numbers, spaces, and "-" at the beginning I need to get rid of to make it a valid name to reference. The "Substitute" function can't be nested enough times to make this work for me since I have a fairly lengthy list for the independent column which has differing numbers at the beginning. The first two examples of the independent drop down (which would dictate the second dependent column and drop down) are:

00 - Preconstruction
01 - General Conditions

I would like to name these something like "Preconstruction" and "GeneralConditions" for valid naming convention.

Second thought:

If character removal isn't the most efficient or possible at all, is there a combination of reference functions that could make this work? Ultimately I want to use these 2 drop downs for reference functions on a second worksheet.

View 3 Replies View Related

Removing Last Three Characters?

Jan 29, 2014

I need to remove/trim in column B the last three characters in each cell so that I am only left with the first 12 characters.

View 3 Replies View Related

Removing ’ê Characters

Apr 11, 2007

I am trying to remove ’ê characters from my excel sheet, as they are preventing me from using the text to columns function correctly. I have attached an example extract of data, could someone let me know how I can remove these, as the find and replace wizard in excel doesn't allow me to do this?

View 5 Replies View Related

Removing The / Between Characters In A Cell

May 14, 2009

See the attached file. I regularly receive input files which I have to reformat and upload to a website as a .csv. The website does not like the / between the characters on the Input Data tab. Is there a way to automatically search and remove them and leave the rest of the characters intact? The columns do not always appear in the same order and there could be more or less columns. On the Import Template tab, columns A-I will always be there, so ideally the code should make the changes from the Input Data tab and copy the present columns (J thru whatever) header and data over to the Import Template tab starting in 'J1'. I think that VBA would be the best way to go due to the variable nature of the columns.

View 4 Replies View Related

Removing Characters From Cell

Oct 29, 2013

I have the following in cell A1:
0113 CDW 3 yr Coterm - Ironport devices

I need to remove 0113 from this cell to read only:
CDW 3 yr Coterm - Ironport devices

Any formula to do this?

View 5 Replies View Related

Removing Characters From End Of Each Cell

Aug 24, 2009

I ran a couple of formulas in column E and now it looks like as shown in the attached image.

The cells now contain different characters at end. Sometimes its a couple of commas, hyphens, blank spaces etc.

Is there a formula which can remove the ending characters in case they are not alphabets or numbers?

View 9 Replies View Related

Removing Characters Before Word

Mar 21, 2007

1. I am trying to remove some unwanted characters in the cells. I have in column A a list of stock counters preceeded by their tickers e.g.

1D42 - CM TEL
1G47 - CSE GLOBAL

Prior to exploring VBA, i was manually doing mid(A1,8,20) to remove those characetrs before the actual name starts but as my list goes on indefinitely, the numbers grow and now i have a few thousand stocks in my portfolio. Also, for some names i cannot use mid(A1,8,20) anymore if the tickers are longer than 5 or 6 characters or are simply shorter.

So now I am trying to see what code will enable me to remove all characters before the actual name i.e one character space right after the Hypen. The hypen only appears ONCE in the cell as the names will not contain them.

2. In addition, after all is removed, what is the code that will be needed to do an automatic Sort of the data corresponding to the stocks (From column A to K) based on alphabetical order?

View 6 Replies View Related

Removing Preceeding And Trailing Characters

Feb 27, 2009

I am trying to create a CSV file to import all of our workers into a payroll software. Unfortunately the list of workers that I have been given to work with has a first and a last name together in one cell. I need to split them into separate cells so the data ends up in the right field in our software. By importing external data and separating the names with the comma as a delimiter, I have ended up with the first name in one cell and the second in another, which is exactly what I need. However, this process also ends up putting a quotation mark in front of the first names in the cells in column A, and a quotation mark after the second name in the cells in column B.

I remember to removing trailing spaces with a macro once, and I am hoping the same theory can be applied to make two macros - one to remove preceding quotation marks, and one to remove trailing quotation marks. The only trouble is, I know no VBA whatsoever, and don't even know how to make a macro unfortunately. Would someone mind letting me know if what I need is possible, and then - literally step by basic step - explain how to make a macro and provide the code to paste into it?

View 2 Replies View Related

Removing Unwanted Characters & Moving Others

Jul 9, 2009

I'm needing some code that will remove an open quotation mark from the numerical value found in column A. This will be for every row with a numercal value.

example problem: "360015
example answer: 360015

All numbers will be 6 digits

And I've got another issue with numerals in column C. To the left side of the Cell there maybe a Number or Letter. To The Right side of the cell
there will be a single or double digit number. Both will be separted by some space (6-8 spaces). As in the examples below:
(again what you see on each line is in one cell in col. C.

R 59
E 6
0 4

I need the value on the left side of the cell to be moved concenate/merge with the values in column B.

There's will be approx 2000 rows that will need to be checked for this occurrance. Since there's so many rows,
I'd really would like to use VBA and not formulas to accomplish this.

View 4 Replies View Related

Removing Characters From A String Variable

Jun 12, 2006

Let us assume x and y are strings. Now let us make x equal to a small sentence (ie. full of words and spaces). I now need to somehow make y equal to x, but with the last word removed. I need to do this in VBA.

View 3 Replies View Related

Removing Single Variable Characters Within Cell

Jul 29, 2013

I need to remove the letter within the middle of a persons name.

For example, if the person is called 'Michael J Fox' then it needs to be edited to show only 'Michael Fox', if the person is called 'George W Bush' then only 'George Bush' should be displayed etc. However the persons name should remain as is if a middle character initial does not exist.

View 5 Replies View Related

VBA - Removing Front Spaces And Special Characters

May 26, 2009

i have data which has lots of these hyphen "-" how can i get rid of them,

for example -Eq Cash-

i need the result to be

Eq Cash

Also i have lots of front spaces in my data, how can i get rid of those? so for example
Test (there is 2 spaces before T)

View 9 Replies View Related

Remove Characters From A Social Security Number Without Removing The Zero's In The Front

Apr 14, 2009

I need to know how to remove characters from the date field in Excel.

Example:

9/12/1975 - I need it to read 09121975.

I also need to know how to remove characters from a social security number without removing the zero's in the front.

Example:

012-34-5678 - I need 012345678.

View 9 Replies View Related

Removing Specific Data From Series Data In A Chart

Nov 1, 2011

I have a combination chart with data from Sun thru Sat (7 days). My manager wants to display only the weekday data (M,T,W,Th,F) and remove the weekend data (Sat,Sun). However, I also need this data to be included in other charts I need. I was thinking in years past, that I was able to remove specific data from the chart directly without having to alter or change the spreadsheet data? I have copied a second set of data and hid the weekend data, however, I have gaps in the data, which I need to remove in the chart display. Not sure what to do, or the best avenue?

View 2 Replies View Related

Removing Spaces At The End Of Data?

Feb 17, 2012

In my spreadsheet, column A, I have a list is part #'s. I have found at the end of my part #'s there are several spaces in each cell. I need to remove these from the cells so that my formulas will be easier to use. Is there a way to do this? The part #'s very in length and format. They would look like this "100020x0 ".

View 2 Replies View Related

Removing Columns With No Data

Aug 7, 2012

I am working on importing contacts from Zimbra to Outlook/Exchange.

Outlook is not properly importing the contacts and is consistently importing only some of the data for each contact. So, I played around a lot with the import file and have found that if I delete out all the columns that have no data in them for any contact record, that Outlook imports no problem, perfectly.

So...here's my issue. I have multiple contact lists for each user that I am importing. We're talking about 100 different CSV files to sort through, some of which have at least 500 records (rows) in them. It is a lot of scrolling up and down left and right to find columns manually/visually that have no data in them.

Any manner in which I could add a row at the top of each CSV/excel file, input a formula, drag it across all columns that will tell me if there is data within that row? I tried using a filter, but because a lot of the data columns have no data in the first row across multiple columns, it doesn't seem to be accurate.

View 1 Replies View Related

Removing Data From A List

Oct 10, 2007

I need to give the facility for a line to be edited (Columns A to E would remain as-is, only F would change. I also need to give the facility for a line to be removed completely.

Private Sub CommandButton1_Click()
Dim shDest As Worksheet
Dim shSource As Worksheet
Dim Rw As Long

Set shDest = Sheets("BLOCKTIMES")
Set shSource = Sheets("DATA ENTRY")
Rw = shDest.Range("B65536").End(xlUp).Row + 1

With shDest
'B2 to column B; D4 to Column C; C3 to Column D...........

View 9 Replies View Related

Removing Unwanted Data From Worksheet

Mar 22, 2013

I have a data sheet which I need to filter in some way with multiple criteria. For example

I have a sheet called Training which has 4000 rows of data. Column F is labelled Cost ID and under this column I have 400 different IDs of which I need to see data for 155 out of the 400.

Is there a simple way of removing the unwanted data?

View 5 Replies View Related

Removing Duplicates From A List Of Data

Apr 3, 2014

I have data in the form of a table. For example a list of duplicate names, each of these names have a corresponding date (lease expiry date). The problem is that the duplicate names have varying dates. So the remove duplicates function does not work because i need to remove the duplicate names with the older dates. I want the latest dates to remain behind.

Data Currently: Solution should be:
Sue1/3/2014Mike8/8/2014
Jay25/4/2013Sue1/3/2014
Jay25/4/2013Jay25/4/2013
Mike8/8/2014
Mike8/8/2014
Sue1/3/2014
Sue25/6/2012
Sue1/3/2014
Sue5/7/2012
Jay2/2/2011
Mike5/5/2010

View 1 Replies View Related

Removing Symbol From All Cells In Data

May 28, 2014

How to remove all the " symbol out of a string of data?

The " symbol appears at different places and i need to remove them all completely. the Find & Replace tool doesn't work because when you have say 3/4" and want it to just read 3/4 it automatically converts it to 03-Apr. even when you have changed the cell formatting to text.

View 12 Replies View Related

Rule For Removing Duplicates In Data?

Jun 10, 2014

I'm trying to find out the rule for de-duplicating data. I am removing duplicates based on an identification number in a data set of about 6000 records, including the duplicates (some records appear about 4 times). Due to the nature of the data I'm working with, there are only a handful of records that are "true" duplicates, i.e. some of the records appear 4 times but there is a difference in terms of location, etc and some are true duplicates in that there is no difference.

I need to know how Excel removes duplicates - does it only keep the first line that it finds for that identification number? Also, is there a way that I could create a rule for it to keep the record with the highest rate for example?

View 3 Replies View Related

Removing Spaces And Seperating Data

Dec 4, 2008

I have some data that is seperated by spaces. I need to split the data so each is in a seperate cell and then remove the spaces. I can do this if there is only one space inbetween the data, but that is not always the case. I attach a workbook with examples.

View 6 Replies View Related

Removing Data From Pivot With Zero Values

Apr 22, 2009

I have a worksheet with columns A to E which hold the following data:- Week No, Budget Code, Budget Description, Name and Hours. However, as you can see in the attached spreadsheet there is not always a value in the hours field.

What I want to achieve is to automatically exclude any of the rows of data in the Pivot table that includes zero in the hours field (such as the rows highlighted in yellow) and also not to show if/when the pivot table is refreshed.

View 3 Replies View Related

Removing Gaps From Data Extraction

Nov 13, 2009

I'm doing some simple data extraction, e.g.
A B
1 bob 3
2 mandy 4
3 charlie 6
4 dave 1
5 steve 5

So I had in c1 to c5 = =if(b1 > 3, a1,"") autofilled, which works fine, but I end up with,

gap
mandy
charlie
gap
steve

how would I get,

mandy
charlie
steve

also is it possible to have an if statement in 1 cell change the value of another cell?

e.g.
in a1
if(b1>5, c1="yes",c1="no"), can't seem to get it to work

View 14 Replies View Related

Removing Empty Rows From Set Of Data?

Jan 24, 2013

removing empty rows from my set of data.

I have a big set of data that I'm copying and pasting into excel. When I paste it there are 2 empty rows between each line of data. I want to remove these empty rows, without affecting the data. I tried 'Go to special...' and deleting all empty cells and stuff but I couldn't get it to work. The problem is that there are blank cells in some of the rows that I want to keep. When I try to remove the blank rows, I also end up removing rows of data that I want to keep.

I've made an example for you to try and explain it better - attached.

remove all of the rows that are completely empty, but leave any row that has any data in it (at any point), that would be awesome!

View 4 Replies View Related

Removing Data From 2 Different Worksheets With Same Macro?

Feb 17, 2014

I have this Macro that removes the selected items from the listbox1 and sheet called "Form" the only problem with that is that I have another sheet with a formulas in it that referes to the cells/ranges in sheet "Form" and so when I remove the range in "Form" worksheet the range still exists in my other worksheet where the formulas are and this is causing the errors.

What modifications I need to make to my macro to be able to delete data/ranges from sheet "Form" and sheet "Training Cost" ? so if I delete range A5:D5 in sheet Form it will also delete range A5:D5 in Training Cost.

[Code] ......

View 2 Replies View Related

Removing Duplicates From Long Row Of Data

Mar 12, 2014

I have several fields in a row that contain names of files e.g. 123.xlsx. Some fields will contain file names that will be duplicates of each other and some will be blank entries (although the blank entries can be changed to a value such as 'n/a' or 'no' etc if required).

I require only the non duplicate values to appear in the final cell, each separated with ';'.

My data is in row 2 of a spreadsheet and in every other column (A,C,E,G,I,K,M...for 45 instances in total).

I have used the following formula to identify the unique values (example below for the first four cells):
=A2&IF(C2=A2,"",","&C2)&IF(OR(E2=A2,E2=C2),"",","&E2)&IF(OR(G2=A2,G2=C2,G2=E2),"",","&G2)

This works well and if there are several blank entries then I use a SUBSTITUTE function to change the multiple ',,,,' to a single ';'. So I only see the unique file names in the final cell, separated with ';'.

However, the above formula becomes longer and longer when each cell is added to it. I have over 40 cells that need to be added and I wondered if there was a better way of doing this?

View 6 Replies View Related

Removing Data Based On Multiple Criteria

Mar 30, 2009

I need to remove any rows containing "EEE" in the size column.

I also need to remove any discontinued ("D" in the "Type" column)styles that are currently not in inventory. For example 05-5490 does not have any available in either width "D" or "EW" and should be removed; however, 28-112 does have stock and should remain in the spreadsheet. Anything with an "F" in the "Type" column should be left alone.

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved