Google表格,按月递增单元格 [英] Google Sheets, increment cell by month
本文介绍了Google表格,按月递增单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个电子表格,可以按月跟踪旧帐户的数量. 有没有办法让Google表格在每个月的1日自动更新一个单元格?
I have a spreadsheet that keeps track of how old accounts are by months. Is there a way to have Google Sheets auto update a cell on the 1st of each month?
VG:一个帐户的使用期限为78个月,到9月1日,该帐户的使用期限为79个月.我想在每月的1号自动进行更新,因此不必在每个帐户有效期单元格中手动添加1.
VG: An account is 78 months old and on Sept 1st it turns 79 months. I want to automatically update it on the 1st of the month so I won't have to manually add 1 to every account age cell.
推荐答案
这是针对 Excel 的:
如果该值在2016年8月25日为 78 ,并且您希望该值在每个月的第一天增加,则输入:
If the value is 78 on 25 August 2016 and you want the value to increment of the first of each month, then enter:
=78+MONTH(TODAY())-MONTH(DATEVALUE("8/25/2016"))+12*(YEAR(TODAY())-YEAR(DATEVALUE("8/25/2016")))
这篇关于Google表格,按月递增单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文