You are here:

Excel/Formula to add 1 to the number every month

Advertisement


Question
We have a column that tracks number of months in care for each client.  I would like to have Excel add one (+1) on the first day of each month.

Currently the cell contains a number, not a formula.

Also, we use MSExcel 2003.

Thanks!

Answer
For that to occur automatically via formula would require a reference cell to store the "starting date".  So, if in D2 you listed the starting date as 2/1/2012 (Feb 1, 2012), then in E2 this formula would tell you how many months have passed since then:

    =DATEDIF(D2, TODAY(), "m")

You have to decide if you want the result to be INCLUSIVE of February.  So on Feb 2, you would still want the formula to result in 1, then the formula would be:

    =DATEDIF(D2, TODAY(), "m") + 1

About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

Excel

All Answers


Answers by Expert:


Ask Experts

Volunteer


Jerry Beaucaire

Expertise

Excel Formulas, macros, automation. Microsoft Excel MVP - 2010. Code site with free code snippets and techniques: http://sites.madrocketscientist.com/jerrybeaucaires-excelassistant/files

Experience

Microsoft Excel MVP - 2010. I have my own extensive Excel help/code site: http://sites.madrocketscientist.com/jerrybeaucaires-excelassistant/files ===================== I have been offering free assistance as an Excel aid on many web sites for many years: (http://www.excelforum.com - JBeaucaire) ======== (http://www.askmehelpdesk.com/spreadsheets - JBeaucaire) ======= (http://www.mrexcel.com/forum - jbeaucaire)

Education/Credentials
Bachelor's Degree from Azusa Pacific University in Mathematics and Music Composition

Awards and Honors
Microsoft Excel MVP 2010

©2016 About.com. All rights reserved.