Formula is:
=IF(B2=””,””,IF(ISERROR(DATEDIF(B2,C2,”d”)),”no end
date”,DATEDIF(B2,C2,”d”)))
I want to Conditional format so when:
“D” has a # return it is yellow
DATEDIF(B2,C2,”d”
“D” returns “” it is white
IF(B6=””,””
“D” returns “no end date” it is green
IF(ISERROR(DATEDIF(B2,C2,”d”)),”no end date”
My CF is:
Cell value >0 = yellow
Cell value =”” = no color
Cell value =”string” = green
Results = All cells are yellow.
CF works correctly if I rearrange the order to:
Cell value =”” = no color
Cell value =”string” = green
Cell value >0 = yellow
I assume that the order determines priority, but why would the >0
affect, or interfere with, the strings/null? Is a string or null
string 0? Does it have any numeric value?
How can I change “Cell value >0” so I can place it first and have
this work. Stated another way, what can I use so it would not
interfere with the other two?
Question #2 – Column E
I have a formula which returns a string “no $C$5” if B5 has a date
but C5 is empty. It changes as the rows change, that is the next row
would say “no $C$6″ if B6 has a date but C6 does not.
=IF(B43=””,””,IF(ISERROR(DATEDIF(B43,B44,”d”)),”no”&” “&CELL(“address”,B44),DATEDIF(B43,B44,”d”)))
How can I CF this return without having to do each row separately
using the specific string return [no $C$5, no $C$6, etc] or without
using “>than $C$1” ?
I want to know other ways to do it maybe using a variable or other means to change the number(x) [$C$x] with corresponding change of the row.
See attached sample.