You are on page 1of 4

Week 2: Basic Excel Course

Task 1: Generating random numbers


1.
2.
3.
4.

Open a new workbook and do the following in Sheet 1


Generate random numbers between 0 and 1000 using the function rand
Now generate random numbers between 0 and 1000 using the function randbetween
Try generating random numbers between 20 and 100 using both rand and randbetween
formulas. Is this possible using rand function? What is the difference between the numbers
generated from both functions?

Task 2: Maximum and minimum of a range


1. Create the following table in Sheet 2 (Tip: generate random numbers for Sales between
2010 and 2015, do not worry about formatting)

2. Calculate the maximum sales for 2010 in B9


3. Likewise, calculate the maximum sales until 2015 (Tip: drag the formula)
4. Calculate the minimum sales from 2010 until 2015
Task 3: Rounding off
1. Create the following table in Sheet 3 (Tip: generate random decimal numbers for Sales
between 2010 and 2015, do not worry about formatting)

2. Starting from cell I3 till N7, round off the decimal places for sales to 1 digit

Page 1

Task 4: Average and Sum of a range


1. Create the following table in Sheet 4 (Tip: generate random numbers for Sales between
2010 and 2015, do not worry about formatting)

2. Calculate the total sales for all the products for the year 2010 in B9
3. Likewise, calculate the total sales until 2015
4. Calculate the average sales from 2010 until 2015
Task 5: sumif
1. Create the following table in Sheet 5 (For product A, please type the exact numbers. For
products B,C,D and E generate random numbers between 1000 and 10000)

2. Type the number 1000 manually in the cell I1. In the cell I3, type the following formula
="Sales >"&I1 and press enter
3. In the cell I4, calculate the total sales>1000 for the product A (Tip: Link I1 in the formula). As
a verification step, the result should be zero, as the sales is not above 1000
4. Drag the formula, to calculate for the rest of the products
5. Now calculate the total sales>10 (Tip: Just type 10 in I1 and the result appears
automatically!)
Page 2

Task 6: Detection of blank cells and errors


1. Create the following table in Sheet 6 (Tip: To generate an error in B5, type =1/0)

2. Check if the total sales is blank, from cells D2 till D6


3. Check if the total sales is an error, from cells E2 till E6
4. If the total sales is an error, display it as blank from cells F2 till F6
Task 7: Count the cell range
1. Create the following table in Sheet 7

2.
3.
4.
5.

For the range B2:B6, count the cells where there are numbers
For the range B2:B6, count the cells where there are both numbers and texts
For the range B2:B6, count just the blank cells
In cell D1, type 1000 and link it to A11 while creating Count>1000. In cell B11, count the cells
in the range B2:B6 and check how many products have total sales above 1000
6. Now type 10000 in D1 and see what happens to the number of products with sales above
10000 in B11
Page 3

Task 8: Logical and nested functions


1. Create the following table in Sheet 8

2. In column E, find if the total sales 2010 is greater than 2011 (use if formula)
3. In column F, find the sum of 2010 and 2011, if both are greater than 5000 (Tip: it is a nested
formula with 3 functions!)

Page 4

You might also like