I have a Google spreadsheet which compiles scheduling info for an event. The file has five worksheets. There are two worksheets which I want to publish to the web; the other three are for my use and to drive calculations.
I can see how to publish the entire file, and how to publish an individual worksheet. However, I cannot figure out how to publish say, sheet1 and sheet2 to a single document.
As a short-term workaround I have tried the following, which works after a fashion but I'm not a fan:
Create a new file with two sheets
Sheet1 uses an importrange call to grab the data from the original sheet1
Sheet2 uses an importrange call to grab the data from the original sheet2
I then publish the entirety of the new document
The finished product must be in Google Apps; that is a requirement I cannot dodge.
Solution 1:
You can hide the sheets that you don't want to publish, and then publish the entire document:
Published sheet:
Solution 2:
You can publish selected sheets using the Published Content & Settings options on the Publish to the Web dialog box. In the dropdown menu you can select which sheets to include:
The published spreadsheet would look like this:
Note: It seems that the web page may not display all the selected sheets, only the first sheet. You can file a feature/bug request here:
https://support.google.com/a/answer/6284762?hl=en
What worked for me is that after publishing the spreadsheet, copy the link, then through "Published content & settings" remove the check next to "entire document" and select the ones you want to share.
The details in the upper part of the window will disappear including the link, and the publish button will be green again "pressable".
Your copied link is still active, you can still use it, and only the selected sheets will be seen on the web. It is also modifiable; if you checked different sheets, web share will be updated accordingly.
Related
I have a sheet with information and another where I import the data, but I want to be able to change the data in the imported sheet.
How is this possible? Once the data is published it doesn't need to update again if I change in the main sheet
SO:
I have one big sheet with lots of tabs that I cannot share
One of the tabs I want to share with colleagues
The colleagues should be able to update the sheet (doesn't need to update the "main" sheet again)
You mention
I have a sheet with information and another where I import the data, but I want to be able to change the data in the imported sheet.
... One of the tabs I want to share with colleagues
... The colleagues should be able to update the sheet
Please follow these steps
Link the sheet AND import the initial values.
Go to the tab with the imported values you want to "freeze" and select the whole range with values
Right click and select Copy
Go to menu Edit-> Paste special-> Paste values only
Enjoy the "frozen" tab.
Is there a way to link to another sheet within a Google Sheets workbook using the target's sheet name?
I've seen other posts that show how to do this but they rely on getting the sheet's gid. I can't use that because I need this to work in Excel and Google Sheets and my workbooks are being created dynamically with a Node script.
In Excel I can write =HYPERLINK("#'NameOfSheet'!A1", "Click here"). But this doesn't work in Google Sheets. It creates a link but when you click it nothing happens.
Just try to use the sheet's URL instead, to link to other sheet or tab. Just for example:
=HYPERLINK("https://docs.google.com/spreadsheets/d/10HufqWRKiK_iR45Z52ABTiba0Lq1wVMIRxdefSI3NA/edit#gid=0", "Link text here")
Notice that this also changes when you link to another tab:
#gid=0
I need to embed sheets to docs so what I change in sheets gets changed over to docs. I can do it by copying the table in the sheet and pasting it in docs and select the 'link to spreadsheet', the doc gets changed when I click 'update' over the table.
However, if I make a copy of both files and move them, the doc's link is still with the original sheet. The sheet I copied and moved does not do anything.
If there any way to copy both files and keeping all the formatting and links so I can have backups and not rely on one master sheet storing all the tables?
Or how can I manually 'link' the copied sheet to the copied docs without going through copying and pasting all the individual tables?
Thanks
Alex
Any way to produce a Google sheet script to disable download, print and copy for editors? Reason: The sheet will need protected (non editable) tabs and ranges, but needs to be shared to all with edit rights to be able to edit nonprotected cells, i.e. dropdowns to interact with the protected data and to be able to change views/graphs. But the sheet as such shouldn't be downloadable or copyable.
This is not possible through scripts or otherwise. There is no way to give edit privileges, but restrict copying of entire sheet.
I am trying to connect google sheet with power bi using R Studio, there is a video on youtube by stephnie locke, but that is just a short video and dont help completely. any one there which can help properly and completely.
If you're not limited to R Studio, there is another way to access Google Sheet data from Power BI:
Sample data:
Get shareable link of the Google Sheet (Permission at least Anyone with the link can view):
Modify the shareable link and add the following parts:
From:
https://docs.google.com/spreadsheets/d/google-sheet-guid/edit?usp=sharing
To:
https://docs.google.com/spreadsheets/d/google-sheet-guid/export?format=xlsx&id=google-sheet-guid
e.g.
https://docs.google.com/spreadsheets/d/1ohAz8SD6viEGIrcor-JC-vCt2yRbgY1c-7Uflv-_hrA/edit?usp=sharing
->
https://docs.google.com/spreadsheets/d/1ohAz8SD6viEGIrcor-JC-vCt2yRbgY1c-7Uflv-_hrA/export?format=xlsx&id=1ohAz8SD6viEGIrcor-JC-vCt2yRbgY1c-7Uflv-_hrA
Create a blank query in Power BI and get the source as below:
let
Source = Excel.Workbook(Web.Contents("the-link-in-step-2"), null, true)
in
Source
If you drill into the Table cell you should be able to see the data and work from there.
An easier way:
Go to Get data, search Web.
Select Web
Select Web
on the URL.
-> Modify the URL.
From:
https://docs.google.com/spreadsheets/d/emphasized textgoogle-sheet-guid/edit?usp=sharing
To:
https://docs.google.com/spreadsheets/d/google-sheet-guid/export?format=xlsx&id=google-sheet-guid
Paste.
Paste link
And there is your sheet.
Select your sheet
To build upon #Joseph A's perfect answer, if you would like to make it refreshable after publishing your report to the Power BI service from Desktop:
Navigate to the workspace where the report is published (i.e. My Workspace)
Click Datasets
Under Actions, click the ellipses and choose Settings
Expand Data source credentials and click Edit Credentials
Change Authentication method to Basic
Enter User Name and Password of Google Docs account where the file resides and click Sign In
Your report can now be refreshed and updated (manually or scheduled) to reflect changes in your Google Sheets doc!