Here is the setup:
I need an "if" statement that works for me.
Cell A1 is the current date of 8/18/2011 (I know this date is in the future. I will eventually use the function "=today()" once I get this logic working)
Cell B1 is the Due date of 7/18/2011
Cell C1 is the actual Completion date of 7/19/2011 which can actually be random and is dependant on what a user enters. Use "7/19/2011" for the purposes of this example.
I want cell D1 to say "OVERDUE" if A1 is greater than B1 and there is nothing entered in cell C1. I want cell D1 to say "COMPLETE" if C1 has any date entered into it despite what A1 has as the date.
Right now I am trying to use the equation in D1 = if(and(C1>0,B1>A1,"COMPLETE","OVERDUE")
I think my problem is within the "C1>0" part of the equation. Basically, if nothing is entered in C1 an we are past the due date then I want it to say OVERDUE. If anything is entered within C1 then I want it to say COMPLETE.
Sorry if this is confusing. Apparently my profile does not allow me to post attachments.
I need an "if" statement that works for me.
Cell A1 is the current date of 8/18/2011 (I know this date is in the future. I will eventually use the function "=today()" once I get this logic working)
Cell B1 is the Due date of 7/18/2011
Cell C1 is the actual Completion date of 7/19/2011 which can actually be random and is dependant on what a user enters. Use "7/19/2011" for the purposes of this example.
I want cell D1 to say "OVERDUE" if A1 is greater than B1 and there is nothing entered in cell C1. I want cell D1 to say "COMPLETE" if C1 has any date entered into it despite what A1 has as the date.
Right now I am trying to use the equation in D1 = if(and(C1>0,B1>A1,"COMPLETE","OVERDUE")
I think my problem is within the "C1>0" part of the equation. Basically, if nothing is entered in C1 an we are past the due date then I want it to say OVERDUE. If anything is entered within C1 then I want it to say COMPLETE.
Sorry if this is confusing. Apparently my profile does not allow me to post attachments.