Solved

Another ease(?) spread sheet problem

Posted on 2013-05-13
4
315 Views
Last Modified: 2013-05-13
I want to do an import from =ImportRange in a Google sheet from another Google sheet. The objectId from where I want the data to come from  (the id of the sheet) is located in a local cell in the same sheet. So how do I do that?

I should look something like this:
=ImportRange(B5; "Sheet2!A2")

B5 is where I have the objectId ... 0AsgQUOY9mqdG5H.........
0
Comment
Question by:mdoland
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
worm-getter earned 500 total points
ID: 39161406
comma vs. semi-colon, check it, you are probably correct, but it is a common error that is often over-looked.

read this link:

http://support.google.com/drive/bin/answer.py?hl=en&answer=155183

good luck.
0
 

Author Comment

by:mdoland
ID: 39161430
Thanks for the try. However, ";" is consistent with my local since "," is used instead of "." in english.
0
 
LVL 6

Expert Comment

by:worm-getter
ID: 39161561
To employ ImportRange function one should be able to access the spreadheet to be used with ImportRange as an Editor, Owner  or Viewer.  The spreadsheet doesn't need to be published, as only the sharing options determine access rights.
 
E.g. take the following URL of a spreadsheet:
https://spreadsheets0.google.com/ccc?key=pPbcejygf5gah0jNsqV-lVQ&hl=en
 
The key value to be used in ImportRange is the code part pPbcejygf5gah0jNsqV-lVQ
 
To access this spreadsheet using ImportRange you would use a formula like this:
=ImportRange( "pPbcejygf5gah0jNsqV-lVQ" ; "A2" )
 
Note the second parameter can contain a cell or range on the first sheet (for which no sheet name needs to be specified), a range name, or a sheet name + cell or cell range.
 
E.g. using a range name defined for the source spreadsheet:
=ImportRange( "pPbcejygf5gah0jNsqV-lVQ" ; "MyRange" )
 
or sheet name + cell or cell range:
=ImportRange( "pPbcejygf5gah0jNsqV-lVQ" ; "Read This 1st!A2:A2" )
 
Note that sheet names in ImportRange should be specified without single quotes around the sheet name! This unlike how sheet references can be used within the same spreadsheet (i.e. ='Read This 1st'!A2:A2 ).
0
 

Author Closing Comment

by:mdoland
ID: 39161706
Well, it already worked but I didn't see it since the referenced cell was empty... :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Find word and 6 digit number 22 95
Insert Column Macro 3 37
Excel VBA - Returning results from batch file 9 65
Excel VBA When using VLookup 6 26
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now