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

相关推荐
温轻舟1 天前
Python自动办公工具01-Excel文件编辑器
开发语言·python·编辑器·excel·温轻舟
WarPigs1 天前
Unity编辑器开发笔记
unity·编辑器·excel
allbs1 天前
spring boot项目excel导出功能封装——3.图表导出
spring boot·后端·excel
lqz19931 天前
根据html导出excel和word
html·word·excel
12程序猿1 天前
postman调用文件(.xlsm---带宏的excel文件)下载接口成功下载excel文件,浏览器访问下载文件打不开
excel·lua·postman
刻BITTER2 天前
用EXCEL 将单色屏幕的Bitmap 字模数据还原回图形
单片机·嵌入式硬件·excel·arduino
匿者 衍2 天前
POI读取 excel 嵌入式图片(支持wps 和 office)
java·excel
天外天-亮2 天前
Vue + excel下载 + 水印
前端·vue.js·excel
allbs3 天前
spring boot项目excel导出功能封装——2.高级导出
spring boot·后端·excel
睿思达DBA_WGX3 天前
使用 Python 的第三方库 xlrd 读取 Excel 文件
python·excel