answersLogoWhite

0

=IF(<condition>, <do this if condition is true>, <do this if condition is false>)

The second and third arguments can be anything you would put in a formula, including another IF function.

Example:

="Good "&IF(HOUR(NOW())<12, "morning", IF(HOUR(NOW())<18, "afternoon", "evening"))&"!"

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What are three parts of a function in Excel?

You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)


Values used in calculations in functions are?

arguments. :)


What does Excel use to separate multiple arguments in a function?

Commas are used to separate arguments in Excel functions.


Can you pass argument to procedures?

Yes. Procedures are otherwise known as functions, and functions can accept arguments.


What are the two components that functions generally consist of in Excel?

All functions have a name and have brackets just after them. So they could be said to be the two main components. For some functions it is mandatory to have something inside the brackets. These are usually known as arguments. For functions that do have them, there are some arguments that are mandatory.


What are arguments in MS Excel?

Arguments are the values that are entered into functions to enable them to work. Most functions require arguments. For example, if you want to find out what day of the week a date is, you need a function called Weekday and the date that you want as the argument of the function.


Can you type functions including arguments manually into a cell?

yes


Can properties take arguments in c?

No, properties in C do not support arguments like functions do. Properties in C are usually implemented as getter and setter functions, which can modify or return the value of the property.


Where do you find a list of Excel arguments?

Each function in Excel that has arguments will differ in terms of what arguments are needed. The help for a particular function will indicate what arguments may be needed. Some functions can be used in different ways and may not always need all arguments.


Can a formula contains several functions Excel starts with the outermost function and then moves inward?

The innermost functions will be calculated first as their results form the arguments for the outer functions.


What are the functions of goat?

functions of the external parts of a goat


How many arguments does the COUNT IF function contain?

three parts