Text, Nested If, Lookup Function
Text, Nested If, Lookup Function
PROGRAMMING
TEXT, NESTED IF AND LOOKUP FUNCTION SYNTAX FUNCTION
OR
OR
= 𝑰𝑭(𝒍𝒐𝒈𝒊𝒄𝒂𝒍 −𝒕𝒆𝒔𝒕, 𝒗𝒂𝒍𝒖𝒆 −𝒊𝒇 −𝒕𝒓𝒖𝒆, 𝑰𝑭(𝒍𝒐𝒈𝒊𝒄𝒂𝒍 −𝒕𝒆𝒔𝒕, 𝒗𝒂𝒍𝒖𝒆 −𝒊𝒇 −𝒕𝒓𝒖𝒆, 𝒗𝒂𝒍𝒖𝒆 −𝒊𝒇 −𝒇𝒂𝒍𝒔𝒆))
OR
= 𝑰𝑭(𝒍𝒐𝒈𝒊𝒄𝒂𝒍 −𝒕𝒆𝒔𝒕, 𝑰𝑭(𝒍𝒐𝒈𝒊𝒄𝒂𝒍 −𝒕𝒆𝒔𝒕, 𝒗𝒂𝒍𝒖𝒆 −𝒊𝒇 −𝒕𝒓𝒖𝒆, 𝒗𝒂𝒍𝒖𝒆 −𝒊𝒇 −𝒇𝒂𝒍𝒔𝒆), 𝒗𝒂𝒍𝒖𝒆 −𝒊𝒇 −𝒇𝒂𝒍𝒔𝒆)
Is there any shortest syntax that can be used to replace nested if?
• Lookup_value (required argument) – value that we want to look up in the first column of a
table.
• Table_array (required argument) – The table array is the data array that is to be searched.
• Col_index_num (required argument) – an integer, specifying the column number of the
supplied table_array, that you want to return a value from.
• Range_lookup (optional argument) – can be set to TRUE or FALSE, which means:
TRUE – Approximate match, that is, if an exact match is not found, use the closest
match below the lookup_value.
FALSE – Exact match, that is, if an exact match not found, then it will return an error.
Please use last week exercise data to simplify the nested if function in
order to extract information for place of birth.