Solved

Sorting Sections again, this time on different sheets

Posted on 2011-09-26
5
184 Views
Last Modified: 2012-05-12
Recently I asked for help sorting sections on an Excel spreadsheet.  I have three sections separated by blank rows and I want to sort the first section by the last column and have the other 2 sections sort the same way as the first.  I received a solution that worked great and I really appreciate it.  Now I'm wondering if I can do the same thing but I have an additional three sections on another worksheet.  So the sheet I used originally looks like the attached.  I would have another sheet with three similar sections (different metrics) and would want them to sort when this sheet sorts and to sort in the same order as the first section on the first sheet.

I hope this is not too confusing...
testworksheetforsort-r5.xlsm
0
Comment
Question by:dkcoop03
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 10

Expert Comment

by:SANTABABY
ID: 36602412
Please the attached file, you need to indicate the full path of the second workbook that you want to sort as well.
Please let me know if this works for you. The assumtio is : we are also sorting in sheet 1 of the other workbook.
If you need more exception handling code (such as second workbook does not exists etc) can be added.
t1.xlsm
0
 

Author Comment

by:dkcoop03
ID: 37018589
Sorry I am so late in responding.  I think I was unclear.  I don't need to sort another workbook, just another sheet in the same workbook.  So the first worksheet has the sort button on it and has three sections.  The sort button sorts the first section and the following two sections sort the same way as the first section -- this is all done on the same worksheet.  The next worksheet (right after this first one) does not have a sort button on it because it also has 3 sections and they need to be sorted in the same order as the first section on the first sheet.  Let me know if this makes sense.

Thanks,
0
 

Author Comment

by:dkcoop03
ID: 37122532
I've requested that this question be closed as follows:

Accepted answer: 0 points for dkcoop03's comment http:/Q_27328462.html#37018589

for the following reason:

I came up with a solution that is kind of messy but it works for now. &nbsp;I basically create an index on the first sheet and match the second sheet to that index and then sort.<br /><br />Thanks for your help
0
 

Accepted Solution

by:
dkcoop03 earned 0 total points
ID: 37122533
Sorry I didn't mean to accept my own solution.  There really was no solution given but I was going to give the points to the responder anyway.  I'm not sure what to do in the case where no solution worked.
0
 

Author Closing Comment

by:dkcoop03
ID: 37158277
I created an index from one sheet to another and then used the match function but included sheet names
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question