Saturday, August 10, 2013

Google Spreadsheet ImportRange and then Vlookup

Question:

( by Roland Faber )


Hi all,

I have a question about getting data from 1 spreadsheet into a 2nd spreadsheet.
I have 1 spreadsheet that will be used as data that I would like to use in various spreadsheets, only one restriction...
Database (DATA) has a range from A3:F12 filled with data that runs up to 999 rows and about 5 collums.

For the 2nd spreadsheet (ENTRY) I would like:
When input in Cell A3 I also would like the unique data from B3:F3 to follow.
When input in Cell A4 with a different number, the data from that requested number should follow.

Solution:

Have a look at the following screenshot of Spreadsheet "Data":





I have inserted a sheet named "Data" in Spreadsheet "Entry"
Sheet "Data" will import the data from Spreadsheet "Data" by using following formula in Cell A1:
=importrange("0Al69lO6P-IbjdGVHNWE2ZWJ5RjQ1NVVBNDhnUi01VUE";"Data!A:F")

Have a look at the following screenshot of Spreadsheet "Entry":


I have inserted the following formula in Cell B3 of Sheet "Entry" of Spreadsheet "Entry":

=arrayformula(iferror(vlookup(A3:A;Data!A3:F;column(B:F)*sign(row(A3:A));false)))




And If you are not much familiar with scripts then check out the following link:
http://igoogledrive.blogspot.com/2012/08/how-to-write-script-in-google.html 

I hope the above solution will help you, and if you need more help then please do comment below on this blog itself, I will try to help you out.


I also take up private and confidential projects:
If this blog post was helpful to you, and if you think you want to help me too and make my this blog survive then please donate here: http://igoogledrive.blogspot.com/2012/09/donate.html 

Thanks,

No comments:

Post a Comment