VLOOKUP multiple times from one row/cell

笑着哭i 提交于 2019-12-02 19:08:31

问题


I am trying to create a sign-up sheet using Google Forms for parents to fill out. Parents have the ability to sign up multiple children in one form. For it to be easier to read I have organized the entries using:

=sort(unique({A2:B999;C2:D999}))

Now I want to pull the emergency contact information from the submission but for some reason my VLOOKUP can only pull it up for the first child.

Here is the simplified response sheet: [goo.gl/soE1PG]


回答1:


Pass the lookup off to a second VLOOKUP function with IFERROR function if the first fails.

In I5 as,

=IFERROR(VLOOKUP(G5, A:E, 5, FALSE), VLOOKUP(G5, C:E, 3, FALSE))

Fill down as necessary.

    



来源:https://stackoverflow.com/questions/34668481/vlookup-multiple-times-from-one-row-cell

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!