NẮM VỮNG CÁC DÃY VÀ CÔNG
THỨC TRONG EXCEL – PHẦN 5
Creating a Series
Tạo một chuỗi
Instead of using the fill handle to create a series, you can use Excel’s Series
command to gain a little more control over the whole process. Follow these steps:
Thay vì sử dụng công cụ Fill handle để tạo một chuỗi (liên tục), bạn có thể sử
dụng lệnh Series của Excel để thực hiện tiến trình này, theo các bước sau đây:
1. Select the first cell you want to use for the series, and enter the starting value. If
you want to create a series out of a particular pattern (such as 2, 4, 6, and so on),
fill in enough cells to define the pattern.
Chọn ô đầu tiên mà bạn muốn sử dụng để bắt đầu một chuỗi, và nhập một giá trị
khởi đầu. Trong trường hợp bạn muốn tạo một chuỗi từ một mẫu cụ thể (chẳng
hạn như chuỗi các số chẵn: 2, 4, 6 ), thì bạn phải điền đầy đủ vào các ô để định
nghĩa mẫu.
2. Select the entire range you want to fill.
Chọn toàn bộ dãy mà bạn muốn tạo (một chuỗi).
3. Choose Home, Fill, Series. Excel displays the Series dialog box, shown in
Figure 1.7.
Chọn Home, Fill, Series. Excel sẽ hiển thị hộp thoại Series, như minh họa ở hình
1.7.
(Hình 1.7)
4. Either click Rows to create the series in rows starting from the active cell, or
click Columns to create the series in columns.
Nhấp chọn Rows để tạo chuỗi trong các hàng bắt đầu từ ô hiện hành, hoặc nhấp
chọn Columns để tạo chuỗi trong các cột. (Nhưng thường thì Excel sẽ chọn sẵn
cho bạn, tùy vào dạng của chuỗi bạn đã thực hiện ở bước 2.)
5. Use the Type group to click the type of series you want. You have the following
options:
vì vậy nên bạn nên xem lại con số này trước khi nhấn OK.)
8. To place a limit on the series, enter the appropriate number in the Stop Value
box.
Để đặt giá trị giới hạn cho chuỗi, nhập giá trị thích hợp trong khung Stop Value.
9. Click OK. Excel fills in the series and returns you to the worksheet.
Nhấn OK. Excel sẽ điền chuỗi (vừa tạo theo những thiết lập trên vào dãy) và đưa
bạn quay lại trang bảng tính.
Figure 1.8 shows some sample column series. Note that the Growth series stops at
cell C12 (value 128) because the next term in the series (256) is greater than the
stop value of 250. The Day series fills the range with every second date (because
the step value is 2). The Weekday series is slightly different: The dates are
sequential, but weekends are skipped.
Hình 1.8 minh họa một số chuỗi theo cột (tạo bằng phương pháp này). Chú ý
chuỗi Growth (cột C) dừng lại ở ô C12 (giá trị = 128) bởi vì số hạng kế tiếp trong
chuỗi (256) lớn hơn giá trị dừng (Stop Value) là 250. Chuỗi Day (cột D) điền vào
dãy những ngày lẻ trong tháng bởi vì giá trị Step Value là 2 (và giá trị bạn đầu là
một ngày lẻ). Chuỗi Weekday (cột E) hơi khác một tí: Các ngày tháng được điền
vào dãy theo trình tự, nhưng bỏ qua những ngày cuối tuần.
(Hình 1.8)
Advanced Range Copying
Những kỹ thuật nâng cao để sao chép một dãy
The standard Excel range copying techniques (for example, choosing Home, Copy
or pressing Ctrl+C and then choosing Home, Paste or pressing Ctrl+V) normally
copy the entire contents of each cell in the range: the value or formula, the
formatting, and any attached cell comments. If you like, you can tell Excel to copy
only some of these attributes, you can transpose rows and columns, or you can
combine the source and destination ranges arithmetically. All this is possible with
Excel’s Paste Special command. These techniques are outlined in the next three
sections.
thường)
Formulas : Pastes only the cell formulas (you can also choose Home, Paste,
Formulas).
Chỉ sao chép các (cấu trúc của) công thức (bạn cũng có thể chọn Home, Paste,
Formulas)
Values : Converts the cell formulas to values and pastes only the values (you can
also choose Home, Paste, Paste Values).
Chuyển đổi (tất cả các kết quả của) các công thức (của dãy nguồn) thành giá trị và
chỉ sao chép các giá trị này (bạn cũng có thể chọn Home, Paste, Paste Values).
Formats : Pastes only the cell formatting.
Chỉ sao chép các định dạng.
Comments : Pastes only the cell comments.
Chỉ sao chép các chú thích.
Vadilation : Pastes only the cell-validation rules.
Chỉ sao chép các quy tắc Validation.
All Using Source Theme : Pastes all the cell attributes and formats the destination
range using the theme that’s applied to the copied range.
Sao chép các thuộc tính và định dạng dãy đích giống như định dạng của dãy nguồn
(áp dụng khuôn mẫu (theme) của dãy nguồn cho dãy đích).
All Except Borders : Pastes all the cell attributes except the cell’s border
formatting (you can also choose Home, Paste, No Borders).
Sao chép tất cảc các thuộc tính, ngoại trừ định dạng border (các đường kẻ khung)
của ô (bạn cũng có thể chọn Home, Paste, No Borders).
Column Widths : Changes the width of the destination columns to match the
widths of the source columns. No data is pasted.
(Chỉ) thay đổi chiều rộng các cột (của dãy đích) để khớp với chiều rộng các cột
của dãy nguồn, (ngoài ra thì) không sao chép gì hết.
Formulas and Number Formats : Pastes the cell formulas and numeric
formatting.