I am having trouble adding one line to an IF function.
I have learned that I can use up to 7 IF functions in a formula.
My goal here is to get the difference between two dates and depending on the answer, the cell gives the green/amber/red answer.
I have figured out my main goal, but got a curveball thrown to me..... some of the cells don't have a date, but say "N/A" and I need that to return a "green" answer.
I feel like I have tried to put it everywhere and it doesn't work. Let me just say that my "training" is from reading this message board. I just happened to know a few things and now I am the group "expert" at work and need to create all the spreadsheets.
These are the two formulas I need to incorporate for the first - "IF(E32="N/A", "Green")
for the second - "IF(M32="N/A", "Green")
=IF(E32,IF(F32,
IF(F32-E32<=365, "Green",
IF(F32-E32<=456, "Amber",
"Red")),
IF(TODAY()-E32<=365, "Green",
IF(TODAY()-E32<=456, "Amber",
"Red"))),"")
=IF(M32,IF(O32,
IF(O32-M32<=0, "Green",
"Red"),
IF(TODAY()-M32<=0, "Green",
"Red")),"")
I have learned that I can use up to 7 IF functions in a formula.
My goal here is to get the difference between two dates and depending on the answer, the cell gives the green/amber/red answer.
I have figured out my main goal, but got a curveball thrown to me..... some of the cells don't have a date, but say "N/A" and I need that to return a "green" answer.
I feel like I have tried to put it everywhere and it doesn't work. Let me just say that my "training" is from reading this message board. I just happened to know a few things and now I am the group "expert" at work and need to create all the spreadsheets.
These are the two formulas I need to incorporate for the first - "IF(E32="N/A", "Green")
for the second - "IF(M32="N/A", "Green")
=IF(E32,IF(F32,
IF(F32-E32<=365, "Green",
IF(F32-E32<=456, "Amber",
"Red")),
IF(TODAY()-E32<=365, "Green",
IF(TODAY()-E32<=456, "Amber",
"Red"))),"")
=IF(M32,IF(O32,
IF(O32-M32<=0, "Green",
"Red"),
IF(TODAY()-M32<=0, "Green",
"Red")),"")