ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Date calculation (https://www.excelbanter.com/excel-worksheet-functions/31733-date-calculation.html)

USCBrad

Date calculation
 
I have a worksheet with employees. Some new some old. A new hire is
considered to have been employed for a period of 6 months. I would like a
formula that takes the current date, the hire date and calculates if the
current date is 180 day greater than the hire date. If it is true I would
like a cell to contain a blank or if it is false I would like the cell to
contain the letter N.

I created =IF(TODAY()(DATE(2005/05/01)+180)," ","N"). By its part they
work but as a whole I have problems. Can some one please help.

USCBrad

Email correction its . Please use this address.
I made a slight error on the automatic return email address

"USCBrad" wrote:

I have a worksheet with employees. Some new some old. A new hire is
considered to have been employed for a period of 6 months. I would like a
formula that takes the current date, the hire date and calculates if the
current date is 180 day greater than the hire date. If it is true I would
like a cell to contain a blank or if it is false I would like the cell to
contain the letter N.

I created =IF(TODAY()(DATE(2005/05/01)+180)," ","N"). By its part they
work but as a whole I have problems. Can some one please help.


Duke Carey

try:

=IF(TODAY()-180hire date,"","N")


"USCBrad" wrote:

I have a worksheet with employees. Some new some old. A new hire is
considered to have been employed for a period of 6 months. I would like a
formula that takes the current date, the hire date and calculates if the
current date is 180 day greater than the hire date. If it is true I would
like a cell to contain a blank or if it is false I would like the cell to
contain the letter N.

I created =IF(TODAY()(DATE(2005/05/01)+180)," ","N"). By its part they
work but as a whole I have problems. Can some one please help.


USCBrad

Thanks Duke that was perfect. Appreciate it.

"Duke Carey" wrote:

try:

=IF(TODAY()-180hire date,"","N")


"USCBrad" wrote:

I have a worksheet with employees. Some new some old. A new hire is
considered to have been employed for a period of 6 months. I would like a
formula that takes the current date, the hire date and calculates if the
current date is 180 day greater than the hire date. If it is true I would
like a cell to contain a blank or if it is false I would like the cell to
contain the letter N.

I created =IF(TODAY()(DATE(2005/05/01)+180)," ","N"). By its part they
work but as a whole I have problems. Can some one please help.



All times are GMT +1. The time now is 03:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com