Excel - 创建日期数据

You can quickly create a list of dates, in sequential order, by using the Fill Handle Fill handle or the Fill command.

Use the Fill Handle

1, Select the cell that contains the first date. Drag the fill handle across the adjacent cells that you want to fill with sequential dates.

2, Select the fill handle Fill handle at the lower-right corner of the cell, hold down, and drag to fill the rest of the series. Fill handles can be dragged up, down, or across a spreadsheet.

You can also use the right mouse click key to drag the handle, and it will show the pop up fill dialog.

Use the Fill command

1, Select the cell with the first date. Then select the range of cells you want to fill.

2, Select Fill > Series > Date unit. Select the unit you want to use. (Home Tab)


这里的日期显示是美国的常用格式,中国通常是yyyy/mm/dd。

这个在单元格的日期格式中可以选择不同的区域(这里选美国并不是和上面的例子的日期显示一样),并选择不同的显示格式。

如果需要风复杂的格式,需要选择单元格格式里的自定义格式。

参考:

Create a list of sequential dates - Microsoft Support

相关推荐
智航GIS41 分钟前
9.3 Excel 自动化
python·自动化·excel
骑着蜗牛闯宇宙1 小时前
TP8上传Excel地址数据批量标注到高德地图
数据库·php·excel
魅惑青花瓷1 小时前
【EXCEL动态获取数据范围并整列自动填充公式】
excel
zbguolei18 小时前
上传 Excel 文件进行数据库比对--增加导出功能
数据库·excel
!chen1 天前
Excel高性能异步导出完整方案
excel
杰瑞不懂代码1 天前
使用pandas操作EXCEL表格入门教程
python·excel·pandas·办公自动化·数据处理
yiSty1 天前
win10/win11安装Word、EXCEL、PPT、VISIO
word·powerpoint·excel
zbguolei2 天前
上传 Excel 文件进行数据库比对
数据库·excel
南风花海2 天前
使用ERP时出现Excel插件(ESClient10)加载失败,请检查是否被禁用了。
excel