Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello,
I am looking to see if this is possible. I have my present formula below. What I would like to do is that if the date in E2 is blank then to default to 6, and if not, then perform this calculation. =DATEDIF(E2, TODAY(), "m") Thank you |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hope this does what you want:
=IF(E2="",6,DATEDIF(E2,TODAY(),"m")) Regards, Ryan--- -- RyGuy "PT40" wrote: Hello, I am looking to see if this is possible. I have my present formula below. What I would like to do is that if the date in E2 is blank then to default to 6, and if not, then perform this calculation. =DATEDIF(E2, TODAY(), "m") Thank you |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Yes, that was perfect. Thank you
"ryguy7272" wrote: Hope this does what you want: =IF(E2="",6,DATEDIF(E2,TODAY(),"m")) Regards, Ryan--- -- RyGuy "PT40" wrote: Hello, I am looking to see if this is possible. I have my present formula below. What I would like to do is that if the date in E2 is blank then to default to 6, and if not, then perform this calculation. =DATEDIF(E2, TODAY(), "m") Thank you |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=IF(E2,DATEDIF(E2, TODAY(), "m"),6) -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "PT40" wrote in message ... Hello, I am looking to see if this is possible. I have my present formula below. What I would like to do is that if the date in E2 is blank then to default to 6, and if not, then perform this calculation. =DATEDIF(E2, TODAY(), "m") Thank you |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(E2="",6,DATEDIF(E2, TODAY(), "m"))
Tyro "PT40" wrote in message ... Hello, I am looking to see if this is possible. I have my present formula below. What I would like to do is that if the date in E2 is blank then to default to 6, and if not, then perform this calculation. =DATEDIF(E2, TODAY(), "m") Thank you |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(E2="",6,DATEDIF(E2, TODAY(), "m"))
-- David Biddulph "PT40" wrote in message ... Hello, I am looking to see if this is possible. I have my present formula below. What I would like to do is that if the date in E2 is blank then to default to 6, and if not, then perform this calculation. =DATEDIF(E2, TODAY(), "m") Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Maximum Number of Blank Cells between Non Blank Cells in a Range | Excel Worksheet Functions | |||
If And Calcuation | Excel Worksheet Functions | |||
calculating date/time with blank cells | Excel Discussion (Misc queries) | |||
Disalbe the Calcuation in Excel after vaildety date | Excel Worksheet Functions | |||
How do I make a blank cell with a date format blank? | Excel Worksheet Functions |