
r中匯率市場

If you’re working in Word and you need to total values in a table, you can do so without having to enter the data into Excel and then copy and paste it into Word. Word can do simple calculations such as summing, multiplying, and averaging.
如果您在Word中工作,并且需要對表中的值進行總計,則無需在Excel中輸入數據,然后將其復制并粘貼到Word中即可。 Word可以進行簡單的計算,例如求和,相乘和平均。
NOTE: When you add new rows or columns of values to a table in Word, the formulas will not automatically update. To update a formula, right-click on the formula and choose Update Field from the popup menu.
注意:在Word中向表中添加值的新行或新列時,公式將不會自動更新。 要更新公式,請右鍵單擊該公式,然后從彈出菜單中選擇“更新字段”。
To enter a formula into a cell in a table, put the cursor in the cell and click the Layout tab under Table Tools.
要將公式輸入到表格的單元格中,請將光標放在該單元格中,然后單擊“表格工具”下的“布局”選項卡。

Click Formula in the Data section of the Layout tab.
單擊版式選項卡的數據部分中的公式。

In this example, we are going to multiply the Units by the Unit Cost and then total the Total column. To do this, we enter the following in the Formula edit box on the Formula dialog box to multiply the two number to the left of the current cell:
在此示例中,我們將用“單位成本”乘以“單位”,然后將“總計”列總計。 為此,我們在“公式”對話框的“公式”編輯框中輸入以下內容,以將當前單元格左側的兩個數字相乘:
=PRODUCT(LEFT)
=產品(左)
Select an option from the Number format drop-down list to specify the format format for the result of the formula.
從數字格式下拉列表中選擇一個選項,以指定公式結果的格式格式。
NOTE: For more information about the formulas available and how to use them, see Microsoft’s Office site.
注意:有關可用公式以及如何使用它們的更多信息,請參見Microsoft的Office網站。

Click OK to accept the settings and insert the formula into the cell.
單擊“確定”接受設置,然后將公式插入到單元格中。

The result of the formula displays in the cell.
公式的結果顯示在單元格中。
NOTE: If you right-click on a cell containing a formula and select Toggle Field Codes from the popup menu, the actual formula displays in the cell, as shown in the first image at the beginning of this article. Right-click again and select Toggle Field Codes again to display the result.
注意:如果右鍵單擊包含公式的單元格,然后從彈出菜單中選擇“切換字段代碼”,則實際公式將顯示在該單元格中,如本文開頭的第一張圖片所示。 再次右鍵單擊,然后再次選擇“切換域代碼”以顯示結果。

We followed the same steps to multiply the Units and Unit Cost in each of the other rows.
我們按照相同的步驟在其他各行中將“單位”和“單位成本”相乘。

Now, make sure there’s an extra row at the bottom of the table so we can total the costs. Put the cursor in the empty cell at the bottom of the Total column. Click Formula in the Data section of the Layout tab again to access the Formula dialog box. Enter the following formula in the Formula edit box (the formula might default to the SUM formula with ABOVE as the argument):
現在,請確保表格底部有一個額外的行,以便我們總計費用。 將光標放在“總計”列底部的空白單元格中。 再次單擊“布局”選項卡的“數據”部分中的“公式”以訪問“公式”對話框。 在“公式”編輯框中輸入以下公式(該公式可能默認為以ABOVE作為參數的SUM公式):
=SUM(ABOVE)
= SUM(以上)
Select an appropriate Number format and click OK.
選擇適當的數字格式,然后單擊確定。

The total of the Total column displays in the cell.
單元格中顯示“總計”列的總計。

If you want to try out this feature, we’ve included the?SampleWordTable we used. The totals in the Total column are just numbers. Replace those with the PRODUCT formula and then add a row at the bottom to total the Total column.
如果您想試用此功能,我們已經包含了我們使用的SampleWordTable 。 “總計”列中的總計只是數字。 將它們替換為PRODUCT公式,然后在底部添加一行以總計列。
翻譯自: https://www.howtogeek.com/165464/how-to-total-rows-and-columns-in-a-word-2013-table/
r中匯率市場