0% found this document useful (0 votes)
76 views

Formula and Functions

Here are the formulas for each field: Total number of positions =COUNTA(B2:B10) Enter Position =VLOOKUP(INQUIRY,A2:C10,2,FALSE) Display Candidate's name =VLOOKUP(INQUIRY,A2:C10,2,FALSE) Display Candidate's no. of votes =VLOOKUP(INQUIRY,A2:C10,3,FALSE)
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views

Formula and Functions

Here are the formulas for each field: Total number of positions =COUNTA(B2:B10) Enter Position =VLOOKUP(INQUIRY,A2:C10,2,FALSE) Display Candidate's name =VLOOKUP(INQUIRY,A2:C10,2,FALSE) Display Candidate's no. of votes =VLOOKUP(INQUIRY,A2:C10,3,FALSE)
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 15

COMMONLY USED FUNCTIONS IN MS EXCEL

EXCEL
Weekly Expenses
Date Item Quantity Unit Price Total Price
7/1/2021 Vegetables 3 150.00 450.00
7/2/2021 Rice 5 120.00 600.00
7/3/2021 Milk 10 80.00 800.00
7/4/2021 Cheese 5 120.00 600.00
7/5/2021 Dog food 10 120.00 1,200.00
7/6/2021 Oil 5 60.00 300.00
Grand Total 650.00 3,950.00
Syntax
=SUM(Range)
=SUM(input_cell1:input_cell10)
Weekly Expenses
Date Item Quantity Unit Price Total Price
7/1/2021 Vegetables 3 150.00 450.00
7/2/2021 Rice 5 120.00 600.00
7/3/2021 Milk 10 80.00 800.00
7/4/2021 Cheese 5 120.00 600.00
7/5/2021 Dog food 10 120.00 1,200.00
7/6/2021 Oil 5 60.00 300.00
Grand Total 650.00 3,950.00

No. of items 6 6

Syntax
=COUNTA(Range)

=COUNT(Range)
What is the difference between COUNT & COUNTA?
The COUNT function is generally used to count a range of cells containing
numbers or dates excluding blanks.

COUNTA, on the other hand will count everything... numbers, dates, text or a range
containing a mixture of these items, but does not count blank cells.
Weekly Expenses
Date Item Quantity Unit Price Total Price
2/1/2021 Ice cream 4 200.00 800.00
2/2/2021 Toothpaste 5 50.00 250.00
2/3/2021 Pork 3 150.00 450.00
2/4/2021 Soap 2 40.00 80.00
2/5/2021 Ice cream 10 200.00 2,000.00
2/6/2021 Toothpaste 6 50.00 300.00
2/7/2021 Pork 5 150.00 750.00
2/8/2021 Soap 3 40.00 120.00

Grand Total

Total per Item


Ice Cream 14 400 2,800.00
Toothpaste 11 100 550.00
Pork 8 300 1,200.00
Soap 5 80 200.00

Syntax
=SUMIF(range1, condition, range2) =SUMIF(C4:C11,
The SUMIF function is a worksheet function that adds all numbers
in a range of cells based on one criteria.

example:
=SUMIF(C4:C11,"Ice cream",D4:D11)
=SUMIF(C4:C11,C16,D4:D11)
et function that adds all numbers
Item Unit Price Remarks
Baseball bat 550.00 CHEAP
Tennis Racket (Wilson) 12,890.00 EXPENSIVE
Running shoes (Nike) 5,500.00 EXPENSIVE
Badminton Racket 4,000.00 EXPENSIVE
Knee Cap 680.00 CHEAP
Tennis Bag 2,800.00 EXPENSIVE
Tennis ball 400.00 CHEAP
Water container 1,500.00 EXPENSIVE
Nike socks 650.00 CHEAP
T-shirt 1,200.00 EXPENSIVE

Syntax
=IF(logical_test,[value_if_true],[value_if_false])
Weekly Expenses
Item No. Item Unit Price
1 Vegetables 150.00
2 Rice 175.00
3 Milk 80.00
4 Cheese 120.00
5 Dog food 200.00
6 Oil 60.00
7 Vegetables 150.00
8 Pork 121.00
9 Pizza 80.00
10 Coffee 120.00
11 Spanish Bread 155.00
12 Fruits 60.00
Grand Total 1,471.00

Price Inquiry
Enter Item: Spanish Bread

Syntax
=VLOOKUP(LookupValue;LookupRef,ColumnNo,Nearest)
Unit Price: 155

olumnNo,Nearest)
Instructions:
Using MS Excel FUNCTIONS, write the corresponding formula for each field.

Saint Nicholas Class Student Council Candidates

IDYLLIC
Position Candidate No. of Votes
President Ung-ing 200
Vice President Film 195
Secretary Fah 240
Treasurer Tan 150
PRO-1 Yok 210
PRO-2 Sam 100
BM-1 Risa 230
BM-2 Peak 190
Representative Wan 210

Total number of positions

INQUIRY

Enter Position

Display Candidate's name


Display Candidate's no.
of votes
ach field.

THE LIGHTS
Position Candidate No. of Votes
President Boss 199
Vice President Dome 200
Secretary Moonoi 250
Treasurer Boom 200
PRO-1 Carbew 235
PRO-2 Minnie 310
BM-1 Jason 300
BM-2 Sophie 200
Representative Moji 186

Total number of position

INQUIRY

Enter Position

Display Candidate's nam


Display Candidate's no.
of votes

You might also like