Advanced Excel Unit 2
Advanced Excel Unit 2
FUNCTIONS
FFOR
FORMULAE ( +,-,/,*)
write different numbers and apply the formula you want ex (=5+2-1*4) and press enter
we can use any formula we want the same way we did this
COUNT function
choose a row and start with =count( select that entire row) and enter
it will count the no of values in that row and print the result
COUNT FUNCTION result
=count(range) and enter
SUM FUNCTION
=sum(select entire row(range)) and press enter.
Sum of the entire row will be printed
COUNT IF
=countif(E2:E46,"<10“) press enter
it will give output of numbers less than 10
COUNT IF ITEMS
apply same countif function and define a specific item you want after the range in “”
COUNT IF WITH *
apply =countif function and use * with an item
it will give output of all items related to pen
COUNT IFS
here I have used count ifs function to count multiple data at same time
you can define the range as you want
SUM IF (TAX >50)
sumif is used where tax>50
SUM IF (UNITS >30)
Here I have used sumif function and defined the units which are greater than 30
SUM IF MULTIPLE ITEMS
If we want combined solution for 2 items then we will use sum if function twice and use + to add
Sum ifs
if we want to take multiple queries at same time then we use =SUMIFS() as seen below
Practice problems
Q1. Count total cost of items sold in central region having unitcost more
than 2.
Ans. =SUMIFS(I2:I46,C2:C46,"Central",F2:F46,">2")
Q3. calculate tax collected for west region for pencil sold by sorvino
Ans. =SUMIFS(H2:H46,C2:C46,"West",D2:D46,"Pencil",J2:J46,"Sorvino")