简体   繁体   English

如果有多个日期,为什么我的数据不排序?

[英]Why isn't my data sorting when there are multiples of dates?

I have a table of data in Excel. 我在Excel中有一张数据表。 I am selecting the whole table and using the sort button at the top. 我正在选择整个表格,并使用顶部的排序按钮。 I have tried sorting on Column B and Column C, but when I do the selection box around the table gets smaller and goes up to only select the top half of the table. 我曾尝试对B列和C列进行排序,但是当我这样做时,表格周围的选择框会变小,只能选择表格的上半部分。 What I interpret from this is that it chose a smaller range because it can't sort the full table. 我据此解释的是,它选择了较小的范围,因为它无法对整个表进行排序。 I feel like the problem might be because my data has multiples of the date values in Column C. How can I sort the data on Column B or Column C? 我觉得问题可能是因为我的数据在C列中具有多个日期值。如何对B列或C列中的数据进行排序?

   A        B        C           D         E         F         G         H      
strings  integers  short dates  currency  currency  currency  currency  currency

Select the row with the column titles. 选择带有列标题的行。 Under Home , Sort and Filter , click Filter . 在“ HomeSort and Filter ,单击“ Filter

Then click the down arrow that appears next to your column to play around with the sorting options (eg A->Z or Z->A). 然后单击列旁边显示的向下箭头,以使用排序选项(例如A-> Z或Z-> A)。

This should work for column B (all integers) but might not for your 'multiple date values' in column C. You will want to convert these to one standard format first. 这应该适用于B列(所有整数),但可能不适用于C列中的“多个日期值”。您将需要首先将它们转换为一种标准格式。

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

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