是否可以設置列上公式首先說「= SUM(A1:A10)」,之後在A1中顯示值爲A10單元格,之後進行計算。SpreadsheetGear Column Sum Calculation
4
A
回答
0
嘗試使用以下內容:
totalCell.Formula = "=SUM(C6,C11,C16,C21)";
補辦詳細代碼以下鏈接:
http://www.spreadsheetgear.com/support/samples/srcview.aspx?file=outline.aspx
希望它有幫助。
1
是的,我得到了答案。雖然這樣做有些RND對於我意識到Furmula operatiion是不工作:
SpreadsheetGear.IRange range = WorkBookViewForData.ActiveWorksheet.Cells["A10"];
range.Formula = "=SUM(A1:A9)"
SpreadsheetGear.IRange range1 = WorkBookViewForData.ActiveWorksheet.Cells["A1"];
range1.value = "1"
SpreadsheetGear.IRange range2 = WorkBookViewForData.ActiveWorksheet.Cells["A2"];
range2.value = "2"
SpreadsheetGear.IRange range3 = WorkBookViewForData.ActiveWorksheet.Cells["A3"];
range3.value = "3"
但隨着
SpreadsheetGear.IRange range = WorkBookViewForData.ActiveWorksheet.Cells["A10"];
range.Formula = "=SUM(A1:A9)"
WorkBookViewForData.ActiveWorksheet.Cells["A1"].Value="1";
WorkBookViewForData.ActiveWorksheet.Cells["A2"].Value="2";
WorkBookViewForData.ActiveWorksheet.Cells["A3"].Value="3";
其中WorkBookViewForData是對的SpreadsheetGear控制
相關問題
- 1. Minkowski sum for rectangle intersection calculation
- 2. MySQL SUM(column)+(SUBQUERY WITH SUM)
- 3. mysql select count(column)where sum(column)> value
- 4. PrimeFaces中的Sum Column Datatable
- 5. ASP .NET SQL查詢SUM,TOTAL&NEW COLUMN
- 6. kaiser filter coeffecients calculation
- 7. Google PageSpeed Score Calculation
- 8. Magento 1.9 tierclricing calculation
- 9. Selenium JavascriptExecutor Calculation
- 10. Euler's Sieve for Totient Calculation
- 11. pigscript error not calculation max
- 12. SpreadsheetGear範圍公式
- 13. 蒙特卡洛和地區-calculation
- 14. jQuery Live Calculation Round回答
- 15. 在SQL Server中使用dinaymic查詢計算SUM Column Wise
- 16. MySQL:當使用JSON解析時,SUM(column)總是返回null
- 17. TSQL - 如何在select中的虛擬COLUMN中使用SUM?
- 18. Mysql:if else else from one column to another column
- 19. Spreadsheetgear運行宏嗎?
- 20. 設置與的SpreadsheetGear
- 21. 的SpreadsheetGear .find方法
- 22. angular angular column by column
- 23. Column to vector/vector to column,Originlab
- 24. jQuery Form Calculation - Works,但奇怪的結果
- 25. ORDER COLUMN SUMING()OVER()
- 26. SpreadsheetGear中的樞軸圖
- 27. spreadsheetgear - 打開/保存文件
- 28. 的SpreadsheetGear SetArray當double.NaN存在
- 29. SpreadsheetGear按名稱獲取列?
- 30. SpreadsheetGear DataLabel字體格式
工程爲名互換前兩個單詞。是嗎.... – Freelancer