0% found this document useful (0 votes)
15 views16 pages

Excel Funtions and Details Final Document

Uploaded by

Sindhu M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views16 pages

Excel Funtions and Details Final Document

Uploaded by

Sindhu M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

EXCEL FORMULAS AND DEFINITIONS

1. ADDRESS
It gives the address detail for a cell.

Syntax: ADDRESS(row_num, column_num, [abs_num], [a1], [sheet_text])


 You will get the address of the cell which you have selected row and column.

Example:
This is the syntax which I
have given 2nd row ,1st
column) from the table.

This is the This is the output cell


table or array which I have selected
where I can to know my address
find my data of given row and
column.

2. AREAS
It gives the count of selecting areas in the spreadsheet.

Syntax: AREAS (reference)

 reference - Reference(s) to a cell or range of cells.

 It will return a number of areas you have selected.

Example(i):
Formula

Selected range Output


of cell or
Reference no
of selected
range 1

 The above image is the example to returns 1.

Example(ii): The below image is the reference to returns 2.

Selected range
Formula
of cell or
Reference
numbers of
selected range
2
Output

3. CHOOSE
Get a value from a list based on position

Syntax: CHOOSE(index_num, value1, [value2], ...)

 index_num - The value to choose.


 value1 - The first value from which to choose.
 value2 - The second value from which to choose.

 It will give a Result in the selected cell where formula is executed.

Example:

FORMULA
Output

Selected range of cell or Reference


numbers.

4. CHOOSECOLS
Based on the selected areas , we can print the choosed columns
Syntax: =CHOOSECOLS(array,col_num1,[col_num2],…)

 array The array containing the columns to be returned in the new


array required.
 col_num1 The first column to be returned. Required.
 col_num2 Additional columns to be returned. Optional.

Example:
Table
array. Column numbers

Formula

Selected
Table Array Output of selected
Column

5. CHOOSEROWS
Based on the selected areas, we can print the choosed ROWS.
Syntax =CHOOSEROWS(array,row_num1,[row_num2],…)

 array The array containing the columns to be returned in the new


array required.
 row_num1 The first row to be returned. Required.

 [row_num2] Additional row numbers to be returned. Optional .


Example: Table
array. Column numbers

Formula

Selected Output of
Table Array selected Rows

6. COLUMN
The COLUMN function returns the column number of the given cell reference.
Syntax: COLUMN([reference])
Reference: The cell or range of cells for which you want to return the
column number.

Example: The formula =COLUMN(C3) returns 3, because column C is the third column.

Formula

Table Array Return Value

The selected column C3

7. COLUMNS
Returns the number of columns in an array or reference.
Syntax: COLUMNS(array)
Array: An array, or a reference to a range of cells for which you want the
number of columns
Example:
Formula

Selected Output
Array or
reference
Formula: COLUMNS(A1:C6)

Description:No of columns in the

8. DROP reference (A1:C6)=3

Result:3
It will remove the portion of an array and return the remaining array.
Syntax: =DROP(array, rows,[columns])

 Array - The source array or range.


 rows - [optional] Number of rows to drop.
 col - [optional] Number of columns to drop.

Refer the example below

Example:
Selected Array Row Column

Selected
array or
reference Output

 The given row and Column will be drop(delete) and balance cells will be execute.

9. FILTER
It will filter the range of data based on criteria we have giving.
Syntax: =FILTER(array,include,[if_empty])

 Array: The array, or range to filter


 Include : A Boolean array whose height or width is the same
as the array.
 [if_empty]: The value to return if all values in the included
array are empty (filter returns nothing)

Step1: Select a column where you want to Put filtered Cells.


Step2: Enter the formula(syntax) in the selected cell.
Step3: Select a array to filter your data.
Step4: In step 3, choose the specific array from the selected range that you wish to
filter.

Selected
Example: range To
filter
Selected Array
The cell to filter

Formula
Selected
array or
reference
Output

The cell which you want to filter

10. FORMULATEXT
It used for Display the formula used in selected reference.

Syntax :FORMULATEXT(reference)
Step1: Select the cell where you want to execute the formula

Step2: Type a syntax in the cell you have selected.And press enter

Step3: Select the reference which contains formula.

Example:

Formula
Selected
Array
Output

Except selected array only the formula cell will display others all will be #N/A

11. XLOOKUP
Based on the lookup value we can print the exact data.

Syntax: =XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found],


[match_mode], [search_mode])

 lookup - The lookup value.


 lookup array - The array or range to search.
 return array - The array or range to return.
 not found - Value to return if no match found.
 match mode - 0 = exact match (default), -1 = exact match or next
smallest, 1 = exact match.
Example

Formula
Array
Output

If the value is not available we can print there


Lookup Array Return array Lookup Value not found or something else by using if not.

12. HLOOKUP
We can print the data(row) horizontally based on the lookup value.
Syntax: =HLOOKUP(lookup_value, table_array, row_index, [range_lookup])

 Lookup value - The value to look up.


 table array - The table from which to retrieve data.
 row index - The row number from which to retrieve data.
 range lookup - A Boolean to indicate exact match or approximate match.
Default = TRUE = approximate match.

 Applying the above syntax in the cell we can get a Horizontally matched value
from the table.Refer the below example.

Example: The row index number which need to match. FALSE will give exact match.

Formula
ROW1
Table Array

Row2 Lookup value

Row 3 The cell which


we need to
Table Array execute the
formula.

13. VLOOKUP
We can print the data (column)Vertically based on the lookup value.

Syntax: = VLOOKUP(lookup_value, table_array, column_index_num,


[range_lookup])
 Lookup_value - The value to look for in the first column of a table.
 table_array - The table from which to retrieve a value.
 column_index _num - The column in the table from which to retrieve a
value.
 range_lookup - TRUE = approximate match (default). FALSE =
exact match.

 Applying the above syntax in the cell we can get a Vertically matched value
from the table. Refer the below example.

Example:
FALSE will give exact match.
Column 1 Column3 Column Index Number
Column2

Formula

Table
Array

Lookup value The cell which we need to


execute the formula. Output

14. HSTACK
Horizontally stack array into one array
Syntax: =HSTACK (array1, [array2], ...)

 array1 - The first array or range to combine.


 array2 - The second array or range to combine.

 The HSTACK function combines arrays horizontally into a single array

Example
Formula

ARRAY 1 Output

Array 2

15. VSTACK
Vertically stack array into one array
Syntax: =VSTACK(array1, [array2], ...)

 array1 - The first array or range to combine.


 array2 - The second array or range to combine
 The VSTACK function combines arrays Vertically into a single array.

Example Formula

Array 1 Output

Array 2

16. HYPERLINK
It will Travel from one location to another location.It will create a clickable link.
Syntax: =HYPERLINK(link_location, [friendly_name])

 link_location - The path to the file or page to be opened.


 friendly_name - The link text to display in a cell

 The Excel HYPERLINK function returns a hyperlink from a given destination and link
text. You can use HYPERLINK to create a clickable hyperlink with a formula.
 By using Hyperlink we can also add a vlookup Formula inside a hyperlink Formula

Example

 The some example link and the example output in below.

Example Hyperlink Output


Links
Data Validation

Output of Vlookup inside


the Hyperlink

Lookup Col index


Table num
Link location Value array Range Lookup
Friendly Name

Formula

Formula
17. INDEX
It will returns a value from within a table by giving row and column.

Syntax: =INDEX(array, row_num, [col_num], [area_num])

 array - A range of cells, or an array constant.


 row_num - The row position in the reference or array.
 col_num – The column position in the reference or array.
 area_num - The range in reference that should be used.

 Get a value in a list or table based on location,Return the value at the given
location.
 The Excel INDEX function returns the value at a given location in a range or
array.

Example: Row_Num

Array Column_Num

Formula

Output
Array

Example a (With area):


 This example is contains with area num.
Row_num

Column Area_Num
Array _num Formula

Output
Area 1

Area 2

Array
18. MATCH
It looks up a value in an array and returns the position of the

value within the array.


Syntax: =MATCH(lookup_value, lookup_array, [match_type])

 lookup_value - The value to match in lookup_array.


 lookup_array - A range of cells or an array reference.
 match_type - 1 = exact or next smallest (default), 0 = exact match, -1 =
exact or next largest.

 MATCH function is used to locate the position of a lookup value in a row, column, or
table.

Example:
Lookup array
Formula

LookupValue
Table

Output

19. OFFSET
It will return a range of cells.
Syntax: =OFFSET(reference, rows, cols, [height], [width])

 reference - The starting point, supplied as a cell reference or range.


 rows - The number of rows to offset below the starting reference.
 cols - The number of columns to offset to the right of the starting
reference.
 height - The height in rows of the returned reference.
 width - The width in columns of the returned reference.

 It will Create a reference offset from given starting point and return a cell
reference.
 In the offset function the reference should been starting point.

Example:

 In the below Image the Cell B5 is the starting point.The row and column
we are giving will be calculated from B5Cell.
Column 1 Column 2

Formula

Starting cell or Columns


reference cell

Row1
R
Row 2 o
Height(4)
w
s
Row3

Row4
Width(2)
Row 5

Reference
Starting
Function Output

20. ROW
It will give a row number you are selected.

Syntax: =ROW([reference])

 reference - A reference to a cell or range of cells.

 It will get the row number of a reference,and return a number representing the
row.

Example:

Formula

Selected
Reference Output

Example(a):
 It will return the number of the row for single cell you have selected.

Formula

Row no-4
Output

21. ROWS
It will Give the rows number of selected array.

Syntax: =ROWS(array)

 array - A reference to a cell or range of cells

 It will get the number of rows in an array or reference,The return value will be Number of
rows

Example:

 It will display the number of rows in the selected array.


Array selected fromA1:C6

Formula

Selected Array
Output

22. SORT
It will use for sorting a selected table in ascending or descending
Syntax: =SORT(array, [sort_index], [sort_order], [by_col])

 array - Range or array to sort.


 sort_index - Column index to use for sorting. Default is 1.
 sort_order - = Ascending, -1 = Descending. Default is ascending
order.
 by_col - TRUE = sort by column. FALSE = sort by row. Default is
FALSE.
 This Function will be Sort ranges or array and return sorted array.

Example: The Below image Sort order is ascending and Sorting by column.

Formula

Selected Array
Output

23. TAKE
It will take the number of rows and colums in the selected array
Syntax: =TAKE(array, [rows], [col])

 array - The source array or range.


 rows - Number of rows to return as an integer.
 col - Number of columns to return as an integer.

 This function will get a subset of an array and return a subset of given array.

Example:
 The below example the array should be take the 4 row ,2 column from
selected array.

Formula
Selected Array
Output

24. TOCOL
It convert Row to column

Syntax: =TOCOL(array, ignore, scan_by_column)

 array - The array to transform.


 ignore - Setting to ignore blanks and errors.
 scan_by_column - Scan array by column. TRUE=column, FALSE=row
(default=TRUE).

 This function Used to convert row to column.


Example:
Formula Formula

Array

Output with
Formula
Output
blanks
ignored

Output Array

25. TOROW
It convert Column to Row

Syntax: =TOROW(array, ignore, scan_by_column)

 array - The array to transform.


 ignore - Control to ignore blanks and errors.
 scan_by_column - Scan array by column. TRUE = column, FALSE = row (default
= TRUE).

 It will transform array to single row and returns single row value.

Example(i): Funtion formula with Selected array.


Formula

Output
Array

Example(ii):Function formula with Blanks ignored

Formula

Output
Array Table ignored
Blanks
26. TRANSPOSE
Transpose row to column or column to row
Syntax : =TRANSPOSE(array)

 array - The array or range of cells to transpose.

 It will transpose Horizontal to vertically and vertically to horizontally.

Example(i): Transpose Column to row


Formula

Selected R Output
O
array W
Column

Example(ii): Transpose Row to column

Formula
Selected array

Output

27. WRAPCOLS
Wrapping the values of rows and columns into a two-dimensional

columns array.

Syntax: =WRAPCOLS(vector, wrap_count, [pad_with])

 vector - The array or range to wrap.


 wrap_count - Max values in each column.
 pad_with - Value to use for unfilled places.

 It will Wrap a array into columns,Return value will be Array wrapped by column.

Example:

Formula

Selected

Array

Output
28. WRAPROWS
WRAPROWS function converts a one-dimensional array into a two
dimensional array by wrapping values into separate rows.

Syntax: =WRAPROWS(vector, wrap_count, [pad_with])

 vector - The array or range to wrap.


 wrap_count - Max values in each row.
 pad_with - Value to use for unfilled places.(optional)

 It will Wrap a array into columns, Return value will be Array wrapped by column.
Example:

Formula

Selected
array

Output

 Always use a $ symbol to lock an array in the formula

You might also like