时代特色 發表於 2024-9-19 00:00:00

创建公式

<p>创建公式 <script src="http://wps.udesk.cn/css/help.js">// <!]></script> </p> <p>公式就是对工作表中的数值进行计算的等式。公式要以等号(=)开始。</p> <ol> <li>单击需键入公式的单元格。</li> <li>键入“=”(等号)。</li> <li>键入公式内容。</li> <li>按 Enter 。</li> </ol> <p><span id="mydiv1" class="charr2"></span>&nbsp;创建简单公式 </p> <div id="sample1"> <table border="0" cellspacing="4" cellpadding="4"> <tbody> <tr><th class="th1">公式</th><th class="th2">实现功能</th></tr> <tr valign="top"> <td class="bottomLine">=50+35</td> <td class="bottomLine">50 加上 35</td> </tr> <tr valign="top"> <td class="bottomLine">=5^3</td> <td class="bottomLine">5 的 3 次方</td> </tr> </tbody> </table> </div> <p><span id="mydiv2" class="charr2"></span>&nbsp;创建一个包含引用或名称的公式</p> <div id="sample2"> <table border="0" cellspacing="4" cellpadding="4"> <tbody> <tr><th class="th1">公式</th><th class="th2">实现功能</th></tr> <tr valign="top"> <td class="bottomLine">=D3</td> <td class="bottomLine">返回单元格 D3 中的值</td> </tr> <tr valign="top"> <td class="bottomLine">=本金*利率</td> <td class="bottomLine">名为“本金”的单元格(区域)乘以名为“利率”的单元格(区域)</td> </tr> </tbody> </table> <p><span id="mydiv5" class="charr2"></span>&nbsp;在公式中使用引用 </p> <div id="sample5">在键入“=”之后。您可以使用鼠标直接选择要引用的单元格(或区域)。WPS表格会将您选择的单元格(区域)的引用作为引用加入到公式中,如下图所示: <blockquote> <p>&nbsp;<img src="https://res1.wpsacdm.cache.wpscdn.cn/images/0928654688eae72c0c65c7d8aa84a85b.png" alt=""></p> </blockquote> </div> </div> <p><span id="mydiv3" class="charr2"></span>&nbsp;创建一个包含函数的公式</p> <div id="sample3"> <table border="0" cellspacing="4" cellpadding="4"> <tbody> <tr><th class="th1">公式</th><th class="th2">实现功能</th></tr> <tr valign="top"> <td class="bottomLine">=SUMIF(E6:E9,"&gt;=60",E6:E9)</td> <td class="bottomLine">将区域(E6:E9)中所有大于 60 的数字相加</td> </tr> <tr valign="top"> <td class="bottomLine">=AVERAGE(A1:B3)</td> <td class="bottomLine">计算(A1:B3)区域中所有数字的平均值</td> </tr> </tbody> </table> <ul> <li>在创建函数公式时,只需要在单元格输入“=”加上函数首字母,程序会自动出现函数的提示列表,如下图所示:</li> </ul> <p>&nbsp; &nbsp; &nbsp;<img src="https://res1.wpsacdm.cache.wpscdn.cn/images/b68530db3e9ab9bd69ef10feb6848dbb.png" alt=""></p> <p><span id="mydiv6" class="charr2"></span>&nbsp;快速插入函数 </p> <div id="sample6"> <ol> <li>勾选您所要创建公式的单元格。</li> <li>在“公式”选项卡上的“函数库”组中,单击“函数”。</li> <li>在打开的“插入函数”对话框中,根据需要选择函数。</li> </ol> </div> </div> <p><span id="mydiv4" class="charr2"></span>&nbsp;创建一个带有嵌套函数的公式</p> <div id="sample4"> <table border="0" cellspacing="4" cellpadding="4"> <tbody> <tr><th class="th1">公式</th><th class="th2">实现功能</th></tr> <tr valign="top"> <td class="bottomLine">=IF(E9&gt;=90,"A",IF(E9&gt;=80,"B","C"))</td> <td class="bottomLine">判断单元格 E9 的数值,如果大于等于 90 则返回 “A” ;如果小于 90 并且大于等于 80 则返回“B”;如果小于 80 则返回 “C” 。</td> </tr> </tbody> </table> </div> <p>&nbsp;</p>
頁: [1]
查看完整版本: 创建公式