What is the Z Test Excel Formula?
The Z TEST Excel formula is categorized under Statistical functionsFunctionsThe Z.TEST Function is categorized under Statistical functions. It will calculate the onetailed Pvalue of a Ztest. As a financial analyst, the Z Test Excel formula is useful for various analysis. For example, we can decide if we should invest in a stock when it provides a specific average daily return. Formula. It will calculate the onetailed Pvalue of a Ztest.
As a financial analystFinancial Analyst Job DescriptionSee a real Financial Analyst Job Description including all the skills, experience, and education required to be the successful candidate for the job. Perform financial forecasting, reporting, and operational metrics tracking, analyze financial data, create financial models, the Z.TEST function is useful for various analysis. For example, we can decide if we should invest in a particular stock when it provides a specific average daily return.
Z Test Formula
=Z.TEST(array,x,[sigma])
The Z.TEST function uses the following arguments:

Array (required argument) – It is the array or range of data against which we need to test x. Array is a set of values against which the hypothesized sample mean is to be tested.

X (optional argument) – It is the hypothesized sample. It is the value to test.

Sigma (optional argument) – It represents the population standard deviation if this is known. If omitted, the function uses the sample standard deviation.
How to use the Z.TEST Function in Excel?
To understand the uses of the Z.TEST function, let us consider an example:
Example – Z Test Excel Formula
Suppose we are given the following data:
To calculate the onetailed probabilityvalue of a ztest for the data with a hypothesized population mean of 4, we will use the following formula:
We get the result below:
For calculating the twotailed probabilityvalue of a ztest for the above data with a hypothesized population mean of 4, we will use the following formula:
We get the result below:
Things to remember about the Z.TEST Function
 Z.TEST represents the probability that the sample mean would be higher than the observed value AVERAGE(array), when the underlying population mean is μ0. From the symmetry of the normal distribution, if AVERAGE(array) < x, Z.TEST will return a value greater than 0.5.
 #VALUE! error – Occurs when the value of x or the value of sigma is nonnumeric.
 #NUM! error – Occurs when the sigma argument provided is equal to zero.
 #N/A error – Occurs when the provided array is empty.
 #DIV/0! error – Occurs when:
 The sigma is not provided and the standard deviation of the supplied array is zero.
 The given array contains just one value.
Free Excel Course
Work your way toward becoming an expert financial analyst by checking our Free Excel Crash Course. Learn how to use Excel functions and create sophisticated financial analysis and financial modeling.
Additional resources
Thanks for reading CFI’s guide to the Z Test Excel formula! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional resources:
 Excel Functions for FinanceExcel for FinanceThis Excel for Finance guide will teach the top 10 formulas and functions you must know to be a great financial analyst in Excel. This guide has examples, screenshots and step by step instructions. In the end, download the free Excel template that includes all the finance functions covered in the tutorial
 Advanced Excel Formulas Course
 Advanced Excel Formulas You Must KnowAdvanced Excel Formulas Must KnowThese advanced Excel formulas are critical to know and will take your financial analysis skills to the next level. Advanced Excel functions you must know. Learn the top 10 Excel formulas every worldclass financial analyst uses on a regular basis. These skills will improve your spreadsheet work in any career
 Excel Shortcuts for PC and MacExcel Shortcuts PC MacExcel Shortcuts  List of the most important & common MS Excel shortcuts for PC & Mac users, finance, accounting professions. Keyboard shortcuts speed up your modeling skills and save time. Learn editing, formatting, navigation, ribbon, paste special, data manipulation, formula and cell editing, and other shortucts