ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   =DATEDIF (https://www.excelbanter.com/excel-worksheet-functions/69192-%3Ddatedif.html)

Excel User001

=DATEDIF
 
Hello All,

I'm using this formula, =DATEDIF(E8,NOW(), "y" ). This returns a 1. I have a
spread sheet that determines if an instrument needs to be calibrated after
it's year calibration is up. I would like to use a nested IF statement so
that when the one year calibration is up it will return a text string "NEEDS
CALIBRATION" instead of a 1.

Thanks,

Dave Peterson

=DATEDIF
 
=if(DATEDIF(E8,NOW(),"y")=1,"Needs Calibration","Not Yet")

Excel User001 wrote:

Hello All,

I'm using this formula, =DATEDIF(E8,NOW(), "y" ). This returns a 1. I have a
spread sheet that determines if an instrument needs to be calibrated after
it's year calibration is up. I would like to use a nested IF statement so
that when the one year calibration is up it will return a text string "NEEDS
CALIBRATION" instead of a 1.

Thanks,


--

Dave Peterson

Excel User001

=DATEDIF
 
Works great!!! Thank you very much for all your help!

"Excel User001" wrote:

Hello All,

I'm using this formula, =DATEDIF(E8,NOW(), "y" ). This returns a 1. I have a
spread sheet that determines if an instrument needs to be calibrated after
it's year calibration is up. I would like to use a nested IF statement so
that when the one year calibration is up it will return a text string "NEEDS
CALIBRATION" instead of a 1.

Thanks,



All times are GMT +1. The time now is 04:41 PM.

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