Question: The MIN function returns the smallest value in a set of numbers. For example, if the range A 1 :A 3 contains the values 6
The MIN function returns the smallest value in a set of numbers. For example, if the range A:A contains the values and then the formula MINA:A returns the number because it is the smallest of the three numbers:
MATCHlookupvalue, lookuparray, match type
The MATCH function searches for a specified item in a range of cells and returns the relative position of that item in the range. The lookupvalue is the value to match, the lookuparray is the range of search, and match type indicates the type of match use for an exact match
For example, if the range A:A contains the values and then the formula MATCHA:A returns the number because is the second item in the range.
INDEXarray columnnum
The INDEX function returns the value of an element in a position of an array. For example, if the range A:A contains the values and then the formula INDEXA:A because is the value in the second position of the array A:AHint: Create three new columns. In the first column, use the MIN function to calculate the minimum distance for the customer in that row. In the second column use the MATCH function to find the position of the minimum distance. In the third column, use the position in the previous column with the INDEX function referencing the row of distribution center names to find the name of the distribution center that should service that customer.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
