logical_expression- [Required] The expression or cell reference to be tested if true or false
value_if_true- [Required] The value the function returns if logical_expression is true
value_if_false- [Required] The value the function returns if logical_expression is false
Arguments of the function
The IF function returns a value depending if the logical_expression is true or false.
IF Notes
Ensure that value_if_true and value_if_false are provided in the correct order.
Nesting IF functions can expand your formula, review our practice sheet. IFS function is a more efficient way to include multiple if statements. However, nesting functions is a concept that is used throughout this site to expand our functions.
Leaving the value_if_true or the value_if_false empty in your function will return nothing leaving the cell empty if the logical expression is set to return that value. =IF(A7="",,"Not Blank Cell")
IFERROR: Returns the first argument if it is not an error value, otherwise returns the second argument if present, or a blank if the second argument is absent.
IFS: Evaluates multiple conditions and returns a value that corresponds to the first true condition.
ISBLANK: Checks whether the referenced cell is empty.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
var complianz = {"prefix":"cmplz_","user_banner_id":"1","set_cookies":[],"block_ajax_content":"","banner_version":"31","version":"7.4.4","store_consent":"","do_not_track_enabled":"","consenttype":"optout","region":"us","geoip":"","dismiss_timeout":"","disable_cookiebanner":"","soft_cookiewall":"","dismiss_on_scroll":"1","cookie_expiry":"365","url":"https:\/\/simplifysheets.com\/wp-json\/complianz\/v1\/","locale":"lang=en&locale=en_US","set_cookies_on_root":"","cookie_domain":"","current_policy_id":"28","cookie_path":"\/","categories":{"statistics":"statistics","marketing":"marketing"},"tcf_active":"","placeholdertext":"Click to accept {category} cookies and enable this content","css_file":"https:\/\/simplifysheets.com\/wp-content\/uploads\/complianz\/css\/banner-{banner_id}-{type}.css?v=31","page_links":{"us":{"cookie-statement":{"title":"","url":"https:\/\/simplifysheets.com\/functions\/if"},"privacy-statement":{"title":"Privacy Policy","url":"https:\/\/simplifysheets.com\/privacy-policy"}}},"tm_categories":"1","forceEnableStats":"","preview":"","clean_cookies":"","aria_label":"Click to accept {category} cookies and enable this content"};