Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Calculate years and months based on hire-date

Posted on 2014-02-25
4
Medium Priority
?
1,185 Views
Last Modified: 2014-02-25
I'm trying to figure out how in this cell I can calculate, from the date specified, the number of years + months from that day to "today's date" (the date I'm opening the spreadsheet on).

I've highlighted here in the cell where it'd be ideal to show.

Is this possible or would I have to create another column and display this based on a calculation and change the formatting of the cell/column?


hire-date-excel-example-formula
0
Comment
Question by:garryshape
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:garryshape
ID: 39887480
I cam across this.
Any way it can be used within the same cell? Or would it have to be another cell referencing A2?

=DATEDIF(A2,TODAY(),"y")&" y "&DATEDIF(A2,TODAY(),"ym")&" m"
0
 
LVL 27

Accepted Solution

by:
MacroShadow earned 2000 total points
ID: 39887498
If the value isn't hard coded (in your example it's in A2) it must be in a separate cell.
0
 
LVL 27

Assisted Solution

by:MacroShadow
MacroShadow earned 2000 total points
ID: 39887502
Using VBA you could have it all in the same cell.
0
 

Author Closing Comment

by:garryshape
ID: 39887507
Ok, thanks for that. Just wasn't sure. I'm clueless when it comes to Excel, but I seem to do better finding answers then some people. heh.

Thanks.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question