How to keep information across rows locked together but still allow sorting

Hey everyone,

I want to make sure the data across rows is always together but still allow for sorting.
Example:
Column 1    Col. 2     Col 3.
Food A      10g         30lbs
Food B      5g           44lbs
Food C       66g         122lbs

I want the first row to ALWAYS be together no matter what I do to my spreadsheet and I want row 2 to always be together and row 3….etc.

Is there a way to do this?

Thanks!

Kevin
Answer
Answer
"My reason is bc the other day I ruined ~ 2 weeks worth of work as I sorted a single column when I meant to sort the entire spreadsheet based on the order of values in this specific column but keeping the rows in tact. I don't want to accidentally do this again, I can't afford this mistake."

You avoid this mistake by not selecting multiple cells. When multiple cells are selected it restricts the Sorting to those cells only. In the even that it happens again, though, just use Undo to restore to the previous order... there's no reason for any work to be "ruined" :-)

There is no feature to "lock the data across" rows... The program is designed to eliminate that requirement. IMO, selecting multiple cells should only be done if you have an unusual need... such as actually wanting to sort only that range of records within a larger list or if there happens to be a series of empty columns with no captions being used in the list or maybe a few other special circumstances.
 
Although Phillip's homemade video isn't wrong, it most definitely is the long way around & can lead to exactly the problem you're trying to avoid. It is totally unnecessary -- neither do I recommend -- that you attempt to select the entire range of cells. Among other reasons, that can be a real chore with a large list & can result in missing rows/columns that need to be included.

If you want to sort the list based on the content of a single column you need only right-click any cell in that column of the list & select Sort> Ascending/Descending/etc. from the shortcut menu.

If you want to sort based on the content of more than one column just select any single cell in the list then use the Data> Sort command, the Sort button in the Data tab or the contextual menu mentioned above to choose Custom Sort.
***********
AI: Artificial Intelligence or Automated Idiocy???

Few tools work well if you don’t learn to use them.

"A little learning is a dangerous thing." - Alexander Pope

Regards,
Bob J.

32 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated February 21, 2025 Views 79,203 Applies to: