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

相关推荐
scx_link10 分钟前
使用 Excel 中的 “快速填充“
excel
蜜汁小强33 分钟前
Vim简单配置: 加点颜色加点格式
编辑器·vim·excel
徒手千行代码无bug2 小时前
填充Excel
excel
认真学GIS2 小时前
日尺度地下水水位!全国11897个地下水动态监测站点2005-2021年日尺度地下水水位(地下水埋深)(EXCEL格式)数据
服务器·前端·excel
fengyehongWorld5 小时前
Excel 超级表获取行列数据的方法
excel
WarPigs5 小时前
基于泛型+反射的Excel万能导表工具
unity·c#·excel·反射
城数派7 小时前
2005-2025年我国省市县三级的逐日地表温度数据(Shp/Excel格式)
数据分析·excel
王夏奇9 小时前
Python-对excel文件操作-pandas库
python·excel·pandas
E_ICEBLUE9 小时前
Excel 删除空白行的 5 种方法 【手动管理与 Python 自动化】
python·自动化·excel
身如柳絮随风扬10 小时前
Spring Boot文档导出(Word,Excel,PPT),导入(Excel)
spring boot·word·excel·ppt