Need help combining mulitiple if/else statements into a single formulat that I can type into a cell. What I'm trying to say is as follows:
If the date in cell I7 is later than 3/12/2008 then display the word 'Active';
If the date in cell I7 is earlier than 3/12/2008 but later than 12/23/2007, display the world 'Inactive';
If the date in cell I7 is earlier than 12/23/2007, display the word 'Disabled'
What I have so far is this:
=IF(($I7>"3/12/2008"+0), "Active", "")*($I7<=datevalue("3/12/2008)*($I7>=datevalue("12/23/2007"), ("Disabled", "")
I saw the below statement online, but am not sure how to translate that to a single formula that I can type into a cell.
if (name == "mini") {
alert("your name is mini")
}
else if (name == "harold") {
alert("your name is harold")
}
else if (name == "fred") {
alert("your name is fred")
}
else {
alert("Your name is not mini, harold or fred")
}
Bookmarks