0% found this document useful (0 votes)
57 views3 pages

Ifs Function: Syntax

This document describes several Excel functions for logical evaluation and counting cells including IF, IFS, COUNTIF, COUNTIFS, COUNTA, COUNTBLANK, LOOKUP, and VLOOKUP. IF evaluates a logical test and returns one value for TRUE and another for FALSE. IFS runs multiple tests and returns the value for the first TRUE result. COUNTIF and COUNTIFS count cells matching criteria, with COUNTIFS allowing multiple criteria. COUNTA counts non-empty cells while COUNTBLANK counts empty cells. LOOKUP and VLOOKUP retrieve values based on lookup values and vectors/tables.

Uploaded by

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

Ifs Function: Syntax

This document describes several Excel functions for logical evaluation and counting cells including IF, IFS, COUNTIF, COUNTIFS, COUNTA, COUNTBLANK, LOOKUP, and VLOOKUP. IF evaluates a logical test and returns one value for TRUE and another for FALSE. IFS runs multiple tests and returns the value for the first TRUE result. COUNTIF and COUNTIFS count cells matching criteria, with COUNTIFS allowing multiple criteria. COUNTA counts non-empty cells while COUNTBLANK counts empty cells. LOOKUP and VLOOKUP retrieve values based on lookup values and vectors/tables.

Uploaded by

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

Excel functions

The IF function can perform a logical test and return one value for a TRUE result, and
another for a FALSE result. For example, to "pass" scores above 70:
=IF(A1>70,"Pass","Fail").

Syntax
=IF (logical _test, [value _if_ true], [value _if_ false])

Ifs function
The Excel IFS function runs multiple tests and returns a value corresponding to the
first TRUE result. Use the IFS function to evaluate multiple conditions without
multiple nested IF statements.
Syntax
=IFS (test1, value1, [test2, value2] , ...)

COUNTIF is a function to count cells that meet a single criteria. COUNTIF can be used
to count cells with dates, numbers, and text that match specific criteria. The
COUNTIF function supports logical operators (>,<,<>,=) and wildcards (*,?) for partial
matching.
Syntax
=COUNTIF (range, criteria)

Arguments
 range - The range of cells to count.
 criteria - The criteria that controls which cells should be counted.

The Excel COUNTIFS function returns the count of cells that meet one or more
criteria. COUNTIFS can be used with criteria based on dates, numbers, text, and
other conditions. COUNTIFS supports logical operators (>,<,<>,=) and wildcards (*,?)
for partial matching.
Syntax
=COUNTIFS (range1, criteria1, [range2], [criteria2], ...)

Arguments
 range1 - The first range to evaulate.
 criteria1 - The criteria to use on range1.
 range2 - [optional] The second range to evaluate.
 criteria2 - [optional] The criteria to use on range2.
The Excel COUNTA function returns the count of cells that contain numbers, text,
logical values, error values, and empty text (""). COUNTA does not count empty cells.

Syntax
=COUNTA (value1, [value2], ...)

Arguments
 value1 - An item, cell reference, or range.
 value2 - [optional] An item, cell reference, or range.

he Excel COUNTBLANK function returns a count of empty cells in a range. Cells that
contain text, numbers, errors, etc. are not counted. Formulas that return empty text
are counted.

Syntax
=COUNTBLANK (range)

Arguments
 range - The range in which to count blank cells.
LOOKUP function
The Excel LOOKUP function performs an approximate match lookup in a one-column
or one-row range, and returns the corresponding value from another one-column or
one-row range
Syntax
=LOOKUP (lookup_ value, lookup _vector, [result_ vector])

Arguments
 lookup_ value - The value to search for.
 lookup_ vector - The one-row, or one-column range to search.
 result_ vector - [optional] The one-row, or one-column range of results.

VLOOKUP is an Excel function to lookup and retrieve data from a specific


column in table. VLOOKUP supports approximate and exact matching, and wildcards
(* ?) for partial matches. The "V" stands for "vertical". Lookup values must appear in
the first column of the table, with lookup columns to the right.

Syntax
=VLOOKUP (value, table, col_index, [range_lookup])

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

You might also like