Floyd’s Bumpers has distribution centers in Lafayette, Indiana; Charlotte, North Carolina; Los Angeles, California; Dallas, Texas; and Pittsburgh, Pennsylvania. Each distribution center carries all products sold. Floyd’s customers are auto repair shops and larger auto parts retail stores. You are asked to perform an analysis of the customer assignments to determine which of Floyd’s customers should be assigned to each distribution center. The rule for assigning customers to distribution centers is simple: A customer should be assigned to the closest center. The worksheet Floyds in the provided datafile contains the distance from each of Floyd’s 1,029 customers to each of the five distribution centers. Your task is to build a list that tells which distribution center should serve each customer. The following functions will be helpful: =MIN(array) The MIN function returns the smallest value in a set of numbers. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MIN(A1:A3) returns the number 6, because it is the smallest of the three numbers: =MATCH(lookup_value, lookup_array, 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 lookup_value is the value to match, the lookup_array is the range of search, and match type indicates the type of match (use 0 for an exact match). For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MATCH(25,A1:A3,0) returns the number 2, because 25 is the second item in the range. =INDEX(array, column_num) The INDEX function returns the value of an element in a position of an array. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =INDEX(A1:A3, 2) 5 25, because 25 is the value in the second position of the array A1:A3. (Hint: 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.) Click on the datafile logo to reference the data.   (Hint: The INDEX function may be used with a two-dimensional array: =INDEX(array, row_num, column_num), where array is a matrix, row_num is the row numbers and column_num is the column position of the desired element of the matrix.) Floyd's Bumpers pays a transportation company to ship its product to its customers. Floyd's Bumpers ships full truckloads to its customers. Therefore, the cost for shipping is a function of the distance traveled and a fuel surcharge (also on a per mile basis). The cost per mile is $2.55 and the fuel surcharge is $.56 per mile. The worksheet May in the provided datafile contains data for shipments for the month of May (each record is simply the customer zip code for a given truckload shipment), as well as the distance table from the distribution centers to each customer. Use the VLOOKUP function to retrieve the distance traveled for each shipment from the exercise completed above, and calculate the charge for each shipment. What is the total amount that Floyd's Bumpers spends on these May shipments? If required, round your answers to two decimal places. $    Pictured is the beginning of the Excell Document...

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Floyd’s Bumpers has distribution centers in Lafayette, Indiana; Charlotte, North Carolina; Los Angeles, California; Dallas, Texas; and Pittsburgh, Pennsylvania. Each distribution center carries all products sold. Floyd’s customers are auto repair shops and larger auto parts retail stores. You are asked to perform an analysis of the customer assignments to determine which of Floyd’s customers should be assigned to each distribution center. The rule for assigning customers to distribution centers is simple: A customer should be assigned to the closest center. The worksheet Floyds in the provided datafile contains the distance from each of Floyd’s 1,029 customers to each of the five distribution centers. Your task is to build a list that tells which distribution center should serve each customer. The following functions will be helpful:

=MIN(array)

The MIN function returns the smallest value in a set of numbers. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MIN(A1:A3) returns the number 6, because it is the smallest of the three numbers:

=MATCH(lookup_valuelookup_arraymatch 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 lookup_value is the value to match, the lookup_array is the range of search, and match type indicates the type of match (use 0 for an exact match).

For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MATCH(25,A1:A3,0) returns the number 2, because 25 is the second item in the range.

=INDEX(arraycolumn_num)

The INDEX function returns the value of an element in a position of an array. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =INDEX(A1:A3, 2) 5 25, because 25 is the value in the second position of the array A1:A3. (Hint: 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.)

Click on the datafile logo to reference the data.

 

(Hint: The INDEX function may be used with a two-dimensional array: =INDEX(array, row_num, column_num), where array is a matrix, row_num is the row numbers and column_num is the column position of the desired element of the matrix.)

Floyd's Bumpers pays a transportation company to ship its product to its customers. Floyd's Bumpers ships full truckloads to its customers. Therefore, the cost for shipping is a function of the distance traveled and a fuel surcharge (also on a per mile basis). The cost per mile is $2.55 and the fuel surcharge is $.56 per mile. The worksheet May in the provided datafile contains data for shipments for the month of May (each record is simply the customer zip code for a given truckload shipment), as well as the distance table from the distribution centers to each customer. Use the VLOOKUP function to retrieve the distance traveled for each shipment from the exercise completed above, and calculate the charge for each shipment. What is the total amount that Floyd's Bumpers spends on these May shipments?

If required, round your answers to two decimal places.

 

Pictured is the beginning of the Excell Document...

AutoSave
File
Paste
Clipboard
41
Off
17
Home Insert
A
85-
Times New Roman
B IU
00738
00739
00757
00926
01013
01060
01238
01376
01460
01604
01615
01701
01752
01801
01826
01840
01844
1
2
3 Customer Zipcode
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
X
ikili C
V
Draw
Floyds May
V
Font
B
12
V
fx
731
731
731
731
790
804
792
831
853
822
824
840
838
864
875
875
877
Page Layout
+
Α' Α΄
A
V
L
floydsmay (5) - Excel
=
Formulas
Data Review
47905
1262
1262
1262
1262
927
936
889
962
1006
975
977
993
990
1017
1028
1028
1029
ab Wrap Text
Alignment
E
с
D
Distribution Center
Charlotte, NC Dallas, TX Lafayette, INLos Angeles, CA Pittsburgh, PA
28202
75201
15122
1312
1178
1312
1178
1312
1178
1312
1178
1696
525
1710
533
1693
486
1737
560
1759
570
1728
539
1730
541
1746
557
1744
555
1770
582
1782
593
1781
592
1783
594
Search
Merge & Center
90058
2735
View
2735
2735
2735
2902
2911
2864
2938
2981
2950
2952
2968
2966
2992
3004
3003
3005
F
Automate
General
$%9
Number
G
Transcribed Image Text:AutoSave File Paste Clipboard 41 Off 17 Home Insert A 85- Times New Roman B IU 00738 00739 00757 00926 01013 01060 01238 01376 01460 01604 01615 01701 01752 01801 01826 01840 01844 1 2 3 Customer Zipcode 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 X ikili C V Draw Floyds May V Font B 12 V fx 731 731 731 731 790 804 792 831 853 822 824 840 838 864 875 875 877 Page Layout + Α' Α΄ A V L floydsmay (5) - Excel = Formulas Data Review 47905 1262 1262 1262 1262 927 936 889 962 1006 975 977 993 990 1017 1028 1028 1029 ab Wrap Text Alignment E с D Distribution Center Charlotte, NC Dallas, TX Lafayette, INLos Angeles, CA Pittsburgh, PA 28202 75201 15122 1312 1178 1312 1178 1312 1178 1312 1178 1696 525 1710 533 1693 486 1737 560 1759 570 1728 539 1730 541 1746 557 1744 555 1770 582 1782 593 1781 592 1783 594 Search Merge & Center 90058 2735 View 2735 2735 2735 2902 2911 2864 2938 2981 2950 2952 2968 2966 2992 3004 3003 3005 F Automate General $%9 Number G
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman