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

相关推荐
用户2986985301410 小时前
C#: 高效移动与删除Excel工作表
后端·.net·excel
缺点内向1 天前
Java: 如何在Excel中添加或删除分页符?
java·excel
不想上班的小吕1 天前
SAP EXCEL模板下载导入
excel·sap
向日葵同志443301 天前
使用@univerjs纯前端渲染excel, 显示图片、链接、样式
前端·react.js·excel
Smile_2542204181 天前
nodered 下载 excel 文件
node.js·excel
办公解码器1 天前
Excel怎么检测录入身份信息的准确性?
excel
CodeCraft Studio1 天前
国产化Excel处理控件Spire.XLS教程:如何使用 Java 将 TXT 文本转换为 Excel 表格
java·word·excel·spire·文档格式转换·txt转excel
测试老哥2 天前
python+requests+excel 接口测试
自动化测试·软件测试·python·测试工具·测试用例·excel·接口测试
屹奕2 天前
基于EasyExcel实现Excel导出功能
java·开发语言·spring boot·excel
我只会写Bug啊3 天前
Vue文件预览终极方案:PNG/EXCEL/PDF/DOCX/OFD等10+格式一键渲染,开源即用!
前端·vue.js·pdf·excel·预览