在电子表格中,A:A 和 !A:A 是什么意思?
On a spreadsheet what does A:A and !A:A mean?
我遇到了这个 sumif 公式,我在 N:N
上进行 Google 搜索时找不到任何帮助
=sumif(N:N,"Cat",C:C)
所以我根据文档理解了 SumIf:
SUMIF(range, criterion, [sum_range])
但是我并不完全理解N:N
。另请说明!A:A
谁能提供官方解释或指向文档。
N:N
表示范围包括整个 N 列,而不仅仅是某些单元格(例如 N1:N300)。这允许公式引用列中的所有数据,即使您稍后添加更多行也是如此。
感叹号在这里解释:What does an exclamation mark before a cell reference mean?
When entered as the reference of a Named range
, it refers to range on the sheet the named range is used on.
For example, create a named range MyName
refering to =SUM(!B1:!K1)
Place a formula on Sheet1
=MyName
. This will sum Sheet1!B1:K1
Now place the same formula (=MyName
) on Sheet2
. That formula will sum Sheet2!B1:K1
Note: (as pnuts commented) this and the regular SheetName!B1:K1
format are relative, so reference different cells as the =MyName
formula is entered into different cells.
明确回答了N:N
。对于其余的..
!A:A
中的感叹号仅表示您引用工作簿中的另一个电子表格 -> 假设您当前在 Sheet2 中工作并希望从 Sheet1 获取数据。为此,您必须使用 Sheet1 !A:A
我遇到了这个 sumif 公式,我在 N:N
=sumif(N:N,"Cat",C:C)
所以我根据文档理解了 SumIf:
SUMIF(range, criterion, [sum_range])
但是我并不完全理解N:N
。另请说明!A:A
谁能提供官方解释或指向文档。
N:N
表示范围包括整个 N 列,而不仅仅是某些单元格(例如 N1:N300)。这允许公式引用列中的所有数据,即使您稍后添加更多行也是如此。
感叹号在这里解释:What does an exclamation mark before a cell reference mean?
When entered as the reference of a
Named range
, it refers to range on the sheet the named range is used on.For example, create a named range
MyName
refering to=SUM(!B1:!K1)
Place a formula on
Sheet1
=MyName
. This will sumSheet1!B1:K1
Now place the same formula (
=MyName
) onSheet2
. That formula will sumSheet2!B1:K1
Note: (as pnuts commented) this and the regular
SheetName!B1:K1
format are relative, so reference different cells as the=MyName
formula is entered into different cells.
明确回答了N:N
。对于其余的..
!A:A
中的感叹号仅表示您引用工作簿中的另一个电子表格 -> 假设您当前在 Sheet2 中工作并希望从 Sheet1 获取数据。为此,您必须使用 Sheet1 !A:A