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


  1. Posts : 12
    Windows 7 Home Premium x64
       #1

    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


  2. Posts : 784
    Linux Mint 17 Cinnamon | Win 7 Ult x64
       #2

    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


  3. Posts : 12
    Windows 7 Home Premium x64
    Thread Starter
       #3

    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


  4. Posts : 784
    Linux Mint 17 Cinnamon | Win 7 Ult x64
       #4

    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


 

  Related Discussions
Our Sites
Site Links
About 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 11:56.
Find Us