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

相关推荐
Non-existent9876 天前
WPS批量清理单元格空白字符的4种方法-异常数字格式处理-实战
excel·wps
Channing Lewis6 天前
PHP 解析 Excel 的那些坑:一次“行号错位”引发的数据丢失
开发语言·php·excel
jarreyer6 天前
【数据分析绘图】excel绘图和bi工具区别
数据挖掘·数据分析·excel
chatexcel6 天前
ChatExcel Max使用教程:图片、PDF、网页与复杂Excel的一站式数据分析
数据分析·pdf·excel
cngkqy6 天前
excel从某一列中用match筛选匹配的数据
excel
qq_546937276 天前
Excel批量转PDF_Word_图片,支持自动合并报表,效率翻倍。
pdf·word·excel
ai_coder_ai6 天前
在自动化脚本中操作excel文件
运维·自动化·excel
三千花灯6 天前
【Playwright】 自动化测试之参数化登录(Excel/CSV 数据源)
人工智能·机器学习·excel
罗政6 天前
AI工作流实现Excel全自动化(支持SQL)-案例:医院门诊排班表
人工智能·自动化·excel
小妖6666 天前
excel 怎么在单元格内容自动加上一段文字不能用公式
excel·vba