TAILIEUCHUNG - Excel 2002 Formulas phần 6

Ví dụ, công thức mảng sau đây trả về sự thay đổi lớn nhất (có nghĩa là, sự cải thiện lớn nhất). Công thức này trả về 23, trong đó đại diện cho các điểm thi củaCác công thức mảng sau đây trả về thay đổi nhỏ nhất (có nghĩa là, sự cải thiện ít nhất). Công thức này trả về -11, đại diện cho các điểm thi của | Chapter 14 Introducing Arrays 395 You can use additional array formulas to calculate other measures for the data in this example. For instance the following array formula returns the largest change that is the greatest improvement . This formula returns 23 which represents Linda s test scores. MAX C2 C15-B2 B15 The following array formula returns the smallest change that is the least improvement . This formula returns -11 which represents Nancy s test scores. MIN C2 C15-B2 B15 Using an Array in Lieu of a Range Reference If your formula uses a function that requires a range reference you may be able to replace that range reference with an array constant. This is useful in situations in which the values in the referenced range do not change. A notable exception to using an array constant in place of a range reference in a function is with the database functions that use a reference to a criteria range for example DSUM .Unfortunately using an array constant instead of a reference to a criteria range does not work. Figure 14-17 shows a worksheet that uses a lookup table to display a word that corresponds to an integer. For example looking up a value of 9 returns Nine from the lookup table in D1 E10. The formula in cell C1 is VLOOKUP B1 D1 E10 2 FALSE Figure 14-17 You can replace the lookup table in D1 E10 with an array constant. 396 Part IV Array Formulas You can use a two-dimensional array in place of the lookup range. The following formula returns the same result as the previous formula but it does not require the lookup range in D1 E1 VLOOKUP B1 1 One 2 Two 3 Three 4 Four 5 Five 6 Six 7 Seven 8 Eight 9 Nine 10 Ten 2 FALSE Summary This chapter introduced the concept of arrays collections of items that reside in a range or in Excel s memory. An array formula operates on a range and returns a single value or an array of values. The next chapter continues this discussion and presents several useful examples that help clarify the concept. Chapter 15 Performing Magic with

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.