Excel - 按 x 排序 - 0000xx000000

Sve*_*rik 0 sorting microsoft-excel

我在 Excel 中有一个需要排序的列表。但我需要按以下格式对数字 xx 进行排序:

  1. 1234xx123456
  2. 3541xx548135

因此,如果第一行中的 xx 是 68,而第二行中的 xx 是 45,它们将改变位置。有没有办法在Excel中做到这一点?

Pau*_*aul 8

您不能将第 4 个和第 5 个字符提取到另一个单元格中并对其进行排序吗?

B1:   =mid(A1,5,2)
Run Code Online (Sandbox Code Playgroud)

然后在b列上排序?

  • 正确的想法。使用这个:`=VALUE(MID(A1,5,2))` (2认同)