google-docs

Google Docs spreadsheet formula for most frequent keywords

心不动则不痛 提交于 2019-12-05 16:18:56
I wonder if there is a formula in Google Docs Spreadsheet which could identify and display (for example in column D) the most frequent (key)words in a spreadsheet? Let's say that I have a column (Column B) full of tweets (see example image) and I would like to find top keywords in the column B and display them in column D. Is there a way to do that? Thank you! To return the top 10 individual words in column B, with their frequency, try: =ArrayFormula(QUERY(TRANSPOSE(SPLIT(JOIN(" ";B3:B);" ")&{"";""});"select Col1, count(Col2) group by Col1 order by count(Col2) desc limit 10 label Col1 'Word',

Google drive unable to share

时光毁灭记忆、已成空白 提交于 2019-12-05 12:52:50
I cannot share on my google drive. I've tried all the usual stuff (turning it off and on again, clearing cashe, cookies etc.), and all I get is the message 'Sorry, sharing is unavailable at this time. Please try again later.' No ideas of how to go about this. Any ideas? Clearing cookies and browsing history fixed this for me. For sure it is something to do with browser settings, I would suggest upload your docs via laptop or desktop and you can later share it from mobile device. This is not the actual solution but a work around. Hope this will help. Try with another browser to see if it works.

How to merge data from different sheets that use the same template?

强颜欢笑 提交于 2019-12-05 12:37:41
I have one spreadsheet which has 5 sheets All the sheets share the same template, so they are alike. The only difference is the data I would like to make another sheet, whichs gets all the data from column A3 (from row 3 to the end) in sheet 1,2,3,4,5, and puts it in 1 column in my new sheet. How is this possible? I am using Google Docs, but i guess Excel and Google Docs are much alike. Thanks =CONCATENATE(Sheet1!A:A,",",Sheet2!A:A,",",Sheet3!A:A,",",Sheet4!A:A,",",sheet5!(A:A)) This will concatenate A1,A1,A1,A1,A1 for sheets 1-5 on sheet 6. Drag it down to concatenate by cells (A2 then A3).

a script for google spreadsheet to provide multiple hyperlink choice for one cell

99封情书 提交于 2019-12-05 11:04:20
I have a google spreadsheet. In some cells, it has multiple names(strings) that I would like to associate with individual hyperlinks. E.g. if I have a cell such as "Charles Darwin", it's easy for me to create a hyperlink out of this name by doing something like =Hyperlink(VLOOKUP("Charles Darwin", People!$A$1:$B$738, 2, false), "Charles Darwin") (note that I have a "People" sheet from which I grab the hyperlink) But if I happen to have multiple entries in that cell, say ";" or newline separated, e.g., "Charles Darwin; George Washington", I can't do that. I'd like to give the user an ability to

Programmatically edit a Google doc with JavaScript

我的梦境 提交于 2019-12-05 10:35:07
What I'm trying to do is run some JavaScript code that will enter text into a Google doc. What I have done so far is create an iframe element on my personal web page that embeds Google Docs. What I want to do, for now, is use functions from Google's source code to input the text. When I use the Chrome inspector along with a js beautifier, I found that if I listen for a keypress event, I get brought to the following code segment: function dKa() { var a = eKa, b = TJa ? function(c) { return a.call(b.src, b.key, c) } : function(c) { c = a.call(b.src, b.key, c); if (!c) return c }; return b } I

How to find where user's cursor is in Document-bound script

烈酒焚心 提交于 2019-12-05 08:00:47
问题 I have a google apps script that is container-bound to a Google Document, and invoked from a custom menu. I would like it to be able to act upon the currently selected text, but I have not found a way for the script to know what text is selected. My hope is that I could make this code work. The addMyLink() function will attach a custom url (based on some baseUrl ) to the selected text. function onOpen() { DocumentApp.getUi().createMenu('Linker') .addItem('Add awesome link', 'addMyLink')

How to disable pop-out option in pdf viewer with google doc iframe?

最后都变了- 提交于 2019-12-05 03:38:30
I am using following code to display pdf using google with iframe.. It's working fine. But I want to disable "pop-out" option (which on click opening my pdf in new tab with google docs) shown on right upper corner beside zoomin option on my webpage. Is it possible? Currently I am using following code - <iframe src="http://docs.google.com/gview?url=http://example.com/files/myfile.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"> Run this javascript (sample with jQuery) on your page (I assume the class is the same for all clients) $('.ndfHFb-c4YZDc-Wrql6b').remove(); The

Thumbnail link of a google doc doesn't work

此生再无相见时 提交于 2019-12-05 03:24:58
问题 I had done a java code to get the thumbnail link to the image of a google document file.getThumbnailLink() this code was working until the last thursday or friday, and now doesn't work... the result i'm getting is a message "Not Found Error 404" for the url: "https://docs.google.com/a/se.pe/feeds/vt?gd=true&id=1dDEYCOQTlpSy5izlcNz0dAq12ooD3cB5Gdqc1Wd4VV4&v=1&s=AMedNnoAAAAAUq9UYeDxDIprZfC2V8RnJd4gxWeVaXLw&sz=s220". I think google has changed the format of this url, for example in the drive

Reading Google docs spreadsheet

冷暖自知 提交于 2019-12-05 01:41:53
问题 Is it possible to pull rows from a Google Docs spreadsheet using PHP? In SQL I would use something like: SELECT * FROM table WHERE field = 'value' LIMIT 1 Is there a way to do this? I've heard you are supposed to use a 'Zend' framework, but I haven't been able to figure that out either. Any help would be appreciated 回答1: From the Zend_Gdata documentation: <?php $query = new Zend_Gdata_Spreadsheets_ListQuery(); $query->setSpreadsheetKey($spreadsheetKey); $query->setWorksheetId($worksheetId);

Proper way to deal with UrlFetch rate limit without random Utilities.sleep?

半腔热情 提交于 2019-12-05 01:15:29
问题 Our add-on for Google Sheets provides users with an extended library of functions. The problem is, each function run does a UrlFetch. So if users drag a column down > 100 times, they will likely see the error: "Error: Service invoked too many times in a short time: urlfetch". Apparently a common solution is to add a random bit of sleep before the UrlFetch function (eg https://productforums.google.com/forum/#!topic/docs/_lgg9hbU6k8). But is there no other way to solve this? After testing with