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

后端 未结 22 2059
逝去的感伤
逝去的感伤 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:00

    The easiest method is to use the OFFSET function. So for the original example, the formula would be: =offset(c2,0,-1)*1.33 ="using current cell (c2) as reference point, get the contents of cell on same row, but one column to the left (b2) and multiply it by 1.33"

    Works a treat.

提交回复
热议问题