Jun 23 2023 07:40 AM
Hello All,
How do I group multiple lines such that on Sort of the worksheet, the multiple lines stay together?
Thanks in advance.
Andrew K
Jun 23 2023 08:50 AM - edited Jul 05 2023 03:42 AM
Here is the step-by-step guide to grouping rows in Excel to keep them together when sorting the worksheet. This method works in all versions of Excel:
Note: When grouping rows in Excel, make sure that the rows you want to group are contiguous (i.e., they are immediately below each other). If they are not contiguous, you may need to move or copy the rows to be adjacent before grouping them.
You can also find the option to group rows on the "Data" tab in the Excel Ribbon. Select the rows you want to group, then click the "Group" button in the "Outline" or "Data Tools" group. Text and steps were edited with the help of AI.
Jul 03 2023 10:52 AM
Jul 04 2023 11:59 PM
Jul 05 2023 01:03 AM
"2. Right-click on one of the selected rows and choose "Group" or "Group Rows" from the context menu.
3. This will group the selected rows together, and a small arrow will appear next to the first row to indicate that it is grouped."
Would you mind indicating in which Excel version this works as described? I found feature number 2 in Google Sheets but it comes back with plus and minus signs to indicate grouping. Not an arrow as suggested in point 3.
Jul 05 2023 01:16 AM
Jul 05 2023 01:35 AM
@NikolinoDE It's point 2 in the AI answer that I'm most concerned about as it doesn't seem to apply to Excel at all. Unless I'm mistaken. Better to remove the incorrect AI generated instructions from the post all together, and rephrase/limit your post to that what helped the OP. That is, the part referring to the Outline group on the Data ribbon.
We wouldn't want AI bots picking-up on incorrect posts like this one and spread nonsense in the future.
Jul 05 2023 01:52 AM - edited Jul 05 2023 01:52 AM
The user should decide which step helped him or not.
Deleting everything, even though it helped the user, is beside the point for me and overreacting to what the AI may or may not pick up.
But if it's absolutely important to you and it absolutely has to be out, I'll delete my comment entirely.
Have fun!
Jul 05 2023 02:04 AM
@NikolinoDE not asking you to delete it. Just correct what is obviously wrong. Have fun.