You are on page 1of 4

AMIT KUMAR GUPTA 14061101719 BBA4F

Assignment No. 3
Date: 01 MAR 2021

MENTIONED DATA IS ABOUT TRANSPORT COMPANY


PERFORM RESEARCH FROM THE GIVEN DATA

Order Driver's Number of


no. Date name Item name items Transport Destination
100001 02-01-13 John May TV 25 truck 4 Boston
100002 02-01-13 Peter White washing machine 30 truck 3 NY
100003 02-02-13 Carl Nowak washing machine 15 truck 3 Philadelphia
100004 02-03-13 Peter White TV 32 truck 4 NY
George
100005 02-03-13 Ramsay refrigerator 25 truck 3 Boston
100006 02-03-13 Carl Nowak washing machine 18 truck 1 Baltimore
100007 02-03-13 John May refrigerator 15 truck 2 Philadelphia
100008 02-04-13 Carl Nowak refrigerator 25 truck 3 Baltimore
100009 02-04-13 Peter White TV 30 truck 1 Pittsburgh
George
100010 02-04-13 Ramsay refrigerator 15 truck 2 NY
100011 02-04-13 Mertl Pavel microwave 25 truck 3 Philadelphia
100012 02-04-13 John May washing machine 14 truck 4 NY
100013 02-05-13 John May washing machine 25 airplane Baltimore
100014 02-05-13 Carl Nowak TV 30 truck 4 Philadelphia
George
100015 02-05-13 Ramsay microwave 15 truck 3 Boston
100016 02-05-13 Peter White TV 15 truck 1 Pittsburgh
100017 02-06-13 John May microwave 25 truck 1 NY
100018 02-07-13 John May TV 30 truck 4 Philadelphia
George
100019 02-08-13 Ramsay washing machine 13 truck 3 Baltimore
100020 02-08-13 Peter White refrigerator 25 truck 2 Philadelphia
100021 02-08-13 Carl Nowak microwave 30 truck 1 Pittsburgh
100022 02-08-13 Peter White washing machine 15 airplane NY
100023 02-08-13 John May microwave 25 truck 4 Boston
George
100024 02-09-13 Ramsay washing machine 34 truck 3 Baltimore
AMIT KUMAR GUPTA 14061101719 BBA4F

QUESTIONS TO SOLVE
Q1 Number of orders in Boston:
Click on cell where you want answer
Apply the given formula with
=COUNTIF(D2:D25,"MICROWAVE") =4

Q 2 Number of microwave orders:


Click on cell where you want answer
Apply the given formula with
=COUNTIF(D2:D25,"MICROWAVE") =5

Q 3 Number of journeys with truck 3:


Click on cell where you want answer
Apply the given formula with
=COUNTIF(D2:D25,"MICROWAVE") =8

Q 4 Number of Peter White journeys:


Click on cell where you want answer
Apply the given formula with
=COUNTIF(C2:C25,"peter white") =6

Q 5 How many times are no. of items less than 20:


Click on cell where you want answer
Apply the given formula with
=COUNTIF(E1:E25,"<20") =9

Q 6 Number of microwave orders in Boston:


Click on cell where you want answer
Apply the given formula with
=COUNTIFS(D2:D25,"microwave",G2:G25,"boston") =2

Q 7 Number of Peter White journeys with truck 1:


Click on cell where you want answer
Apply the given formula with
=COUNTIFS(C2:C25,"peter white",F2:F25,"truck 1") =2
AMIT KUMAR GUPTA 14061101719 BBA4F

Q 8 Number of orders in Boston after 2/3/2013:


Click on cell where you want answer
Apply the given formula with
=COUNTIFS(B2:B25,">02-03-13",G2:G25,"boston") =2

Q 9 Number of orders between 2/3/2013 and 2/6/2013:


Click on cell where you want answer
Apply the given formula with
=COUNTIFS(B2:B25,">2/3/2013",B2:B25,"<2/6/2013") =9

Q10 Total no. of items of TV and microwave:


Click on cell where you want answer
Apply the given formula with
=COUNTIFS(D2:D25,"TV")+COUNTIF(D2:D25,"MICROWAVE")=11

Q11 Number of john May journeys with truck 4:


Click on cell where you want answer
Apply the given formula with
=COUNTIFS(C2:C25,"john may",F2:F25,"truck 4")=4

Q12 Total no. of blanks in Items name are:


Click on cell where you want answer
Apply the given formula with
=COUNTBLANK(D2:D25)=0

Q13 Total no. destination which starts from "B".


Click on cell where you want answer
Apply the given formula with
=COUNTIF(G2:G25,"b*")=9

Q14 Total no. Driver's name which ends with "e".


Click on cell where you want answer
Apply the given formula with
=COUNTIF(C2:C25,"*E") =6
AMIT KUMAR GUPTA 14061101719 BBA4F

Q15 Total no. of items which have "o" and "a" in between.
Click on cell where you want answer
Apply the given formula with
=COUNTIFS(D2:D25,"*o*a*")+COUNTIFS(D2:D25,"*a*o*") =10

Q16Total no. of Driver'swhich starts from "PE".


Click on cell where you want answer
Apply the given formula with
=COUNTIF(C2:C25,"pe*")=6

Q 17 Total no. of destination which ends with "ia".


Click on cell where you want answer
Apply the given formula with
=COUNTIF(G2:G25,"*ia")=6

Q18Number of journeys with airplane.


Click on cell where you want answer
Apply the given formula with
=COUNTIF(F2:F25,"airplane") =2

Q19Number of item name loaded by truck 1.


Click on cell where you want answer
Apply the given formula with
=COUNTIF(F2:F25,"truck 1") =5

Q20Number of item name loaded by truck 4 to Boston.


Click on cell where you want answer
Apply the given formula with
=COUNTIFS(F2:F25,"TRUCK 4",G2:G25,"BOSTON") =5

Q21Count total no. of items


Click on cell where you want answer
Apply the given formula with
=SUM(E2:E25) =551

You might also like