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


ADVERTISEMENT

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

Inserting Blank Rows And Sorting

Nov 21, 2012

Below is just a part of my very long list of statement that I posted into column A, B and C of excel worksheet:

10
67.12
03-Oct-12

10
85.16
02-Oct-12

[Code] ........

Any formula or macro that can automatically change to below expectation such as inserting 3-blank rows, totaling and sorting the date.

10
85.16
2-Oct-12

10
67.12
3-Oct-12

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

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

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

Keeping Cells With Formula And Conditional Formatting Blank Until Data Entered?

Feb 22, 2013

I have a spreadsheet filled with formulas that depend on a value being entered into A2, A3, A4, etc... So column A starting at A2 is where I will manually input a number and the formulas I have in columns B, C, and D will import information from another sheet based off what is put in column A. In column D the formula I have to import data

is =IFERROR(VLOOKUP(A2,Master!C:M,11,0),"").

This will import another number. Additionally in column D, I have conditional formatting that will return a red, yellow or green light based off the rule I have in place. Everything works fine, the only problem is that column D has a green light all the way down even without a value being placed in column A. I would like to find out a way to keep the cells in column D blank until a value is entered in column A. Also, if I go back and delete the value in column A, I would like the corresponding cell in column D to go back to blank as well.

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

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

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

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


It’s 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 it’s 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

Sorting By Name Blank Cell

Mar 14, 2009

I am trying to sort a column after an item is removed.

Is is sorted by name. I remove the name and hit sort and it works fine but I am left with a blank cell. Is there anything I can do for this?

Here is the code.

Private Sub CommandButton1_Click()
Range("A1:A10").sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
End Sub

View 9 Replies View Related

Skip Blank Cells When Sorting

Sep 21, 2013

I have this code to sort numbers from smallest to largest but i need it to ignore blank cells.
Sub sort1neg()
'
' sort1pos Macro
'
'
Range("a4:aq174").Select
ActiveWorkbook.Worksheets("sort").Sort.SortFields.Clear

[Code] ........

View 1 Replies View Related

Excel 2011 :: Sorting Blank Cells To The Top Of List

Feb 5, 2013

I am trying to sort a list of business development leads. When a lead is dead I enter the date in the column entitled "Closed". Therefore, the Closed cell for active leads is blank. Whilst I still wish to retain the information of dead leads, when sorting I would like them listed at the bottom of the list. However, whenever I sort on the Closed column, whether using newest to oldest or oldest to newest, the blank cells are always at the bottom, instead of the top.

How to get the sorted blank cells to the top?

I'm using Excel 2011 on Mac OS X 10.7.

View 2 Replies View Related

Count Blank Cells Within A Range Not Including Fully Blank Rows

Jul 15, 2008

I can count the blank cells withiin a range using

=COUNTBLANK(C6:AD2506)

But I dont want it to count the cells if the entire row, within that cell, i.e. C6:AD6, is blank.

It should only count the blank cells within a row if there has been some data entered on that row..provided it has been entered within the specified range.

View 14 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 Many Rows At Once

Nov 14, 2008

I'm running Excel 2003 on Windows 2000. I'm working with a worksheet that is about 10,000 rows long and 25 columns wide. The first and second columns all have data in them, and the third through twenty fifth could have data. From row to row, if there is data present it will be in columns from left to right. By that I mean that if there is data in four columns of a particular row, it will always be in columns 1-4, not spread out throughout the 25 columns.

What I'm trying to do is sort the data in each row so that values ascend from left to right. Here's a very simple version of what the data looks like:

A B C D E F
1 a 6 3
2 b 5 9 2 8
3 c 6 5 2
4 d 9
5 e 3 9

When I'm done I would want the data to look like this:

A B C D E F
1 a 3 6
2 b 2 5 8 9
3 c 2 5 6
4 d 9
5 e 3 9

[url]

View 9 Replies View Related

Sorting Of Rows

Jun 4, 2009

how do I cut rows and paste into another sheet/file based on the values in a row.
For example in row A

A
1 123
2 123
3 123
4 333
5 333
6 444
7 333
8 444

I need to copy all the 123 into a sheet/file and the 333 into another sheet/file.

View 9 Replies View Related

Locking Rows Together When Sorting

Apr 30, 2009

I need to lock consecutive rows together before sorting. e.g. A1 contains a name and A2 is blank: B1 contains data related to name in A1 - so does B2, and so on. Therefore need to lock rows 1 and 2 together, then 3 and 4 together and so on, but sorting on the data in the first cell of the group e.g. A1

View 3 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 Rows To Subcategory

Jul 31, 2014

I want to be able to download bank transactions in a csv file and have excel sort them according to rules I could define.

The csv file is organized as one transaction per row, with each row having several columns, one of which is a description that typically indicates the merchant.

I want excel to recognize a given merchant in the description cell, and then sort the associated row to be placed into a subcategory (linked to the given merchant) and then summed up.

For example,
a transaction with the description "Joe's Diner" would be sorted to Restaurants subcat
a transaction with the description "Dave's Supermarket" would be sorted to Groceries subcat
a transaction with an unrecognized description would be sorted to Misc subcat

View 2 Replies View Related

Sorting Where Rows Are Dynamic

Feb 27, 2014

Here is my code.

Currently I get a 1004 error. "Method of Range of Object _Global Failed" on "Range(Selection).Sort.SortFields.Clear"

Code:
Sub sortBacklog()
Dim appExcel As Excel.Application
Dim myWorkbook As Excel.Workbook
Dim myWorkSheet As Worksheet
Set appExcel = CreateObject("Excel.Application")
Set myWorkbook = appExcel.Workbooks.Open("C:Backlog.xls")
Set myWorkSheet = myWorkbook.Sheets(1)

[code]....

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

Sort Rows Without Sorting

May 18, 2009

I have data being fed from an application where it's difficult to sort the rows into ascending order. So is there a way that VBA can sort them and produce a value according to the order?

For example, Column A contains 5 rows.
Row 1's value is 4
Row 2's value is 1
Row 3's value is 2
Row 4's value is 3
Row 5's value is 5

If I were to sort these into ascending order, I'd get 1, 2, 3, 4, 5 in Column A. But I can't sort the rows so I need code to tell me which is the lowest number (1), which is the second lowest number (2), etc.

The purpose of the code will be to put values in Column B according to what's found in Column A. For the the lowest number, 1, the value in the cell next to it in Column B would be "a". For number 2, it would be "b", etc.

View 9 Replies View Related

Sorting Rows On Different Tabs By Date?

Oct 23, 2012

I have a excel doc that have multiple tabs (different clients) with information (task, date due, who's responsible, and client), and I want to have a master tab that lists all tasks on any tab put in order by date. Essentially so everyone in the office can quickly see what their most pressing task's are.

View 3 Replies View Related







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