Have one cell represent a cell range

后端 未结 2 864
说谎
说谎 2020-12-21 00:40

Excel 2003 Question:
I\'d like to have one cell represent a range of cells. So that another formula can use it.

Right now, I have an equation to sum the hours wo

相关标签:
2条回答
  • 2020-12-21 00:53

    Store in the cell the address as mere text.

    When using that range, use INDIRECT(B10).

    See Excel DSUM with multiple criteria for a somewhat more complex usage example.

    0 讨论(0)
  • 2020-12-21 01:03

    Making it a bit more clear. You can enter the range (Address) as a text in the cells, and then use INDIRECT to reference them to a range instead of just text.

    So enter

    "C23:C46" in cell B10 (without quotes)
    "D23:D46" in C10      (without quotes)
    

    and use INDIRECT in your formula for SUMIF
    Here's a picture for more clarity.

    enter image description here

    0 讨论(0)
提交回复
热议问题