You are on page 1of 16

Questions

Example Total number of users


1 Total products bought by customers
2 Count of categories that are lights
3 Sum of Active users
4 Which category ID has sold most number of products among the following?
LED Bulb
LED Lights
LED Down Lights
LED Panel Light
LED Lamp

5 Conditionally format the brand that needs the most attention


6 Who is my best customer?
7 Form a pivot table and make a thorough analysis out of the Inventory order sheet
Answer (MUST BE PART OF FORMULA) Formula
8 COUNT(User!A2:A9)
184 SUM(N2:N23)
3 COUNTIF(B2:B14,"*Lights*")
153 SUM(A3:A19)

1 MAX(IF(E2:E24=E2:E4,B2:B4))
2 MAX(IF(E2:E24=E17:E18,B17:B18))
3 MAX(IF(E2:E24=E9:E10,B,B9:B10))
4 MAX(IF(E2:E24=E19:E20,B19:B20))
5 MAX(if(E2:E24=E15:E16,B15:B16))

Answer needs no formula for the following

Doris Oliver
user_id user_email
1 john_smith@gmail.com
2 donahuber@gmail.com
3 roy_hise@gmail.com
4 peter_goad@gmail.com
sarah_thomas@gmail.co
5
m
6 edna_william@gmail.com
7 john_parks@gmail.com
8 peter_parker@gmail.com
user_password user_name
$2y$10$0Yo2F.EetL3yhB8l6MNvcOH8AYNS0SuXLOoAQr1qXJa3uPASWV0
John Smith
NC
$2y$10$Ex.JTn6Cu7lCHgaJoCBVeu0qer0cFp2X1qTIpPg2qfIkkuj3LjjMK Dona L. Huber
$2y$10$XlyVI9an5B6rHW3SS9vQpesJssKJxzMQYPbSaR7dnpWjDI5fpxJSS Roy Hise
$2y$10$n1B.FdHNwufTkmzp/pNqc.EiwjB8quQ1tBCEC7nkaldI5pS.et04e Peter Goad
$2y$10$s57SErOPlgkIZf1lxzlX3.hMt8LSSKaYig5rusxghDm7LW8RtQc/W Sarah Thomas
$2y$10$mfMXnH.TCmg5tlYRhqjxu.ILly8s9.qsLKOpyxgUl6h1fZt6x/B5C Edna William
$2y$10$WtsZUxIIz/N4NoIW0Db.pu0VfLWcPs6TyQ8SkpVHLDLGhdNOfALC. John Park
$2y$10$GoQvEZNTWEibo0FPK7h57eA5UsNkXfIdex1deGsW/CFIY8zqxyu2
Mark Parker
S
user_type user_status
master Active 36
user Active
user Active
user Passive
user Active
user Active
user Passive
user Active
category category_
_id category_name status Number
1 LED Bulb active 12
2 LED Lights active 0
3 LED Down Lights active 0
4 LED Panel Light active #NAME?
5 LED Lamp active
6 LED Concealed Light active
7 LED Spot Light active
8 LED Ceiling Light active
9 LED Tube Light active
10 LED Driver active
11 Led Floods Light active
13 LED Outdoor Lighting active
14 active
product_id category_id brand_id product_name

1 1 1 4W LED Bulb
2 1 3 17W B22 LED Bulb
3 8 5 18W LED Ceiling Light
4 8 4 Round LED Ceiling Light
5 6 6 7W LED Concealed Light
6 6 7 9w LED Concealed Light
7 10 9 24W Street Light Led Driver
8 10 8 BP1601 ICs
9 3 11 5W LED Square Downlight
10W LED Square
10 3 10
Downlight
11 5 13 9w Deluxe LED Lamp
12 5 12 5w LED Lamp
13 2 14 15W Big LED Bay Light
14 2 15 15W Small LED Bay Light
15 4 16 12W LED Panel Light
16 4 17 15W LED Panel Light
17 7 19 3W Round LED Spotlight
18 7 18 3W Square LED Spotlight
19 9 20 18W LED Tube Light
20 9 21 10W Ready Tube Light
21 11 22 90W LED Flood Lights
23 1 3 15 Watt LED Bulb
BaseHeight14.2
TypeB22, (cm) E27 product_qu product
product_description
Item
Bulb MaterialAluminium antity _unit
Color Temperature (Kelvin)6500
Item
Item Width5 (cm)
Weight0.19 (kg) 100 Nos
Item Height10
Bulb MaterialAluminium (cm) 150 Nos
Item Weight0.07
Base ColorAluminium (kg)
Round Ceiling Light 18w 75 Nos
Relying on our expertise Voltage240
in this domain,
Dimension '3" ' we are into offering 50 Nos
UsagesHousehold,
Round
50000 LED Commercial,
Ceiling
hours burning Light. Kitchen
dimension '3" ' life 85 Nos
50000costhourseffective
burning life
high
Dc quality
Voltage36v led 65 Nos
cost effective
Rated Current600ma
high quality led 120 Nos
Backed by immense industry-experience
Rated
Wattage:Power22w
5 Watt & latest designing
200 Nos
techniques, we are
Input Voltage: engaged
150V 10 in providing
to 265V, BP1601 ICs.
Wattage: Watt 50/60Hz 50 Nos
InputLumens:
Voltage:500 150Vlumen (approx)
to 265V, 50/60Hz
Power Factor: 0.90pf 40 Nos
Lumens: 1000 lumen
Lighting ColorCool Daylight (approx)
Power
Lighting Factor:
ColorCool 0.90pf
Daylight 100 Nos
Base TypeB22
Wattage: 15
Body MaterialAluminum Watt 75 Nos
Input Voltage:Base100V
Wattage: - 265V,
TypeB22
15 Watt 50/60Hz 60 Nos
Lumens: 1500 lumen
Input Voltage: 100V -265V, (approx)
50/60Hz
Power
Body Factor: 0.90pf
MaterialAluminum 55 Nos
Lumens: 1500 lumen (approx)
Lighting
Power TypeLED
Factor:
IP RatingIP40 0.90pf 85 Nos
Lighting ColorCool
ApplicationsHotel, Whiteetc
House,
Body MaterialAluminum
Body MaterialAluminum 40 Nos
Lighting
Lighting TypeLED
ColorCool
CertificationISO White 100 Nos
Body
InputMaterialAluminum
Voltage(V)12 V 85 Nos
IP Input
TubeVoltage(V)12
RatingIP33, IP40, IP44
Base TypeT5 V
IP RatingIP33, IP40 180 Nos
IP RatingIP66 Ceramic
Body MaterialAluminum,
Lighting ColorCool White, Pure White, Warm White 200 Nos
Power10W
Body MaterialCeramic, Chrome, Iron 20 Nos
IP RatingIP33,
15 Watt IP40,
LED IP44,
BulbIP55, IP66 150 Nos
product_base product_ta product_minimu product
product_enter_by
_price x m_order _status
$141.00 $12.00 0 1 active
$350.00 $12.00 0 1 active
$800.00 $5.00 0 1 active
$550.00 $12.00 0 1 active
$240.00 $15.00 0 1 active
$250.00 $15.00 0 1 active
$210.00 $12.00 0 1 active
$15.00 $18.00 0 1 active
$400.00 $12.00 0 1 active
$150.00 $18.00 0 1 active
$85.00 $12.00 0 1 active
$60.00 $12.00 0 1 active
$200.00 $18.00 0 1 active
$250.00 $18.00 0 1 active
$125.00 $5.00 0 1 active
$175.00 $5.00 0 1 active
$60.00 $12.00 0 1 active
$90.00 $12.00 0 1 active
$120.00 $18.00 0 1 active
$100.00 $18.00 0 1 active
$500.00 $18.00 0 1 active
$30.00 $12.00 0 1 active
product_dat Units of total Total Inc Tax Total w/o tax
e order
2017/11/08 15 $229,500.00 $211,500.00
2017/11/08 12 $651,600.00 $630,000.00
2017/11/08 9 $543,375.00 $540,000.00
2017/11/08 6 $168,600.00 $165,000.00
2017/11/08 0 $0.00 $0.00
2017/11/08 13 $223,925.00 $211,250.00
2017/11/08 26 $692,640.00 $655,200.00
2017/11/08 7 $46,200.00 $21,000.00
2017/11/08 5 $103,000.00 $100,000.00
2017/11/08 1 $6,720.00 $6,000.00
2017/11/08 14 $135,800.00 $119,000.00
2017/11/08 12 $64,800.00 $54,000.00
2017/11/08 5 $65,400.00 $60,000.00
2017/11/08 5 $73,700.00 $68,750.00
2017/11/08 1 $11,050.00 $10,625.00
2017/11/08 24 $172,800.00 $168,000.00
2017/11/08 7 $50,400.00 $42,000.00
2017/11/08 7 $60,690.00 $53,550.00
2017/11/08 5 $124,200.00 $108,000.00
2017/11/08 3 $70,800.00 $60,000.00
2017/11/09 2 $20,720.00 $20,000.00
2017/11/21 5 $31,500.00 $22,500.00
184
brand_
brand_id category_id brand_name Category name Brand-Category
status
1 1 Finibus active LED Bulb LED Bulb - Finibus
2 1 Lorem active LED Bulb LED Bulb - Lorem
3 1 Ipsum active LED Bulb LED Bulb - Ipsum
4 8 Dolor active LED Ceiling Light LED Ceiling Light - Dolor
5 8 Amet active LED Ceiling Light LED Ceiling Light - Amet
6 6 Aliquam active LED Concealed Light LED Concealed Light - Aliquam
LED Concealed Light -
7 6 Maximus active LED Concealed Light Maximus
8 3 Vitae active LED Down Lights LED Down Lights - Vitae
9 3 Auctor active LED Down Lights LED Down Lights - Auctor
10 10 Venenatis active LED Driver LED Driver - Venenatis
11 10 Ligula active LED Driver LED Driver - Ligula
12 11 Quisques active Led Floods Light Led Floods Light - Quisques
13 11 XYZ active Led Floods Light Led Floods Light - XYZ
14 5 Luctus active LED Lamp LED Lamp - Luctus
15 5 Justo active LED Lamp LED Lamp - Justo
16 2 Phasellus active LED Lights LED Lights - Phasellus
17 2 Viverra active LED Lights LED Lights - Viverra
18 4 Elementum active LED Panel Light LED Panel Light - Elementum
19 4 Odio active LED Panel Light LED Panel Light - Odio
20 7 Tellus active LED Spot Light LED Spot Light - Tellus
21 7 Curabitur active LED Spot Light LED Spot Light - Curabitur
22 9 Commodo active LED Tube Light LED Tube Light - Commodo
24 9 Nullam active LED Tube Light LED Tube Light - Nullam
Brand-Category
1
Sum - inventory_order_id
179
inventory_ inventory_order_tota inventory_ inventory_order_
user_id
order_id l order_date name
26 1 $2,278.50 2017/11/27 Janet Richardsons
17 1 $5,615.20 2017/11/09 Doris Oliver
16 2 $2,700.00 2017/11/08 Eric Johnson
15 2 $1,960.00 2017/11/08 Elva Lott
14 2 $1,196.35 2017/11/08 Mildred Paige
13 2 $573.00 2017/11/08 Jonathan Allen
12 3 $2,038.40 2017/11/08 Robbie McKenzie
11 3 $1,859.40 2017/11/08 Brenna Hamilton
10 3 $1,724.80 2017/11/08 Michelle Hayes
9 4 $1,604.00 2017/11/08 David Smith
8 4 $1,520.00 2017/11/08 Maria Lafleur
7 4 $1,286.25 2017/11/08 Joseph Smith
6 5 $558.90 2017/11/08 Nancy Brook
5 5 $1,409.00 2017/11/08 Georgette Blevins
4 6 $1,546.80 2017/11/08 Doloris Turner
3 6 $265.65 2017/11/08 Russell Barrett
2 7 $1,310.40 2017/11/08 Trevor Webster
1 7 $4,939.20 2017/11/08 David Harper
153
payment_metho inventory_order_
inventory_order_address Order State
d status
4799 Ryder Avenue Everett, WA 98210 WA credit inactive
2992 Sycamore Fork Road Hopkins, MN
MN cash active
55343
616 Devils Hill Road
MS cash active
Jackson, MS
4032 Aaron Smith 39213
Drive
PA credit active
Harrisburg, PA
3167 Oakway Lane 17111
CA cash active
Reseda,
2426 CA 91335
Evergreen Lane
CA cash active
Alhambra, CA 91801
3016 Horizon Circle
WA credit active
Eatonville,
2845 Davis WA 98328
Avenue
CA cash active
Petaluma,
1140 C CA 94952
Street
MA cash active
Worcester,
4757 MA 01609
Little Acres Lane
IL cash active
Loraine, IL 62349
3878 Elkview Drive
FL credit active
Port 190
St Lucie,
Metz FLLane33452
MA cash active
Charlestown,
3460 Viking MA 02129
Drive
OH credit active
Barnesville,
863 Simpson OH 43713
Avenue
PA cash active
Steelton,
3057 PAAvenue
Collins 17113
OH credit active
Westerville,
4687 OH 43081
Powder House Road
FL cash active
Jupiter,
4275 FL 33478
Indiana Avenue
HI cash active
Honolulu, HI 96816
3188 Straford Park
KY credit active
Harold, KY 41635
inventory_order
_created_date
2017/11/27
2017/11/09
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08
2017/11/08

You might also like