#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Excel User001
 
Posts: n/a
Default =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,
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default =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
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Excel User001
 
Posts: n/a
Default =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,

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
Why do I get a #Name error when I use the DateDif function? PhilS Excel Worksheet Functions 6 April 2nd 05 02:07 PM


All times are GMT +1. The time now is 04:36 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"