代码之家  ›  专栏  ›  技术社区  ›  DVK

我想使用另一列显示单元格中的一个范围,但不完全是命名范围

  •  0
  • DVK  · 技术社区  · 2 年前

    enter image description here

    例如,以C2为例,

    我想把它显示为“100-150”。

    PS:当我说“100-500”时,我不是指100减500,我想把它表示为一个范围。

    2 回复  |  直到 2 年前
        1
  •  2
  •   Harun24hr    2 年前

    =B2*20% & "-" & B2*30%
    

    =INDEX(IF(LEN(B2:B),B2:B*20% & "-" & B2:B*30%,""))
    

    enter image description here

        2
  •  1
  •   Osm    2 年前

    大堆

    粘贴 此打开 C2 Example Sheet

    =ArrayFormula(IF(A2:A="",,CONCAT(CONCAT(A2:A*20%," - "),A2:A*30%)))
    

    enter image description here

    单间牢房

    粘贴 C2

    =CONCAT(CONCAT(A2*20%," - "),A2*30%)
    

    ))

    enter image description here