How do I sort a table in Excel if it has cell references in it?

后端 未结 22 1989
逝去的感伤
逝去的感伤 2020-12-05 02:42

I have a table of data in excel in sheet 1 which references various different cells in many other sheets. When I try to sort or filter the sheet, the references change when

22条回答
  •  遥遥无期
    2020-12-05 03:07

    I was hoping to find a why on here, but I think the answer is simpler than we are making it.

    The cells should sort regardless of what page they are referencing in your workbook. What was causing the issue for us was any page name references on the current page.

    EX: I am in the Today workbook, and I am referencing data for a sales rep on a different page.

    If my criteria (The reps name) is in Today!C1 (Or $C1, $c$1) and I try to sort, the sheet will not recognize the action. But if you remove the name that is referencing the page you are on (Redundant reference really) this problem should stop.

    So SUMIFS('Sales'!C1,'Sales'!A1,Today!C1) will now be SUMIFS('Sales'!C1,'Sales'!A1,C1)

    If someone can enlighten to as why it works that way, that would be amazing.

提交回复
热议问题