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

相关推荐
web守墓人10 小时前
【go语言】gopls工具与LSP协议全面解析
excel
2501_9307077811 小时前
使用C#代码删除 Excel 中的公式但保留数值
excel
liliangcsdn14 小时前
python如何写数据到excel示例
开发语言·python·excel
CNRio14 小时前
将word和excel快速转换为markdown格式
python·word·excel
best_scenery1 天前
excel绘制折线图
excel·分布图
大气层煮月亮1 天前
Oracle EBS ERP开发——报表生成Excel标准模板设计
数据库·oracle·excel
葡萄城技术团队2 天前
从 Excel 到你的表格应用:保护工作表功能的嵌入实践指南
excel
番石榴AI2 天前
自己动手做一款ChatExcel数据分析系统,智能分析 Excel 数据
人工智能·python·数据挖掘·excel
Lucky GGBond2 天前
使用 EasyExcel 封装通用 Excel 导出工具类
excel
似水流年 光阴已逝2 天前
从Excel姓名匹配案例学Python:由点及面的系统化学习指南
开发语言·python·excel