Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kane
 
Posts: n/a
Default Years of service...

How would I determine years of service.... example is September 01, 1989?
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=DATEDIF(A1,TODAY(),"y")


See

http://cpearson.com/excel/datedif.htm

In article ,
"Kane" wrote:

How would I determine years of service.... example is September 01, 1989?

  #3   Report Post  
Kane
 
Posts: n/a
Default

JE...
I would like to present a blank cell in "L46" if there is no Anniversary
date entered in "D46"
different examples;

D46: Anniversary Date ... MM/dd/yy
H46: =IF(D46="","",DATEDIF(D46,TODAY(),"Y"))
L46: =SUM(N5:N19)/H46


Now what?

"JE McGimpsey" wrote:

One way:

=DATEDIF(A1,TODAY(),"y")


See

http://cpearson.com/excel/datedif.htm

In article ,
"Kane" wrote:

How would I determine years of service.... example is September 01, 1989?


  #4   Report Post  
Max
 
Posts: n/a
Default

Think you could try in L46:

=IF(OR(H46="",SUM(N5:N19)=0),"",SUM(N5:N19)/H46)

The above will return a blank in L46
if either: H46 ="", or SUM(N5:N19)=0
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Kane" wrote in message
...
JE...
I would like to present a blank cell in "L46" if there is no Anniversary
date entered in "D46"
different examples;

D46: Anniversary Date ... MM/dd/yy
H46: =IF(D46="","",DATEDIF(D46,TODAY(),"Y"))
L46: =SUM(N5:N19)/H46


Now what?

"JE McGimpsey" wrote:

One way:

=DATEDIF(A1,TODAY(),"y")


See

http://cpearson.com/excel/datedif.htm

In article ,
"Kane" wrote:

How would I determine years of service.... example is September 01,

1989?



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
service invoice for parts, tax, two labor rates,mileage inventory. T&M Petro Mike B. Excel Discussion (Misc queries) 0 January 19th 05 03:19 AM
Service work order schoolgeek63 Charts and Charting in Excel 1 January 7th 05 08:07 PM
Calculate months and years Ned Ludd Excel Discussion (Misc queries) 5 December 10th 04 01:57 PM
Help with Years of Service formula.... Wild Bill Excel Discussion (Misc queries) 1 December 6th 04 08:47 PM
How do I display months and years between two dates JSmith Excel Discussion (Misc queries) 1 November 30th 04 04:41 PM


All times are GMT +1. The time now is 09:47 AM.

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

About Us

"It's about Microsoft Excel"