Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Make Excel 2010 Automatically Organize by Column "A" with Header

03 Jan 2014   #1

Windows 7 Home Premium x64
Make Excel 2010 Automatically Organize by Column "A" with Header

Hi all,
I'm working on an excel spreadsheet for my passwords. My columns are labeled website, username and password, respectively. I know how to go to data>sort to sort what I have so far, but is there a way for me to be able to put a new website, username and password at the bottom of the list, and it automatically go to where it should (alphabetically) go based on the website column (username and passwords are not alphabetically organized; just website)?
Thanks in advance,

My System SpecsSystem Spec

09 Jan 2014   #2

Linux Mint 17 Cinnamon | Win 7 Ult x64

Unfortunately not an easy task.

There are ways to accomplish this automatically with data of fixed dimensions, but I have not seen any way to do this, especially with a growing list.

A couple of examples of scripts to do this are here... Auto Sort A List by Values in Excel
My System SpecsSystem Spec
09 Jan 2014   #3

Windows 7 Home Premium x64

Hmph. That's too bad. What do you mean by data of fixed dimensions? I know how to sort a list of data by selecting it and applying a command to it... But that doesn't do it automatically. Is this what you mean? I simply want it to automatically sort by one column, as opposed to multiple as described in the link. Also, would this code change effect all excel spreadsheets I make in the future? Or just the one I was working on when I applied the code?

I understand that this is something that would ordinarily be done by a company who firstly NEEDS it done, and pays an expert to do it... But I'm really not one to accept limitations handed to me, and I WANT to customize my computer however I see fit. Haha.

Thanks for your help!
My System SpecsSystem Spec

09 Jan 2014   #4

Linux Mint 17 Cinnamon | Win 7 Ult x64

Even though you want to sort by one column, you will be sorting multiple columns of data.

Fixed dimensions means the number of columns and rows remains the same. If you add rows to the dataset then you have a "growing" or "variable" dataset. In such a case, you would have to modify your VBA code to include the new rows.

You could create the script to include a number of blank rows, but remember excel sees blank rows as valid data and will place them first, before other data.

You could then create a second sheet that compresses out the blank lines on the sorted sheet, and you would have have what you wanted. I'm not aware of you level of excel expertise, but to do this would require a moderate level of knowledge. (Using INDEX, ROWS and other such functions)

Headers are easy. You simply freeze the panes on the first row below the headers.

You can also use auto filters as headers.
My System SpecsSystem Spec

 Make Excel 2010 Automatically Organize by Column "A" with Header

Thread Tools

Similar help and support threads for2: Make Excel 2010 Automatically Organize by Column "A" with Header
Thread Forum
Solved Excel 2010 "File In Use" notification doesn't show Microsoft Office
Solved How to edit/delete "Comments" in Excel 2010 Starter? Microsoft Office
BSOD "Bad Pool Header" and "Page In Nonpage Area" Runs in Safe Mode BSOD Help and Support
Solved Office 2010 Send-To-OneNote Button "Not Available" in IE9 or Excel? Microsoft Office
Solved Need "TO" column to show in Outlook 2010 Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:14 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33