excel avb excel跨工作簿求和表示方法

MS Excel: How to use the EXP Function (WS, VBA)
TechOnTheNet.com requires javascript to work properly. Please re-enable javascript in your browser settings.
String/Text Functions
Date/Time Functions
Math/Trig Functions
EXP (WS, VBA)
Statistical Functions
Logical Functions
Information Functions
Financial Functions
Database Functions
Engineering Functions
File/Directory Functions
Data Type Conv. Functions
MS Excel: How to use the EXP Function (WS, VBA)
This Excel tutorial explains how to use the Excel EXP function with syntax and examples.
Description
The Microsoft Excel EXP function returns e raised to the nth power, where e = 2..
The EXP function is a built-in function in Excel that is categorized as a Math/Trig Function. It can be used as a worksheet function (WS) and a VBA function (VBA) in Excel. As a worksheet function, the EXP function can be entered as part of a formula in a cell of a worksheet. As a VBA function, you can use this function in
that is entered through the Microsoft Visual Basic Editor.
The syntax for the EXP function in Microsoft Excel is:
EXP( number )
Parameters or Arguments
The power to raise e to.
The EXP function returns a numeric value.
Applies To
Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
Worksheet function (WS)
VBA function (VBA)
Example (as Worksheet Function)
Let's look at some Excel EXP function examples and explore how to use the EXP function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following EXP examples would return:
Result: 20.
Result: 22.
Result: 0.
=EXP(-4.5)
Result: 0.
Example (as VBA Function)
The EXP function can also be used in VBA code in Microsoft Excel.
Let's look at some Excel EXP function examples and explore how to use the EXP function in Excel VBA code:
Dim LNumber As Double
LNumber = Exp(3)
In this example, the variable called LNumber would now contain the value of 20..
Share this page:
Advertisement
Back to top12,343被浏览681,411分享邀请回答1.4K32 条评论分享收藏感谢收起83655 条评论分享收藏感谢收起MS Excel: How to use the LOG Function (WS)
TechOnTheNet.com requires javascript to work properly. Please re-enable javascript in your browser settings.
String/Text Functions
Date/Time Functions
Math/Trig Functions
Statistical Functions
Logical Functions
Information Functions
Financial Functions
Database Functions
Engineering Functions
File/Directory Functions
Data Type Conv. Functions
MS Excel: How to use the LOG Function (WS)
This Excel tutorial explains how to use the Excel LOG function with syntax and examples.
Description
The Microsoft Excel LOG function returns the logarithm of a number to a specified base.
The LOG function is a built-in function in Excel that is categorized as a Math/Trig Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the LOG function can be entered as part of a formula in a cell of a worksheet.
Please read our
page if you are looking for the VBA version of the LOG function as it has a very different syntax.
The syntax for the LOG function in Microsoft Excel is:
LOG( number, [base] )
Parameters or Arguments
A numeric value that must be greater than 0.
Optional. This is the base to use to calculate the logarithm of a number. If this parameter is omitted, it will use a base of 10.
The LOG function returns a numeric value.
Applies To
Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel LOG function examples and explore how to use the LOG function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following LOG examples would return:
Result: 1.
=LOG(A1, 10)
Result: 1.
=LOG(A1, A2)
Result: 0.
=LOG(A2, 5.1)
Result: 1.
=LOG(200, 3)
Result: 4.
Share this page:
Advertisement
Back to top

我要回帖

更多关于 excel跨工作簿求和 的文章

 

随机推荐