Sorting Non Unique Rows Of Data Into Another Worksheet

Jul 7, 2009

I have one worksheet which acts like a data dump (actuals) where data is just pasted in. This worksheet is sorted and edited on a continues basis. I need this data to be sorted into their respective coded worksheets (110, 120, 130).

I would like a function in Worksheet 110, 120, 130 that captures the data for that 'code'. Now the issue is that much of the data is non-unique, dates, codes, accounts may sometimes be duplicated however i still want to display the entries separately in their respective coded worksheets. (I had a solution using column numbers however it isn't viable because the data gets resorted often)....

View 14 Replies


ADVERTISEMENT

Extract Unique Rows Only Into Different Worksheet

Jul 3, 2008

This is just a screenshot of my huge data of over 60,000 rows. Owing to the restriction of HTML Maker, I am just showing in less than 30 rows in this screenshot.

I need to extract only the UNIQUE ROWS depending upon the column called "Unique Code" to another worksheet. A particular row or a record is repeated as many as 90 times in this database. I need to extract the whole row which is unique depending upon the column C which is "Unique Code".

I have tried the Advanced Filter option a couple of times but it does not seem to work. Also, the Auto Filter option is not versatile for such amount of data.

View 9 Replies View Related

Sorting A List From Data In Another Worksheet

Feb 21, 2010

I have the attached workbook that contains a list of produce in the Produce sheet and I am wanting to have the Availability sheet show what produce is available each day sorted into Good, Limited and None as per the data on the Produce sheet. I should end up with a list of each type of produce listed under the relevant availability each day.

Sorry but I have limited knowledge of VB, I assume that the best way to do this is some code behind the Availability worksheet but I am not able to determine what this code should look like.

View 9 Replies View Related

Sorting Data Across Rows?

Jan 22, 2014

I've attached the spreadsheet I want to use. As you can see there are three sets of "bootcamper name" and "time" columns

I wanted to know how I can sort by name or time if I were fill in data that started from A7 and B7 all the way down to A43 and B43 then restarts at C7 and D7 all the way down to let's sat C30 and D30

If I wanted to list all the data alphabetically ( or by time ) from A7 and B7 all the way down to C30 and D30, how can I do that?

Terrible Tuesday.xlsx‎

View 5 Replies View Related

Sorting (or Maybe Filtering) Worksheet With Multiple Data In Cells

Nov 1, 2008

Background: I am HR manager for a construction company & keeper of the call-in list of personnel who are looking for work. I have a simple sheet that has columns:

Date Name Craft Experience ...more info...

If each call-in had only one craft, wouldn't have a problem. Those who are multicrafted ar listed e.g. "EL, MW, BM" In the column C. A caller two days later may be listed as "MW, BM, EL" We input the data as they say it since that is usually their order of expertise. (Yes, I know that it should have been set up with each craft having its own column, but I inherited the sheet & it has 4000+ entries)

I wrote a couple of small macros & assigned buttons on the sheet to allow the users to sort the sheet by date, or name, or craft. My customers (project managers) have requested to be able to sort by craft but have all the folks with any specific craft listed together.

Example (Excel 2003): ..

View 4 Replies View Related

Sorting And Merging Data From Two Rows

Apr 26, 2007

I have two rows of data that I need in one row and then sorted, it is possible that the data will be difffering lengths depending on input conditions. I also need the option to sort it either ascending or descending. The data in the two separate rows depend on other parts of the system and in turn this data will be used in another part. So I need it sorted automatically. I have tried ranking the data and then sorting it by rank but for some reason this does not appear to be working.

View 9 Replies View Related

Sorting Rows Of Data Into Columns With Headings

Aug 30, 2013

I have hundreds of rows of data which I need to sort into headings in a new tab.

E.g Column D has about 40 names which occur many times. Column G has 4 digit numbers which are unique.

I want to create in a new tab a column for each of these 40 names, using that name as the heading and then list the 4 digit numbers unders that heading. So if the name name "John" appears 20 times in Column D, it will get a heading in the new sheet and there will be 20 unique numbers listed below it from the data in Column G.

View 3 Replies View Related

Sorting Rows Of Data And Splitting Into Different Sheets

Mar 6, 2007

I have sets of data (A1....F50000 or more) that I need to sort out based on the cell value in column F. Based on the cell value I would like the info on the row (A to F) put into a different sheet. There would be 8 different sheets and each sheet would include 1 to 50 different sorts from column F.

The macro could start with one material sort each and I could fill in the rest of the sorts. The 8 different materials (one for each sheet to start) could be "34b2p""ptop27""pdw19""p58leg""ppdpts""mirror""Pdoor""bent""p4545".

View 9 Replies View Related

Sorting Multi-rows & Columns Of Data In Groups

Mar 30, 2007

I realize that the easier resolve to this request is to use Access & we are moving to that application.

I have included a worksheet as an example.

We have a 'work in progress' (WIP) worksheet that contains 12 rows of data per job. Need to know how (or if) you can sort by the "Job #:" value while maintaining the group of information necessary for each individual job.

Not a normal sort because the values aren't entered in typical side-by-side row & column format.

View 10 Replies View Related

Able To Count Unique Rows Of Data

Oct 27, 2008

I want to be able to count unique rows of data.

I have three columns (A) has a date (B) has the name of a person and (C) has an audit type.

I know I need an array but not sure how to structure it for 3 columns
DateNameAudit type01/04/2008DavidCDM01/04/2008John1 in 1030/04/2008Bill1 in 1001/05/2008DavidVehicle01/05/2008DavidVehicle01/05/2008JohnCDM

The answer for these 3 columns is 5. Rows 4 and 5 are the same so are only counted once.

I can get the arrray to count unique items in the whole range and in a column but not for each row.

I have a feeling this is going to obvious but I can't work it out.

View 9 Replies View Related

Sorting Into Different Worksheets From A Unique Value

Jun 20, 2006

Is there a formula I can use that would sort information from a master
sheet into up to 4 different worksheets in the same workbook? Right
now I'm engineering IF statements, but I've come across the problem of
blank rows. To get rid of this, I fixed the false value as "zzzz" and
then sorted (because when sorting with " " as the false value, the
values end up on the bottom of the worksheet) but when using the Find
and Replace option, it replaced the zzzz values in the formulas, which
defeats the purpose.

View 12 Replies View Related

Merging Duplicate Rows With Unique Data?

Jun 5, 2013

I have attached a before and after image of what I am looking to accomplish.

In the before image, you can see that there are 3 rows of data
- a header
- a repeating model number (in column F) with accompanying data (values in columns G - J are the items of interest)

In the after image, you can see that I took the 3 rows of data and turned it into simply two rows of data
- a header
- the repeating model number

What I did however in the after image, as can be seen, is I took certain data values that appeared on the repeating row (columns G - J), and included them as PRICE, COST, BEGIN, and END values in new columns on row 2.

Is there a way to accomplish this via some functions or maybe even a VBA script?

View 3 Replies View Related

Adding Unique Identifier To Rows Of Data

Jun 15, 2009

I am trying to use a formula that will populate A3 with the value of A2, all the way down the column. (as per the area highlighted in yellow) As you can see on the example sheet, the account code changes periodically, this has been causing me many problems!

As the list i am working on has around 100 differfent codes, it is too time consuming to copy paste manually

Reason for this is so that each invoice number in column B, will have a unique identifer in column A (account code)

View 12 Replies View Related

Extract Unique Data From Rows To Columns

Apr 19, 2013

I have this data

1 355
1 243
1 567
2 456
2 443
3 889
3 890
3 123

and need to sort it in columns like this

1 355 243 567
2 456 443
3 889 890 123

View 2 Replies View Related

Business-card Data Into Unique Rows Per Contact?

Sep 20, 2009

I have a lot of information for various contacts, in the following format:

Name: John Smith
Address: 123 Spring Street
Phone: 555-5555
Email: example@example.com

Name: Jane Doe
Address: 456 Elm Street
Phone: 555-5555
Email: example2@example.org

Name: Richard Roe
Address: 10 Bridge Street
Phone: 444-4444
Email: example3@example.org

What I am trying to do is convert that information so that it looks in a spreadsheet as follows:

example.jpg

I feel fairly sure this is the kind of thing Excel is capable of doing, but despite much searching and experimenting can't figure out how to do.

View 4 Replies View Related

Compare Data Between 2 Files And Copy Unique Rows?

Jun 24, 2014

I need creating a macro which compare the values of "Column B" of attached both "Sample1" and "Sample2" excel files and if any unique value found in Column B of "Sample2" file then the entire row should be get copied in "Sample1" file after row count.

For ex. the rows colored as yellow in "Sample2" file are unique and should be get copied in "Sample1" file.

View 3 Replies View Related

Moving Data From Rows To Columns - Depending On Unique Content In A Field In Column

Jun 24, 2014

I have a worksheet which contains 2 columns which is needed to work my problem.

Unique Work ID and Description

The unique work ID are the same for each description, but there are up to 5 different description associated with each unique work id.

I'm looking for an automated process but where to start to convert the 5 rows in the unique row and 5 column for the descriptions

View 8 Replies View Related

Remove All But One Non-unique Line Of Data, While Leaving Unique Data Alone

Jun 10, 2007

I am "designing" a time- tracking database. The way it works is that each user (there are multiple users) creates a new day, which is mirrored in the sheet name (i.e. if today is 06/09/07 and my name is Newuser, the sheet name is "NewusER 060907"). Each sheet is filled in, calculated based on in-sheet formulas, etc. At the end of said day, the user can " upload" the daily data from multiple days worth of data into another sheet, that the graphing macro draws from.

The one serious problem I'm having is that users can upload the daily time data for the same day multiple times, to no end. I would like to do one of two things. Either:

a. make it such that once data is uploaded it cannot be uploaded again (probably more difficult), or
b. write a loop to pull out the highest data point up the sheet and delete all other rows for that one specific day's . (probably easier)

example:

Data loaded into the sheet before the macro runs:

Row: Date:
1 06/09/07 *
2 06/10/07 *
3 06/11/07 *
4 06/09/07
5 06/10/07
6 06/12/07 *
7 06/13/07 *
8 06/09/07
9 06/11/07
10 06/14/07 *

* The rows with asterisks are the ones that I would like to have pulled to the second set of data (below)

Data in the sheet after the macro runs:

Row: Date:
1 06/09/07
2 06/10/07
3 06/11/07
4 06/12/07
5 06/13/07
6 06/14/07

Because of the constant changing nature of the information within, I would like to to make this dynamic range selection, I would prefer to avoid using Advanced Filters, if possible.

View 6 Replies View Related

Sorting To New Worksheet

Jul 15, 2009

I have a report to compile where i have a master list of data with three columns.

A=Name B=Type C=Location

I have 3 Types to sort. These being D, E, F

I need to sort into three new worksheets from the first sheet the D's into one, the E's into another and the F's
into the last.

I have over 3000 different A's to sort by the Type.

View 9 Replies View Related

Prohibit Sorting In A Worksheet

Oct 28, 2009

This might sound like a weird question, but is there any way to prohibit a user to using the sort function in a particular sheet?

Filtering for values is okay but sorting must be prohibited so that no rows "change place" in a sense.

View 4 Replies View Related

Copying Rows Of Data Into Different Cells In A New Worksheet

Jul 31, 2008

http://www.excelforum.com/excel-programming/651452-copy-rows-of-data-into-a-different-format.html

Here is the problem:

I have a list of activities (each activity is one row of data). These will be input manually into Sheet2. (see attached file)

The activities then need to be automatically copied and pasted into Sheet1. However, the data is displayed in a different order than in sheet1. So I need some code which will run through a loop for each row of data and then copy and paste it into sheet1 until it reaches an empty row.

The cell positioning of each data set in sheet1 is equally spaced. VLOOKUP will not work for me here as I do not want any formulae or VBA script in sheet1. I cannot change the format of sheet1 as it is a company form.

View 9 Replies View Related

Extract Data In Each Column To Rows In New Worksheet?

Oct 10, 2013

I have a spreadsheet with company details in a worksheet. Each company details are in a new column. Like the following example:

company name
company name
company name

[Code]....

i basically need each of the bold heading in the first row of the new worksheet. Each company details will then need to be moved into a new row with the corresponding data under the correct heading column. Not all the companies have all the data for each heading it would be fine to have "none" value or blank in this case

View 2 Replies View Related

Cutting And Pasting Rows Of Data Into Another Worksheet

Aug 8, 2007

In column A I have the age of a sale i have completed (compared against todays date) and from B - N of the same row i have the data that coresponds to the sale. As Column A changes daily by 1 i would like to only keep the rows whereby column A is between 1 - 10. For any that are above 10 I would like to cut and paste to a second sheet, strangely entitled "older than 10 days" !

as there are formulas after column N which calculates the data i would only like to cut columns B - N of the specific row.

I think I need to create a macro that first sorts column A so I have the oldest data at the top and then a loop to check if these are above 10, i then want to cut from B - N and paste into another sheet.

View 9 Replies View Related

Suppressing Blank Rows When Populating One Worksheet With Data From Another

Sep 11, 2009

Column M of Sheet 1 contains either "y" or "n". I'd like Sheet 2 to populate with data in cells A-D but only for rows where column H = "y". I can figure out the condition easily enough: =IF('Sheet 1'!M2="Y",'Sheet1'!A2,"")

Repeat for each column to display. But I'd like to suppress the blank rows for both display purposes and the possibility of using in a Word mail merge.

View 2 Replies View Related

Macro To Copy Rows From Data Sheet To Worksheet

Apr 23, 2014

I have two worksheets.

Worksheet 1 is a large data sheet containing columns of data (Date, State, Payment Method, etc, etc)
Worksheet 2 is the 'Report' worksheet with 2 blank cells (A1 and A2) for users to manually enter the Start and End dates, a drop-list for State names (B1) and a drop-list for Payment Method (C1) - Cash or Credit Card.

How can I write a macro to:

1) Filter by Start and End Dates then,
2) Filter by State name then,
3) Filter by Cash or Credit Card then,
4) Copy these filtered records (i.e. whole row/s) onto the 'Report' worksheet starting at Column A, Row 5.
5) Macro to end with a 'Successful' message.

View 1 Replies View Related

Loop Or Macro To Retrieve Rows Of Data From Other Worksheet

Dec 15, 2008

I need to query a master spreadsheet and pull out all the rows on it that have the same name as I have in cell A1 of my spreadsheet

e.g.

Myworkbook, sheetname = queries
Cell A1 = "ABC"

The Macro queries the "test Data" workbook (c:myfolder estdata.xls) "sheet x" and looks in column A for ABC, if it finds ABC it will copy the row and paste it into Myworkbook, sheetname = queries. There are often several rows of data that need to be copied that all have "ABC" in column A.

Also, in column B of the test data workbook, is a number, the highest value denotes the "version" of the data, the highest number is always the latest version of data that should be retrieved, e.g. if 9 the highest value in column B then all data that has ABC in column A and has 9 in column B should be retrieved, all other records should be ignored.

I guess this is a sort of a macro loop but not too sure how to do it.

View 10 Replies View Related

Sorting In WorkSheet Based On First Two Digits

Jan 13, 2008

how to sort based on the first two digit..

I need to sort the COMM CODE ( which is at Column no 3 )

View 14 Replies View Related

Sorting And Filtering The Records To New Worksheet

Jan 14, 2009

I need to do sorting and filtering the similar records to new worksheet. I need you help to do this job, give some idea or command to use for the following steps.

I have attached the worksheet newtran.xls.

1. I need to find the last column, the column will be increased or decreases. so that we need to find the last column at time of running the macro. Now the value is there till column DD

2. I need to concatenate the column B, D, F to last column find out at 1 step. Insert a new column and place the concatenated value.

3. Entire row will be Sorted based on concatenated value column.

4. Find the similar row on concatenated column and entire row need to be moved to new worksheet.

View 11 Replies View Related

Sorting Worksheets With References To Second Worksheet

Apr 21, 2009

I have a workbook with two worksheets.

Worksheet one is "Company ID" info, in it are the columns:"Company Name", "street add", "city", "state".

Worksheet two is "Company Contact Person" in it are the columns: a reference to worksheet one column one "Company Name", and column two is 'Contact Person name'.

I want to be able to sort worksheet one at will, By city, or state, or any of the various columns. When sorting worksheet one I want the relationships in worksheet to to remain intact.

"Company Name" - "Company Contact Person".

View 6 Replies View Related

Sorting VBA Array On Worksheet On Two Columns?

Aug 30, 2013

I'm trying to sort an array which is of variable height/rows when put on a worksheet. I need to sort by column C ascending (smallest to largest) and then by column D ascending (oldest to newest). I tried recording a macro but the code is just junk.

Code:

Dim BookSPSortingWorksheet As Worksheet
Dim TR As Range
Set BookSPSortingWorksheet = ThisWorkbook.Worksheets.Add
Set TR = BookSPSortingWorksheet.Range("A1").Resize(UBound(array_book_SPNames), UBound(array_book_SPNames, 2))
TR = array_book_SPNames

Is there a way I can use the sort function like the below by indexing my TR range for columns 3 and 4?

Code:

TR.Sort key1:=TR, order1:=xlAscending, MatchCase:=False

View 3 Replies View Related







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