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

相关推荐
hanjq_code38 分钟前
java使用阿里的easyExcel解决把excel每行的数据转成excel表格格式数据并打包成ZIP下载
java·开发语言·excel
牛猫Data1 小时前
Power BI为什么不能完全取代Excel?
microsoft·数据分析·excel·database·数据可视化·powerbi
小当家.1051 小时前
《Java操作Excel实战教程:Apache POI从入门到精通》
java·apache·excel
vortex51 天前
【小技巧】用 VLOOKUP 实现表格合并
excel
宫瑾1 天前
Excel常用操作记录
excel
老蒋每日coding1 天前
Java解析Excel并对特定内容做解析成功与否的颜色标记
java·开发语言·excel
博风1 天前
bartender打印软件连接excel文档进行标签打印
excel
焦思懿--19期--工职大1 天前
[特殊字符]Linux文件查看命令全面对比解析:从基础cat到高级文本处理工具
excel
ekkcole1 天前
java实现对excel文件合并单元格(只针对文件)
java·开发语言·excel
我叫汪枫1 天前
Python 实战:把 PDF 表格完整转换成 Excel(小白教程)
python·pdf·excel