Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JT JT is offline
external usenet poster
 
Posts: 234
Default Calculate # of years

I need to be able to calculate the estimated age of a piece of equipment
beginning at it's construction date. For example:

Air Handler "A" was built in 2005. I need Cell C1 to tell me the number of
years since that date...and have the cell update each year into the future.

Help is greatly appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Calculate # of years

=DATEDIF(A1,TODAY(),"Y")
--
Gary''s Student - gsnu201001


"JT" wrote:

I need to be able to calculate the estimated age of a piece of equipment
beginning at it's construction date. For example:

Air Handler "A" was built in 2005. I need Cell C1 to tell me the number of
years since that date...and have the cell update each year into the future.

Help is greatly appreciated!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JT JT is offline
external usenet poster
 
Posts: 234
Default Calculate # of years

Sorry...but I'm confused by the formula. Can you "dumb it down" a bit for me?

"Gary''s Student" wrote:

=DATEDIF(A1,TODAY(),"Y")
--
Gary''s Student - gsnu201001


"JT" wrote:

I need to be able to calculate the estimated age of a piece of equipment
beginning at it's construction date. For example:

Air Handler "A" was built in 2005. I need Cell C1 to tell me the number of
years since that date...and have the cell update each year into the future.

Help is greatly appreciated!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Calculate # of years

Hi,

Try this in cell C1

=year(today())-2005

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"JT" wrote in message
...
I need to be able to calculate the estimated age of a piece of equipment
beginning at it's construction date. For example:

Air Handler "A" was built in 2005. I need Cell C1 to tell me the number
of
years since that date...and have the cell update each year into the
future.

Help is greatly appreciated!


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Calculate # of years

Your problem is you didn't give enough detail for a specific response.

"Air Handler "A" was built in 2005". Is this a year, or a date? What cell is
it in? Gary assumed you had a date, mostly because you said you have the
"construction date". As you didn't specify the cell, he used A1 as the
example. He assumed you would be able to adjust it to suit your situation.
If you have the number 2005 in a cell (say a1), use:
=year(today())-a1

You put this formula in C1 as that's where you said you wanted the result.

If you need more detail, post back with what cell the data is in, and what
the cell contains.

Regards,
Fred

"JT" wrote in message
...
Sorry...but I'm confused by the formula. Can you "dumb it down" a bit for
me?

"Gary''s Student" wrote:

=DATEDIF(A1,TODAY(),"Y")
--
Gary''s Student - gsnu201001


"JT" wrote:

I need to be able to calculate the estimated age of a piece of
equipment
beginning at it's construction date. For example:

Air Handler "A" was built in 2005. I need Cell C1 to tell me the
number of
years since that date...and have the cell update each year into the
future.

Help is greatly appreciated!




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JT JT is offline
external usenet poster
 
Posts: 234
Default Calculate # of years

Ashish:

Forgive me but I'm not sure what goes inside the two parenthesis (). Can
you explain?

"Ashish Mathur" wrote:

Hi,

Try this in cell C1

=year(today())-2005

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"JT" wrote in message
...
I need to be able to calculate the estimated age of a piece of equipment
beginning at it's construction date. For example:

Air Handler "A" was built in 2005. I need Cell C1 to tell me the number
of
years since that date...and have the cell update each year into the
future.

Help is greatly appreciated!


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Calculate # of years

Nothing. That's why Ashish showed it that way. What happened when you tried
it?

Regards,
Fred

"JT" wrote in message
...
Ashish:

Forgive me but I'm not sure what goes inside the two parenthesis (). Can
you explain?

"Ashish Mathur" wrote:

Hi,

Try this in cell C1

=year(today())-2005

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"JT" wrote in message
...
I need to be able to calculate the estimated age of a piece of
equipment
beginning at it's construction date. For example:

Air Handler "A" was built in 2005. I need Cell C1 to tell me the
number
of
years since that date...and have the cell update each year into the
future.

Help is greatly appreciated!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculate years of service JenniferD Excel Worksheet Functions 2 March 24th 09 08:33 PM
Calculate Number of years Needs Help Excel Worksheet Functions 4 December 7th 07 03:14 PM
how do I calculate years between two dates FC Excel Discussion (Misc queries) 2 February 8th 07 04:43 AM
Calculate Age in Years and Months? Grd New Users to Excel 1 February 15th 06 05:07 PM
calculate number of years D L Barnard New Users to Excel 1 January 26th 05 12:19 AM


All times are GMT +1. The time now is 10:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"