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

相关推荐
hello_simon29 分钟前
免费在线文档工具,在线PDF添加空白页,免费在任意位置插入空白页,多样化的文件处理
pdf·html·excel·pdf转html·excel转pdf格式
chenchihwen2 小时前
常用 Excel VBA 技巧,简单好学易上手
excel
夔8882 小时前
Excel通过VBA脚本去除重复数据行并保存
java·服务器·excel
啊波次得饿佛哥4 小时前
excel中的VBA指令示例(一)
excel·vba
inxunoffice4 小时前
批量将 JSON 转换为 Excel/思维导入等其它格式
json·excel
忘忧记4 小时前
如何在 Excel 中处理并拆分你提供的这种混合单位的库存数据。
excel
CAT_cwds20 小时前
EasyExcel-一款好用的excel生成工具
excel·easy
Eiceblue1 天前
C# 设置Excel中文本的对齐方式、换行、和旋转
开发语言·c#·excel
刘大猫.1 天前
java导入excel更新设备经纬度度数或者度分秒
java·excel·导入excel·经纬度·度分秒·经纬度 度数·经纬度 度分秒