在Excel中,只要透過設定公式(SUMPRODUCT函數),就可以自動根據銷售資料計算應收帳款。
步驟1:建立表格
1 在工作表 Sheet2 中建立 應收帳款月報表。
2 將工作表標籤更改為「應 收帳款月報表」。

步驟2:設定月份下拉清單
1 選擇儲存格 C2。
2 在「資料」頁籤中的「資料工具」頁籤按一下「資料驗證」按鈕。
3 從下拉清單中按「資料驗證」選項。
步驟3:設定資料驗證
1 在「資料驗證」對話框中 的「儲存格內允許」下拉 清單中選擇「清單」。
2 在「來源」欄位中輸入下 列項。
3 選擇「提示訊息」標籤。
4 輸入提示內容。
5 最後按「確定」按鈕。
步驟4:「月份」下拉清單
返回工作表,儲存格 C2 右側會顯示下拉箭頭,按該箭頭,顯示包含 1∼12數字的下拉清單,從清單中選擇「10」。
步驟5:設定公式統計各單位應收帳款
在儲存格C4中輸入公式 「=SUMPRODUCT(( 銷售明 細 !$A$4:$A$116= 應收帳款月報表 !$C$2)*( 銷售明細 ! $D$4:$D$116= 應收帳款月 報表 !B4)* 銷售明細!$J$4: $J$116)」, 按【Enter】 鍵後,向下複製公式至儲存格 C9。
步驟6:設定公式計算合計
在儲存格C10 中輸入公式「=SUM(C4:D9)」, 按【Enter】鍵後,計算出當月應收帳款合計數。
步驟7:設定資料格式
選擇儲存格範圍 C4: C10,將資料格式設定為貨幣類型的格式,得到表格的最終效果。