Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How do I make excel sort items on different tabs automatically?

OK, here's what I need.

I have thousands of data, like this:

Info / Date / Numerical Value/

Bla1 / 01-01-10 / $10.00

Bla1 / 01-01-10 / $15.00

Bla1 / 01-04-10 / $10.00

Bla2 / 01-02-10 / $10.00

Bla2 / 01-02-10 / $15.00

Bla2 / 01-03-10 / $19.00

Bla3 / 01-01-10 / $10.00

I already know how to create subtotals for each Bla1/2/3. I have alreay sorted and separated them. I need to make different tabs for every bla1/2/3 though. And I would like to know if there is an automatic way of making them automatically go into a different page, with he same column width and format. Like having a tab for bla1, a tab for bla2 and so on, withoug doing a manual copy & paste.

Thank you for your help, it is really appreciated!!!

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    You can do what you need with VBA but it's a little much to go into it here.

    Personally, I would recommend you use a pivot table with the Info column as a page filter, date in the row labels and numerical value in the data items.

    It's much more flexible that way. You can have as many subtotals as you want, maintaining the original data is only done in one place (for example, if you have to import new data each week or something - it only goes into one sheet). Also, you would be able to create groups on the date very easily (so you could analyse the value by month, week, quarter, year and so on).

    If you're not comfortable with pivot tables, I can't recommend them enough. Get to know them - they will save you a LOT of time.

    http://office.microsoft.com/en-us/excel/results.as...

  • 5 years ago

    Yes there is but it's very long and complicated. You can use worksheet formulae to do a sort, such as a simple bubble sort. The downside is that you need to put a lot of formulae in a lot of cells - if you have n items in the list then you'd need n*n formulae. Or maybe n*(n-1). I'm afraid it's too complicated to go into here. I've seen it done in World Cup (soccer) spreadsheets, so you might like to search for one of those. There may be a way of doing it using spreadsheet events as well - as soon as data is entered into the sheet, it triggers a macro which runs the built-in sort function - but I've never tried this before.

Still have questions? Get your answers by asking now.