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

相关推荐
梅孔立14 小时前
Java 基于 POI 模板 Excel 导出工具类 双数据源 + 自动合并单元格 + 自适应行高 完整实战
java·开发语言·excel
开开心心就好2 天前
系统重装前必备的智能驱动备份工具
windows·计算机视觉·计算机外设·excel·模块测试·csdn开发云·威胁分析
向宇it2 天前
php高性能的导出excel读写扩展——xlswriter,比传统的Spreadsheet要快很多
php·excel·xlswriter
yanweijie03172 天前
对比VLOOKUP、XLOOKUP、INDEX+MATCH三大查找函数
excel
Codiggerworld2 天前
Vim的语法:删除、复制、粘贴,像说话一样自然
编辑器·vim·excel
Pentane.2 天前
【数据分析 | 农业项目】蔬菜类商品的自动定价与补货决策 | Tableau & Excel
数据挖掘·数据分析·excel·tableau
happy_baymax3 天前
Simulink 端口自动生成工具 (v2.1)(EXCEL+m语言)
服务器·matlab·excel·simulink
SunnyDays10113 天前
如何使用 C# 高效实现 Excel 与 CSV 的互相转换
c#·excel·csv
热爱生活的五柒3 天前
excel的使用教程
excel
城数派3 天前
2025年我国省市县三级的平均坡度数据(Excel\Shp格式)
arcgis·信息可视化·数据分析·excel