|---+-----+------------+-----------------------+-----------------------+-----+--------+------------+----------+-------|
| | Day | Date | Star of day | End of day | Lunch | Sum of day | Float time | MyTime | |
|/| < | > | < | | > | | < | > | |
|---+-----+------------+-----------------------+-----------------------+-----+--------+------------+----------+-------|
| ! | Dag | Date | Start | End | Lunch | SOD | floatTime | myTime | Week |
|/| | | | | <3> | <6> | | <8> | |
| # | 1 | 2012-03-01 | <2012-03-01 to 08:20> | <2012-03-01 to 17:15> | 42 | 08:13 | 29580.0 | 8.217 | 16:49 |
| # | 2 | 2012-03-02 | <2012-03-22 to 10:00> | <2012-03-22 to 14:00> | 42 | 03:18 | 11880.0 | 3.300 | 16:49 |
| # | 3 | 2012-03-03 | <2012-03-22 to 08:00> | <2012-03-22 to 14:00> | 42 | 05:18 | 19080.0 | 5.300 | 16:49 |
|---+-----+------------+-----------------------+-----------------------+-----+--------+------------+----------+-------|
| | | | | | | Sum | 16:49 | 16.817 | 11:31 |
我有以下表,這是使用以上的公式:我如何列一個HLINE
# Column Formulas
$7 = '(format-seconds "%.2h:%.2m" (- (- (float-time (org-time-string-to-time $End)) (float-time (org-time-string-to-time $Start))) (* (string-to-number $Lunch) 60)))
$8 = '(number-to-string (- (- (float-time (org-time-string-to-time $End)) (float-time (org-time-string-to-time $Start))) (* (string-to-number $Lunch) 60)))
$9 = '(/ (string-to-number (format-seconds "%m" $floatTime)) 60.0);%.3fN
$10 = '(format-seconds "%.2h:%.2m" (+ @[email protected]+I$8));N
# Named Field Formulas
$LR10 = $LR8
$LR7 = Sum
$LR8 = '(format-seconds "%.2h:%.2m" (+ @2..));N
$LR9 = '(+ @[email protected]);N
我已經是$ 10的問題,我想只顯示計算當前周的總和高於hline,而不是每週的每個列?
對不起,這可能是有點不清楚我想要的。我會嘗試做一個模型來解釋我的問題:
|--------+-------|
| Number | prob |
|--------+-------|
| 25.0 | |
| 50.0 | |
| 30.0 | |
| 10.0 | 115.0 |
|--------+-------|
| 10.0 | |
| 20.0 | 30.0 |
|--------+-------|
| 145. | |
這是我有的表。 $ LR1 = vsum(@ 2 .. @ - I) 我遇到的問題是在hline之前計算$ 2中的值。 這是在hlines之間的字段的總和..含義30.0和115.0 .. 我該怎麼做?
基本上@ + I $ 2(雖然這不爲我工作..
你認爲你可以提供一個你想要哪個單元格的模型嗎?它可能會使用單元格公式而不是列公式來完成,但我不確定要將其與哪個單元格相關聯。 – 2012-03-22 18:52:43
顯示整個'#+ table'代碼以更好地感受如何提供幫助也很有用。 – cm2 2012-03-22 20:52:47
標題缺少動詞。它是*和*嗎? – adl 2012-03-23 19:00:58