Excel PI Function
In this Article
This Excel Tutorial demonstrates how to use the Excel PI Function in Excel to return the value of PI, with formula examples.
PI Function Description:
The PI Function The value of PI.
How to use the PI Function in Excel:
To use the PI Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the PI formula inputs appear below the cell:
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=PI(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
Syntax and Arguments:
The Syntax for the PI Formula is:
Function Arguments ( Inputs ):
Use the PI Function to return the value of PI. 3.14??
PI Examples in VBA
You can also use the PI function in VBA. Type:
For the function arguments (, etc.), you can either enter them directly into the function, or define variables to use instead.
Return to the List of all Functions in Excel
For more information about the PI Formula visit the