当前位置: 首页 > 知识库问答 >
问题:

已解决:Google Sheets:在多个工作表之间使用VLOOKUP,使用间接、索引和匹配指定范围的工作表

司业
2023-03-14

我有多张图纸,将由最终用户命名。这些图纸的名称存储在命名范围内,最终用户也会更新该范围。这些工作表中的每一张都包含需要拉入主工作表的数据。为了清晰起见,让我们为他们提供一些名称:

  • 工作表MASTER包含提取的数据
  • 范围人员包含工作表名称
  • 例如,工作表Jones,Roy,包含要提取的数据,并且该名称存在于人员中(在人员中有未指定数量的命名工作表

在Excel中有一个这样做的方法,但是这个公式在谷歌表格中不能正常工作。编写公式是为了使用MASTER中的search_keyPEOPLE中的每个工作表执行VLOOKUP,并从指定工作表的第5列(在本例中)提取数据,如果有匹配。当我使用Excel公式时,它只会从范围PEOPLE中列出的第一个名称中提取数据。

公式是:

=IFERROR(VLOOKUP($A4, INDIRECT("'"

我做错了什么?正如我所说的,它成功地执行了人物中的名字的操作,但在那里停止。如有任何建议,将不胜感激。

https://docs.google.com/spreadsheets/d/1L1U1OwuaVSCt5n5jrUUImA6DQfnn8BWIOQKJlqelDtw/edit?usp=sharing


共有1个答案

常睿范
2023-03-14

尝试:

=ARRAYFORMULA(IFNA(VLOOKUP(A2:A, {
 INDIRECT(PEOPLE!A2&"!A:F");
 INDIRECT(PEOPLE!A3&"!A:F");
 INDIRECT(PEOPLE!A4&"!A:F");
 INDIRECT(PEOPLE!A5&"!A:F")}, COLUMN(B:F), 0)))

250页的硬编码版本,无论是否存在

=ARRAYFORMULA(IFNA(VLOOKUP(A2:A, {
IF(PEOPLE!A2<>"", IFERROR(INDIRECT(PEOPLE!A2&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A3<>"", IFERROR(INDIRECT(PEOPLE!A3&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A4<>"", IFERROR(INDIRECT(PEOPLE!A4&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A5<>"", IFERROR(INDIRECT(PEOPLE!A5&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A6<>"", IFERROR(INDIRECT(PEOPLE!A6&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A7<>"", IFERROR(INDIRECT(PEOPLE!A7&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A8<>"", IFERROR(INDIRECT(PEOPLE!A8&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A9<>"", IFERROR(INDIRECT(PEOPLE!A9&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A10<>"", IFERROR(INDIRECT(PEOPLE!A10&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A11<>"", IFERROR(INDIRECT(PEOPLE!A11&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A12<>"", IFERROR(INDIRECT(PEOPLE!A12&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A13<>"", IFERROR(INDIRECT(PEOPLE!A13&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A14<>"", IFERROR(INDIRECT(PEOPLE!A14&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A15<>"", IFERROR(INDIRECT(PEOPLE!A15&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A16<>"", IFERROR(INDIRECT(PEOPLE!A16&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A17<>"", IFERROR(INDIRECT(PEOPLE!A17&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A18<>"", IFERROR(INDIRECT(PEOPLE!A18&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A19<>"", IFERROR(INDIRECT(PEOPLE!A19&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A20<>"", IFERROR(INDIRECT(PEOPLE!A20&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A21<>"", IFERROR(INDIRECT(PEOPLE!A21&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A22<>"", IFERROR(INDIRECT(PEOPLE!A22&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A23<>"", IFERROR(INDIRECT(PEOPLE!A23&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A24<>"", IFERROR(INDIRECT(PEOPLE!A24&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A25<>"", IFERROR(INDIRECT(PEOPLE!A25&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A26<>"", IFERROR(INDIRECT(PEOPLE!A26&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A27<>"", IFERROR(INDIRECT(PEOPLE!A27&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A28<>"", IFERROR(INDIRECT(PEOPLE!A28&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A29<>"", IFERROR(INDIRECT(PEOPLE!A29&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A30<>"", IFERROR(INDIRECT(PEOPLE!A30&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A31<>"", IFERROR(INDIRECT(PEOPLE!A31&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A32<>"", IFERROR(INDIRECT(PEOPLE!A32&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A33<>"", IFERROR(INDIRECT(PEOPLE!A33&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A34<>"", IFERROR(INDIRECT(PEOPLE!A34&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A35<>"", IFERROR(INDIRECT(PEOPLE!A35&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A36<>"", IFERROR(INDIRECT(PEOPLE!A36&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A37<>"", IFERROR(INDIRECT(PEOPLE!A37&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A38<>"", IFERROR(INDIRECT(PEOPLE!A38&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A39<>"", IFERROR(INDIRECT(PEOPLE!A39&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A40<>"", IFERROR(INDIRECT(PEOPLE!A40&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A41<>"", IFERROR(INDIRECT(PEOPLE!A41&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A42<>"", IFERROR(INDIRECT(PEOPLE!A42&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A43<>"", IFERROR(INDIRECT(PEOPLE!A43&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A44<>"", IFERROR(INDIRECT(PEOPLE!A44&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A45<>"", IFERROR(INDIRECT(PEOPLE!A45&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A46<>"", IFERROR(INDIRECT(PEOPLE!A46&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A47<>"", IFERROR(INDIRECT(PEOPLE!A47&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A48<>"", IFERROR(INDIRECT(PEOPLE!A48&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A49<>"", IFERROR(INDIRECT(PEOPLE!A49&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A50<>"", IFERROR(INDIRECT(PEOPLE!A50&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A51<>"", IFERROR(INDIRECT(PEOPLE!A51&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A52<>"", IFERROR(INDIRECT(PEOPLE!A52&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A53<>"", IFERROR(INDIRECT(PEOPLE!A53&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A54<>"", IFERROR(INDIRECT(PEOPLE!A54&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A55<>"", IFERROR(INDIRECT(PEOPLE!A55&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A56<>"", IFERROR(INDIRECT(PEOPLE!A56&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A57<>"", IFERROR(INDIRECT(PEOPLE!A57&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A58<>"", IFERROR(INDIRECT(PEOPLE!A58&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A59<>"", IFERROR(INDIRECT(PEOPLE!A59&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A60<>"", IFERROR(INDIRECT(PEOPLE!A60&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A61<>"", IFERROR(INDIRECT(PEOPLE!A61&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A62<>"", IFERROR(INDIRECT(PEOPLE!A62&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A63<>"", IFERROR(INDIRECT(PEOPLE!A63&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A64<>"", IFERROR(INDIRECT(PEOPLE!A64&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A65<>"", IFERROR(INDIRECT(PEOPLE!A65&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A66<>"", IFERROR(INDIRECT(PEOPLE!A66&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A67<>"", IFERROR(INDIRECT(PEOPLE!A67&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A68<>"", IFERROR(INDIRECT(PEOPLE!A68&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A69<>"", IFERROR(INDIRECT(PEOPLE!A69&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A70<>"", IFERROR(INDIRECT(PEOPLE!A70&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A71<>"", IFERROR(INDIRECT(PEOPLE!A71&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A72<>"", IFERROR(INDIRECT(PEOPLE!A72&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A73<>"", IFERROR(INDIRECT(PEOPLE!A73&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A74<>"", IFERROR(INDIRECT(PEOPLE!A74&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A75<>"", IFERROR(INDIRECT(PEOPLE!A75&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A76<>"", IFERROR(INDIRECT(PEOPLE!A76&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A77<>"", IFERROR(INDIRECT(PEOPLE!A77&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A78<>"", IFERROR(INDIRECT(PEOPLE!A78&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A79<>"", IFERROR(INDIRECT(PEOPLE!A79&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A80<>"", IFERROR(INDIRECT(PEOPLE!A80&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A81<>"", IFERROR(INDIRECT(PEOPLE!A81&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A82<>"", IFERROR(INDIRECT(PEOPLE!A82&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A83<>"", IFERROR(INDIRECT(PEOPLE!A83&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A84<>"", IFERROR(INDIRECT(PEOPLE!A84&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A85<>"", IFERROR(INDIRECT(PEOPLE!A85&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A86<>"", IFERROR(INDIRECT(PEOPLE!A86&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A87<>"", IFERROR(INDIRECT(PEOPLE!A87&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A88<>"", IFERROR(INDIRECT(PEOPLE!A88&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A89<>"", IFERROR(INDIRECT(PEOPLE!A89&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A90<>"", IFERROR(INDIRECT(PEOPLE!A90&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A91<>"", IFERROR(INDIRECT(PEOPLE!A91&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A92<>"", IFERROR(INDIRECT(PEOPLE!A92&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A93<>"", IFERROR(INDIRECT(PEOPLE!A93&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A94<>"", IFERROR(INDIRECT(PEOPLE!A94&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A95<>"", IFERROR(INDIRECT(PEOPLE!A95&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A96<>"", IFERROR(INDIRECT(PEOPLE!A96&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A97<>"", IFERROR(INDIRECT(PEOPLE!A97&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A98<>"", IFERROR(INDIRECT(PEOPLE!A98&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A99<>"", IFERROR(INDIRECT(PEOPLE!A99&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A100<>"", IFERROR(INDIRECT(PEOPLE!A100&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A101<>"", IFERROR(INDIRECT(PEOPLE!A101&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A102<>"", IFERROR(INDIRECT(PEOPLE!A102&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A103<>"", IFERROR(INDIRECT(PEOPLE!A103&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A104<>"", IFERROR(INDIRECT(PEOPLE!A104&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A105<>"", IFERROR(INDIRECT(PEOPLE!A105&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A106<>"", IFERROR(INDIRECT(PEOPLE!A106&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A107<>"", IFERROR(INDIRECT(PEOPLE!A107&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A108<>"", IFERROR(INDIRECT(PEOPLE!A108&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A109<>"", IFERROR(INDIRECT(PEOPLE!A109&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A110<>"", IFERROR(INDIRECT(PEOPLE!A110&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A111<>"", IFERROR(INDIRECT(PEOPLE!A111&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A112<>"", IFERROR(INDIRECT(PEOPLE!A112&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A113<>"", IFERROR(INDIRECT(PEOPLE!A113&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A114<>"", IFERROR(INDIRECT(PEOPLE!A114&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A115<>"", IFERROR(INDIRECT(PEOPLE!A115&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A116<>"", IFERROR(INDIRECT(PEOPLE!A116&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A117<>"", IFERROR(INDIRECT(PEOPLE!A117&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A118<>"", IFERROR(INDIRECT(PEOPLE!A118&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A119<>"", IFERROR(INDIRECT(PEOPLE!A119&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A120<>"", IFERROR(INDIRECT(PEOPLE!A120&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A121<>"", IFERROR(INDIRECT(PEOPLE!A121&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A122<>"", IFERROR(INDIRECT(PEOPLE!A122&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A123<>"", IFERROR(INDIRECT(PEOPLE!A123&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A124<>"", IFERROR(INDIRECT(PEOPLE!A124&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A125<>"", IFERROR(INDIRECT(PEOPLE!A125&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A126<>"", IFERROR(INDIRECT(PEOPLE!A126&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A127<>"", IFERROR(INDIRECT(PEOPLE!A127&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A128<>"", IFERROR(INDIRECT(PEOPLE!A128&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A129<>"", IFERROR(INDIRECT(PEOPLE!A129&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A130<>"", IFERROR(INDIRECT(PEOPLE!A130&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A131<>"", IFERROR(INDIRECT(PEOPLE!A131&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A132<>"", IFERROR(INDIRECT(PEOPLE!A132&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A133<>"", IFERROR(INDIRECT(PEOPLE!A133&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A134<>"", IFERROR(INDIRECT(PEOPLE!A134&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A135<>"", IFERROR(INDIRECT(PEOPLE!A135&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A136<>"", IFERROR(INDIRECT(PEOPLE!A136&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A137<>"", IFERROR(INDIRECT(PEOPLE!A137&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A138<>"", IFERROR(INDIRECT(PEOPLE!A138&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A139<>"", IFERROR(INDIRECT(PEOPLE!A139&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A140<>"", IFERROR(INDIRECT(PEOPLE!A140&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A141<>"", IFERROR(INDIRECT(PEOPLE!A141&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A142<>"", IFERROR(INDIRECT(PEOPLE!A142&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A143<>"", IFERROR(INDIRECT(PEOPLE!A143&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A144<>"", IFERROR(INDIRECT(PEOPLE!A144&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A145<>"", IFERROR(INDIRECT(PEOPLE!A145&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A146<>"", IFERROR(INDIRECT(PEOPLE!A146&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A147<>"", IFERROR(INDIRECT(PEOPLE!A147&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A148<>"", IFERROR(INDIRECT(PEOPLE!A148&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A149<>"", IFERROR(INDIRECT(PEOPLE!A149&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A150<>"", IFERROR(INDIRECT(PEOPLE!A150&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A151<>"", IFERROR(INDIRECT(PEOPLE!A151&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A152<>"", IFERROR(INDIRECT(PEOPLE!A152&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A153<>"", IFERROR(INDIRECT(PEOPLE!A153&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A154<>"", IFERROR(INDIRECT(PEOPLE!A154&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A155<>"", IFERROR(INDIRECT(PEOPLE!A155&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A156<>"", IFERROR(INDIRECT(PEOPLE!A156&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A157<>"", IFERROR(INDIRECT(PEOPLE!A157&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A158<>"", IFERROR(INDIRECT(PEOPLE!A158&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A159<>"", IFERROR(INDIRECT(PEOPLE!A159&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A160<>"", IFERROR(INDIRECT(PEOPLE!A160&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A161<>"", IFERROR(INDIRECT(PEOPLE!A161&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A162<>"", IFERROR(INDIRECT(PEOPLE!A162&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A163<>"", IFERROR(INDIRECT(PEOPLE!A163&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A164<>"", IFERROR(INDIRECT(PEOPLE!A164&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A165<>"", IFERROR(INDIRECT(PEOPLE!A165&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A166<>"", IFERROR(INDIRECT(PEOPLE!A166&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A167<>"", IFERROR(INDIRECT(PEOPLE!A167&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A168<>"", IFERROR(INDIRECT(PEOPLE!A168&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A169<>"", IFERROR(INDIRECT(PEOPLE!A169&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A170<>"", IFERROR(INDIRECT(PEOPLE!A170&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A171<>"", IFERROR(INDIRECT(PEOPLE!A171&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A172<>"", IFERROR(INDIRECT(PEOPLE!A172&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A173<>"", IFERROR(INDIRECT(PEOPLE!A173&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A174<>"", IFERROR(INDIRECT(PEOPLE!A174&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A175<>"", IFERROR(INDIRECT(PEOPLE!A175&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A176<>"", IFERROR(INDIRECT(PEOPLE!A176&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A177<>"", IFERROR(INDIRECT(PEOPLE!A177&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A178<>"", IFERROR(INDIRECT(PEOPLE!A178&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A179<>"", IFERROR(INDIRECT(PEOPLE!A179&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A180<>"", IFERROR(INDIRECT(PEOPLE!A180&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A181<>"", IFERROR(INDIRECT(PEOPLE!A181&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A182<>"", IFERROR(INDIRECT(PEOPLE!A182&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A183<>"", IFERROR(INDIRECT(PEOPLE!A183&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A184<>"", IFERROR(INDIRECT(PEOPLE!A184&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A185<>"", IFERROR(INDIRECT(PEOPLE!A185&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A186<>"", IFERROR(INDIRECT(PEOPLE!A186&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A187<>"", IFERROR(INDIRECT(PEOPLE!A187&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A188<>"", IFERROR(INDIRECT(PEOPLE!A188&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A189<>"", IFERROR(INDIRECT(PEOPLE!A189&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A190<>"", IFERROR(INDIRECT(PEOPLE!A190&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A191<>"", IFERROR(INDIRECT(PEOPLE!A191&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A192<>"", IFERROR(INDIRECT(PEOPLE!A192&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A193<>"", IFERROR(INDIRECT(PEOPLE!A193&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A194<>"", IFERROR(INDIRECT(PEOPLE!A194&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A195<>"", IFERROR(INDIRECT(PEOPLE!A195&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A196<>"", IFERROR(INDIRECT(PEOPLE!A196&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A197<>"", IFERROR(INDIRECT(PEOPLE!A197&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A198<>"", IFERROR(INDIRECT(PEOPLE!A198&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A199<>"", IFERROR(INDIRECT(PEOPLE!A199&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A200<>"", IFERROR(INDIRECT(PEOPLE!A200&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A201<>"", IFERROR(INDIRECT(PEOPLE!A201&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A202<>"", IFERROR(INDIRECT(PEOPLE!A202&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A203<>"", IFERROR(INDIRECT(PEOPLE!A203&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A204<>"", IFERROR(INDIRECT(PEOPLE!A204&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A205<>"", IFERROR(INDIRECT(PEOPLE!A205&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A206<>"", IFERROR(INDIRECT(PEOPLE!A206&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A207<>"", IFERROR(INDIRECT(PEOPLE!A207&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A208<>"", IFERROR(INDIRECT(PEOPLE!A208&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A209<>"", IFERROR(INDIRECT(PEOPLE!A209&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A210<>"", IFERROR(INDIRECT(PEOPLE!A210&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A211<>"", IFERROR(INDIRECT(PEOPLE!A211&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A212<>"", IFERROR(INDIRECT(PEOPLE!A212&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A213<>"", IFERROR(INDIRECT(PEOPLE!A213&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A214<>"", IFERROR(INDIRECT(PEOPLE!A214&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A215<>"", IFERROR(INDIRECT(PEOPLE!A215&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A216<>"", IFERROR(INDIRECT(PEOPLE!A216&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A217<>"", IFERROR(INDIRECT(PEOPLE!A217&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A218<>"", IFERROR(INDIRECT(PEOPLE!A218&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A219<>"", IFERROR(INDIRECT(PEOPLE!A219&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A220<>"", IFERROR(INDIRECT(PEOPLE!A220&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A221<>"", IFERROR(INDIRECT(PEOPLE!A221&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A222<>"", IFERROR(INDIRECT(PEOPLE!A222&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A223<>"", IFERROR(INDIRECT(PEOPLE!A223&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A224<>"", IFERROR(INDIRECT(PEOPLE!A224&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A225<>"", IFERROR(INDIRECT(PEOPLE!A225&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A226<>"", IFERROR(INDIRECT(PEOPLE!A226&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A227<>"", IFERROR(INDIRECT(PEOPLE!A227&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A228<>"", IFERROR(INDIRECT(PEOPLE!A228&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A229<>"", IFERROR(INDIRECT(PEOPLE!A229&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A230<>"", IFERROR(INDIRECT(PEOPLE!A230&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A231<>"", IFERROR(INDIRECT(PEOPLE!A231&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A232<>"", IFERROR(INDIRECT(PEOPLE!A232&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A233<>"", IFERROR(INDIRECT(PEOPLE!A233&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A234<>"", IFERROR(INDIRECT(PEOPLE!A234&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A235<>"", IFERROR(INDIRECT(PEOPLE!A235&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A236<>"", IFERROR(INDIRECT(PEOPLE!A236&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A237<>"", IFERROR(INDIRECT(PEOPLE!A237&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A238<>"", IFERROR(INDIRECT(PEOPLE!A238&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A239<>"", IFERROR(INDIRECT(PEOPLE!A239&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A240<>"", IFERROR(INDIRECT(PEOPLE!A240&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A241<>"", IFERROR(INDIRECT(PEOPLE!A241&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A242<>"", IFERROR(INDIRECT(PEOPLE!A242&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A243<>"", IFERROR(INDIRECT(PEOPLE!A243&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A244<>"", IFERROR(INDIRECT(PEOPLE!A244&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A245<>"", IFERROR(INDIRECT(PEOPLE!A245&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A246<>"", IFERROR(INDIRECT(PEOPLE!A246&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A247<>"", IFERROR(INDIRECT(PEOPLE!A247&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A248<>"", IFERROR(INDIRECT(PEOPLE!A248&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A249<>"", IFERROR(INDIRECT(PEOPLE!A249&"!A:F"), COLUMN(A:F)), COLUMN(A:F));
IF(PEOPLE!A250<>"", IFERROR(INDIRECT(PEOPLE!A250&"!A:F"), COLUMN(A:F)), COLUMN(A:F))}, COLUMN(B:F), 0)))
 类似资料:
  • 在Google Sheets中,我试图使用Excel中的索引匹配返回与日期范围之间最小绝对最近值关联的帐户名。 以下是数据值: A列是评估的日期范围 以下是一些虚拟数据的示例: 现在这个公式起作用了。。。索塔。它将返回与最小绝对最近值关联的帐户名,但不从以下指定的日期范围返回: 这是返回帐户“A”,因为它是第一个值,最接近猜测值,但它超出了G2和G3指定的日期范围。 从这个例子中应该返回的正确答案

  • 我有一个谷歌电子表格,有两张表格,人 如果人员B栏中的单元格与公司A栏中的单元格中的文本匹配,那么我需要将公司B栏的内容添加到人员C栏中 之前的人物表: 公司表: 人员名单如下: 我一直试图使用Stackoverflow上其他地方找到的匹配脚本,但没有成功: 我真的被困住了,知道吗?提前感谢您的任何帮助。

  • 我不熟悉谷歌电子表格功能,并尝试以以下方式应用公式: 我有一张床单 我想链接工作表2中的范围数据 现在需要考虑的是,它只显示了一个项目(最后一个),而这个范围本来应该显示十个项目(a1:a10) 有关更正上述公式的详细信息和帮助,请查看以下链接: https://docs.google.com/spreadsheets/d/1HX1eatP57A5k9Xku7awIVnBPQ2A4ICVrYXTs

  • 我有两个我想使用“主键”链接的工作表。目前,我已经使用函数从Sheet1导入了一些列到Sheet2(例如第一个单元格)。我的目的是完成与Sheet2中每个导入行相关的数据。但是,Sheet1与其他人共享,因此他们可以修改行的内容,而无需删除或修改我在Sheet2中添加的数据(而这在Sheet1中不存在)。 考虑到我的表中有一列“id”可以被视为主键,我如何在sheet2中添加新数据,只要它与“id