Google sheets 带“的列和”;“最小最大值”;单元格式

Google sheets 带“的列和”;“最小最大值”;单元格式,google-sheets,sum,max,min,Google Sheets,Sum,Max,Min,我想在同一列上求两个和 以下是我的专栏: | 1-2 | 1 | | 2 | 2-3 | | 1 | 5 | |-------|-------| | 4 | 8 | Sum 1 that take the "min" value of each cells | 5 | 9 | Sum 2 that take the "max" value of each cells 和1列1:1+2+1=4 第2列和第1列:2+2+1=5

我想在同一列上求两个和

以下是我的专栏:

|  1-2  |  1    |
|  2    |  2-3  |
|  1    |  5    |
|-------|-------|
|  4    |  8    | Sum 1 that take the "min" value of each cells
|  5    |  9    | Sum 2 that take the "max" value of each cells
和1列1:1+2+1=4
第2列和第1列:2+2+1=5

单元格表示法可以是{num}(绝对值),也可以是{min}-{max}(最小值和最大值)

这是为了创建一些工作时间估计,我们希望有这个“最小-最大”的概念。我们已经有了拆分列的功能,但是在每个单元格中保留1列和2个可能值会更舒服。

对于最小值:

=ArrayFormula(SUM(--(IFERROR(LEFT(A1:A3,FIND("-",A1:A3)-1),A1:A3))))
对于最大值:

=ArrayFormula(SUM(--(IFERROR(RIGHT(A1:A3,len(A1:A3)-FIND("-",A1:A3)),A1:A3))))

完美男人,非常感谢这正是我们需要的:)干杯,再次感谢:)