Aug 2, 2024
XLOOKUP
to bring over bonus percentages from the "B_Master" tab.XLOOKUP
:
lookup_value
: Employee namelookup_array
: Range of names in "B_Master"return_array
: Bonus percentages rangeif_not_found
argument to return 0 for names that are not found.lookup_array
to horizontal range and return_array
accordingly.if_not_found
for missing names.lookup_value
(e.g., "Willard").&
to concatenate wildcard with the name.match_mode
to accept wildcard characters instead of looking for an exact match.XLOOKUP
to determine which array to return based on selected field.lookup_value
to the employee's yearly salary.match_mode
set to -1 for approximate match (next smaller item).