热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

即使它在引号中,如何使单元格的坐标变量?-Howtomakethecoordinatesofcellvariableevenifitisinquotes?

TheformulaimusingisINDIRECT($A$1&!D1),whichisjustgivingmedatafromasheetwhosen

The formula im using is =INDIRECT($A$1&"!D1"), which is just giving me data from a sheet whose name is is A1!. However, I don't just want whats in D1, i want D2,D3,D4..etc. But when i drag the box down, it the number after the D stays constant. Is there a way i can make it variable? Thanks

我使用的公式是= INDIRECT($ A $ 1&“!D1”),它只是从一张名为A1!的工作表中提供数据。但是,我不仅仅想要D1中的什么,我想要D2,D3,D4 ......等等。但是当我向下拖动框时,D后面的数字保持不变。有没有办法让它变量?谢谢

1 个解决方案

#1


0  

Pick a cell and enter:

选择一个单元格并输入:

=INDIRECT($A$1&"!D" & ROWS($1:1))

Then copy down.

然后复制下来。


推荐阅读
author-avatar
手机用户2502859805
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有