If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Sorting in Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-10-08, 20:36
Mike375 Mike375 is offline
Registered User
 
Join Date: Apr 2004
Location: Sydney Australia
Posts: 369
Sorting in Excel

On the first three rows of a worksheet I have some things that relate to running macros. Is there a way to sort the rows below (name, address etc) where the top three rows are not involved.

Also, is there a way that I can copy rows from one excel file and paste to another but in such a way that the data would start from column 3 or whichever, that is, not commencing from the first column.
Reply With Quote
  #2 (permalink)  
Old 12-11-08, 09:55
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Location: Surrey, UK
Posts: 448
You can sort part of a worksheet in Excel by selecting the required range and Data -> Sort.

Similarly, Excel will allow you to select as little or as much of a worksheet as you like and copy it into another. I'm not entirely sure what you mean here.
Reply With Quote
  #3 (permalink)  
Old 12-11-08, 10:11
Mike375 Mike375 is offline
Registered User
 
Join Date: Apr 2004
Location: Sydney Australia
Posts: 369
I want to copy data in one .xls and paste it into another but whereby the pasted data might start at column 3.

With sorting I am thinking of the type of Excels I see from insurance companies and the "headers'" not forming part of the sort, they continue to remain on top. I am wondering how to do that and if it can be extened for a couple of rows.

Thanks for your interest.
Reply With Quote
  #4 (permalink)  
Old 12-11-08, 10:27
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Location: Surrey, UK
Posts: 448
When it comes to copying and pasting, you just copy the range(s) that you want and paste them into the target worksheet. If your required range starts at column C, begin your selection from column C.

When it comes to sorting, if you select a range and fire off the sort command, Excel will try to identify a header row. If it can't find one, it will prompt you to indicate if there is one or not. However, if you mean that you want one or more rows to remain at the top of the screen or one or more columns to remain on the left when the user scrolls down or right, you need to select the cell below and to the right of the edge of the row(s) and column(s) concerned, and then select Window -> Freeze panes.
Reply With Quote
  #5 (permalink)  
Old 12-11-08, 21:21
Mike375 Mike375 is offline
Registered User
 
Join Date: Apr 2004
Location: Sydney Australia
Posts: 369
Thanks for that. The clicking on the cell and then Paste did the job. I am getting there

Quote:
However, if you mean that you want one or more rows to remain at the top of the screen or one or more columns to remain on the left when the user scrolls down or right, you need to select the cell below and to the right of the edge of the row(s) and column(s) concerned, and then select Window -> Freeze panes.
Many thanks. I think I can hunt down how to do it....since I know it can be done.
Reply With Quote
  #6 (permalink)  
Old 12-12-08, 05:08
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Location: Surrey, UK
Posts: 448
You're welcome!
Reply With Quote
  #7 (permalink)  
Old 12-29-08, 02:32
hkp819 hkp819 is offline
Registered User
 
Join Date: Dec 2008
Posts: 59
you can take help form :
http://www.mrexcel.com/tip093.shtml
__________________
New York Web design
Website design

Reply With Quote
  #8 (permalink)  
Old 01-18-09, 19:27
kcarrillo kcarrillo is offline
Registered User
 
Join Date: Oct 2008
Posts: 4
Simple Solution

Try splitting the rows, then highlight the lower rows and perform a sort. After the sort, delete the blank row, and everything will line up again. Hope this helps.

Kimm
- oDesk
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On