Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

ranking lists

ResolvedVersion 2007

matt has attended:
Excel Intermediate course

Ranking of lists

hi,

i'd like to have my lists sorted automatically when i update the data.
(without clicking on Sort, etc...)

thanks

Auto Sort numeric data

Dear Matt

Thank you for attending Excel 2007 Intermediate course. I hope you enjoyed the course and are finding the topics covered during the training useful.

Your query will require either VBA if you are looking for specific field with text , numbers or dates to be sorted. Although there is a function called SMALL that can help you with sorting columns with values.


Please find an uploaded file that for the below mentioned explanation.

Please note that On column A when I enter any value it automatically gets sorted in column B. Ad the range in column B is up to 100 only therefore it will work only until the row 100 in column A but you can increase the row number if you wish.

The reason this is working is because I typed the function : =SMALL($A$1:$A$100,ROW()) on cell B1. Then I simply copied and pasted the function to the rest of the cells I wanted to be sorted.


So you can do something like this and then when it comes to printing just hide the columns that do not appear to be sorted.

Please note that this only applies to Numbers and not text or combination.

It is best to have an understanding of VBA if you wish to auto sort above mentioned types of data.


If this has answered your question then may I please request you to mark this post as resolved!!

Many thanks

Kindest Regards


Rajeev Rawat
MOS Master Instructor 2000/2003
MCAS Master Instructor 2007

Attached files...

auto sort.xls

Excel tip:

Repeating headings on spreadsheets that print on more than one page

By default when you print a spreadsheet out and it prints on more than one page, the headings at the top and the side of the spreadsheet don't appear on all the pages following page 1.

To get Excel to repeat headings on all pages when printing, go to File - Page Setup - Sheet, then select the rows to repeat at the top of pages, and the columns to repeat at the side of pages by clicking on the red arrows at the right side of the two boxes under the 'Print titles' area. Then click OK.

If you view your spreadsheet in Print Preview, you should see the headings being repeated on each page.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.