简体   繁体   English

从另一个工作表中按谷歌工作表中的列名返回值

[英]Return value by column name in google sheets from another sheet

I need to sum-up values from another sheet in Google sheets.我需要总结来自 Google 表格中另一张表格的值。 Column name is called Rating in sheet two named Results!列名称在名为结果的第二张表中称为评级!

Tried this, however for some of the rows when I drag the formula down it produces errors, even though the data is identical.尝试过这个,但是对于某些行,当我向下拖动公式时,它会产生错误,即使数据是相同的。

Is there a way I could also link the name in the formula, name look-up value is in sheet1 called Calculator, in row A4 in sheet two it's the name is found in row A2, name format Alise Ryan.有没有办法我也可以链接公式中的名称,名称查找值在称为计算器的工作表 1 中,在工作表第二的 A4 行中,名称在 A2 行中找到,名称格式为 Alise Ryan。

=Results!K2+Results!P2+Results!U2+Results!U2+Results!AE2++Results!AJ2++Results!AO2+Results!AW2++Results!BA2++Results!BF2++Results!BK2++Results!BP2++Results!BU2++Results!BZ2++Results!BZ2

try:尝试:

=INDEX(IF(Survey!A2:A1000="",,{Survey!A2:A1000, 
 MMULT(FILTER(Survey!A2:1000, Survey!A1:1="Rating")*1, 
 SEQUENCE(COUNTIF(Survey!A1:1, "Rating"), 1, 1, 0))}))

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 ArrayFormula 中使用 Google 表格中的列名(标题)引用另一张表格中的列 - Reference a column in another sheet using column name (heading) in Google Sheets inside an ArrayFormula 在 column1 中使用工作表名称查询不同工作表中的多个 google 工作表 - Query multiple google sheets in different sheets with sheet name in column1 您如何使用同一文档中另一个工作表中的列中的单元格填充 google 工作表/excel 列? - How do you populate a google sheets/excel column with cells from a column in another sheet in the same document? 当显示的数据是另一个工作表中的数组时,在 Google 表格中返回空单元格而不是 0 - Return empty cell instead of 0 in Google Sheets when data being displayed is an array from another sheet Google表格:VLOOKUP基于参考表的同列值? - Google Sheets: VLOOKUP based on same-column value of reference sheet? 在一列中查找名称,从另一列返回值 - Find name in one column, return value from another 根据列值搜索行,更改从输入表中的值找到的行的值 - Google Apps 脚本(表) - Search for Row based on Column Value, Change Values of Row Found from Values in Input sheet- Google Apps Script (Sheets) 在查询结果中包含工作表名称 - Google 工作表 - Include Sheet name in Query Results - Google Sheets Google表格,数组公式将2张表格合并为一张,并附加一个新列以指定数据来自哪个表格 - Google Sheets, Array Formula to merge 2 Sheets into one, and append a new column to specify which sheet the data came from 谷歌表格 IF function 返回值 - Google Sheets IF function to return value
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM