Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
75 views

1.excel Formula-Data Set

Here are the formulas to evaluate the given conditions using AND and OR logical functions: AND: =AND(A1>0,B1>0) OR: =OR(A1>0,B1>0) AND with multiple conditions: =AND(A1>2,A1<5) AND with text and numbers: =AND(A1="Lemons", B1>C1)

Uploaded by

Santhosh Mohan
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views

1.excel Formula-Data Set

Here are the formulas to evaluate the given conditions using AND and OR logical functions: AND: =AND(A1>0,B1>0) OR: =OR(A1>0,B1>0) AND with multiple conditions: =AND(A1>2,A1<5) AND with text and numbers: =AND(A1="Lemons", B1>C1)

Uploaded by

Santhosh Mohan
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 62

The Excel MIN function returns the smallest numeric value in a range of values

The Excel MAX function returns the largest numeric value in a range of values

Refer the “Sample Data set of Expenses Details” and use the Suitable formula
·         To find the Minimum Value from an Expenses list.
·         To find the Maximum value from an Expenses list.

Expense Group Expenses


Food $501
Community $60
Studies $144
Entertainment $78
Rental $845
Clothing $211
Gasoline $250
Energy $123
Telecommunications $29
Club sports $563
Car insurance $16
Credit cards $423
Parking $146
Out-of-pocket expenses $30

Formula

Minimum Value from an Expenses list

Maximum value from an Expenses list


Syntax 
=COUNT (value1, [value2], ...) =COUNTA (value1, [value2], ...)

Product Supplier In stock Sales Qty


Cherries New Zealand 200 175
Bananas Ecuador 350 300
Apples China 180 120

Bananas Philippines 400 200


Lemons Oman 250 120

Apples Poland 120 70

Bananas Costa Rica No stock 310

value - An item, cell reference, or range


range - The range of cells to count.
criteria - The criteria that controls which cells should be counted.
=COUNTIF (range, criteria)

Formula Purpose

COUNT is used to count cells containing numbers, dates, etc. any


value stored as number excluding blanks.

COUNTIF and COUNTIFS count cells matching a certain criteria.


COUNTA is used to count any cell value containing numbers, text,
logical values, etc. any type of value excluding blanks.
The IF function can perform a logical test and return one value for a TRUE result, and another for a FALSE result
Syntax 
=IF (logical_test, [value_if_true], [value_if_false])

Determine if an item is High Sales or not by applying the following criteria:


The items with a Sales Qty greater than 200 are High Sales
The items with a Sales Qty Less than 200 are Low Sales
Product Supplier In stock Sales Qty Formula
Cherries New Zealand 200 175
Bananas Ecuador 350 300
Apples China 180 120
Bananas Philippines 400 200
Lemons Oman 250 120
Apples Poland 120 70
Bananas Costa Rica No stock 310
nd another for a FALSE result
2. Assume that you order a particular product through an online portal. It has got a varied unit price for different purchase ord
order quantity as per the attached dataset in Excel.

Order Quantity Unit Price


Order Quantity Conditions Unit Price in Rs.
in Units in Rs.

Order up to 600 units 4.0 400


601 to 1200 units 3.5 500
1201 to 2000 units 3.0 550
More than 2000 units 2.5 650
750
1000
1200
1250
1500
1750
2000
2100
2500
3000
rice for different purchase order quantity. Using a suitable function in MS-Excel, calculate the purchase cost for each

Purchase Cost
(=Order Quantity *
Unit Price)
COUNTIFS function returns the count of cells that meet one or more criteria. 
Syntax 
=COUNTIFS (range1, criteria1, [range2], [criteria2], ...)
Sub:Data Analytics Max. Marks in Mid Term 40

S.No Student Roll No Actua Mark % to Max. mark


1 13001 35.5
2 13002 29.0
3 13003 26.5

4 13004 38.0

5 13005 39.5

6 13006 34.5

7 13007 23.5

8 13008 12.0
9 13009 33.5
10 13010 37.0
11 13011 18.5
12 13012 36.5
13 13013 31.0
14 13014 33.5
15 13015 35.5
16 13016 35.5
17 13017 25.5
18 13018 34.0
19 13019 32.0
20 13020 22.5
21 13021 32.0
22 13022 38.0
23 13023 27.0
24 13024 30.0
25 13025 35.0
26 13026 26.0
27 13027 39.0
28 13028 34.5
29 13029 28.5
30 13030 36.0
31 13031 39.0
32 13032 33.5
33 13033 37.0
34 13034 23.5
35 13035 37.5
36 13036 38.0
37 13037 25.0
38 13038 32.0
39 13039 36.5
40 13040 28.0
41 13041 33.5
42 13042 26.0
43 13043 30.0
44 13044 29.0
45 13045 24.5
46 13046 33.5
Range of % to Max. mark No. Of Students Percentage
Less Than 50% Mark

51% to 60% Mark

61 % to 70%

71% to 80%

Above 81%

Total No. of student


Referring to the “List of the Best Tennis Players for the last 14 years data set” and use the suitable function

Year Best tennis players of the Year


2004 David White
2005 Ronnie Boone
2006 Tom Hill
2007 Robert Anderson
2008 Mattias Brooke
2009 Ronnie Boone
2010 Tom Hill
2011 Anne Larsen
2012 Mariya Sergienko
2013 Michael Neipper
2014 Tom Hill
2015 Tom Hill
2016 Mattias Brooke
2017 Tom Hill
use the suitable function in MS-Excel to count how many times “ Tom Hill ” name is on the list.
AND returns TRUE if all of the conditions are met, FALSE otherwise.
OR returns TRUE if any of the conditions is met, FALSE otherwise

Condition : Value should be greater than Zero


Formula
Value1 Value2 AND OR
Good if both the Good if any of the
conditions are met, conditions is met, Bad
Bad otherwise. otherwise
1 1
2 0
3 3
0 0
5 5
6 0

Condition : Value should be greater than 2 and Less than 5


Value Formula
4 Approved
6 Denied
2 Denied

Condition : Product should be Lemons and In stock Qty should be greater than Sold Qty
Product In stock Sold Formula
Lemons 30 20
Apples 40 10
Lemons 30 40
ld be greater than Sold Qty
Referring to the data set on Project - A, approve or reject the project contractors based on the following c

·   Approve the Project contractor who have quoted an estimated budget amount less than 5,00,000 and

Logical operator- If with AND formula


Estimated Budget
Contractor Time period in months Approve / reject
Amount
Contractor 1 400,000 7
Contractor 2 600,000 8
Contractor 3 450,000 5
Contractor 4 600,000 4
Contractor 5 400,000 8
Contractor 6 700,000 3
Contractor 7 480,000 4.5
Contractor 8 490,000 5.5
Contractor 9 650,000 5
Contractor 10 450,000 7.5
ased on the following criteria.

t less than 5,00,000 and also have time line period less than 6 months or else reject the contractor.
SUMIF function in Excel sums cells based on one criteria
Syntax 
=SUMIF (range, criteria, [sum_range])

Product Supplier In stock Formula

Cherries New Zealand 200


Bananas Ecuador 350
Apples China 180

Bananas Philippines 400


Lemons Oman 250

Apples Poland 120


Bananas Costa Rica 330

Range Sum range


Product Supplier In stock Formula
Cherries New Zealand 200
Bananas Ecuador 350

Red Apples China 180


Bananas Philippines 400

Lemons Oman 320


Green Apples Poland 160
Bananas Costa Rica 330
range - The range of cells that you want to apply the criteria against.
criteria - The criteria used to determine which cells to add.
sum_range - [optional] The cells to add together. If sum_range is omitted, the cells in range are added together in
Purpose
Sum function will return the sum of the values in
Column C

 sums cells based on one criteria

Sum values in cells Column-C ,if a corresponding


cell in column A contains any value other than
"Apples

SUMIFS function adds all numbers in a range of


cells, based on a single or multiple criteria.

Purpose

Sum values -In column A contains the word


"Apples", alone or in combination with any other
words

Sum values -column A does not contain the word


"Apples", alone or in combination with any other
words.
in range are added together instead.
Refer the “Region wise sales Data set” and use the SUMIF function to calculate the revenue of the “West”.

Region wise sales Data set


Salesperson Sales Region Revenue Formula

Andrew Cencini West 20,004


Nancy Freehafer North 18,086
Anne Larsen South 14,595
Mariya Sergienko North 12,154
Michael Neipper West 11,795
Laura Giussani East 7,690
Robert Zare West 2,815
Jan Kotas North 2,178
Ronnie North 8,500
Tom West 5,678
Robert East 9,500
of the “West”.
PART B
3.Refer the “Customer wise Gross profit Data set” and use the SUMIF function to calculate the “The Economist “G

Customer wise Gross profit Data set


Date Region Sales Rep Customer Product Price Units
8/5/2005 West Steven Peet's Coffee Yanaki 20.00 168
1/16/2007 SouthEast Troung Yahoo Sunshine 19.00 161
7/27/2006 NorthEast Rhonda Google SunSpot 16.00 324
3/9/2006 West Steven Solar and Wind Inc. Regal 15.00 301
3/1/2005 NorthEast Steven Whole Foods Sunset 21.00 178
4/19/2005 North Rhonda Solar and Wind Inc. Bellen 21.00 149
5/19/2006 NorthEast Rhonda Sherman Williams Sunshine 19.00 244
7/26/2005 SouthEast Steven The Economist Sunshine 19.00 32
11/30/2005 NorthEast Rhonda The Economist Carlota 22.00 49
7/30/2006 West Steven Yahoo Carlota 22.00 408
12/19/2006 North Chin Office Depot Sunset 21.00 225
3/8/2005 MidWest Jon Yahoo SunSpot 16.00 121
1/19/2007 West Sheliadawn Google Quad 24.00 259
8/20/2005 West Steven Whole Foods Yanaki 20.00 117
6/11/2005 NorthEast Steven McLendon's Hardware Sunset 21.00 2
12/1/2005 NorthEast Troung Peet's Coffee Aspen 14.00 143
12/4/2006 NorthEast Luke Home Depot Aspen 14.00 94
8/26/2005 North Jon ExcelIsVeryFun.com Yanaki 20.00 219
2/21/2006 SouthEast Jon Peet's Coffee SunSpot 16.00 429
9/28/2005 SouthEast Troung Nature Company Sunset 21.00 354
7/29/2005 West Rhonda Home Depot SunSpot 16.00 440
12/29/2006 MidWest Jeri Yahoo Yanaki 20.00 345
12/6/2005 North Jon The Economist Deuce 25.00 118
6/23/2005 NorthEast Luke McLendon's Hardware Carlota 22.00 385
9/21/2005 NorthEast Rhonda ExcelIsVeryFun.com Sunshine 19.00 217
7/31/2005 North Sheliadawn Office Depot Carlota 22.00 381
5/15/2006 West Sheliadawn McLendon's Hardware Quad 24.00 157
12/2/2006 NorthEast Rhonda Home Depot Sunset 21.00 2
11/27/2006 MidWest Jon Costco Bellen 21.00 52
1/30/2006 SouthEast Jon Nature Company Carlota 22.00 62
10/11/2005 NorthEast Steven Home Depot SunSpot 16.00 322
11/13/2006 MidWest Steven Office Depot Deuce 25.00 18
1/25/2006 MidWest Sheliadawn Google Bellen 21.00 208
10/1/2005 West Rhonda Office Depot Regal 15.00 250
6/28/2006 NorthEast Troung Google Sunset 21.00 333
2/5/2006 MidWest Luke Yahoo Quad 24.00 103
4/12/2006 SouthEast Rhonda ExcelIsVeryFun.com Regal 15.00 317
11/18/2006 SouthEast Chin McLendon's Hardware Sunshine 19.00 267
2/17/2006 North Jon Office Depot Deuce 25.00 91
11/9/2005 North Chin Solar and Wind Inc. Deuce 25.00 457
4/9/2006 SouthEast Jeri Solar and Wind Inc. Deuce 25.00 12
2/13/2006 West Steven Solar and Wind Inc. Carlota 22.00 270
12/2/2005 SouthEast Jon Nature Company Sunshine 19.00 103
10/31/2005 North Chin Solar and Wind Inc. Carlota 22.00 365
5/18/2006 SouthEast Chin The Economist Quad 24.00 234
12/12/2005 North Sheliadawn Office Depot Yanaki 20.00 341
9/22/2005 NorthEast Chin Costco Bellen 21.00 39
7/27/2006 MidWest Troung Sherman Williams Carlota 22.00 260
11/23/2006 SouthEast Chin Amazon.com Sunshine 19.00 134
10/12/2006 NorthEast Jeri Amazon.com Bellen 21.00 81
12/3/2006 NorthEast Troung ExcelIsVeryFun.com Quad 24.00 159
2/18/2007 SouthEast Sheliadawn Whole Foods Quad 24.00 348
3/2/2006 SouthEast Rhonda Whole Foods Carlota 22.00 283
9/5/2005 MidWest Troung ExcelIsVeryFun.com Aspen 14.00 149
10/18/2006 NorthEast Troung Yahoo Sunset 21.00 272
7/25/2006 MidWest Chin Whole Foods Aspen 14.00 309
1/6/2007 West Troung Peet's Coffee Quad 24.00 107
8/26/2005 North Sheliadawn Yahoo Yanaki 20.00 157
2/18/2007 North Jon ExcelIsVeryFun.com Sunshine 19.00 42
1/8/2006 MidWest Rhonda Yahoo Aspen 14.00 324
3/15/2006 NorthEast Rhonda Google Bellen 21.00 213
6/26/2005 SouthEast Luke Google Sunshine 19.00 206
4/20/2006 West Jon Solar and Wind Inc. Deuce 25.00 255
8/29/2006 North Jon Home Depot Sunset 21.00 150
9/4/2006 North Chin Sherman Williams Regal 15.00 451
6/16/2006 MidWest Rhonda Google Sunshine 19.00 189
10/28/2005 North Jon The Economist Deuce 25.00 305
3/5/2005 NorthEast Chin McLendon's Hardware Sunshine 19.00 121
8/28/2006 SouthEast Rhonda Whole Foods Sunshine 19.00 326
9/21/2005 NorthEast Steven Home Depot Sunset 21.00 290
7/6/2005 SouthEast Troung Solar and Wind Inc. Aspen 14.00 278
2/5/2007 West Luke Yahoo Bellen 21.00 234
8/1/2006 West Jeri ExcelIsVeryFun.com Sunshine 19.00 410
7/27/2005 NorthEast Chin Google Carlota 22.00 44
1/8/2007 MidWest Jeri Home Depot Deuce 25.00 67
12/5/2005 NorthEast Steven Solar and Wind Inc. Sunset 21.00 114
9/27/2005 NorthEast Sheliadawn ExcelIsVeryFun.com Yanaki 20.00 62
7/18/2005 North Jon Amazon.com Sunset 21.00 270
4/30/2006 West Jon Google Regal 15.00 109
11/9/2005 NorthEast Troung ExcelIsVeryFun.com Yanaki 20.00 80
1/31/2007 North Chin Sherman Williams SunSpot 16.00 461
2/27/2005 SouthEast Sheliadawn ExcelIsVeryFun.com Aspen 14.00 101
12/19/2005 SouthEast Chin Costco Quad 24.00 316
6/4/2006 West Jeri Solar and Wind Inc. Aspen 14.00 317
11/3/2006 West Sheliadawn Nature Company Carlota 22.00 406
11/2/2006 NorthEast Luke Nature Company Sunshine 19.00 249
8/28/2005 West Rhonda The Economist Sunset 21.00 485
6/1/2006 NorthEast Steven McLendon's Hardware Yanaki 20.00 229
5/16/2006 NorthEast Sheliadawn Peet's Coffee Carlota 22.00 425
12/4/2005 West Sheliadawn Google Quad 24.00 462
3/19/2006 MidWest Luke Yahoo Carlota 22.00 287
2/11/2006 North Jon Yahoo Yanaki 20.00 417
4/21/2006 North Jeri ExcelIsVeryFun.com SunSpot 16.00 432
6/29/2005 SouthEast Troung Costco Bellen 21.00 340
4/1/2006 NorthEast Jon McLendon's Hardware Quad 24.00 16
8/22/2005 NorthEast Jon Peet's Coffee Bellen 21.00 253
2/8/2007 North Jeri The Economist Yanaki 20.00 289
1/3/2006 West Rhonda Solar and Wind Inc. Sunshine 19.00 22
2/19/2007 NorthEast Sheliadawn The Economist SunSpot 16.00 191
2/2/2007 NorthEast Chin Sherman Williams Deuce 25.00 46
7/23/2006 MidWest Steven Yahoo Sunset 21.00 467
4/14/2005 SouthEast Jon Solar and Wind Inc. Sunshine 19.00 184
6/19/2005 NorthEast Jon Sherman Williams Regal 15.00 214
10/20/2005 MidWest Chin Yahoo SunSpot 16.00 405
3/24/2005 North Jeri Costco Quad 24.00 308
4/28/2006 MidWest Chin Solar and Wind Inc. Deuce 25.00 21
10/27/2005 North Chin Home Depot Bellen 21.00 33
5/13/2005 North Rhonda Sherman Williams Carlota 22.00 347
12/8/2006 SouthEast Steven Office Depot Deuce 25.00 476
11/20/2006 MidWest Jon Amazon.com Carlota 22.00 238
3/24/2005 NorthEast Rhonda Whole Foods Sunshine 19.00 385
8/7/2006 North Jeri Whole Foods Yanaki 20.00 93
9/11/2005 SouthEast Troung Yahoo Quad 24.00 19
11/17/2005 North Troung Peet's Coffee Regal 15.00 458
4/4/2006 NorthEast Steven Solar and Wind Inc. Yanaki 20.00 113
1/19/2006 NorthEast Jon Whole Foods Quad 24.00 256
2/28/2005 SouthEast Troung Home Depot Bellen 21.00 423
5/27/2005 North Chin Solar and Wind Inc. Bellen 21.00 363
5/13/2005 MidWest Chin Costco Quad 24.00 157
7/3/2005 North Sheliadawn Google Quad 24.00 96
12/24/2005 NorthEast Chin Office Depot SunSpot 16.00 184
10/19/2005 West Jon Sherman Williams Yanaki 20.00 273
6/10/2005 West Steven Amazon.com SunSpot 16.00 271
4/8/2006 SouthEast Luke Amazon.com Deuce 25.00 97
10/2/2005 MidWest Sheliadawn Yahoo Sunset 21.00 269
7/13/2006 NorthEast Luke Office Depot Deuce 25.00 376
5/21/2006 SouthEast Chin Costco Sunshine 19.00 178
9/23/2005 SouthEast Sheliadawn Nature Company Carlota 22.00 71
3/29/2006 West Troung Home Depot Sunset 21.00 323
7/14/2006 North Troung Yahoo SunSpot 16.00 369
3/9/2005 West Steven Yahoo Aspen 14.00 49
9/30/2006 SouthEast Jon Whole Foods SunSpot 16.00 214
4/11/2005 NorthEast Steven Sherman Williams Bellen 21.00 466
2/15/2006 North Jon Nature Company Sunset 21.00 383
7/31/2005 SouthEast Troung Amazon.com SunSpot 16.00 83
7/5/2006 NorthEast Sheliadawn McLendon's Hardware SunSpot 16.00 359
7/19/2005 NorthEast Chin ExcelIsVeryFun.com Sunset 21.00 227
11/26/2006 North Sheliadawn Whole Foods SunSpot 16.00 301
12/22/2006 MidWest Steven The Economist Aspen 14.00 331
6/25/2006 North Sheliadawn Nature Company Bellen 21.00 15
8/2/2005 MidWest Jeri McLendon's Hardware SunSpot 16.00 215
2/24/2006 SouthEast Jeri McLendon's Hardware Bellen 21.00 442
10/9/2006 West Troung Yahoo Yanaki 20.00 205
3/2/2006 NorthEast Steven Peet's Coffee Carlota 22.00 233
9/27/2005 North Rhonda McLendon's Hardware Sunset 21.00 85
10/15/2006 North Troung McLendon's Hardware Sunshine 19.00 131
4/4/2006 North Sheliadawn Google Bellen 21.00 320
1/12/2006 West Troung ExcelIsVeryFun.com Bellen 21.00 93
11/19/2005 North Rhonda Sherman Williams Aspen 14.00 5
6/1/2005 MidWest Rhonda Solar and Wind Inc. Yanaki 20.00 93
9/6/2006 West Chin Solar and Wind Inc. Deuce 25.00 343
1/5/2007 SouthEast Jon The Economist Deuce 25.00 484
7/28/2006 NorthEast Chin Amazon.com Carlota 22.00 329
5/16/2006 SouthEast Rhonda ExcelIsVeryFun.com Carlota 22.00 274
7/14/2006 NorthEast Chin Costco SunSpot 16.00 84
3/3/2005 North Jon Home Depot Sunset 21.00 364
8/7/2006 West Chin Peet's Coffee Deuce 25.00 15
8/4/2006 West Chin Costco Bellen 21.00 422
6/16/2005 West Luke Home Depot Bellen 21.00 309
9/6/2005 SouthEast Chin Nature Company Carlota 22.00 17
12/29/2006 North Steven Peet's Coffee Carlota 22.00 193
7/25/2005 NorthEast Luke Yahoo Sunshine 19.00 413
2/23/2007 North Steven Yahoo Bellen 21.00 454
11/6/2005 SouthEast Steven Google Regal 15.00 115
10/26/2006 SouthEast Steven Home Depot Deuce 25.00 122
1/11/2006 North Sheliadawn McLendon's Hardware Sunshine 19.00 333
10/8/2005 NorthEast Rhonda Solar and Wind Inc. Aspen 14.00 15
7/27/2005 West Luke Whole Foods Sunset 21.00 151
2/21/2006 North Jon Google Sunshine 19.00 413
3/13/2005 SouthEast Troung Yahoo Regal 15.00 161
5/1/2006 MidWest Sheliadawn ExcelIsVeryFun.com Regal 15.00 327
1/5/2006 West Rhonda ExcelIsVeryFun.com Deuce 25.00 345
5/29/2006 NorthEast Troung Google Sunset 21.00 305
6/9/2005 MidWest Rhonda Google Sunset 21.00 379
6/16/2005 North Steven ExcelIsVeryFun.com Deuce 25.00 163
9/10/2006 NorthEast Steven Home Depot Carlota 22.00 74
4/3/2006 North Jon The Economist SunSpot 16.00 192
10/18/2006 MidWest Jon Solar and Wind Inc. Yanaki 20.00 201
3/8/2005 SouthEast Jeri Home Depot Bellen 21.00 423
4/24/2006 MidWest Chin Whole Foods Aspen 14.00 133
7/21/2005 NorthEast Steven ExcelIsVeryFun.com Regal 15.00 160
10/16/2005 SouthEast Sheliadawn Yahoo Deuce 25.00 115
12/19/2006 North Chin Whole Foods SunSpot 16.00 43
12/23/2006 SouthEast Troung Amazon.com Bellen 21.00 399
7/18/2005 SouthEast Steven Solar and Wind Inc. Regal 15.00 336
5/16/2005 North Luke Nature Company Sunshine 19.00 183
4/17/2005 NorthEast Jeri McLendon's Hardware SunSpot 16.00 371
2/28/2006 North Rhonda Nature Company Aspen 14.00 282
11/9/2006 MidWest Sheliadawn Sherman Williams Yanaki 20.00 273
7/11/2006 West Luke ExcelIsVeryFun.com Aspen 14.00 399
12/8/2006 MidWest Luke Whole Foods Regal 15.00 55
11/23/2005 MidWest Jon The Economist Regal 15.00 133
8/20/2005 NorthEast Chin Nature Company Yanaki 20.00 90
11/14/2006 West Rhonda Google Yanaki 20.00 416
5/26/2005 North Jeri Amazon.com Bellen 21.00 331
3/20/2006 NorthEast Jeri Nature Company SunSpot 16.00 419
7/12/2005 NorthEast Troung McLendon's Hardware Quad 24.00 82
11/12/2006 West Troung Google Regal 15.00 118
9/27/2006 NorthEast Jon Yahoo Sunset 21.00 426
12/1/2005 West Jon Solar and Wind Inc. Bellen 21.00 102
7/16/2006 NorthEast Jeri ExcelIsVeryFun.com Yanaki 20.00 373
3/30/2005 MidWest Troung Yahoo Carlota 22.00 200
1/5/2007 West Jon Solar and Wind Inc. Sunset 21.00 280
5/14/2005 West Jeri McLendon's Hardware Sunshine 19.00 249
5/21/2005 SouthEast Troung Nature Company Quad 24.00 156
12/8/2005 NorthEast Steven ExcelIsVeryFun.com Quad 24.00 348
12/23/2005 MidWest Chin Costco Aspen 14.00 407
5/7/2006 SouthEast Rhonda Sherman Williams Sunset 21.00 407
1/4/2007 West Rhonda Costco Sunshine 19.00 98
o calculate the “The Economist “Gross profit.
Use SUMIF function to
find the
Correpsonding Gross
profit

Gross Profit
403 Customer Gross profit
1,377 The Economist
1,296
2,844
243
1,283
1,901
334
70
2,872
2,126
1,220
3,419
749
19
901
750
1,095
3,089
4,237
845
2,829
738
4,828
1,732
1,006
2,072
24
688
164
1,288
203
2,402
1,688
3,846
1,409
1,997
3,196
933
743
96
713
1,076
3,292
2,303
2,864
450
1,430
1,044
697
1,717
3,758
3,424
876
685
1,774
1,412
1,287
455
1,860
2,460
470
2,614
1,796
1,691
1,472
2,440
966
2,787
731
1,596
2,211
935
310
109
982
558
2,552
899
880
4,057
891
3,413
1,820
4,019
2,697
5,602
2,611
608
4,990
1,579
4,754
3,802
4,070
242
3,028
376
171
367
656
6,178
2,202
209
1,620
887
63
381
4,809
1,428
1,676
3,292
595
260
4,328
565
2,765
3,731
3,430
2,148
1,452
1,325
2,293
1,778
291
678
3,008
1,860
640
3,731
1,476
391
1,883
4,110
4,424
558
689
1,525
3,034
1,900
142
860
5,105
1,312
1,282
732
299
3,024
234
29
121
2,144
1,452
4,126
3,798
336
917
154
3,988
3,699
120
1,741
4,944
5,434
552
198
411
88
1,427
3,531
1,377
2,207
3,536
2,626
3,343
2,567
106
983
261
2,843
466
984
719
392
3,435
328
1,426
2,671
474
2,293
2,346
520
1,137
450
2,662
1,738
2,749
1,082
743
5,636
139
1,865
528
2,646
308
936
2,673
2,336
4,872
466
The beauty of these functions is that they don't require any arguments at all, you type the formulas exactly as w
To see the current date and time whenever you open your worksheet without having to manually update it on a
=TODAY() to insert the today's date in a cell.
=NOW() to insert the current date and time in a cell.

Write the function which is used to get current Date and Time in Excel.

Formula
formulas exactly as written above.
anually update it on a daily basis, use either:
In case you want to take values from two or more cells and combine them into one cell, use the concatenate operat
=CONCATENATE(text1, [text2], …)
To separate the combined values with a space, type the space character (" ") in the arguments list:

Qty Item Formula


1 Apple
2 Oranges
3 Cherries
4 Apples
10 Apples
20 Apples

First name Last Name Formula


Hara Krishna
Hara Krishna
he concatenate operator (&) or the CONCATENATE function:
Refer the” Name list Data set” and combine the text from multiple cells (First Name and Last nam

Name list Data set


First name Last Name Formula
David White
Ronnie Boone
Tom Hill
Robert Anderson
Mattias Brooke
Name and Last name) using a suitable Formula
Whenever you want to know the number of characters in a certain cell, LEN is the function to use:
Need to find out how many characters are in cell A6? Just type =LEN(A6) into another cell.
Please keep in mind that the Excel LEN function counts absolutely all characters including spaces:

Refer the Below Data set and find the length of a text inside each cell.

Length of a text
string or length of
a cell

Data Formula
Apple
1Apple
1 Apple
35 Grapes And Oranges
36 Apples
12345
123 45
in a certain cell, LEN is the function to use:
ust type =LEN(A6) into another cell.
absolutely all characters including spaces:

inside each cell.


Formula
Hi HOW are you? Upper Case
Lower Case
The TRIM function makes sure your functions do not return errors due to unruly spaces. It ensures that all empty sp
=TRIM(A6) – Removes empty spaces in the value in cell

County Formula
Kuwait
2 Poland
Ireland 23
r functions do not return errors due to unruly spaces. It ensures that all empty spaces are eliminated.
s in the value in cell
2.Absolute References: Thes
1.Relative References: These are cell references that change when you copy and the references. For example, if you
paste the formula that has the references. To give you a simple example, if you put =A10 $A$10. The $ sign before the colum
in cell A1, and then you copy cell A1 and paste it in cell A2, the reference would change
to A11. This happens as this is a relative cell reference and it changes relative to the cell
it's copied from.

Unit price Sales Qty sales Value


item1 2 100 item1
Item2 5 150 Item2
item3 8 200 item3
item4 3 250 item4
item5 3 100 item5
item6 5 125 item6
item7 6 250 item7
2.Absolute References: These are the references that remain the same and don't change copy and paste the formula that has
the references. For example, if you put =$A$10 in cell A1 and then copy cell A1 and paste it in cell A2, the reference would still remain
$A$10. The $ sign before the column alphabet and the row number makes it absolute.

Day 1 Day 2 20%


Unit price Sales Qty sales Value Sales Qty sales Value Day1-commission Day2-commission
2 100 100
5 150 200
8 200 150
3 250 250
3 100 100
5 125 150
6 250 300
the formula that has 3. Mixed cell references:
nce would still remain
There can be two types of mixed cell references:
The row is locked while the column changes when the formula is copied.
The column is locked while the row changes when the formula is copied.
commission
10% 15% 20%
Unit price Sales Qty sales Value Tier1 Tier2 Tier3
item1 2 100
Item2 5 150
item3 8 200
item4 3 250
item5 3 100
item6 5 125
item7 6 250

A$1 (relative column and absolute row)


$A1 (absolute column and relative row)
VLOOKUP Delivers a value to a cell
Exact Match: means VLOOKUP starts at first item in first column and looks through column at each item until it finds an exact
If there are duplicates, it only finds the first one.
If it can't find a match, it returns an #N?A error.
1st column is where VLOOKUP "looks" to figure out what row in the table has the value it wants
Tell VLOOKUP what value it should look up = 1st argument
Tell VLOOKUP where the table is = 2nd argument
Tell VLOOKUP what column holds the value you want to return to the cell = 3rd argument
Tell VLOOKUP whether you are doing exact ( 0 ) or approximate (leave argument blank) match = 4th argument

Boomerang Part Number Flight Range (meters) Price


Bellen 1000-165-B100 25 $26.95
Carlota 1001-540-C101 20 $28.95
Majestic Beaut 1002-394-M102 35 $31.95
Quad 1003-307-Q103 20 $35.95
Sunshine 1004-848-S104 30 $18.95
Sunset 1005-155-S105 40 $20.95
Tri-Fly 1006-552-T106 1 $4.95
Outdoor Tri-Fly 1007-634-O107 5 $8.95

Exact Match: Linear search (top to bottom). If there are duplicates, it only finds the first one. If it can't find a match, it returns
Boomerang Price Units Total
Quad 3 0

VLOOKUP #N/A and IFERROR or IF


Boomerang price
Maj
Maj
Maj

VLOOKUP and Data Validation


Boomerang Price
Outdoor Tri-Fly

Invoice Example:
Boomerang Units Price Total value
Carlota 5
Sunshine 2
Majestic Beaut 3
Quad 10

Total Invoice value


column at each item until it finds an exact match.

alue it wants

ank) match = 4th argument

Master data

e first one. If it can't find a match, it returns an #N?A error.


Approximate Match:
leave 4th argument blank (default behavior)
First column must be sorted ascending (biggest to smallest).
Metaphor for understanding how it works:
It starts at the first item in first coumn, and looks at each one and when it bumps into first bigger value, it jumps back one ro
Binary search is how it really works.
Binary Search and is faster than Linear Search (Exact Match)
Binary Search reduces search time because it repeatedly divides the table in half and checks the one in the middle to help red
It doesn't have to check each one.
If lookup_value is less than 1st value in table LOOKUP retruns #N/A

Commission Example:
Sales Value Rating Commission Paid
$0 Poor $0
$1,000 Average $20 Master data
$2,500 Above Average $100
$7,000 Very Good $250
$10,000 Excellent $700

Employee Sales value Rating Comm


Sioux $7,598.00
Kim $68.00
Gigi $15,980.00
Franny $2,499.99
er value, it jumps back one row.

one in the middle to help reduce calc time.


Assume that you are the Marketing Head of well reputed retailer shop, refer to the Report of quantity sold by each
product and Unit price master data set in MS-Excel,
a) Find the Total Sales amount generated during the month of Augest 2019 using the VLOOKUP function.
b) Calculate the sales person wise Incentive amount during the month of Aug 2019.

Use Vlookup to
find the Sales value=unit
Correpsonding price *Sales qty
unit price

Qty Sold by Augest 2019


Product Name Sales person Unit price Qty Sold Sales Value
Dried Plums Julie 2,500
Dried Pears Nabil 200
Dried Apples Adam 100
Coffee Jessica 150
Chocolate Biscuits Mix Julie 450
Chocolate Nabil 600
Clam Chowder Adam 1,200
Curry Sauce Jessica 500
Boysenberry Spread Adam 250
Cajun Seasoning Jessica 300
Crab Meat Julie 200
Ravioli Nabil 150
Mozzarella Jessica 20
Scones Adam 550
Olive Oil Jessica 400
Marmalade Julie 200
Long Grain Rice Nabil 100
Syrup Jessica 50
Almonds Adam 500
Fruit Cocktail Jessica 200
Gnocchi Julie 110
Chai Nabil 225
Green Tea Nabil 450

Total sales amount


port of quantity sold by each
VLOOKUP function.

Use Vlookup to find the Corresponding


Rating with Incentives details

Rating Incentive

Sales person Incentive


Julie
Nabil
Adam
Jessica
Total -
Product- Unit price Master Data set
Product Name Category City Region Ship Name
Almonds Dried Fruit & Nuts Chicago East Roland Wacker
Boysenberry Spread Jams, Preserves Chicago East Roland Wacker
Cajun Seasoning Condiments Chicago East Roland Wacker
Chai Beverages Las Vegas West John Edwards
Chocolate Candy Denver West Soo Jung Lee
Chocolate Biscuits Mix Baked Goods & Mixes Portland North Elizabeth Andersen
Clam Chowder Soups Los Angelas West Thomas Axerr
Coffee Beverages Las Vegas West John Edwards
Crab Meat Canned Meat Seattle North Anna Bedecs
Curry Sauce Sauces Milwaukee North Francisco Pérez-Olaeta
Dried Apples Dried Fruit & Nuts Milwaukee North Francisco Pérez-Olaeta
Dried Pears Dried Fruit & Nuts New York East Christina Lee
Dried Plums Dried Fruit & Nuts Miami South Peter Krschne
Fruit Cocktail Fruit & Veg Denver West Soo Jung Lee
Gnocchi Pasta New York East Christina Lee
Green Tea Beverages Chicago East Roland Wacker
Long Grain Rice Grains New York East Christina Lee
Marmalade Jams, Preserves New York East Christina Lee
Mozzarella Dairy Products Salt Lake City West Sven Mortensen
Olive Oil Oil Miami South Run Liu
Ravioli Pasta Salt Lake City West Sven Mortensen
Scones Baked Goods & Mixes Chicago East John Rodman
Syrup Condiments Los Angelas West Thomas Axerr
Rating with Incentives Table
Unit Price Sales Value Rating Incentive
$10.00 $0.00 Poor $0.00
$25.00 $1,000.00 Average $100.00
$22.00 $5,000.00 Good $200.00
$18.00 $7,000.00 Very Good $300.00
$12.75
$9.20
$9.65
$46.00
$18.40
$40.00
$53.00
$30.00
$3.50
$39.00
$38.00
$2.99
$7.00
$81.00
$34.80
$21.35
$19.50
$10.00
$10.00
Product- unit price Data set
Product Retailer type Product line Product type
Aloe Relief Outdoors Shop Outdoor Protection First Aid
Astro Pilot Department Store Personal Accessories Navigation
Auto Pilot Department Store Personal Accessories Navigation
Bear Edge Warehouse Store Personal Accessories Knives
Bear Survival Edge Outdoors Shop Personal Accessories Knives
Bella Department Store Personal Accessories Eyewear
Blue Steel Max Putter Golf Shop Golf Equipment Putters
Blue Steel Putter Golf Shop Golf Equipment Putters
BugShield Extreme Outdoors Shop Outdoor Protection Insect Repellents
BugShield Lotion Department Store Outdoor Protection Insect Repellents
BugShield Lotion Lite Department Store Outdoor Protection Insect Repellents
BugShield Natural Warehouse Store Outdoor Protection Insect Repellents
BugShield Spray Department Store Outdoor Protection Insect Repellents
Calamine Relief Department Store Outdoor Protection First Aid
Canyon Mule Carryall Department Store Camping Equipment Packs
Canyon Mule Climber Backpack Department Store Camping Equipment Packs
Canyon Mule Cooler Department Store Camping Equipment Packs
Canyon Mule Extreme Backpack Outdoors Shop Camping Equipment Packs
Canyon Mule Journey Backpack Department Store Camping Equipment Packs
Canyon Mule Weekender Backpack Department Store Camping Equipment Packs
Capri Golf Shop Personal Accessories Eyewear
Cat Eye Golf Shop Personal Accessories Eyewear
Compact Relief Kit Outdoors Shop Outdoor Protection First Aid
Course Pro Gloves Golf Shop Golf Equipment Golf Accessories
Course Pro Golf and Tee Set Golf Shop Golf Equipment Golf Accessories
Course Pro Golf Bag Golf Shop Golf Equipment Golf Accessories
Course Pro Putter Golf Shop Golf Equipment Putters
Course Pro Umbrella Golf Shop Golf Equipment Golf Accessories
Dante Golf Shop Personal Accessories Eyewear
Deluxe Family Relief Kit Department Store Outdoor Protection First Aid
Double Edge Warehouse Store Personal Accessories Knives
Edge Extreme Outdoors Shop Personal Accessories Knives
EverGlow Butane Department Store Camping Equipment Lanterns
EverGlow Double Department Store Camping Equipment Lanterns
EverGlow Kerosene Outdoors Shop Camping Equipment Lanterns
EverGlow Lamp Department Store Camping Equipment Lanterns
EverGlow Single Department Store Camping Equipment Lanterns
Fairway Golf Shop Personal Accessories Eyewear
Firefly 2 Department Store Camping Equipment Lanterns
Firefly 4 Department Store Camping Equipment Lanterns
Firefly Charger Outdoors Shop Mountaineering EquipmeClimbing Accesso
Firefly Climbing Lamp Outdoors Shop Mountaineering EquipmeClimbing Accesso
Firefly Extreme Warehouse Store Camping Equipment Lanterns
Firefly Lite Department Store Camping Equipment Lanterns
Firefly Mapreader Department Store Camping Equipment Lanterns
Firefly Multi-light Department Store Camping Equipment Lanterns
Firefly Rechargeable Battery Outdoors Shop Mountaineering EquipmeClimbing Accesso
Flicker Lantern Sports Store Camping Equipment Lanterns
Glacier Basic Department Store Personal Accessories Navigation
Glacier Deluxe Warehouse Store Personal Accessories Navigation
Glacier GPS Department Store Personal Accessories Navigation
Glacier GPS Extreme Outdoors Shop Personal Accessories Navigation
Granite Axe Outdoors Shop Mountaineering EquipmeTools
Granite Belay Outdoors Shop Mountaineering EquipmeClimbing Accesso
Granite Carabiner Outdoors Shop Mountaineering EquipmeClimbing Accesso
Granite Chalk Bag Outdoors Shop Mountaineering EquipmeClimbing Accesso
Granite Climbing Helmet Outdoors Shop Mountaineering EquipmeSafety
Granite Extreme Outdoors Shop Mountaineering EquipmeTools
Granite Grip Outdoors Shop Mountaineering EquipmeTools
Granite Hammer Outdoors Shop Mountaineering EquipmeTools
Granite Ice Outdoors Shop Mountaineering EquipmeTools
Granite Pulley Outdoors Shop Mountaineering EquipmeClimbing Accesso
Granite Shovel Outdoors Shop Mountaineering EquipmeTools
Granite Signal Mirror Outdoors Shop Mountaineering EquipmeSafety
Hailstorm Steel Irons Department Store Golf Equipment Irons
Hailstorm Steel Woods Set Department Store Golf Equipment Woods
Hailstorm Titanium Irons Sports Store Golf Equipment Irons
Hailstorm Titanium Woods Set Golf Shop Golf Equipment Woods
Hawk Eye Department Store Personal Accessories Eyewear
Hibernator Department Store Camping Equipment Sleeping Bags
Hibernator Camp Cot Department Store Camping Equipment Sleeping Bags
Hibernator Extreme Warehouse Store Camping Equipment Sleeping Bags
Hibernator Lite Department Store Camping Equipment Sleeping Bags
Hibernator Pad Department Store Camping Equipment Sleeping Bags
Hibernator Pillow Department Store Camping Equipment Sleeping Bags
Hibernator Self - Inflating Mat Department Store Camping Equipment Sleeping Bags
Husky Harness Outdoors Shop Mountaineering EquipmeSafety
Husky Harness Extreme Outdoors Shop Mountaineering EquipmeSafety
Husky Rope 100 Outdoors Shop Mountaineering EquipmeRope
Husky Rope 200 Outdoors Shop Mountaineering EquipmeRope
Husky Rope 50 Outdoors Shop Mountaineering EquipmeRope
Husky Rope 60 Outdoors Shop Mountaineering EquipmeRope
Inferno Department Store Personal Accessories Eyewear
Infinity Department Store Personal Accessories Watches
Insect Bite Relief Department Store Outdoor Protection First Aid
Kodiak Department Store Personal Accessories Watches
Lady Hailstorm Steel Irons Department Store Golf Equipment Irons
Lady Hailstorm Steel Woods Set Department Store Golf Equipment Woods
Lady Hailstorm Titanium Irons Sports Store Golf Equipment Irons
Lady Hailstorm Titanium Woods SetGolf Shop Golf Equipment Woods
Legend Department Store Personal Accessories Watches
Lux Department Store Personal Accessories Watches
Max Gizmo Department Store Personal Accessories Knives
Maximus Department Store Personal Accessories Eyewear
Mountain Man Analog Department Store Personal Accessories Watches
Mountain Man Combination Department Store Personal Accessories Watches
Mountain Man Deluxe Department Store Personal Accessories Watches
Mountain Man Digital Department Store Personal Accessories Watches
Mountain Man Extreme Sports Store Personal Accessories Watches
Opera Vision Department Store Personal Accessories Binoculars
Pocket Gizmo Department Store Personal Accessories Knives
Polar Extreme Outdoors Shop Personal Accessories Eyewear
Polar Ice Department Store Personal Accessories Eyewear
Polar Sports Department Store Personal Accessories Eyewear
Polar Sun Department Store Personal Accessories Eyewear
Polar Wave Department Store Personal Accessories Eyewear
Ranger Vision Department Store Personal Accessories Binoculars
Retro Department Store Personal Accessories Eyewear
Sam Outdoors Shop Personal Accessories Watches
Seeker 35 Department Store Personal Accessories Binoculars
Seeker 50 Department Store Personal Accessories Binoculars
Seeker Extreme Outdoors Shop Personal Accessories Binoculars
Seeker Mini Outdoors Shop Personal Accessories Binoculars
Single Edge Warehouse Store Personal Accessories Knives
Sky Pilot Golf Shop Personal Accessories Navigation
Star Dome Department Store Camping Equipment Tents
Star Gazer 2 Warehouse Store Camping Equipment Tents
Star Gazer 3 Warehouse Store Camping Equipment Tents
Star Gazer 6 Sports Store Camping Equipment Tents
Star Lite Warehouse Store Camping Equipment Tents
Star Peg Sports Store Camping Equipment Tents
Sun Blocker Department Store Outdoor Protection Sunscreen
Sun Shelter 15 Department Store Outdoor Protection Sunscreen
Sun Shelter 30 Department Store Outdoor Protection Sunscreen
Sun Shelter Stick Warehouse Store Outdoor Protection Sunscreen
Sun Shield Department Store Outdoor Protection Sunscreen
Trail Master Outdoors Shop Personal Accessories Navigation
Trail Scout Department Store Personal Accessories Navigation
Trail Star Department Store Personal Accessories Navigation
TrailChef Canteen Sports Store Camping Equipment Cooking Gear
TrailChef Cook Set Warehouse Store Camping Equipment Cooking Gear
TrailChef Cup Outdoors Shop Camping Equipment Cooking Gear
TrailChef Deluxe Cook Set Warehouse Store Camping Equipment Cooking Gear
TrailChef Double Flame Outdoors Shop Camping Equipment Cooking Gear
TrailChef Kettle Department Store Camping Equipment Cooking Gear
TrailChef Kitchen Kit Outdoors Shop Camping Equipment Cooking Gear
TrailChef Single Flame Sports Store Camping Equipment Cooking Gear
TrailChef Utensils Warehouse Store Camping Equipment Cooking Gear
TrailChef Water Bag Outdoors Shop Camping Equipment Cooking Gear
Trendi Outdoors Shop Personal Accessories Eyewear
TX Outdoors Shop Personal Accessories Watches
Venue Outdoors Shop Personal Accessories Watches
Zodiak Golf Shop Personal Accessories Watches
Zone Outdoors Shop Personal Accessories Eyewear
Rating map
unit price Sales Amount Rating
5.2 $0.00 Poor
145.0 $1,000.00 Average
235.0 $2,500.00 Above Average
39.0 $7,000.00 Very Good
86.8 $10,000.00 Excellent
67.5
169.8
84.6 Refer to the “Product- unit price Data set” and find the “Sales value” along wit
6.6 Product wise Sales value with Rating
6.8 Product unit price Sales qty
6.9 Granite Ice 120
5.7 Canyon Mule Weekender Backpack 24
5.9 Calamine Relief 300
6.0 Granite Pulley 250
69.1 Auto Pilot 35
73.4 TrailChef Utensils 130
32.6 BugShield Natural 150
432.9 Star Gazer 6 18
348.6 Star Lite 16
268.7 Glacier Deluxe 76
38.3 Bella 250
43.9 Pocket Gizmo 300
22.5 Total sales value
6.6
10.0
205.0 Use Vlookup to find
72.3 the Correpsonding
12.0 unit price
42.3
34.0
15.9
112.5
63.7
51.1
30.9
26.9
33.5
20.2
26.4
28.9
51.4
38.8
49.7
14.3
15.8
25.9
7.7
34.0
31.3
90.7
109.7
338.0
38.4
65.8
3.8
17.6
69.6
75.2
19.4
75.2
75.2
36.5
58.2
32.3
363.4
687.2
872.8
1,194.8
40.5
138.0
98.2
249.2
84.7
39.4
13.5
119.6
61.1
103.4
325.9
540.5
150.4
178.6
65.0
220.0
6.0
121.0
500.8
856.2
835.7
1,278.1
255.1
165.2
38.2
81.2
47.4
94.1
76.7
34.9
282.6
110.0
12.2
145.3
104.2
115.3
60.5
94.6
160.0
62.7
44.9
99.0
126.1
171.7
80.4
12.0
358.0
611.8
547.5
636.4
782.0
347.9
2.0
4.8
4.8
4.7
4.7
5.8
365.0
238.0
154.0
10.6
51.9
3.6
121.9
142.7
7.9
23.1
62.8
18.3
4.0
50.3
188.7
71.9
104.6
30.8
“Sales value” along with the “Rating” details using the VLOOKUP Function.
value with Rating
Sales Value Rating

Use Vlookup to find the


Sales value=unit
price *Sales qty Corresponding Rating
details

You might also like