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

相关推荐
得闲喝茶15 小时前
SQL处理数据的常用语法语句
数据库·笔记·sql·数据分析·excel
hmywillstronger15 小时前
【Python】从SAP2000 XML截面库提取数据到Excel
xml·python·excel
抹茶咖啡16 小时前
IT运维的365天--045 WPS突然就不能正常打开Excel文件了
excel·it运维·wps
专注VB编程开发20年16 小时前
在 Python 中使用 comtypes 时,大小写通常必须保持精确
python·excel
E_ICEBLUE2 天前
如何提取 Word 文档中的表格并导出为 Excel(Python 教程)
python·word·excel
2501_930707782 天前
使用C#代码在 Excel 中创建雷达图
信息可视化·excel
fengyehongWorld2 天前
Excel Excel2024版本之后,行与列相关的函数
excel
小贺儿开发2 天前
Unity3D 年会抽奖工具(附体验链接)
数据库·unity·excel·人机交互·工具·抽奖·互动
Eiceblue2 天前
锁定单元格 :C# 控制 Excel 单元格编辑权限
开发语言·c#·excel
热门推荐