Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 04-18-2012, 12:11 AM
caholmes caholmes is offline Date Calculation Windows Vista Date Calculation Office 2007
Advanced Beginner
 
Join Date: Dec 2008
Location: Sydney, Australia
Posts: 54
caholmes is on a distinguished road
Default

Hi Lights,

I'm not a big fan of adding text to the formula result because it stops you using that answer in another formula. I would possibly use the following formula:

=(MONTH(TODAY())+YEAR(TODAY())*12)-(MONTH(A1)+YEAR(A1)*12)

This will give you an integer (whole number) as a result. After that I would use a custom format to add the text that you want into the same cell as the formula.



After you enter the formula:
  1. go into format cells (Ctrl + 1)
  2. select the number tab
  3. choose custom (bottom of the list)
  4. in the type box, type: 0" mos"
  5. click OK
This will display at least 1 number and add " mos" after it and it won't break any formulas.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
calculation of start date ketanco Project 1 02-29-2012 07:01 AM
Date Calculation Formula calculation danbl Excel 8 02-23-2012 04:35 AM
Date Calculation Calculation within Cells manich1 Excel 2 12-07-2011 02:59 PM
Date Calculation Excel Calculation Problem UnholySmoke Excel 2 09-14-2011 08:15 AM
Date Calculation Help with 'hours worked' calculation... Snvlsfoal Excel 1 08-11-2011 05:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft