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


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 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 Unwanted Duplicate Lines

Sep 16, 2009

Hi, I have a report that has multiple lines for the same job with notes of issues and solutions. Each line has a date assosiated with it.

What I need to do is to delete all of the notes apart from the first one. I have attached a sample of the data and highlighted the rows that need to be kept.

I have left the data in it's raw form as it is not always extracted in date order.

Can anyone help me out with a Macro that will sort the data and remove all rows apart from the earliest note per job number?

View 7 Replies View Related

Removing Unwanted Text From Cells In VB

Sep 17, 2007

E122112 David Hall
Robert Townsend
Micheal Keel
Tanya Smith
Elizabeth Charles
E004587 Andrea Tummings

The problem is for those names that come thorugh with the Letter and than the number...I don't need the names like that....I would like a Macro that would look at each cell in column A and remove that from those selected cells. I would like my result to look like this...

David Hall
Robert Townsend
Micheal Keel
Tanya Smith
Elizabeth Charles
Andrea Tummings

View 9 Replies View Related

Removing/Greying Out Unused/unwanted Columns & Rows

Jun 21, 2006

Need to find out how I can restrict a worksheet to show only the columns and rows that I want. For example, I want to show columns A to H, and rows 1 to 25, and nothing else - I don't want there to be a column G, or a row 26, just blank grey space. I know it's possible, because I've seen it done : D . But the closest I can get to is: View > Page Break Preview, which isn't quite what I'm after.

View 2 Replies View Related

Excel 2010 :: Filter To Select Records - Removing Unwanted Blank Cells

Jul 25, 2013

I have a spreadsheet which is used by users unfamiliar with Excel. They are using the filter to select records, however when this is used some records appear which have no entry in the cells of that column. Can I overcome this? There is no data in the blank cells, other than a data validation drop down.

View 1 Replies View Related

Getting Rid Of Unwanted Data

Feb 10, 2009

Each week I import some data into my workbook (its financial-imports stock names, identiy codes and stock type). I've added a formula which calculates the credit ratings of each stock type, and then conditional formatting to highlight any credit ratings which are less than my required rating.

Further to this I need to get rid off all the rows which which have an stock type "No Asset Class". I cant use auto-filter because there are too many other stock types which I need to be included.

View 2 Replies View Related

Filtering Out Unwanted Data

Jul 25, 2014

I am working in a worksheet with 15k rows of data. I have sorted and added subtotals. Is there a way to remove data based on number of occurrences? Example, if the same account number is listed less than times in the worksheet, i would like to eliminate the account number from the data. How can i achieve this?

View 1 Replies View Related

How To Highlight Unwanted Data

Jan 28, 2014

I want codes to highlight unwanted data.

EX- B column should be CAPS, C=D, F & H & J column should not be blank

if data found other than this please highlight the data by any color.

View 1 Replies View Related

VBA Code To Extract Data And Remove Unwanted Data In Row

Dec 15, 2013

I have a workbook that has ben imported into excel and I need to extract the Cabinet sizes (red text) from ColumnC On Sheet2 leaving out the rest of the info. I have a button on the home sheet that has the code that I am running to generate this report it will do most of what I want but I am stuck at extracting the cabinet sizes.

The data is coming from the SheetComponetListing worksheet and going to Sheet2. I have manually created the end result that I am looking for on the CabinetSize worksheet. [URL]....

View 3 Replies View Related

Deleting Rows With Unwanted Data?

Dec 6, 2013

What I need to do is under Document Number (column D) is to delete the rows that do not start with "RM", "AG" or "MA"and then move the rows up.

View 2 Replies View Related

Autofilter To Delete Chunks On Unwanted Data

Feb 13, 2009

I am using an autofilter to delete chunks on unwanted data, by using Range(Selection, Selection.End(xlUp)).Select however it picks up the header row. Is there anyway I can either get the selection of data to select one less line, or a way to get it to leave the header line?

View 2 Replies View Related

Exclude Unwanted Data After Macro Filter

Sep 9, 2006

I have a sheet for addresses (Column 1 = Name, Column 2 = Address line 1, Column 3 = City, Column 4 = Postcode) and I run a macro that Filters that data based on the the city to different Tabs. This works fine except that sometimes, once the data is filtered I will find one or two addresses on my new filtered sheets that I really wanted to exclude. As my main address Tab information changes regularly, Ideally, I would like to see the Item on the City filtersheet, Double click it, and this would have the effect of deleting it from the City filtersheet but also copying it to an "Exclusions" Sheet which I could use before I run my normal filter macro to filter out these bad addresses.

View 9 Replies View Related

Created Chart Grabbing Unwanted Data Series (VBA)

Sep 20, 2013

My code inserts charts and then assigns them data series. The problem is that sometimes it likes to grab 5 or 6 extra sets of data series and throw them in there too. I've done some research and it seems that Excel likes to guess what data is going in to a chart when you first add it in and grab some of that, rather than just waiting for me to assign it the data. The sheet I'm doing this on has multiple sets of similar data along row 1, the code crawls row 1 and creates a new chart for each set of station data it finds.

Code:
Sub Make_Chart()
'create bar chart
'prep
Set chrt = ws.Shapes.AddChart.Chart

'add and format chart

[Code] ........

Example data set below. RefCell is set to the top left cell (4.02), n is the length of the raw data in rows.

4.02
ON
OFF

2
0:36:10
0:38:03
0:01:53

[Code] ..........

View 3 Replies View Related

Locate Duplicates Within Worksheet Before Removing

Mar 13, 2013

I have about 20k records with dealer codes and brands listed. I need to be able to see the duplicates from the dealer numbers and brands. Is there a formula that can be used to locate them and see them before removing them?

View 3 Replies View Related

Removing Blank Rows On A Worksheet

Aug 28, 2006

I have to download a report through SAP and have written some pretty basic stuff to automate the formatting process, however, i still have to manually remove blank rows. I would like to be able to add the removal of theses rows as part of the code, one of the main problems that i see is that i run this report every week and the empty rows are not necessarilly in the order every time.

View 4 Replies View Related

Text File Import Produces Unwanted Blank Lines Between Rows Of Data

Jan 19, 2010

After doing some searching I found a macro here which imports multiple text files into one workbook, keeping each text file as a seperate worksheet, each worksheet named the same as the original file name (minus the .txt extension).

However, it adds a blank line between each line of text. So I get this:


Pinging 172.27.133.29 with 32 bytes of data:

Reply from 172.27.133.29: bytes=32 time=232ms TTL=62

Reply from 172.27.133.29: bytes=32 time=62ms TTL=62

Reply from 172.27.133.29: bytes=32 time=65ms TTL=62

instead of this:........

Pinging 172.27.133.29 with 32 bytes of data:

Reply from 172.27.133.29: bytes=32 time=232ms TTL=62
Reply from 172.27.133.29: bytes=32 time=62ms TTL=62
Reply from 172.27.133.29: bytes=32 time=65ms TTL=62

This doesn't happen when I use the import wizard, or when I just open the file from the File -> Open menu.

My text files are always the same format (number of lines, etc.), so it's easy to delimit and insert forumlae as needed, but those extra lines are breaking a macro I've previously written to parse the data.

View 9 Replies View Related

Removing The 00/01/1900 Date When Looking Up Another Cell In Another Worksheet

Apr 12, 2009

I am trying to reference a cell on another worksheet, the cell is formatted to be a date. when i put in the following formula =Sheet2!A1 and i don't input a date into A1 on sheet 2 the cell containing the formula shows the date 00/01/1900, is there any way of stopping this showing, ideally the cell would be blank until I inputted a date into A1 on sheet 2

View 9 Replies View Related

Removing Blank Cells From A Worksheet And Moving Everything Left

Feb 23, 2014

I am looking to remove all blanks from a table I have and move all the data left. Right now the data is by date, and some dates are blank for some players (it is a basketball sheet) and filled for others, but I want to see it by game. So I have what is in the first table below, and I want it to look like what is in the second.

2-22-2014
2-21-2014
2-20-2014
2-19-2014
2-18-2014

[code].....

View 3 Replies View Related

Excel 2013 :: Merging Selected Lines In Worksheet To One Line - Removing Dupes?

Aug 12, 2014

I merged about 15 adresslists from media contacts to one excel list. Each list had a name i.e. music, health, theater, etc. and the same logic in colums. I added a few columns and have 1 large list now.

As some journalists write about music & health & theater, architecture, etc. they are listed up to 10 times in the new list now. But the "genres" from the original list i.e. music, health, theater, etc. are in different columns. Some of the lines have empty fields (i.e. no address or mail)

All I want to do is have one line with all the information of all 10 lines in it, merged, dupes removed:

company - firstname - lastname - Adress - Mail, etc. : genre: music - health - theater:
example.xlsx

I atteched an example of the full list and the result i want

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 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 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 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







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