Session 2 PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 27

Session 2

Tab

Getting Familiar

Ribbon
Quick Access
Toolbar

Formula
Name Bar
Bar Column
Name

Select all Active


Row
Button Cell Vertical Scroll Bar
Number

Worksheet Name Horizontal Scroll


Zoom Select Bar
Tabs in Excel 2019
• Home
• Insert
• Draw
• Page Layout
• Formulas
• Data
• Review
• View
• Help
Enable Fill Handle

File 
Options

Advanced
Basics
• Mathematical Functions : Small(), Large(),
Max(), Min(), Average(), Sum(), Round(),
Roundup(), Rounddown(),Floor(),Ceiling()
• Text Functions : Char(), and &
• Lookup Functions : Row(), Rows(),
Column(), Columns()
Let us Start
Open a new blank Excel worksheet and save as class_session_1.xlsx
How many rows and columns are in a worksheet.
What is the numeric index of column CXA.
How many columns are between column R and column CXA (both
inclusive)
In A3 cell type Sl No
B3 type Height in cm
C3 type Weight in kgs
In column A starting from cell A2 generate a series of natural number
upto 1000
Randomly generate height between 150 cm to 190 cm. All heights
should be an integer.
Randomly generate weight for the 100 samples between 45 to 90 kgs.
Weights can be real number.
Random data changes on refresh how to retain one value after random
generation
Assigning a Random Value
using the RAND Function
• Lets assume one needs to estimate the cost
of returned product as a random value
between $25 and $200
• RAND() function returns a random real
number between 0 and 1
– Start with the minimum value of 25
– Calculate a random value between 0 and 175
because 175 is the difference between the
minimum and maximum value.
– Multiplying RAND() by 175 would give a
random number between 0 and 175
– Add the minimum value of 25 to this random
value
– The resulting formula is =RAND()*175+25
RANDBETWEEN(bottom,top)
• Returns an integer between the
top and bottom values, including
the values listed
– =RANDBETWEEN(1,3) randomly
returns 1,2 or 3
Round function
The ROUND function rounds a number to a specified number
of digits. For example, if cell A1 contains 23.7825, and you
want to round that value to two decimal places, you can use
the following formula:
=ROUND(A1, 2)

The result of this function is 23.78.

Syntax

ROUND(number, num_digits)
he ROUND function syntax has the following arguments:
number Required. The number that you want to round.
num_digits Required. The number of digits to which you
want to round the number argument.
Roundup and rounddown
• Roundup
• =roundup(number, numdigits)
• Rounds a number up, away from 0 (zero).

• Rounddown
• =rounddown(number, numdigits)
• Rounds a number down, toward zero.
Large (array,k)
Returns the k-th largest value in a data set. You
can use this function to select a value based on its
relative standing. For example, you can use
LARGE to return the highest, runner-up, or third-
place score.
Syntax
LARGE(array,k)
Array is the array or range of data for which you
want to determine the k-th largest value.
K is the position (from the largest) in the array or
cell range of data to return.
Small(array,k)
Returns the k-th smallest value in a data set. Use
this function to return values with a particular
relative standing in a data set.
Syntax
SMALL(array,k)
Array is an array or range of numerical data for
which you want to determine the k-th smallest
value.
K is the position (from the smallest) in the array
or range of data to return.
Max(array)
Returns the largest value in a set of values.
Syntax
MAX(number1,number2,...)
Number1, number2, ... are 1 to 255
numbers for which you want to find the
maximum value.
Min(array)
Returns the smallest number in a set of
values.
Syntax
MIN(number1,number2,...)
Number1, number2, ... are 1 to 255
numbers for which you want to find the
minimum value.
Average (array)
Returns the average (arithmetic mean) of the arguments. For e
if the range A1:A20 contains numbers, the formula =AVERAGE
returns the average of those numbers.
Syntax

AVERAGE(number1, [number2], ...)

The AVERAGE function syntax has the following arguments:


•Number1 Required. The first number, cell reference,
or range for which you want the average.
•Number2, ... Optional. Additional numbers, cell
references or ranges for which you want the average, up to a m
COUNT
• COUNT Returns the number of
numerical values in a supplied set of cells
or values
• COUNTA Returns the number of non-
blanks in a supplied set of cells or values
• COUNTBLANK Returns the number of
blank cells in a supplied range
Referencing sheet cell range
• Referencing the worksheet
• Referencing cell
• Referencing Range
Cell Referencing
• Absolute ($)
• Relative
• Mixed – Combination of both
Understanding Relative Cell
Referencing

• Allows use of a “general” formula


over and over again, but with a
different set of numbers
• Can also copy formulas using the
fill handle
Understanding Absolute and Mixed
Cell Referencing
• Absolute cell referencing
– To indicate that a cell reference
(both column and row) – or even a
part of a cell reference – should
remain unchanged when copying
– Syntax = $ before column letter,
before reference number, or both
• Mixed cell referencing
– A cell reference that has only one $
– Common when you need to copy a formula
both down a column and across a row at the
same time
Cell Referencing
Relative reference: adjusts during a copy
operation; Specified without dollar signs, i.e.
C2

Absolute reference: remains constant throughout a


copy operation; Specified with a dollar sign before the

column and row, i.e. $D$10


R1C1 Reference Format
• Uses the letter R and a
number to indicate the
row and the letter C
and a number to
indicate the column.
– For example, cell B2 is
R2C2 in R1C1
reference format.
• File -> Options 
Formulas Check or
uncheck R1C1
Reference Style
Circular References
• A circular reference occurs when the value
in a cell depends on the value in another
cell that, in turn, is dependent on the value
in the original cell.

• Usually, a circular reference indicates a


formula contains an error – and Excel
displays a warning telling you so!

• Occasionally, a circular reference is needed


to accomplish a particular task.
Enabling Circular reference

• Goto File  Options 


Formulas
• Click on Enable Iterative
Calculation
Functions

• SUM Returns the sum of a supplied list of numbers


• PRODUCT Returns the product of a supplied list of numbers
• POWER Returns the result of a given number raised to a
supplied power
• SQRT Returns the positive square root of a given number
• QUOTIENT Returns the integer portion of a division between
two supplied numbers
Functions
• TRUNC Truncates a number towards zero (i.e. rounds a positive
number down and a negative number up), to the next integer.
• ROWReturns the row number of a supplied range, or of the current cell
• COLUMN Returns the column number of a supplied range, or of the
current cell
• ROWS Returns the number of rows in a supplied range
• COLUMNS Returns the number of columns in a supplied range
• CHAR Returns the character that corresponds to a supplied numeric
value
• CEILING Rounds a number away from zero (i.e. rounds a positive
number up and a negative number down), to a multiple of significance
• FLOOR Rounds a number towards zero, (i.e. rounds a positive
number down and a negative number up), to a multiple of significance
• MOD Returns the remainder from a division between two supplied
numbers
Thanks

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy