You are on page 1of 4

Excel VIVA Questions

IF: Returns one value if a condition you specify evaluates to TRUE and another value if it
evaluates to FALSE.
Syntax: =IF(logical_test, value_if_true, [value_if_false])

SUMIF: Adds the cells specified by a given condition or criteria.


Syntax: =SUMIF(range, criteria, [sum_range])

SUMIFS: Adds the cells in a range that meet multiple criteria.


Syntax: =SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)

COUNTIF: Counts the number of cells within a range that meet a single condition.
Syntax: =COUNTIF(range, criteria)

COUNTIFS: Counts the number of cells that meet multiple criteria.


Syntax: =COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...)

COUNT: Counts the number of cells that contain numbers.


Syntax: =COUNT(value1, [value2], ...)

COUNTA: Counts the number of cells that are not empty.


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

COUNTBLANK: Counts the number of blank cells within a range.


Syntax: =COUNTBLANK(range)

VLOOKUP: Searches for a value in the first column of a table array and returns a value in
the same row from another column.
Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

HLOOKUP: Searches for a value in the top row of a table array and returns a value in the
same column from a row you specify.
Syntax: =HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

SUM: Adds its arguments.


Syntax: =SUM(number1, [number2], ...)
AVERAGE: Returns the average of its arguments.
Syntax: =AVERAGE(number1, [number2], ...)

MEDIAN: Returns the median of its arguments.


Syntax: =MEDIAN(number1, [number2], ...)

MODE: Returns the most frequently occurring, or repetitive, value in an array or range of
data.
Syntax: =MODE(number1, [number2], ...)

RANGE: Returns the difference between the maximum and minimum values in a data
set.
Syntax: =MAX(range) - MIN(range)

QUARTILE: Returns the quartile of a data set.


Syntax: =QUARTILE(array, quart)

STDEV: Estimates the standard deviation based on a sample.


Syntax: =STDEV(number1, [number2], ...)

CORREL: Returns the correlation coefficient between two data sets.


Syntax: =CORREL(array1, array2)

FORECAST: Returns a future value based on existing values.


Syntax: =FORECAST(x, known_y's, known_x's)

REGRESSION: Calculates the best-fit line for a series of data and returns a regression
equation.
Syntax: =LINEST(known_y's, [known_x's], [const], [stats])

Pivot Table: Used to summarize, analyze, and present large amounts of data in a
compact and easy-to-read format.
Syntax: Insert -> PivotTable -> Choose data range -> Select location for PivotTable ->
Drag fields to Rows, Columns, Values, or Filters area.

Conditional Formatting: Applies formatting to cells based on specified conditions,


making it easier to identify trends and patterns in data.
Syntax: Home -> Conditional Formatting -> Choose desired formatting rule and set
conditions.
Sorting: Arranges data in ascending or descending order based on specified criteria.
Syntax: Data -> Sort -> Choose sorting options.

Filtering: Displays only the rows in a table that meet specified criteria, hiding rows that
do not match the filter conditions.
Syntax: Data -> Filter -> Set filter criteria.

Text String Functions:


TRIM: Removes extra spaces from text, leaving only single spaces between words.
Syntax: =TRIM(text)

UPPER: Converts text to uppercase.


Syntax: =UPPER(text)

LOWER: Converts text to lowercase.


Syntax: =LOWER(text)

PROPER: Capitalizes the first letter of each word in a text string.


Syntax: =PROPER(text)

LEN: Returns the number of characters in a text string.


Syntax: =LEN(text)

LEFT: Returns a specified number of characters from the start of a text string.
Syntax: =LEFT(text, num_chars)

RIGHT: Returns a specified number of characters from the end of a text string.
Syntax: =RIGHT(text, num_chars)

CONCATENATE: Joins multiple text strings into one.


Syntax: =CONCATENATE(text1, text2, ...)

DATE: Returns the serial number of a particular date.


Syntax: =DATE(year, month, day)

TODAY: Returns the current date.


Syntax: =TODAY()
NOW: Returns the current date and time.
Syntax: =NOW()

YEAR: Returns the year of a given date.


Syntax: =YEAR(date)

MONTH: Returns the month of a given date.


Syntax: =MONTH(date)

DAY: Returns the day of the month of a given date.


Syntax: =DAY(date)

HOUR: Returns the hour of the time.


Syntax: =HOUR(time)

MINUTE: Returns the minute of the time.


Syntax: =MINUTE(time)

SECOND: Returns the second of the time.


Syntax: =SECOND(time)

WEEKDAY: Returns the day of the week as a number.


Syntax: =WEEKDAY(date, [return_type])

EOMONTH: Returns the last day of the month, a specified number of months before or
after a given date.
Syntax: =EOMONTH(start_date, months)

WORKDAY: Returns the serial number of the date before or after a specified number of
workdays.
Syntax: =WORKDAY(start_date, days, [holidays])

You might also like