Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I need help with an IF function. Essentially, I have a very simple calculation
=IF(L21, D2-L2, ""). Both the D and L columns are MM/DD/YYYY and the D2-L2 calculation is determining the # of days we are within or outside a deadline. However, in some cases a due date (column D) was not given and therefore in place of the MM/DD/YYYY is "N/A". I can't seem to figure out the proper imbedded multiple IF function that will keep the cell blank or return even a text value. I would be happy with a blank cell or "N/A" just don't want to see "#VALUE!"... any help would be greatly appreciated! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Am Mon, 4 Nov 2013 17:23:44 +0000 schrieb JFELLOW: =IF(L21, D2-L2, ""). Both the D and L columns are MM/DD/YYYY and the D2-L2 calculation is determining the # of days we are within or outside a deadline. However, in some cases a due date (column D) was not given and therefore in place of the MM/DD/YYYY is "N/A". try: =IF(L2*D2<0,D2-L2,"") Regards Claus B. -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Mon, 4 Nov 2013 17:23:44 +0000, JFELLOW wrote:
I need help with an IF function. Essentially, I have a very simple calculation =IF(L21, D2-L2, ""). Both the D and L columns are MM/DD/YYYY and the D2-L2 calculation is determining the # of days we are within or outside a deadline. However, in some cases a due date (column D) was not given and therefore in place of the MM/DD/YYYY is "N/A". I can't seem to figure out the proper imbedded multiple IF function that will keep the cell blank or return even a text value. I would be happy with a blank cell or "N/A" just don't want to see "#VALUE!"... any help would be greatly appreciated! Perhaps: =IFERROR(IF(L21, D2-L2,""),"") |
#4
![]() |
|||
|
|||
![]()
Thank you, this one worked!
Quote:
|
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Wed, 6 Nov 2013 17:25:43 +0000, JFELLOW wrote:
Thank you, this one worked! Glad to help. Thanks for the feedback. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Mon, 4 Nov 2013 17:23:44 +0000, JFELLOW wrote:
I need help with an IF function. Essentially, I have a very simple calculation =IF(L21, D2-L2, ""). Both the D and L columns are MM/DD/YYYY and the D2-L2 calculation is determining the # of days we are within or outside a deadline. However, in some cases a due date (column D) was not given and therefore in place of the MM/DD/YYYY is "N/A". I can't seem to figure out the proper imbedded multiple IF function that will keep the cell blank or return even a text value. I would be happy with a blank cell or "N/A" just don't want to see "#VALUE!"... any help would be greatly appreciated! =IF( ISNA(D2), "", IF(L21, D2-L2, "") ) -- Stan Brown, Oak Road Systems, Tompkins County, New York, USA http://OakRoadSystems.com Shikata ga nai... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User Function Question: Collect Condition in Dialog Box - But How toInsert into Function Equation? | Excel Programming | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Excel - User Defined Function Error: This function takes no argume | Excel Programming | |||
A correct IF function doesn't show the function's result in cell | Excel Discussion (Misc queries) | |||
Adding a custom function to the default excel function list | Excel Programming |