THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng | |
---|---|
Số trang | 43 |
Dung lượng | 449,51 KB |
Nội dung
Ngày đăng: 09/08/2014, 16:20
Nguồn tham khảo
Tài liệu tham khảo | Loại | Chi tiết | ||
---|---|---|---|---|
2.6.7 Conversion of single-cell referencesExcel will convert a single-cell reference to the value of the cell referred to, unless it is being passed to a function that expects a reference as its parameter rather than a value.(Later chapters go into detail on such functions, but a simple example is ROW() , which extracts and returns the row number of a cell reference.) If an operator or function using the reference requires a different data type than that of the reference’s value, then Excel will also attempt to convert to the required type. (See next section for more detail.) For example, if a cell contains the formula =SUM(A1,B1) , with A1 containing the number 123 and B2 the string "456" , Excel will convert the reference A1 to the value of that cell, 123, and the reference B1 to the string "456" and then to the argument type expected by SUM() , the number 456 , leading finally to a result of 579 | Sách, tạp chí |
|
||
2.6.9 Conversion of defined range namesWhere a cell formula contains a token that cannot be interpreted as a constant (either numeric or string within double-quotes) or a cell reference, Excel searches for a named range on the current sheet and then the current workbook. (See below for an explanation of the term current.) | Sách, tạp chí |
|
||
2.6.12 Operator evaluation precedence Table 2.9 Operator evaluation precedenceOperators (operation) NotesName lookup and substitutionReference-to-value and type conversion() and worksheet functions Evaluated left to right%, unary –ˆ =4^50% evaluates to 2*/Binary +−& =4+2&1+5="66" evaluates to TRUE Binary = , < , > , <= , >= , <> Evaluated left to right | Sách, tạp chí |
|
||
2.7 EXCEL TERMINOLOGY: ACTIVE AND CURRENTExcel functions that provide information about a cell, a range of cells or a sheet in a workbook often make a distinction between the workbook, sheet or cell that the user is currently looking at, and the workbook, sheet or cell from which the function was called. 1 The same is true of commands that affect a workbook or one of its constituents. The terms active and current are used to make the distinction, which can be quite confusing. Here is a clear definition | Sách, tạp chí |
|
||
2.8 COMMANDS VERSUS FUNCTIONS IN EXCELThere is an important distinction in Excel between functions, represented by formulae in worksheet cells that may or may not take arguments but always return a value, and commands which are equivalent to a user doing something. For example, NOW() is a function: it returns a number representing the date and time right now. In contrast, the action taken by Excel to format a cell when a user presses a formatting icon on a toolbar is a command.1 There are other components that can be active, e.g., components of a chart that have been selected, which are not covered here | Sách, tạp chí |
|
||
2.6.8 Conversion of multi-cell range referencesSome functions will work equally well with single cell references and range references, for example, SUM(A1,B1,C1) gives the same result as SUM(A1:C1) . In the latter case, the SUM() function converts the range A1:C1 to a mixed type array of values and then iterates through that converting and summing values where possible. The work of handling the range argument is done within the code of the SUM() function | Khác | |||
2.6.10 Explicit type conversion functions: N() , T() , TEXT() , VALUE()Explicit type conversion is possible with the functions VALUE() and TEXT() with the advan- tage that TEXT() provides control over the text format where an implicit conversion does not. Type conversion can also be constrained with the functions N() and T() . Table 2.7 summarises the action of these functions on the basic data types | Khác | |||
2.6.11 Worksheet function argument type conversionExcel will attempt to convert arguments being passed to functions, regardless of whether they are Excel’s built-in worksheet functions, a third party’s add-in functions or user-defined VB functions. Worksheet functions can take as arguments any combination of the following | Khác |
TỪ KHÓA LIÊN QUAN
TÀI LIỆU CÙNG NGƯỜI DÙNG
TÀI LIỆU LIÊN QUAN