简体   繁体   English

谷歌表格 - 基于单元格引用调用行

[英]Google Sheets - Calling row based on cell reference

I am a coach and have a google sheet that tracks their fitness with a numeric score, higher being better.我是一名教练,有一个谷歌表格,可以用数字分数跟踪他们的健康状况,越高越好。 Each score has paces assigned to it for easier runs and harder runs.每个分数都有分配给它的速度,以便更轻松地运行和更难地运行。 Currently I have a sheet that is a table of the scores with the prescribed paces, and to simplify the matter, I made the score the same as the row number.目前我有一张表格,它是具有规定步数的分数表,为了简化问题,我将分数设为与行号相同。 I then have another sheet with the athlete names and their score.然后我有另一张表,上面有运动员的姓名和他们的分数。

I would like to populate that athlete sheet with their paces as well.我也想用他们的步速填充运动员表。 I know how to do this manually (like ='Score/Paces',B50).我知道如何手动执行此操作(例如 ='Score/Paces',B50)。 but I would like it to automate this process, Let's say an athlete has a score of 50. stored in cell C2: Then:但我希望它使这个过程自动化,假设一名运动员的得分为 50。存储在单元格 C2 中:然后:

Instead of this: ='Score/Paces'!B50而不是这个:='Score/Paces'!B50

it's something like this: ='Score/Paces'!B(C2)是这样的:='Score/Paces'!B(C2)

This way, whatever the score is automatically changes the paces for the athlete and I won't have to copy and paste every time.这样,无论分数是多少,都会自动改变运动员的步伐,我不必每次都复制和粘贴。

Here is a link to the example I made.这是我制作的示例的链接。 I filled the cells with things I've tried.我用我尝试过的东西填满了牢房。 https://docs.google.com/spreadsheets/d/1FXI_RIevvkuUOkNwBPK4l-oblIZcYm9Fw459KIvq5Jw/edit?usp=sharing https://docs.google.com/spreadsheets/d/1FXI_RIevvkuUOkNwBPK4l-oblIZcYm9Fw459KIvq5Jw/edit?usp=sharing

Thanks!谢谢!

use:利用:

=INDIRECT("Score/Paces!B"&C2) 

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM