Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am keeping count of the difference in days from when we receive something
to when we quote it using the formula: =IF(J2-I2<0,"",J2-I2) since I cannot have negative numbers running. But on some fields there is no end date so i have to enter a text in that field (instead of a date) so in my formula column I get an error message. I need to change the forlua to where it still counts the way it does right now, but when there is an error I get a blank cell instead. Please help!! Thanks!!! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=if(iserror(IF(J2-I2<0,"",J2-I2)),"", J2-I2)
"mercedes" wrote: I am keeping count of the difference in days from when we receive something to when we quote it using the formula: =IF(J2-I2<0,"",J2-I2) since I cannot have negative numbers running. But on some fields there is no end date so i have to enter a text in that field (instead of a date) so in my formula column I get an error message. I need to change the forlua to where it still counts the way it does right now, but when there is an error I get a blank cell instead. Please help!! Thanks!!! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
try
=if(or(iserror(j2-i2),j2-I2<0),"",J2-I2) "mercedes" wrote: I am keeping count of the difference in days from when we receive something to when we quote it using the formula: =IF(J2-I2<0,"",J2-I2) since I cannot have negative numbers running. But on some fields there is no end date so i have to enter a text in that field (instead of a date) so in my formula column I get an error message. I need to change the forlua to where it still counts the way it does right now, but when there is an error I get a blank cell instead. Please help!! Thanks!!! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(ISTEXT(J2),"",IF(J2-I2<0,"",J2-I2))
"mercedes" wrote: I am keeping count of the difference in days from when we receive something to when we quote it using the formula: =IF(J2-I2<0,"",J2-I2) since I cannot have negative numbers running. But on some fields there is no end date so i have to enter a text in that field (instead of a date) so in my formula column I get an error message. I need to change the forlua to where it still counts the way it does right now, but when there is an error I get a blank cell instead. Please help!! Thanks!!! |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Why you have to enter a text instead of date? if you can leave it blank you have to use this formula: =if(isblank(I2),"",IF(J2-I2<0,"",J2-I2)) but if you can not leave the cell blank and should to enter a text in it then you have to use this formula: =if(iserror(J2-I2),"",IF(J2-I2<0,"",J2-I2)). ps: in the first formula i assumed that the cell I2 is the end date Thanks, -- Farhad Hodjat "mercedes" wrote: I am keeping count of the difference in days from when we receive something to when we quote it using the formula: =IF(J2-I2<0,"",J2-I2) since I cannot have negative numbers running. But on some fields there is no end date so i have to enter a text in that field (instead of a date) so in my formula column I get an error message. I need to change the forlua to where it still counts the way it does right now, but when there is an error I get a blank cell instead. Please help!! Thanks!!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
combine speadsheets leaving no blank rows on master page | Excel Discussion (Misc queries) | |||
showing unlimited demand for a product other than leaving it blank | Excel Discussion (Misc queries) | |||
Leaving a cell blank. Not NA(), not "". | Excel Worksheet Functions | |||
prevent a user leaving a blank cell in excel2003 | Excel Discussion (Misc queries) | |||
How to display a blank cell with no error message | Excel Worksheet Functions |