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

codyjacks

New member
Local time
4:43 PM
Messages
12
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,
Cody
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium x64
Memory
1 TB
Antivirus
Avast
Browser
Firefox
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Made
OS
Linux Mint 17 Cinnamon | Win 7 Ult x64
CPU
Intel I7-3770K @ 4.2ghz
Motherboard
ASRock Extreme 4
Memory
32GB G-Skill C10Q
Graphics Card(s)
EVGA GTX 670 2GB SC
Sound Card
Creative Fatality ExtremeGamer
Monitor(s) Displays
LG E2742V x 2
Screen Resolution
1920x1080
Hard Drives
256GB Vertex 4 SSD
2TB Seagate ST2000DM001
1TB Seagate ST1000DM003
PSU
Corsair HX 650
Case
HAF 932 advanced
Cooling
Corsair H100i liquid cooler
Keyboard
Logitech Wireless
Mouse
Logitech Wireless
Internet Speed
OptusNet NBN 100/40
Antivirus
Malwarebytes
Browser
Firefox 30
Other Info
Router: Sagemcom F@st 3846 Crippled by Optus.
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium x64
Memory
1 TB
Antivirus
Avast
Browser
Firefox
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Made
OS
Linux Mint 17 Cinnamon | Win 7 Ult x64
CPU
Intel I7-3770K @ 4.2ghz
Motherboard
ASRock Extreme 4
Memory
32GB G-Skill C10Q
Graphics Card(s)
EVGA GTX 670 2GB SC
Sound Card
Creative Fatality ExtremeGamer
Monitor(s) Displays
LG E2742V x 2
Screen Resolution
1920x1080
Hard Drives
256GB Vertex 4 SSD
2TB Seagate ST2000DM001
1TB Seagate ST1000DM003
PSU
Corsair HX 650
Case
HAF 932 advanced
Cooling
Corsair H100i liquid cooler
Keyboard
Logitech Wireless
Mouse
Logitech Wireless
Internet Speed
OptusNet NBN 100/40
Antivirus
Malwarebytes
Browser
Firefox 30
Other Info
Router: Sagemcom F@st 3846 Crippled by Optus.
Back
Top