Sorting By Columns But Keeping Rows Together?

May 23, 2013

I'm trying to sort by City first, then by Report #, but keeping the highlighted rows together. If I use the custom sort it will through my D2's at the bottom and not keep them with their city, report, and D1. How do I get them to stay together? I have attached my document example.

View 4 Replies


ADVERTISEMENT

Keeping Blank Rows When Sorting

May 16, 2008

I have a spreadsheet that I want to keep the blank rows that seperate the data for asthetic reasons. Can I sort just the rows with data in them and still keep the blank rows where they are?

View 9 Replies View Related

Merge Duplicate/Similiar Rows Keeping Data In Same Columns

Sep 1, 2008

After sorting and filtering rows with in a set range I will have several rows that are almost duplicates. This is normal and expected due to how the workbook is used. Among these rows also will be several single rows that are not duplicates. It is important that I combine any two duplicates into one row. Example:

CREATE TABLES LIKE BELOW?
ABC D E F G H I J K

1 NameA 0XX15930777PS101300PS9

2 NameA0XX15930777PS91200PS10

3 NameX1159XXP555FBX1545PS9

4 NameB0A1234P123PS101263PS9

5 NameB1A1234P123PS90512PS10


What I need is this end result:

CREATE TABLES LIKE BELOW?
ABC D E F G H I J K

1 NameA 0XX15930777PS91200PS10PS101300PS9

2 NameX1159XXP555FBX1545PS9

3 NameB1A1234P123PS90512PS10PS101263PS9


Its important that the data in each column stay with in that same column. Also of course it needs to be on the same row with the same person (NameA and NameB). The Columns that would determine if its a duplicate are D and E . I would need this to be preformed via macro or some easy way so that others will not have a hard time. It will be on a protected Shared Workbook with Excel 2003. I've enclosed a Sample. How can I sort these or accomplish this and maintain the data where it needs to be?

View 5 Replies View Related

Keeping Info Together While Sorting

Oct 24, 2008

I have groups of information I need to stay together, but I'd like to be able to sort them by last name. Today, Tomorrow and Long Term are conditionally formatted (=ISBLANK is green and =ISTEXT is red). As long as the information stays together in a group, that won't be a problem. I have a hidden column A where every cell next to the form refers back to the cell with the last name in it. But when I tried to sort by that, it still seemed to mangle my form. There are no merged cells here. There will eventually be dates, locations (booked) and absent, etc.. filled in. I just want to be able to sort this entire block, without changing anything in it, by last name. There are about 100 of these blocks of info.

LAST NAMEFIRST NAMETodayTomorrowLong TermDATEBOOKEDReason for SubAbsent EmployeeHours is WorkingDayHappyPhone Number:555-5555Cell Number:555-1234Special Skills:Notes:

View 9 Replies View Related

SORTING - KEEPING TEXT TOGETHER ON SEPARATE LINES

Aug 3, 2007

I have 5 columns. The first 4 columns only contain 1 line each, the last column can contain anywhere from 1-6 lines. How can I do a sort and keep all the text in the last column together? By way, it was imputed on separate lines.

View 9 Replies View Related

Sorting Columns Instead Of Rows

Jan 14, 2009

I have some data that is 300 rows x 43 columns.

I'd like to sort the 43 colums by using some of the rows. Is this possible using normal excel?

Alternatively is there a simple way to sort the colums in VBA?

View 9 Replies View Related

Sorting Rows Based On Columns

Jan 20, 2009

I have a worksheet with columns of Unique Words and corresponding Frequency of Occurrence for several years. I would like to sort the data so the rows match up on same Unique Words across years.

I am using Excel 2007.

View 9 Replies View Related

Sorting Columns And Keep Information In Rows Intact

May 26, 2009

I am trying to sort/filter the information by columns but I need the information in each row to stay together for instance...

1 2 3 4 5
2 3 4 5 1
3 4 5 1 2
4 5 1 2 3
5 1 2 3 4

I need to sort the numbers in column 3 in ascending order or filter them but i need the entire row to move when sorted so it needs to look like this


4 5 1 2 3
5 1 2 3 4
1 2 3 4 5
2 3 4 5 1
3 4 5 1 2

I am using the list function to sort and filter the data in the columns but when i try to sort them in ascending order i get....

1 2 1 4 5
2 3 2 5 1
3 4 3 1 2
4 5 4 2 3
5 1 5 3 4

I don't know how to write formulas or VBA's or anything but am willing to try.

Is it possible to sort the data and get a result like the second set of data? and is there an easy way to make this fool proof so people that use the spreadsheet will not mess up the data?

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

Advanced Sorting With Blank Rows In Columns?

Jun 10, 2014

I have been trying to sort an excel spreadsheet to no avail. I have read mutliple posts and searched online but I can not find a solution. This is what I have. I have three columns of data. column A is an account name. column b has some insurance coverage info and may have multiple rows that go with column A. Column C has the effective date of the coverages in column B. I want to sort column A in alphabetical order but when I have tried it does not keep column B and C together with column A.

Column A Column B Column C
company 1 General Liab 5/1/14-15
Workers Comp 2/1/13-14

company 2 workers comp 2/1/13-14

company 3 crime 5/5/14-15
D&O 5/5/14-15
Fee 4/15/14-15

View 5 Replies View Related

Sorting Columns, Rows And Removing Duplicates

Dec 10, 2008

I have a single spreadsheet with a few columns but hundreds of rows. Each row is a property reference (with other data such as address in the columns) with a type of charge in column J and the amount in column K. I'll try to replicate below ...

A B ....... J K
Prop1 Prop1Address Rent 100
Prop2 Prop2Address Rent 150
Prop3 Prop3Address Gas 70
Prop4 Prop4Address Water 60
Prop4 Prop4Address Rent 200
Prop4 Prop4Address Elec 80
Prop5 Prop5Address Service 90

I want the sheet to display a property on a single row so would look like as follows ...

A B ....... Rent Gas Water Elec Service Total
Prop1 Prop1Address 100 100
Prop2 Prop2Address 150 150
Prop3 Prop3Address 70 70
Prop4 Prop4Address 200 60 80 340
Prop5 Prop5Address 90 90

View 9 Replies View Related

Sorting Columns In Individual Rows (lots Of Them)

May 17, 2006

I am needing to sort individual rows horizonally (by columns) - sound simply enough, but apparently its not (unless I'm overlooking something really basic). For example, I need to sort each row (2 - 300) beginning in column B and ending in column P individually. I can do this - one at a time - using Excel's sort function, but its time consuming and this is something I need to be able to do on a regular basis.

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

Sorting Certain Columns But Ensuring Certain Rows Remain Fixed To Their 'master Row'

Jan 22, 2009

I have created a spreadsheet which is tallying up various data. I have a number of different categories e.g. A, B, C, D and within each one of these are sub categories. I then have a tally for the number of each category and within that the number of each sub category. I then want to sort the data so that first the main category is sorted in order of highest tally to lowest. the sub categories however need to stay with their primary category. I then need to sort each sub category within the main category.

the data looks omething like this:

category tally sub cat number

A 6 A 3
B 4
C 6
B 9 A 1
B 6

View 9 Replies View Related

Combining Rows And Keeping Data From Both Rows

Mar 9, 2013

I have a game where people are scored on the spreadsheet, but they can join anytime, so everyday, I get a combined list of points. The list consists of people who joined previously, and the new players. How should I combine the points?

[URL] ..........

View 4 Replies View Related

Merging Two Columns And Keeping The Data From Both

Jul 26, 2006

There is one crucial feature to the 2007 Excel that has been overlooked.

Throughout all versions of Excel there has always been the feature of
converting text to table, however there is no way to do this in reverse.

There is no way to merge two columns of data and to keep all of the data
without one column overwriting the other. If only there were an automatic
way to merge two columns of data and to be able to place a delimited
character in-between, just like the “Convert Text to Columns Wizard”, except
in reverse. Currently, the only way to merge two columns of data is to
manually go row-by-row and cut and paste them together. However, for 500,000
rows of data… this is impossible. Or to use a function to merge two columns,
however this requires that the original two columns remain. This is also
unacceptable. If Microsoft really wants to make Excel more functional, how
can this vast improvement be overlooked?

View 10 Replies View Related

Inserting Columns On Worksheet And Keeping Formula?

Jan 10, 2012

I have a spreadsheet that I can modify. It currently has a three product column but I need to insert 2 or 3 more columns to make 5 plus the total at the end. It also have a summary sheet. I insert the 2 columns and somehow got the formulas flowing. However when I hit the summary page its not showing results for those two new columns in the total. I am lost. I wish I could post the sheet. Its a multiple product break-even analysis exercise.

View 1 Replies View Related

Keeping Rows Together For Sort?

Sep 20, 2012

I have dumped main frame data into excel. It is customer info that is in three rows of data each. I need to know if its possible to group or somehow keep three rows of data together for multiple sorts. The first row is the customer name, the second row is their first line of address, the third row is the city, state and zip. I need to add columns to this dumped data, but I will need to do a number of sorts for different views of the data. But as I've stated every 3 rows go together. I've tried different ways to group (for lack of a better word) the three rows, but nothing I've tried works. I've also done multiple searches, but either I'm not searching on the right word or this can't be done.

View 9 Replies View Related

Summary Sheet Update Keeping Set Columns In Place

Apr 7, 2009

using code to take raw data from one workbook <book1> tab <Phase1RawData> and pasting to summary workbook <book2> onto <SummarySheet>. New data is available with each Phase (14 in all) and will eventually fill all cells as indicated in the Summary Sheet Page. However raw data has in any one Phase only the columns up to the Phase its currently at. So Phase 1 will only have Phase 1 column, Phase two will have columns for Phase 1 and 2, Phase 3 will have 1,2,3 and so on (the example Book1 has two example sheets for phase 1 and phase 2 data - so each phase has a column added with the previous columns remaining.)

The problem is in having the summary sheet always show all 14 phases colmns (as in the example attached) irrespective of which Phase is being updated. So if up to Phase 3, insert the raw data available will be colmns for Phase 1, 2 and 3 - but I need ensure after that has been updated only the remaining Phase colums to 14 show. That is, if Phase 1, 2 or 3 etc are now in place, insert the remaining blank Phase columns to, and including Phase 14. Need to do this at end of each phase until 14 is met. The data up to column S is all from the raw data original sheet - Items from Column T I insert independantly as the data is transferred.

View 2 Replies View Related

Move Data In 1 Column To 4 Different Columns Keeping Same Order

Sep 22, 2008

I have a table with one column of data. The data in this column repeats with 4 relevant pieces of information that I want to put in 4 different columns (fields) in a different spread sheet (or the same would work better and I would just delete the first column when done) keeping the same order the data is now in.
The data currently repeats in a regular pattern (i.e. 123412341234 with no other data in between). I would like to do this with a macro. Could someone help write a macro that will do this

View 9 Replies View Related

Removing Duplicate Rows, But Keeping The First One.

Feb 28, 2008

I have an excel spreadsheet with approximately 10000 rows. There are approximately 10 columns...

Column A - person's ID number
Column B - name
Column C - Street Address
Column D - City
Column E - State

etc...

It being such a large list there are many many duplicates (it was pulled from a bunch of different excel spreadsheets and combined into one via copy and pasting one document into the other).

I figured out a way to have excel highlight the duplicates in a different color... but scrolling through 10k people and deleting the duplicates is obviously very tedious (approx 40% of the spreadsheet is duplicates).

Is there a way to sort out the duplicates (via their ID number, column A) so that there are no repeats? I want to get rid of the 2nd/3rd/4th (etc) occurance of the person's information but I was to obviously keep the first occurance.

I tried using Advanced Filter but I must have done something wrong because it shrunk the list too far down.

View 9 Replies View Related

Merging Spreadsheets And Keeping Duplicate Rows?

Aug 15, 2014

I have a spreadsheet with only 80 rows in it and I need data from another spreadsheet with over 200 rows. One of these rows in each spreadsheet contains a matching field (Job #). I only want the 80 matching rows data from the over 200 row sheet.

Is there an easy way to combine these two. Even adding the 80 to the 200+ will be fine as I can just remove the blanks. I can't figure out a way to combine them and match them up.

View 2 Replies View Related

Copying Values But Keeping Rows That Have Formulas In Them

Dec 31, 2012

I have a spreadsheet with a lot of financial information going down a column (about 500 rows down). Most of the cells are just typed in, but certain rows have sum formulas in them. Is it possible to copy values from another workbook, paste the values in, but somehow keep the formulas that are running through?

View 1 Replies View Related

Keeping Only Selected Rows Over Multiple Worksheets

Nov 29, 2013

I have an excel file with over 20 worksheets and each of them have around 1200 rows. The first column in each worksheet contains the variable names and then the data associated to it is present horizontally.

I only want to keep around 80 rows from those 1200 rows. They are not in sequence (means they are not in continuous order) so I manually selected those rows by deleting the non required rows step by step.

I did it manually on 2 worksheets but I don't want to do that manually over 20 worksheets. Is there any method that can speedup the whole process.

I am attaching the snapshots of the worksheets..

This one is before I deleted the unwanted rows.

This one is after the deletion of unwanted rows.

View 3 Replies View Related

Merging Duplicate Rows And Keeping Original Data

Feb 18, 2014

I need to merge rows with duplicate values in column A (Patient Name being the most important one), with columns B, C, & D usually having different isolated values as well. Columns E, F, G, H, & I are date columns, but the data is always going to be the number 1, meaning a patient was seen once that day (if they were seen two times that day for different reasons, information would be in an unmerged second row [same patient name listed in two separate rows], where columns B & C would be different). Column J is an autosum of columns E through I if that makes a difference. Column K is a notes column. The data that needs to be merged is always added to the bottom of the spreadsheet in order to show that a patient was seen on any given day, with columns B through K almost always being blank. Example:

Column A---------Column B---Col C----Col D--Col E--Col F--Col G--Col H--Col I--Col J---------Col K
Patient Name-----Therapist---Shared--%P----2/3----2/4----2/5-----2/6----2/7---Total Visits--Notes

Alice Alpha--------AB----------PT-------1---------------------------------------------0-------------blah
Boris Beta---------BC----------SELF----2----------------------------------------------0------------blahblah
Carl Carlisle-------CD---------PTA------3----------------------------------------------0
Carl Carlisle-------AB---------SELF-----2----------------------------------------------0
Donny Delta-------DE---------PT--------1---------------------------------------------0
Ernie Elephant-----EF---------PTA-------2---------------------------------------------0
Alice Alpha-----------------------------------------------1
Carl Carlisle--------------------------------------1--------------1---------------1
Ernie Elephant-------------------------------------------1---------------1

This is what I'm hoping it can look like:

Column A---------Column B---Col C----Col D--Col E--Col F--Col G--Col H--Col I--Col J---------Col K
Patient Name-----Therapist---Shared--%P----2/3----2/4----2/5-----2/6----2/7---Total Visits--Notes

Alice Alpha--------AB----------PT-------1---------------1-----------------------------1-------------blah
Boris Beta---------BC----------SELF----2----------------------------------------------0------------blahblah
Carl Carlisle-------CD---------PTA------3-------1--------------1---------------1------3
Carl Carlisle-------AB---------SELF-----2----------------------------------------------0
Donny Delta-------DE---------PT--------1---------------------------------------------0
Ernie Elephant-----EF---------PTA-------2--------------1---------------1-------------2

In this example Carl Carlisle is being seen for two different things, however how would it be written so the macro would know which Carl Carlisle row to merge with? I'm thinking that before running the macro I could manually enter the information into column B so it knows which Carl Carlisle row above to merge with.

Data always starts at row 14 (row 13 is frozen pane header column), and extends to a row that is different every week depending on how many people happen to be in the list.

I found something from this link that looks very similar to what I need, but with no knowledge of coding, I have no idea how it should be tweaked: Merge Duplicate Rows Keeping Data In Same Columns

I know I'm asking a lot, but the amount of time this takes to manually go through hundreds of rows of patient names every week is incredibly time consuming, and I have too many other things to stay on top of at work for this to drag me down day in and day out.

View 5 Replies View Related

Deleting Duplicate Rows Keeping Lowest Value In Column B

Jul 30, 2009

I need the macro for deleting duplicate rows only it should keep one lowest value row.

for e.g.

Column A Column B

TS1234 100
TS1234 50
TS1234 200

Macro will compair dublicates in column A & it will keep lowest value row (i.e. 50 value in Column B), other dublicate rows will be deleted.

View 12 Replies View Related

Reference Cells Keeping Columns The Same But Change Row Number Based On User Input

Dec 10, 2012

Date
#
Lname
Fname

[Code].....

With that said, I want to put the row number of a user in (I have a few thousand on this spreadsheet, and all the = data be automatically pulled based on the row number I put in cell B1. So I'm hoping to write in cell B1 the following - "143" (without the quotes), and the remaining cells in column B automatically pull that data based on that, so it would look like the following

Row #
143
Name:
=C143&" , "&D143&" "&E143

[Code]....

How do I write the functions to keep the columns the same, but change the row number based on the number I input?

View 3 Replies View Related

Transpose Rows Keeping Heading In Column A And Data In Column B

Mar 2, 2011

I have an excel spread sheet with several rows of 265 (9A-IV) columns each with a heading. I would like to transpose the worksheet columns so that the heading is placed in Column A against the corresponding that is placed in column B. For example

ABCD14692571038Transpose to A1A2A3B4B5C6C7C8D9D10

View 7 Replies View Related

Sorting 4 Columns Together

Nov 6, 2007

Is there a code or some way for me to sort 4 columns together? I want to sort a list of employees and for each employee theres a column with their Lost Business, customer satisfaction, and two more columns. I want to sort all the columns at the same time so that the best employees overall will go to the top of the list and the worst ones will be at the bottom. Whenever I use the sorting feature it does each column independant of the others so everytime I sort a new column it just moves around the last one I sorted.

View 14 Replies View Related

Sorting When Using Columns Beyond AA

Oct 6, 2009

Im not entirely sure about this but it seems like if I have data in columns A - Z and sort in one of them, the data in Columns AA - AZ does not move accordingly rather it stays fixed.

View 4 Replies View Related







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