gpt4 book ai didi

When two cells A and B are in the same row, and cell A moves to a different row, is there a function to move cell B to the same row?(当两个单元格A和B在同一行,而单元格A移动到不同的行时,是否有将单元格B移动到同一行的函数?)

转载 作者:bug小助手 更新时间:2023-10-25 19:27:47 28 4
gpt4 key购买 nike



I use a Google Sheets for our club's attendance. The sheet is linked to another Google Form so a list of names can automatically be created and sorted alphabetically. In this sheet I also manually enter points next to peoples' names based on activities we do.

我用谷歌表格记录我们俱乐部的出席率。该表格链接到另一个谷歌表格,因此可以自动创建一个名字列表,并按字母顺序排序。在这张表格中,我还根据我们所做的活动,在人的名字旁边手动输入点数。


The problem is that since the list of names grows over time, the row positions of each person's name changes, but the point values I have manually entered do not move, so I have to adjust the rows each value is in so they are matched with the correct names again.

问题是,由于姓名列表随着时间的推移而增长,每个人的姓名的行位置都会改变,但我手动输入的点值不会移动,因此我必须调整每个值所在的行,以便它们再次与正确的姓名匹配。


I was wondering if there is a function using array formula so these point values stay in the same row as the row of each name changes, and assuming no names are deleted.

我想知道是否有一个函数使用数组公式,使这些点的值留在同一行中的每一行的名称的变化,并假设没有名称被删除。


So far I have not been able to find a function that locks the values to the names when the names list dynamically updates.

到目前为止,我还没有找到在姓名列表动态更新时将值锁定到姓名的函数。


Solutions that I have thought of but not tried yet include:

我想过但尚未尝试的解决方案包括:



  • Having points entered manually on another sheet next to a static set of names, and importing the points to the correct name after comparing the list of names in both sheets.

    在静态名称集旁边的另一张图纸上手动输入点,并在比较两张图纸中的名称列表后将点导入到正确的名称。



  • Having points next to a static set of names somewhere else in the sheet, and placing the point values next to the correct name in the list after comparing the names in the dynamic set against the static set.

    在工作表中其他位置的静态名称集旁边放置点,并在将动态集中的名称与静态集中的名称进行比较后,将点值放置在列表中正确名称的旁边。




更多回答

Think of sharing a spreadsheet with dummy data that illustrates your situation, which shows what you you have tried so far and what you are trying to achieve.

想象一下与虚拟数据共享一个电子表格,这些数据说明了你的情况,显示了你到目前为止已经尝试了什么,以及你正在努力实现的目标。

优秀答案推荐

From a spreadsheet perspective, there is no relationship between the column populated with a formula and the column with manual point entries. You need to create a relationship between the two columns.

从电子表格的角度来看,使用公式填充的列和使用手动点输入的列之间没有关系。您需要在这两个列之间创建关系。


As you suggested in the latter part of you inquiry, I would recommend having a static names "database" where you assign point values to the respective person. Then use a VFORMULA or XFORMULA to find the points associated with each person.

正如您在查询的后半部分所建议的,我建议您建立一个静态名称“数据库”,您可以在其中将点值分配给相应的人。然后使用VFORMULA或XFORMULA查找与每个人关联的点。


Another thing you can do is highlight names that are NOT in the database with a conditional formatting formula, if necessary, to help you keep track of new names that get added to the list. This will help make sure that everyone is accounted for as the list grows.

如果需要,您还可以使用条件格式公式突出显示不在数据库中的姓名,以帮助您跟踪添加到列表中的新姓名。这将有助于确保随着名单的增加,每个人都被考虑在内。


更多回答

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com