简体   繁体   English

自事件发生以来,Excel按升序排序

[英]Excel sort in ascending order days and hours since an event

I have data in the format x hours y days since an event that looks like so: 自事件发生以来,我的数据格式为y天x小时:

0 days 2 hours
5 days 1 hour
0 days 0 hours
0 days 0 hours
0 days 0 hours
0 days 0 hours

I want to sort these cells in ascending order by length of time in Excel, but I can't see how to do it. 我想按时间长度在Excel中按升序对这些单元格进行排序,但是我看不到该怎么做。

They say a picture is worth a 1000 words. 他们说一张照片值一千字。

Data tab, sort add a level and sort by days/hours (I added column headers you don't have to have them) 数据标签,排序添加级别,然后按天/小时排序(我添加了列标题,而不必添加它们)

Be sure to select all COLUMNS which need to be sorted. 确保选择所有需要排序的列。 If you don't data in columns E+ will not be sorted with the respective data!!! 如果没有,则E +列中的数据将不会与相应数据一起排序!!!

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM