Sorting data in groups

kathyfroy

New Member
Joined
Jan 16, 2018
Messages
3
Hi

I'm trying to sort data in excel (see example below) that has gaps. I have tried grouping by individual risks and then sorting, but it still doesn't seem to keep the information together. How can I sort this info (sorry, I'm not an excel superuser so please explain in basic terms) so that if I sort by main contact, for example, it will keep all the info in the individual groups together?

Thanks.

RiskMain ContactSecondary ContactStatus
Risk APerson AActive
Risk BPerson BPerson AInactive
Person D
Risk CPerson EPerson BActive
Person GPerson C
Person E
Risk DPerson DActive
Person F
Person A

<tbody>
</tbody>
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
To make it easier to sort, select one of your header cells (e.g., Risk), go to the Data tab, and select Filter. Assuming your columns are side by side, all of your column headers will get a down triangle icon.

You main issue is that you don't have data in all of the Risk cells (I am guessing the data you showed represents an assumed Risk inclusion due to its formatting) as well as the main contact cells. You will need to fill in those blank cells with the right Risk and main contact data and then you should be able to sort effectively. Without it, for example, your row with Person D in the secondary contact will sort but you will have no idea of the assumed Risk B, Person B association.

If I am assuming too much, reply with some additional context.
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,091
Latest member
gaurav_7829

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top