qid int64 4 8.14M | question stringlengths 20 48.3k | answers list | date stringlengths 10 10 | metadata list | input stringlengths 12 45k | output stringlengths 2 31.8k |
|---|---|---|---|---|---|---|
88,497 | <p>I have the following data in a google spread sheet. </p>
<pre><code>ColumnA ColumnB
=======================
Bus 205
Train 10
Train 10
Fruit 10
</code></pre>
<p>I want to sum all ColumnB where ColumnA is equal to either Bus or Train. </p>
<p>I know that I can sum a... | [
{
"answer_id": 88478,
"author": "techie007",
"author_id": 12614,
"author_profile": "https://webapps.stackexchange.com/users/12614",
"pm_score": 1,
"selected": false,
"text": "<p>Include the word \"Stock\" after the ticker symbol, so the search engine has some context to search with.</p>\... | 2016/01/09 | [
"https://webapps.stackexchange.com/questions/88497",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/42463/"
] | I have the following data in a google spread sheet.
```
ColumnA ColumnB
=======================
Bus 205
Train 10
Train 10
Fruit 10
```
I want to sum all ColumnB where ColumnA is equal to either Bus or Train.
I know that I can sum all content of B based on single v... | What you can do is do a search with the ${Ticker} symbol which will bring up the Google card showing stock quotes.
[](https://i.stack.imgur.com/9FBWg.png) |
88,512 | <p>Is it possible to add rows with a built-in function (such as <code>MIN()</code> or <code>INDIRECT()</code>) in Google Sheets?</p>
<p>I would like to fill rows in the main sheet such as </p>
<pre><code>+---+----+--------+
| A | 18 | Atext1 |
| A | 5 | Atext2 |
| C | 23 | Ctext1 |
| A | 12 | Atext3 |
| B | 0 | Bte... | [
{
"answer_id": 88478,
"author": "techie007",
"author_id": 12614,
"author_profile": "https://webapps.stackexchange.com/users/12614",
"pm_score": 1,
"selected": false,
"text": "<p>Include the word \"Stock\" after the ticker symbol, so the search engine has some context to search with.</p>\... | 2016/01/09 | [
"https://webapps.stackexchange.com/questions/88512",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/107474/"
] | Is it possible to add rows with a built-in function (such as `MIN()` or `INDIRECT()`) in Google Sheets?
I would like to fill rows in the main sheet such as
```
+---+----+--------+
| A | 18 | Atext1 |
| A | 5 | Atext2 |
| C | 23 | Ctext1 |
| A | 12 | Atext3 |
| B | 0 | Btest1 |
+---+----+--------+
```
Then, I wou... | What you can do is do a search with the ${Ticker} symbol which will bring up the Google card showing stock quotes.
[](https://i.stack.imgur.com/9FBWg.png) |
88,517 | <p>I have a column of strings like this:</p>
<pre><code>+---------+
| a bb |
| ccc d |
| ee ffff |
+---------+
</code></pre>
<p>(exactly one space in each string), which I'd like to split by the space into two columns: </p>
<pre><code>+-----+------+
| a | bb |
| ccc | d |
| ee | ffff |
+-----+------+
</... | [
{
"answer_id": 88531,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 2,
"selected": false,
"text": "<h1>Short answer</h1>\n\n<pre><code>=ArrayFormula(\n {\n Left(A1:A3,FIND(\" \",A1:A3)-SIGN(ROW(A1:A3))),\n ... | 2016/01/09 | [
"https://webapps.stackexchange.com/questions/88517",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I have a column of strings like this:
```
+---------+
| a bb |
| ccc d |
| ee ffff |
+---------+
```
(exactly one space in each string), which I'd like to split by the space into two columns:
```
+-----+------+
| a | bb |
| ccc | d |
| ee | ffff |
+-----+------+
```
This can be done by putting `B1 =... | Google introduced a built-in tool for this purpose: [Split text to columns](http://googleappsupdates.blogspot.com/2016/03/easily-convert-text-to-columns-in.html).
1. Select a range to split, keeping in mind the separator menu will be at the bottom of this range (this is not very convenient for splitting a very tall c... |
88,529 | <p>I want to check everything I posted a particular month many years ago.</p>
<p>I could scroll down all the way, but scrolling all these years takes forever and makes my browser really slow.</p>
<p>How to show my timeline only for a particular month, for instance December 2009?</p>
| [
{
"answer_id": 88530,
"author": "nic",
"author_id": 1374,
"author_profile": "https://webapps.stackexchange.com/users/1374",
"pm_score": 2,
"selected": false,
"text": "<h3>Mouse and click method</h3>\n\n<ol>\n<li>Go to your timeline</li>\n<li>Scroll down a bit</li>\n<li>The menu below app... | 2016/01/10 | [
"https://webapps.stackexchange.com/questions/88529",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/1374/"
] | I want to check everything I posted a particular month many years ago.
I could scroll down all the way, but scrolling all these years takes forever and makes my browser really slow.
How to show my timeline only for a particular month, for instance December 2009? | ### Mouse and click method
1. Go to your timeline
2. Scroll down a bit
3. The menu below appears, just select a year and a month:
[](https://i.stack.imgur.com/Jmqz1.png)
### URL method
Replace your id and the year/month then paste it in your browse... |
88,543 | <p>I had a working Google Spreadsheet where when new responses were filled in on the form, they would automatically get textwrapped on the Form Responses sheet. </p>
<p>Now recently I had to remake this spreadsheet and I just can't seem to figure out how to do that, automatically that is. </p>
<p>I know about 'paint ... | [
{
"answer_id": 88548,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>The only way I found to do this is with a script. </p>\n\n<p>Step 1: Go to Tools > Script Editor and put the followin... | 2016/01/10 | [
"https://webapps.stackexchange.com/questions/88543",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/111989/"
] | I had a working Google Spreadsheet where when new responses were filled in on the form, they would automatically get textwrapped on the Form Responses sheet.
Now recently I had to remake this spreadsheet and I just can't seem to figure out how to do that, automatically that is.
I know about 'paint format' and the t... | The only way I found to do this is with a script.
Step 1: Go to Tools > Script Editor and put the following code there:
```
function wrap(e) {
e.range.setWrap(true);
}
```
Step 2: Still in Script Editor, go to Resources > Current project's triggers, and select from dropdowns "wrap", "From spreadsheet", "On form... |
88,549 | <p>When I look at the current Twitter trends for the United States, I find tags like:</p>
<ul>
<li><code>#SEAvsMIN</code></li>
<li><code>#SundayFunday</code></li>
<li><code>#IShouldNotBeAllowed</code></li>
<li><code>#MakeAShowChildish</code></li>
</ul>
<p>When investigating further, one can find out, that by <code>#S... | [
{
"answer_id": 88548,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>The only way I found to do this is with a script. </p>\n\n<p>Step 1: Go to Tools > Script Editor and put the followin... | 2016/01/10 | [
"https://webapps.stackexchange.com/questions/88549",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/81637/"
] | When I look at the current Twitter trends for the United States, I find tags like:
* `#SEAvsMIN`
* `#SundayFunday`
* `#IShouldNotBeAllowed`
* `#MakeAShowChildish`
When investigating further, one can find out, that by `#SEAvsMIN` the [NFC match between Seattle Seahawks Minnesota Vikings](http://www.oregonlive.com/nfl/... | The only way I found to do this is with a script.
Step 1: Go to Tools > Script Editor and put the following code there:
```
function wrap(e) {
e.range.setWrap(true);
}
```
Step 2: Still in Script Editor, go to Resources > Current project's triggers, and select from dropdowns "wrap", "From spreadsheet", "On form... |
88,575 | <p>In Google Spreadsheet I am having the following issue:</p>
<p>I am using <code>Session.getActiveUser().getUserLoginId()</code> to fetch the current user's email id but other than creator of the spreadsheet it is returning empty string. I have also used <code>getEffectiveUser()</code> but no help.</p>
<p>I have eve... | [
{
"answer_id": 88577,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": false,
"text": "<h1>Short answer</h1>\n\n<p><code>getUserLoginID</code> is deprecated. Instead use <code>getMail</code>.</p>\n\n<h1>E... | 2016/01/11 | [
"https://webapps.stackexchange.com/questions/88575",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/112075/"
] | In Google Spreadsheet I am having the following issue:
I am using `Session.getActiveUser().getUserLoginId()` to fetch the current user's email id but other than creator of the spreadsheet it is returning empty string. I have also used `getEffectiveUser()` but no help.
I have even deployed this to "User accessing the ... | Short answer
============
`getUserLoginID` is deprecated. Instead use `getMail`.
Explanation
===========
From <https://developers.google.com/apps-script/reference/base/user>
getuserLoginID()
----------------
>
> Deprecated. As of June 24, 2013, replaced by getEmail()
>
>
>
getEmail()
----------
>
> Gets the... |
88,621 | <p>I would like to define a custom function in Google Sheet. This function should do something very simple, yet I have not managed to find how to do it. I am very confused with all the answers I read because I can't find a clear reference about dealing with dates in google scripts.</p>
<p>From what I understand, basic... | [
{
"answer_id": 88624,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": false,
"text": "<h1>Short answer</h1>\n\n<p>Below two custom functions are presented as examples of how Google Sheets and Google Apps... | 2016/01/12 | [
"https://webapps.stackexchange.com/questions/88621",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/107474/"
] | I would like to define a custom function in Google Sheet. This function should do something very simple, yet I have not managed to find how to do it. I am very confused with all the answers I read because I can't find a clear reference about dealing with dates in google scripts.
From what I understand, basic date mani... | ### Getting and setting datetime values
Whenever your script calls `.getValue()` on a cell formatted as a date, date-time, or duration, it gets a [JavaScript Date object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date). You can then apply various methods listed on that MDN page t... |
88,688 | <p>My ultimate goal is to export a list of my Kindle purchase history. It doesn't look like that is possible on Amazon's site. Amazon has an integration with Goodreads and Goodreads allows you to export your information.</p>
<p><a href="http://www.goodreads.com/amazon_purchases" rel="nofollow">http://www.goodreads.com... | [
{
"answer_id": 88692,
"author": "Steve Moser",
"author_id": 9188,
"author_profile": "https://webapps.stackexchange.com/users/9188",
"pm_score": 3,
"selected": false,
"text": "<p>I found the button class for the 'Want to Read' button and looped through and clicked them all by running this... | 2016/01/14 | [
"https://webapps.stackexchange.com/questions/88688",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/9188/"
] | My ultimate goal is to export a list of my Kindle purchase history. It doesn't look like that is possible on Amazon's site. Amazon has an integration with Goodreads and Goodreads allows you to export your information.
<http://www.goodreads.com/amazon_purchases>
The problem is that you have to click on every book to a... | I found the button class for the 'Want to Read' button and looped through and clicked them all by running this Javascript in the console.
```
var buttonArray = document.getElementsByClassName('w-button-common w-button-unfollow'); for(var a=0;a<buttonArray.length;a++){ buttonArray[a].click(); }
``` |
88,693 | <p><a href="https://hangouts.google.com/">https://hangouts.google.com/</a> puts some picture as background by default. How to remove it, i.e. leave a monocolor background?</p>
<p>With photo:</p>
<p><a href="https://i.stack.imgur.com/y3tfT.jpg"><img src="https://i.stack.imgur.com/y3tfT.jpg" alt="enter image descriptio... | [
{
"answer_id": 88707,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": false,
"text": "<h1>Short answer</h1>\n\n<p>Use a custom CSS manager and apply the below code to <a href=\"https://hangouts.google.co... | 2016/01/14 | [
"https://webapps.stackexchange.com/questions/88693",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/18147/"
] | <https://hangouts.google.com/> puts some picture as background by default. How to remove it, i.e. leave a monocolor background?
With photo:
[](https://i.stack.imgur.com/y3tfT.jpg)
Without photo:
[ from one sheet to another, but ... | [
{
"answer_id": 88747,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": true,
"text": "<h1>Short answer</h1>\n<ol>\n<li>Add a new sheet.</li>\n<li>Add the following formulas to the new sheet</li>\n</ol>\n<... | 2016/01/15 | [
"https://webapps.stackexchange.com/questions/88736",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/51806/"
] | I'm trying to develop a solution using Google Forms with Google Sheets that will collect Google Forms data and then automatically divide that one form submission's data into multiple rows of data in another sheet.
I've learned how to QUERY data (thanks to many of you on here) from one sheet to another, but I don't kn... | Short answer
============
1. Add a new sheet.
2. Add the following formulas to the new sheet
Cell A2 -> Headers
```
=OFFSET('Form responses 1'!$A$2,ceiling((row()-1)/5,1)-1,0)
```
This could be repeated several times, one for each header column, just change the last parameter accordingly.
Cell B2 -> data
```
=... |
88,763 | <p>I'm trying to filter a long list of URLs to narrow down which ones I'm interested in. I've got my URL list in Google Spreadsheet and I'm using the filter tool to remove data that I don't want. </p>
<p>At the moment using the filter setting: Filter by condition, text does not contain. </p>
<p>This works fine but so... | [
{
"answer_id": 88767,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 6,
"selected": true,
"text": "<p>You can filter using a <a href=\"https://support.google.com/docs/answer/3098292?hl=en\" rel=\"noreferrer\">regular ex... | 2016/01/16 | [
"https://webapps.stackexchange.com/questions/88763",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/21773/"
] | I'm trying to filter a long list of URLs to narrow down which ones I'm interested in. I've got my URL list in Google Spreadsheet and I'm using the filter tool to remove data that I don't want.
At the moment using the filter setting: Filter by condition, text does not contain.
This works fine but so far I've only be... | You can filter using a [regular expression](https://support.google.com/docs/answer/3098292?hl=en). Use the options Filter by condition > Custom formula is...
```
=not(regexmatch(N:N, "(?i)facebook|pinterest|twitter"))
```
to see only the strings that do not contain one of the above.
Here N is the column you're fil... |
88,774 | <p>I've started using Google Sheets for our logbook and it's been a great help. I have data with a time component in it (start and end time) and I'd like to query or filter the data where the start time is past 3:00 pm. I tried looking it up but most answers are with regards to the date. Any help, please? Column C c... | [
{
"answer_id": 88782,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>The query would be like this: </p>\n\n<pre><code>=query(A:D, \"select * where C > timeofday '15:00:00' \")\n</cod... | 2016/01/17 | [
"https://webapps.stackexchange.com/questions/88774",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/112613/"
] | I've started using Google Sheets for our logbook and it's been a great help. I have data with a time component in it (start and end time) and I'd like to query or filter the data where the start time is past 3:00 pm. I tried looking it up but most answers are with regards to the date. Any help, please? Column C contain... | The query would be like this:
```
=query(A:D, "select * where C > timeofday '15:00:00' ")
```
(or >= if you want to include 3 PM sharp)
Here, the single-quoted string 15:00:00 is preceded by the keyword `timeofday`, indicating its meaning. This is similar to how date strings are preceded by `date`. Note that the f... |
88,776 | <p>I have a Google Sheets contact list for a multicampus boarding school. The sheet at present summarizes the contact info for each person into the first 4 cells of the row. Entry is made using the rest of the columns. This overall makes editing and sorting far easier.</p>
<p>The kind of thing I would like to do:</... | [
{
"answer_id": 88795,
"author": "daniel",
"author_id": 112235,
"author_profile": "https://webapps.stackexchange.com/users/112235",
"pm_score": 2,
"selected": true,
"text": "<p>You need to write a script and publish it as a Web app.</p>\n\n<p>You can't do that with just Google Sheets. Req... | 2016/01/17 | [
"https://webapps.stackexchange.com/questions/88776",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/65339/"
] | I have a Google Sheets contact list for a multicampus boarding school. The sheet at present summarizes the contact info for each person into the first 4 cells of the row. Entry is made using the rest of the columns. This overall makes editing and sorting far easier.
The kind of thing I would like to do:
A: Only the s... | You need to write a script and publish it as a Web app.
You can't do that with just Google Sheets. Requirement (C) requires custom script. Unfortunately, for the viewers to use the script, you need to grant them full edit permission, which contradict your requirement (B). |
88,838 | <p>I am trying to display times in Google Sheets without an AM/PM indicator, but with 12-hour time (not 24-hour "military-style" time). I do not need the AM/PM indicator as it is redundant in my situation.</p>
<p>I'm currently using a custom date and time format:</p>
<pre><code>[Hour (1)]:[Minute (01)][AM/PM (p)]
</c... | [
{
"answer_id": 88863,
"author": "MaryC.fromNZ",
"author_id": 2314,
"author_profile": "https://webapps.stackexchange.com/users/2314",
"pm_score": 2,
"selected": false,
"text": "<p>Good question: I just looked expecting to find an option under <strong>Format > Number > More Formats > Cus... | 2016/01/18 | [
"https://webapps.stackexchange.com/questions/88838",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/12549/"
] | I am trying to display times in Google Sheets without an AM/PM indicator, but with 12-hour time (not 24-hour "military-style" time). I do not need the AM/PM indicator as it is redundant in my situation.
I'm currently using a custom date and time format:
```
[Hour (1)]:[Minute (01)][AM/PM (p)]
```
...which displays ... | It's not possible without a formula. Separate time storing from time displaying by using one cell to store the time and another to display it in the desired format by using a formula like the following
```
=HOUR(A1)&":"&TEXT(MINUTE(A1),"00")
``` |
88,840 | <p>This doesn't seem like it should be difficult. I'm keeping a running decremented total owed, where each line may apply some payment against the outstanding debt. Basically:</p>
<pre><code>A: Outstanding Owed | B: Amount Applied | Other Fields
R2: 5000 | 1000
R3: 4000 | ... | [
{
"answer_id": 88842,
"author": "daniel",
"author_id": 112235,
"author_profile": "https://webapps.stackexchange.com/users/112235",
"pm_score": -1,
"selected": false,
"text": "<p>You can't use arrayformula. You need to use INDIRECT function. See:\n<a href=\"https://docs.google.com/spreads... | 2016/01/19 | [
"https://webapps.stackexchange.com/questions/88840",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/112766/"
] | This doesn't seem like it should be difficult. I'm keeping a running decremented total owed, where each line may apply some payment against the outstanding debt. Basically:
```
A: Outstanding Owed | B: Amount Applied | Other Fields
R2: 5000 | 1000
R3: 4000 | 100
R4:... | Short answer
============
Add the following formula to A3
```
=ArrayFormula(
A2
-
MMULT(
N(ROW(B2:B5)>=TRANSPOSE(ROW(B2:B5)))
*
Transpose(B2:B5),
SIGN(ROW(B2:B5))
)
)
```
Explanation
===========
To the initial value, A2, subtract the cumulative sum down column, also called runnin... |
88,886 | <p>I use Gmail as my default email client. What do I have to do to have <code>mailto:x@y.com</code> open Gmail instead of opening the standard Windows email program?</p>
| [
{
"answer_id": 88888,
"author": "dimitrieh",
"author_id": 108942,
"author_profile": "https://webapps.stackexchange.com/users/108942",
"pm_score": 2,
"selected": false,
"text": "<p>When using Google Chrome check the following link: <a href=\"http://lifehacker.com/5883372/set-gmail-as-your... | 2016/01/19 | [
"https://webapps.stackexchange.com/questions/88886",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/2264/"
] | I use Gmail as my default email client. What do I have to do to have `mailto:x@y.com` open Gmail instead of opening the standard Windows email program? | When using Google Chrome check the following link: <http://lifehacker.com/5883372/set-gmail-as-your-browsers-default-email-client-with-a-simple-hack>
Basically the following:
Open Gmail in Chrome. Press Ctrl+Shift+J (Windows) or Cmd+Opt+J (Mac) to open Chrome's built-in JavaScript console.
Paste the following into t... |
88,927 | <p>How I can add placeholder in my input/textarea fields?</p>
| [
{
"answer_id": 88888,
"author": "dimitrieh",
"author_id": 108942,
"author_profile": "https://webapps.stackexchange.com/users/108942",
"pm_score": 2,
"selected": false,
"text": "<p>When using Google Chrome check the following link: <a href=\"http://lifehacker.com/5883372/set-gmail-as-your... | 2016/01/20 | [
"https://webapps.stackexchange.com/questions/88927",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/112929/"
] | How I can add placeholder in my input/textarea fields? | When using Google Chrome check the following link: <http://lifehacker.com/5883372/set-gmail-as-your-browsers-default-email-client-with-a-simple-hack>
Basically the following:
Open Gmail in Chrome. Press Ctrl+Shift+J (Windows) or Cmd+Opt+J (Mac) to open Chrome's built-in JavaScript console.
Paste the following into t... |
88,959 | <p>N/A error showing on following query:</p>
<pre><code>=importhtml("http://www.barchart.com/commodityfutures/Cotton_%232_Futures/CT?search=CT*","table",1)
</code></pre>
<p>and </p>
<pre><code>=Importhtml(A2,"table",1)
</code></pre>
<p>Also table id is <code>dt1</code>.</p>
| [
{
"answer_id": 88969,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 2,
"selected": false,
"text": "<p>On mouse over the cell's top right corner, Google Sheets shows extended error description \"Import Internal Error\... | 2016/01/21 | [
"https://webapps.stackexchange.com/questions/88959",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/112998/"
] | N/A error showing on following query:
```
=importhtml("http://www.barchart.com/commodityfutures/Cotton_%232_Futures/CT?search=CT*","table",1)
```
and
```
=Importhtml(A2,"table",1)
```
Also table id is `dt1`. | On mouse over the cell's top right corner, Google Sheets shows extended error description "Import Internal Error":
[](https://i.stack.imgur.com/EF6nt.png)
That means that there is an error one the Google side. You could report it by clicking in Help > Repor... |
88,965 | <p>I have data in two columns. I would like to sum the two columns (A and B) based on the max value in each row and a condition (c) indicating if the row should be included in the sum. Example:</p>
<pre>
A B C
1 4 No
2 3 Yes
3 2 Yes
2 1 Yes
1 0 Yes
</pre>
<p>The result would be 3+3... | [
{
"answer_id": 88966,
"author": "PFitz",
"author_id": 81279,
"author_profile": "https://webapps.stackexchange.com/users/81279",
"pm_score": 0,
"selected": false,
"text": "<p>I'm sure there is a one-cell solution, but you can just put the following formula in a helper column:</p>\n\n<bloc... | 2016/01/20 | [
"https://webapps.stackexchange.com/questions/88965",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I have data in two columns. I would like to sum the two columns (A and B) based on the max value in each row and a condition (c) indicating if the row should be included in the sum. Example:
```
A B C
1 4 No
2 3 Yes
3 2 Yes
2 1 Yes
1 0 Yes
```
The result would be 3+3+2+1=9. Data ... | In your particular example, you can use a `SUMPRODUCT` formula.
```
=SUMPRODUCT((A1:A5*(A1:A5>=B1:B5)*(C1:C5="Yes"))+(B1:B5*(B1:B5>A1:A5)*(C1:C5="Yes")))
```
This approach may be clumsy in your real world example, though. If your real data is more complicated, post a snippet that shows that complication and I can ta... |
88,983 | <p><strong>The problem:</strong>
Outlook.com is automatically deleting Sent Mail messages from the Sent folder after three days. I want it to retain Sent messages until I <em>choose</em> to delete them.</p>
<p><strong>Background:</strong>
This issue started about a year ago. At that time, I had several Outlook.com ... | [
{
"answer_id": 88966,
"author": "PFitz",
"author_id": 81279,
"author_profile": "https://webapps.stackexchange.com/users/81279",
"pm_score": 0,
"selected": false,
"text": "<p>I'm sure there is a one-cell solution, but you can just put the following formula in a helper column:</p>\n\n<bloc... | 2016/01/21 | [
"https://webapps.stackexchange.com/questions/88983",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/113031/"
] | **The problem:**
Outlook.com is automatically deleting Sent Mail messages from the Sent folder after three days. I want it to retain Sent messages until I *choose* to delete them.
**Background:**
This issue started about a year ago. At that time, I had several Outlook.com email addresses (and the aliases associated ... | In your particular example, you can use a `SUMPRODUCT` formula.
```
=SUMPRODUCT((A1:A5*(A1:A5>=B1:B5)*(C1:C5="Yes"))+(B1:B5*(B1:B5>A1:A5)*(C1:C5="Yes")))
```
This approach may be clumsy in your real world example, though. If your real data is more complicated, post a snippet that shows that complication and I can ta... |
88,994 | <p>I have this, in D1:</p>
<pre><code>=sum(D3:D)
</code></pre>
<p>I want D1 to always be the sum of the rest of column D (D2 is a header)</p>
<p>I sometimes move a row, from eg 8 to 3, and that causes D1 to change to sum(d4:d). </p>
<p>I want D1 to stay as my sum of the column.</p>
| [
{
"answer_id": 88995,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 6,
"selected": true,
"text": "<h1>Short answer</h1>\n<p>Use <code>=SUM(INDIRECT("D2:D"))</code></p>\n<h1>Explanation</h1>\n<p>Google Sheet... | 2016/01/21 | [
"https://webapps.stackexchange.com/questions/88994",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/86824/"
] | I have this, in D1:
```
=sum(D3:D)
```
I want D1 to always be the sum of the rest of column D (D2 is a header)
I sometimes move a row, from eg 8 to 3, and that causes D1 to change to sum(d4:d).
I want D1 to stay as my sum of the column. | Short answer
============
Use `=SUM(INDIRECT("D2:D"))`
Explanation
===========
Google Sheets will update A1 notation references when rows or columns are inserted, so if you need that a reference never changes, instead you have to use a string and the INDIRECT() function to convert it to a reference.
References
====... |
89,053 | <p>I am trying to make a guide for my dragons on a game I play but I'm not quite sure how to code what I am trying to do.</p>
<p><a href="https://docs.google.com/spreadsheets/d/1PURfotvh3u89UxGnqk6idlhzxw2sBAXQaPjX3jAZa0c/edit?usp=sharing" rel="nofollow noreferrer">Link</a></p>
<p><strong>Example:</strong> if has val... | [
{
"answer_id": 89057,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>Given the numbers</p>\n\n<pre><code>8.97\n11.57\n14.17\n16.76\n19.36\n</code></pre>\n\n<p>compute the midpoints betw... | 2016/01/23 | [
"https://webapps.stackexchange.com/questions/89053",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/113172/"
] | I am trying to make a guide for my dragons on a game I play but I'm not quite sure how to code what I am trying to do.
[Link](https://docs.google.com/spreadsheets/d/1PURfotvh3u89UxGnqk6idlhzxw2sBAXQaPjX3jAZa0c/edit?usp=sharing)
**Example:** if has values "Guardian"(C2:C100) and "Dragoness"(I2:I100) in its row then fi... | Given the numbers
```
8.97
11.57
14.17
16.76
19.36
```
compute the midpoints between them (using the spreadsheet or otherwise):
```
10.27
12.87
15.465
18.06
```
If a number is less than 10.27, then the closest value to it is 8.97. Otherwise: if the number is less than 12.87, the closest is 11.57. Otherwise... and... |
89,063 | <p>I am attempting to change the value of a cell in Google Sheets based on the value of an adjacent cell. This adjacent cell gets its value from the colour of the cell adjacent to it using the formula from <a href="https://www.quora.com/How-can-I-filter-by-color-in-Google-Sheets" rel="noreferrer">this</a> Quora answer.... | [
{
"answer_id": 89068,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 5,
"selected": false,
"text": "<h1>Short answer</h1>\n<p>The problem in the examples provided are the parenthesis. Apply them properly.</p>\n<h1>Exp... | 2016/01/23 | [
"https://webapps.stackexchange.com/questions/89063",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I am attempting to change the value of a cell in Google Sheets based on the value of an adjacent cell. This adjacent cell gets its value from the colour of the cell adjacent to it using the formula from [this](https://www.quora.com/How-can-I-filter-by-color-in-Google-Sheets) Quora answer. So the value of the cell shoul... | Use [`lookup`](https://support.google.com/docs/answer/3256570/?hl=en&authuser=0) instead of `if`:
```
=lookup(B7,
{"#000000","#00ff00","#ff0000","#ff9900"},
{"Not applicable", "Read","Unread","In Progress"}
)
```
Note the second parameter must be a sorted list. |
89,096 | <p>I run a startup and we send quite a lot of emails. I've started to BCC these emails that my software sends to myself as an alias. For example:</p>
<p><code>layke@example.com</code> might be my main email and I'm now sending them to</p>
<p><code>layke+blind@example.com</code> as a bcc to field, (in addition to the ... | [
{
"answer_id": 89097,
"author": "Aganju",
"author_id": 110907,
"author_profile": "https://webapps.stackexchange.com/users/110907",
"pm_score": 2,
"selected": false,
"text": "<p>The whole idea of bcc is that the recipients <em>don't see</em> who is on bcc. That includes all receivers, eve... | 2016/01/22 | [
"https://webapps.stackexchange.com/questions/89096",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/113311/"
] | I run a startup and we send quite a lot of emails. I've started to BCC these emails that my software sends to myself as an alias. For example:
`layke@example.com` might be my main email and I'm now sending them to
`layke+blind@example.com` as a bcc to field, (in addition to the clients email as the main "to" field).
... | You need to filter on the `delivered-to` header.
Fortunately, Gmail allows you to do that.
Use the [advanced search](https://support.google.com/mail/answer/7190/) flag in the "has the words" field for your filter. For example:
```
deliveredto:layke+blind@example.com
```
You can probably even shorten it to
```
d... |
89,108 | <p>I am using the formula from <a href="https://webapps.stackexchange.com/questions/88497/sum-a-column-if-another-column-contains-any-of-the-values">this question</a></p>
<pre><code>=ArrayFormula(sum(sumif(A:A,{"Bus";"Train"},B:B)))
</code></pre>
<p>I am planning to use it for multiple categories. For example the abo... | [
{
"answer_id": 89097,
"author": "Aganju",
"author_id": 110907,
"author_profile": "https://webapps.stackexchange.com/users/110907",
"pm_score": 2,
"selected": false,
"text": "<p>The whole idea of bcc is that the recipients <em>don't see</em> who is on bcc. That includes all receivers, eve... | 2016/01/24 | [
"https://webapps.stackexchange.com/questions/89108",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/42463/"
] | I am using the formula from [this question](https://webapps.stackexchange.com/questions/88497/sum-a-column-if-another-column-contains-any-of-the-values)
```
=ArrayFormula(sum(sumif(A:A,{"Bus";"Train"},B:B)))
```
I am planning to use it for multiple categories. For example the above can a sum of my `travel` category ... | You need to filter on the `delivered-to` header.
Fortunately, Gmail allows you to do that.
Use the [advanced search](https://support.google.com/mail/answer/7190/) flag in the "has the words" field for your filter. For example:
```
deliveredto:layke+blind@example.com
```
You can probably even shorten it to
```
d... |
89,111 | <p>I have a simple PNG image on my Google Drive. How can I create a link from a Blogger blog to that image?</p>
<p>Here is what I tried:</p>
<ol>
<li><p>In Google Drive, I changed the settings of my PNG file to "Anyone on the internet can find and view".</p></li>
<li><p>In Google Drive, I copied the URL of by PNG fil... | [
{
"answer_id": 89112,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 3,
"selected": true,
"text": "<p>That is the link to the Google Drive image viewer, rather than a link to the image itself. If you check the URL for the i... | 2016/01/24 | [
"https://webapps.stackexchange.com/questions/89111",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/113281/"
] | I have a simple PNG image on my Google Drive. How can I create a link from a Blogger blog to that image?
Here is what I tried:
1. In Google Drive, I changed the settings of my PNG file to "Anyone on the internet can find and view".
2. In Google Drive, I copied the URL of by PNG file <https://drive.google.com/file/d/0... | That is the link to the Google Drive image viewer, rather than a link to the image itself. If you check the URL for the image when you visit that link, you get an URL like:
```
blob:https%3A//drive.google.com/32efcf38-d7e6-4656-9046-eede4c4880f9
```
That's not useful. You need to do a little URL manipulation of your... |
89,119 | <p>I was trawling through my spam folder (which I rarely do, because Gmail rarely has false positives) and I noticed something interesting:</p>
<p><a href="https://i.stack.imgur.com/AkCdG.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AkCdG.png" alt="sample list of spam messages"></a></p>
<p>Something like... | [
{
"answer_id": 89190,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 4,
"selected": false,
"text": "<h1>Short answer</h1>\n<p>Instead of using Gmail Filters that depends on the Gmail search feature to search for the e... | 2016/01/24 | [
"https://webapps.stackexchange.com/questions/89119",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/354/"
] | I was trawling through my spam folder (which I rarely do, because Gmail rarely has false positives) and I noticed something interesting:
[](https://i.stack.imgur.com/AkCdG.png)
Something like over half of the messages have at least one animated emoji... | Short answer
============
Instead of using Gmail Filters that depends on the Gmail search feature to search for the encoded emojis in the orignal messages, create a script using the [GmailMessage::getRawContent()](https://developers.google.com/apps-script/reference/gmail/gmail-message#getrawcontent) method of Google A... |
89,318 | <p>I have a Google spreadsheet file and I need to convert the date column from this format: <code>Sun, May 4, 2014 4:30PM</code> to this format: <code>mm/dd/yyyy</code>. Basically, I need the date to be in a simple format and take out the “day” and “time”.</p>
<p>How can I do this?</p>
<p>Here is the link to the spre... | [
{
"answer_id": 89319,
"author": "AccioBooks",
"author_id": 108130,
"author_profile": "https://webapps.stackexchange.com/users/108130",
"pm_score": 2,
"selected": false,
"text": "<p>You can use \"<a href=\"https://support.google.com/docs/answer/56470?hl=en\" rel=\"nofollow\">Custom Date F... | 2016/01/30 | [
"https://webapps.stackexchange.com/questions/89318",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/108708/"
] | I have a Google spreadsheet file and I need to convert the date column from this format: `Sun, May 4, 2014 4:30PM` to this format: `mm/dd/yyyy`. Basically, I need the date to be in a simple format and take out the “day” and “time”.
How can I do this?
Here is the link to the spreadsheet:
<https://docs.google.com/spre... | This will fix it for you:
```
=text(regexreplace("timestamp","^\w{3},",""),"MM/DD/YYYY")
```
you could also transform to remove the additional time parameter at the end with this:
```
=text(regexreplace(regexreplace("timestamp","^\w{3}, ",""), ", \d+:\d+\w+",""),"MM/DD/YYYY")
```
OR if your data consistently is f... |
89,342 | <p>In my browser, I often keep a lot of tabs open as a sort of <em>to-do/reading list</em>, and sometimes those tabs include YouTube videos.</p>
<p>Is there a way to <strong>keep a video from playing again automatically</strong> every time I reopen the browser? </p>
<p>I'm not as interested in a playlist hack or brow... | [
{
"answer_id": 89343,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 2,
"selected": false,
"text": "<p>The simplest way I've found is to add the <code>start={seconds}</code> parameter to the URL where \"{seconds}\" is equal... | 2016/01/30 | [
"https://webapps.stackexchange.com/questions/89342",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/10/"
] | In my browser, I often keep a lot of tabs open as a sort of *to-do/reading list*, and sometimes those tabs include YouTube videos.
Is there a way to **keep a video from playing again automatically** every time I reopen the browser?
I'm not as interested in a playlist hack or browser-wide setting that will turn off A... | It seems that URLs in the form of `http://youtube.com/v/{id}` don't autoplay.
So simply convert
```
https://www.youtube.com/watch?v=Zb5IH57SorQ
```
to
```
https://www.youtube.com/v/Zb5IH57SorQ
```
It also shows the video in a larger format, without all the ads, etc., surrounding it. |
89,447 | <p>Given a date, I need to calculate the percentage of its position in the year. So that 31-12-2015 would return <code>1</code>, or <code>100%</code>, because it's the 365th day of 365 days in that year. And 1-1-2015 would return 0,274% (1/365).</p>
<p>I have a long formula solution</p>
<pre><code>=MINUS(
A1;
DAT... | [
{
"answer_id": 89453,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>Here is a shorter formula that is equivalent to yours, using <a href=\"https://support.google.com/docs/answer/3092989... | 2016/02/02 | [
"https://webapps.stackexchange.com/questions/89447",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/78275/"
] | Given a date, I need to calculate the percentage of its position in the year. So that 31-12-2015 would return `1`, or `100%`, because it's the 365th day of 365 days in that year. And 1-1-2015 would return 0,274% (1/365).
I have a long formula solution
```
=MINUS(
A1;
DATE(YEAR(A1)-1;12;31)
) / MINUS(
DATE(YEAR(... | Here is a shorter formula that is equivalent to yours, using [`yearfrac`](https://support.google.com/docs/answer/3092989?hl=en):
```
=yearfrac(date(year(A1), 1, 1), A1, 1)
```
However, the formula you have is inconsistent with your description, since it returns 0 for 1-1-2015, representing that at the *beginning* o... |
89,477 | <pre><code>=index(ImportXml("https://www.google.com/finance?q=ibm", "//div[@class = 'companySummary']" ),0,1)
</code></pre>
<p>Put that anywhere in a Google sheet and it will give you a cell with a block of text. This text is in a paragraph form and takes up several lines. How do I use formulas to make it so the text ... | [
{
"answer_id": 89475,
"author": "Ogglas",
"author_id": 114145,
"author_profile": "https://webapps.stackexchange.com/users/114145",
"pm_score": 6,
"selected": true,
"text": "<p>The solution is to log into Office 365 via <a href=\"https://portal.office.com\">https://portal.office.com</a>, ... | 2016/02/03 | [
"https://webapps.stackexchange.com/questions/89477",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/62510/"
] | ```
=index(ImportXml("https://www.google.com/finance?q=ibm", "//div[@class = 'companySummary']" ),0,1)
```
Put that anywhere in a Google sheet and it will give you a cell with a block of text. This text is in a paragraph form and takes up several lines. How do I use formulas to make it so the text is one line? It's p... | The solution is to log into Office 365 via <https://portal.office.com>, click on Calendar and then click on Calendar again under "My app settings". Go to publish calendar and publish the desired calendar. Copy the ICS url created.
[](https://i.stack.imgur.com/... |
89,499 | <p>Is there any way to change Gmail date format to <a href="https://en.wikipedia.org/wiki/ISO_8601" rel="noreferrer">ISO 8601</a> (i.e., yyyy-mm-dd)?</p>
<p>Instead of :</p>
<p><a href="https://i.stack.imgur.com/OmGn5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OmGn5.png" alt="enter image description he... | [
{
"answer_id": 89509,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>I don't see a built-in way to switch to ISO format, but I wrote a <a href=\"https://github.com/normalhuman/Userscript... | 2016/02/03 | [
"https://webapps.stackexchange.com/questions/89499",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/18147/"
] | Is there any way to change Gmail date format to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (i.e., yyyy-mm-dd)?
Instead of :
[](https://i.stack.imgur.com/OmGn5.png) | I don't see a built-in way to switch to ISO format, but I wrote a [userscript](https://github.com/normalhuman/Userscripts/blob/master/gmail-iso-date.user.js) for this. Tested in Chrome with Tampermonkey. If Tampermonkey is installed, clicking Raw button in Github should prompt for script installation.
You did not ask... |
89,526 | <p>I want this: input in A1 and output in A2.</p>
<p>input: <code>0</code> output: <code>AND (A=0)</code></p>
<p>input: <code>0,1</code> output: <code>AND (A=0 OR A=1)</code></p>
<p>input: <code>0,1,2</code> output: <code>AND (A=0 OR A=1 OR A=2)</code>
etc... </p>
<p>I've tried a few things with the <code>REPT</cod... | [
{
"answer_id": 89527,
"author": "daniel",
"author_id": 112235,
"author_profile": "https://webapps.stackexchange.com/users/112235",
"pm_score": 1,
"selected": false,
"text": "<p>Suppose A1 is \"1,2,3\"</p>\n\n<pre><code>=\"AND (\" & JOIN(\" OR \",ARRAYFORMULA(\"A=\"&split(A1,\",\"... | 2016/02/04 | [
"https://webapps.stackexchange.com/questions/89526",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/62510/"
] | I want this: input in A1 and output in A2.
input: `0` output: `AND (A=0)`
input: `0,1` output: `AND (A=0 OR A=1)`
input: `0,1,2` output: `AND (A=0 OR A=1 OR A=2)`
etc...
I've tried a few things with the `REPT` function but can't get it to work. | This worked for me when I tested it with your sample strings:
```
="AND(A="&SUBSTITUTE(A1,","," OR A=")&")"
```
It basically replaces each comma with the or part of the string. |
89,557 | <p>Suppose I have a hyperlink in cell A1: <code>=hyperlink("stackexchange.com", "Stack Exchange")</code></p>
<p>Elsewhere in the sheet, I'd like to have formulas that get the link text and URL from A1, separately. I found a way to get just the link text: </p>
<pre><code>=""&A1
</code></pre>
<p>(concatenation wi... | [
{
"answer_id": 89564,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 2,
"selected": false,
"text": "<h1>Short answer</h1>\n<p>Use a custom function.</p>\n<h2>NOTE</h2>\n<p>Nowadays Google Sheets have two ways to have ... | 2016/02/05 | [
"https://webapps.stackexchange.com/questions/89557",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | Suppose I have a hyperlink in cell A1: `=hyperlink("stackexchange.com", "Stack Exchange")`
Elsewhere in the sheet, I'd like to have formulas that get the link text and URL from A1, separately. I found a way to get just the link text:
```
=""&A1
```
(concatenation with empty string). This returns "Stack Exchange",... | After seeing [Rubén's answer](https://webapps.stackexchange.com/a/89564) I decided to write a different custom function for this task, with the following features:
1. The parameter is provided as a range, not as a string: that is, `=linkURL(C2)` instead of `=linkURL("C2")`. This is consistent with how parameters usua... |
89,619 | <p>Animated GIFS <a href="http://techcrunch.com/2015/06/16/twitter-now-autoplays-video-and-gifs/" rel="nofollow">on Twitter</a> are great for capturing a meme. Downloading them is tricky, but can be done by reading the HTML source or using an external tool. </p>
<p>The problem I have is, whenever I upload an animated ... | [
{
"answer_id": 89620,
"author": "Linef4ult",
"author_id": 68359,
"author_profile": "https://webapps.stackexchange.com/users/68359",
"pm_score": 0,
"selected": false,
"text": "<p>You don't, gifs in albums wall posts will be converted to JPG stills by facebooks CDN. </p>\n\n<p>Link to the ... | 2016/02/05 | [
"https://webapps.stackexchange.com/questions/89619",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/1740/"
] | Animated GIFS [on Twitter](http://techcrunch.com/2015/06/16/twitter-now-autoplays-video-and-gifs/) are great for capturing a meme. Downloading them is tricky, but can be done by reading the HTML source or using an external tool.
The problem I have is, whenever I upload an animated gif to Facebook, it fails to animate... | Twitter generates an mp4 for an animated GIF, so you can upload it as a video to Facebook.
e.g. via the API
<https://api.twitter.com/1.1/statuses/show.json?id=479307198901026816>
```
"variants": [
{
"bitrate": 0,
"content_type": "video/mp4",
"url": "https://pbs.twimg.com/t... |
89,633 | <p>These messages from no-reply@accounts.google.com say something like this:</p>
<blockquote>
<p>Hi (my name),<br />
Someone just tried to sign in to your account (my Gmail)from an app that doesn't meet modern security standards.</p>
<p>Details:<br />
(time and date)<br />
(location)</p>
<p>We strongly reccomend to use... | [
{
"answer_id": 89620,
"author": "Linef4ult",
"author_id": 68359,
"author_profile": "https://webapps.stackexchange.com/users/68359",
"pm_score": 0,
"selected": false,
"text": "<p>You don't, gifs in albums wall posts will be converted to JPG stills by facebooks CDN. </p>\n\n<p>Link to the ... | 2016/02/07 | [
"https://webapps.stackexchange.com/questions/89633",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/114519/"
] | These messages from no-reply@accounts.google.com say something like this:
>
> Hi (my name),
>
> Someone just tried to sign in to your account (my Gmail)from an app that doesn't meet modern security standards.
>
>
> Details:
>
> (time and date)
>
> (location)
>
>
> We strongly reccomend to use a secure ap... | Twitter generates an mp4 for an animated GIF, so you can upload it as a video to Facebook.
e.g. via the API
<https://api.twitter.com/1.1/statuses/show.json?id=479307198901026816>
```
"variants": [
{
"bitrate": 0,
"content_type": "video/mp4",
"url": "https://pbs.twimg.com/t... |
89,638 | <p>This is the opposite of my question <a href="https://webapps.stackexchange.com/q/88517">Split a column of strings with a single formula returning an array</a>. I have several columns, say, A-K, which I want to join into one comma-and-space separated column L. Since more data may be added to the sheet (by a script, a... | [
{
"answer_id": 89620,
"author": "Linef4ult",
"author_id": 68359,
"author_profile": "https://webapps.stackexchange.com/users/68359",
"pm_score": 0,
"selected": false,
"text": "<p>You don't, gifs in albums wall posts will be converted to JPG stills by facebooks CDN. </p>\n\n<p>Link to the ... | 2016/02/07 | [
"https://webapps.stackexchange.com/questions/89638",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | This is the opposite of my question [Split a column of strings with a single formula returning an array](https://webapps.stackexchange.com/q/88517). I have several columns, say, A-K, which I want to join into one comma-and-space separated column L. Since more data may be added to the sheet (by a script, a user or a for... | Twitter generates an mp4 for an animated GIF, so you can upload it as a video to Facebook.
e.g. via the API
<https://api.twitter.com/1.1/statuses/show.json?id=479307198901026816>
```
"variants": [
{
"bitrate": 0,
"content_type": "video/mp4",
"url": "https://pbs.twimg.com/t... |
89,665 | <p>I want to include a full Medium article on my personal website. I know it's possible because it has been done <a href="https://thebillfold.com/theories-on-my-thrift-store-dog-mugs-or-who-paid-money-to-have-these-manufactured-562f9d5632a4#.6wa8ic5kk" rel="nofollow">here</a>. (Notice the domain is <em>not</em> <code>m... | [
{
"answer_id": 89666,
"author": "Alex",
"author_id": 1512,
"author_profile": "https://webapps.stackexchange.com/users/1512",
"pm_score": 4,
"selected": true,
"text": "<p>That’s not an embedded article, it’a <a href=\"https://medium.com/the-story/custom-domains-for-publications-8cb161d965... | 2016/02/08 | [
"https://webapps.stackexchange.com/questions/89665",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/13896/"
] | I want to include a full Medium article on my personal website. I know it's possible because it has been done [here](https://thebillfold.com/theories-on-my-thrift-store-dog-mugs-or-who-paid-money-to-have-these-manufactured-562f9d5632a4#.6wa8ic5kk). (Notice the domain is *not* `medium.com`.)
If you click on `...` on th... | That’s not an embedded article, it’a [custom domain for Medium](https://medium.com/the-story/custom-domains-for-publications-8cb161d9651#.veb6wnacs). See [here](https://medium.com/the-story/move-your-domain-to-medium-21fd74abbbe6#.bbclisiw6) for more details.
You need to create a [Medium Publication](https://medium.co... |
89,746 | <p>I use the web interface for Gmail regularly and recently noticed that one of my contacts (let's call him <code>Jim Smith</code>) has a Google+ account attached to his email address...and I cannot remove the damn thing! It might be OK if his Google+ account had the name <code>Jim Smith</code>, but unfortunately he ha... | [
{
"answer_id": 95349,
"author": "Jerry",
"author_id": 128187,
"author_profile": "https://webapps.stackexchange.com/users/128187",
"pm_score": 2,
"selected": false,
"text": "<p>This post helped me with the same problem: <a href=\"https://productforums.google.com/forum/#!topic/gmail/guDL_N... | 2016/02/09 | [
"https://webapps.stackexchange.com/questions/89746",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/114691/"
] | I use the web interface for Gmail regularly and recently noticed that one of my contacts (let's call him `Jim Smith`) has a Google+ account attached to his email address...and I cannot remove the damn thing! It might be OK if his Google+ account had the name `Jim Smith`, but unfortunately he has decided to give his Goo... | This post helped me with the same problem: <https://productforums.google.com/forum/#!topic/gmail/guDL_NmcTk4>
Basically, I used the old Contacts UI to change contact name.
1. Open Gmail Contacts
2. On the left side, click *More*
3. Click *Leave the Contacts preview* (this brings you to old UI)
4. Edit contact
5. Save |
89,770 | <p>I have a number of URLs that I first convert from text to the <code>HYPERLINK</code> function and then want to edit the title-section of this function, so that only the domain is visible in the cells.
I attached the spreadsheet with my scripts.
<a href="https://docs.google.com/spreadsheets/d/1Q2SOXstc8s7f3jKRKoW2jIh... | [
{
"answer_id": 89767,
"author": "Thomas the Tank Engine",
"author_id": 7783,
"author_profile": "https://webapps.stackexchange.com/users/7783",
"pm_score": 3,
"selected": true,
"text": "<p>Double click on the shape to start editing with the label intact.</p>\n"
},
{
"answer_id": 1... | 2016/02/10 | [
"https://webapps.stackexchange.com/questions/89770",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/110662/"
] | I have a number of URLs that I first convert from text to the `HYPERLINK` function and then want to edit the title-section of this function, so that only the domain is visible in the cells.
I attached the spreadsheet with my scripts.
[Spreadsheet](https://docs.google.com/spreadsheets/d/1Q2SOXstc8s7f3jKRKoW2jIh1ULoyzieB... | Double click on the shape to start editing with the label intact. |
89,779 | <p>I get "Promoted" tweets all the time on my Twitter feed and the majority of the time, they are just a nuisance as I've specifically selected accounts to follow and I feel like they are infringing on my feed on stuff I actually want to read. I know some have a "Dismiss" option but not all. Is there a way around this?... | [
{
"answer_id": 89825,
"author": "jbwharris",
"author_id": 82790,
"author_profile": "https://webapps.stackexchange.com/users/82790",
"pm_score": 2,
"selected": false,
"text": "<p>If you don't like the promoted tweets then use an app instead. I use Tweetbot on iOS and Mac. It allows you to... | 2016/02/10 | [
"https://webapps.stackexchange.com/questions/89779",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/26999/"
] | I get "Promoted" tweets all the time on my Twitter feed and the majority of the time, they are just a nuisance as I've specifically selected accounts to follow and I feel like they are infringing on my feed on stuff I actually want to read. I know some have a "Dismiss" option but not all. Is there a way around this? | I use the [Stylebot](https://chrome.google.com/webstore/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha?hl=en) plugin in Chrome to load some custom CSS for the Twitter site.
```
.promoted-tweet {
display: none;
}
```
That little bit of CSS will make all the promoted Tweets invisible. |
89,865 | <p>I'm trying to figure out how to write an IF statement that will be 'true' if a value is in-between two values. </p>
<p><strong>Example:</strong></p>
<p>If value is between 60 and 69.9 return "D" </p>
<p>If value is between 70 and 79.9 return "C" </p>
<p>If value is between 80 and 89.9 return "B" </p>
<p>I have ... | [
{
"answer_id": 89868,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>Keep the inequality signs going in the same direction: </p>\n\n<pre><code>=IF(A1<60, \"F\", IF(A1<70, \"D\", IF... | 2016/02/12 | [
"https://webapps.stackexchange.com/questions/89865",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/51806/"
] | I'm trying to figure out how to write an IF statement that will be 'true' if a value is in-between two values.
**Example:**
If value is between 60 and 69.9 return "D"
If value is between 70 and 79.9 return "C"
If value is between 80 and 89.9 return "B"
I have this, but I can't figure out how to modify it so th... | Keep the inequality signs going in the same direction:
```
=IF(A1<60, "F", IF(A1<70, "D", IF(A1<80, "C", IF(A1<90, "B", "A"))))
```
---
The above works fine as long as there aren't too many cases. But if you had many options, C-,C+,B-,B+... it would be better to use a lookup table instead.
For example, if you hav... |
90,034 | <p>I have a column A4:A (heading = Date), and other columns after it B4:O.</p>
<p>I want column A to fill in today's date automatically when I fill in any other columns (some of these B4:O maybe empty, but most will be filled) in that row. But I only want that to happen the first time I edit any other columns within t... | [
{
"answer_id": 90036,
"author": "Iulian Enescu",
"author_id": 116414,
"author_profile": "https://webapps.stackexchange.com/users/116414",
"pm_score": -1,
"selected": false,
"text": "<p>In cells from column A you type:</p>\n\n<p><strong>A2:</strong> <em>=IF(ISBLANK(B2),\"\",NOW())</em></p... | 2016/02/17 | [
"https://webapps.stackexchange.com/questions/90034",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/108494/"
] | I have a column A4:A (heading = Date), and other columns after it B4:O.
I want column A to fill in today's date automatically when I fill in any other columns (some of these B4:O maybe empty, but most will be filled) in that row. But I only want that to happen the first time I edit any other columns within that row.
... | This question is similar to [Is there any way to create a timestamp in a Google Spreadsheet?](https://webapps.stackexchange.com/q/4056) except here you want to date of the first edit, not the most recent one.
* This **cannot** be achieved with spreadsheet formulas, because if a formula inserts today's date subject to... |
90,058 | <p>I want to set the number format as below:</p>
<p>If the number have more than 2 decimals, round it to 2 only (e.g. 12.3456 -> 12.35).</p>
<p>If the number is whole number, just let it be (e.g. 12 -> 12).</p>
| [
{
"answer_id": 90068,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>Using the <a href=\"https://support.google.com/docs/answer/56470?p=drive_custom_numbers&rd=1\" rel=\"noreferrer\"... | 2016/02/18 | [
"https://webapps.stackexchange.com/questions/90058",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/116458/"
] | I want to set the number format as below:
If the number have more than 2 decimals, round it to 2 only (e.g. 12.3456 -> 12.35).
If the number is whole number, just let it be (e.g. 12 -> 12). | Using the [custom number format](https://support.google.com/docs/answer/56470?p=drive_custom_numbers&rd=1) `0.##` achieves most of what you want: the insignificant 0s will not appear after the decimal dot. However, the decimal dot itself will appear, as it's a part of the format. So, you'll have 12.3456 appearing as 12... |
90,075 | <p>I have a Gmail account that it is only monitored Monday through Thursday. I would like to set something up to automatically send a canned reply for emails received between Thursday afternoon and Monday morning informing the sender that the email will not be seen until Monday morning, and giving emergency contact in... | [
{
"answer_id": 90089,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": false,
"text": "<p>Here is an Apps Script that does this. You can click this <a href=\"https://script.google.com/intro\" rel=\"nofollow... | 2016/02/18 | [
"https://webapps.stackexchange.com/questions/90075",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/58030/"
] | I have a Gmail account that it is only monitored Monday through Thursday. I would like to set something up to automatically send a canned reply for emails received between Thursday afternoon and Monday morning informing the sender that the email will not be seen until Monday morning, and giving emergency contact inform... | Here is an Apps Script that does this. You can click this [start scripting](https://script.google.com/intro) link to open script editor in Google Drive. Then:
1. Replace the placeholder in the editor with the script given below.
2. Go to "Resources > This project's triggers", and set a trigger to run autoreply every 5... |
90,094 | <p>So, I'm working on a project in Google Sheets that has me creating a symmetric matrix. I've filled one half of it with the correct values, but I'm not happy with the idea that I have to reinput the same data (or cell references) by hand on the other half. </p>
<p>Is there either an option that will do this for me, ... | [
{
"answer_id": 90103,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>The following formula refers to the transpose of the current cell:</p>\n\n<pre><code>=indirect(\"R\"&column()&... | 2016/02/19 | [
"https://webapps.stackexchange.com/questions/90094",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/116550/"
] | So, I'm working on a project in Google Sheets that has me creating a symmetric matrix. I've filled one half of it with the correct values, but I'm not happy with the idea that I have to reinput the same data (or cell references) by hand on the other half.
Is there either an option that will do this for me, or a way t... | The following formula refers to the transpose of the current cell:
```
=indirect("R"&column()&"C"&row(), False)
```
Indeed, it takes the row and column numbers of the current cell and swaps them to get a cell reference in R1C1 format.
However, having to paste this in every row of upper-half of the matrix separately... |
90,132 | <p>I downloaded CSV data from my Etsy shop to calculate taxes. I'd like to have the date "copied" properly.</p>
<p>The CSV date I get from Etsy is formatted as "02/09/16"</p>
<p>This is "2 September 2016" in Dutch but "September 2 2016" in English.</p>
<p>I cannot seem to find a way to change this to the correct dat... | [
{
"answer_id": 90147,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": false,
"text": "<p>So you have something formatted mm/dd/yy, but your local format is dd/mm/yy. To recover the dates, you need</p>\n\n<... | 2016/02/20 | [
"https://webapps.stackexchange.com/questions/90132",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/116660/"
] | I downloaded CSV data from my Etsy shop to calculate taxes. I'd like to have the date "copied" properly.
The CSV date I get from Etsy is formatted as "02/09/16"
This is "2 September 2016" in Dutch but "September 2 2016" in English.
I cannot seem to find a way to change this to the correct date. When changing languag... | So you have something formatted mm/dd/yy, but your local format is dd/mm/yy. To recover the dates, you need
1. Format the imported dates as plain text. Suppose these are in column A
2. In column B, reconstruct the date in a less ambiguous format using `regexreplace`, and then use `datevalue` to turn it into a date. Th... |
90,145 | <p>I have a spreadsheet that I use to keep track of my paid time off (PTO). I accrue a certain number of hours each pay period (which I know in advance). When I take some time off, I add a row and keep a running total.</p>
<p>The data typically looks something like this:</p>
<pre><code> A B C ... | [
{
"answer_id": 90150,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>The command <a href=\"https://support.google.com/docs/answer/3093379\" rel=\"nofollow\"><code>offset</code></a> does ... | 2016/02/20 | [
"https://webapps.stackexchange.com/questions/90145",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/354/"
] | I have a spreadsheet that I use to keep track of my paid time off (PTO). I accrue a certain number of hours each pay period (which I know in advance). When I take some time off, I add a row and keep a running total.
The data typically looks something like this:
```
A B C D
+---------------... | The command [`offset`](https://support.google.com/docs/answer/3093379) does what you want: `=offset(D3, -1, -2)` is the value 1 row above and two columns to the left of D3. So, your formula for D3 could be
```
=offset(D3,-1,0) + offset(D3,0,-2) - offset(D3,0,-1)
```
Extended down the column, it will do the intende... |
90,184 | <p>Simple task!.. output a date and time every time something in the sheet is edited!</p>
<pre><code>function onEdit() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets("Data");
var cell = ss.sheet.getRange("F2");
var date = Utilities.formatDate(new Date(), "GMT+8", "yyyy-mm-dd HH:... | [
{
"answer_id": 90185,
"author": "daniel",
"author_id": 112235,
"author_profile": "https://webapps.stackexchange.com/users/112235",
"pm_score": 1,
"selected": false,
"text": "<p>try <code>if (SpreadsheetApp.getActiveSpreadsheet().getActiveSheet().getName() == \"FAQ\")</code></p>\n"
},
... | 2016/02/22 | [
"https://webapps.stackexchange.com/questions/90184",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/116835/"
] | Simple task!.. output a date and time every time something in the sheet is edited!
```
function onEdit() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets("Data");
var cell = ss.sheet.getRange("F2");
var date = Utilities.formatDate(new Date(), "GMT+8", "yyyy-mm-dd HH:mm");
ss.sh... | try `if (SpreadsheetApp.getActiveSpreadsheet().getActiveSheet().getName() == "FAQ")` |
90,238 | <p>YouTube maintains an automatic playlist on my channel, called "Liked videos", with all the videos I have clicked the thumbs-up button.</p>
<p>For personal reasons, I want to clean up this list. (Deleting my YouTube account is not an option.)</p>
<p>I know I can delete the videos one by one, but that wouldn't fit m... | [
{
"answer_id": 90248,
"author": "AliasD",
"author_id": 117013,
"author_profile": "https://webapps.stackexchange.com/users/117013",
"pm_score": 2,
"selected": false,
"text": "<p>You can make the list private your <a href=\"https://www.youtube.com/account_privacy\" rel=\"nofollow\">privacy... | 2016/02/23 | [
"https://webapps.stackexchange.com/questions/90238",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/11071/"
] | YouTube maintains an automatic playlist on my channel, called "Liked videos", with all the videos I have clicked the thumbs-up button.
For personal reasons, I want to clean up this list. (Deleting my YouTube account is not an option.)
I know I can delete the videos one by one, but that wouldn't fit my December, 2025 ... | Go to the Liked playlist, open a console in the browser and write this:
```
var items = $('body').getElementsByClassName("pl-video-edit-remove-liked-video");
for(var i = 0; i < items.length; i++){
items[i].click();
}
```
After this just hit the refresh button. |
90,253 | <p>I'm trying to associate an email address with my Google account so I can receive calendar nominations. </p>
<p>From <a href="https://myaccount.google.com" rel="nofollow">https://myaccount.google.com</a>, I go to Personal info & privacy > Your personal info > Email > Alternate emails > ADD OTHER EMAIL. </p>
<p>... | [
{
"answer_id": 90259,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 2,
"selected": false,
"text": "<h1>Short answer</h1>\n\n<p>It's not possible to use a Google account as alternate email address of another Google ac... | 2016/02/24 | [
"https://webapps.stackexchange.com/questions/90253",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/42403/"
] | I'm trying to associate an email address with my Google account so I can receive calendar nominations.
From <https://myaccount.google.com>, I go to Personal info & privacy > Your personal info > Email > Alternate emails > ADD OTHER EMAIL.
However, when I choose ADD OTHER EMAIL and enter my email address, I get:
``... | Short answer
============
It's not possible to use a Google account as alternate email address of another Google account.
Brief Explanation
=================
It's very likely that the referred account is still associated to a Google managed account even if you don't have access to the Google services with that accou... |
90,262 | <p>I am using suggestions mode to make changes to a large google doc. When I have finished making my suggestions, I will need to print off the document for a group review meeting to go through the suggestions, get approvals, feedback, etc. However, we only have black and white printers which I think will make it diffic... | [
{
"answer_id": 97305,
"author": "Gregg Vanderheiden",
"author_id": 131626,
"author_profile": "https://webapps.stackexchange.com/users/131626",
"pm_score": -1,
"selected": false,
"text": "<p>Download the Google Doc as a Word doc and print that. It will have all of the markup and comments... | 2016/02/24 | [
"https://webapps.stackexchange.com/questions/90262",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/24722/"
] | I am using suggestions mode to make changes to a large google doc. When I have finished making my suggestions, I will need to print off the document for a group review meeting to go through the suggestions, get approvals, feedback, etc. However, we only have black and white printers which I think will make it difficult... | Google Docs does not support this feature natively, but here is a userstyle that will do what you want. Load it with an extension like Stylus ([Chrome](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne), [Firefox](https://addons.mozilla.org/en-US/firefox/addon/styl-us/)). If you want a c... |
90,296 | <p>Example:</p>
<pre><code>A2 -> What a beautiful day! #sunday #summer
B3 -> #news Stay tuned for our next contest! #something
Desired output on B2 ->#sunday #summer
Desired output on B3 ->#news #something
</code></pre>
<p>The closest I've found is REGEXEXTRACT but it only delivers the first word that be... | [
{
"answer_id": 90310,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": false,
"text": "<p>Although <code>regexextract</code> <a href=\"https://stackoverflow.com/a/8754862\">can return an array</a>, you'd n... | 2016/02/25 | [
"https://webapps.stackexchange.com/questions/90296",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/117067/"
] | Example:
```
A2 -> What a beautiful day! #sunday #summer
B3 -> #news Stay tuned for our next contest! #something
Desired output on B2 ->#sunday #summer
Desired output on B3 ->#news #something
```
The closest I've found is REGEXEXTRACT but it only delivers the first word that begins with a #:
```
=REGEXEXTRACT(A2;"... | Although `regexextract` [can return an array](https://stackoverflow.com/a/8754862), you'd need to know how many there are, so this isn't useful in your case. The way to get around this limitation of `regexextract` is to use `regexreplace` to get rid of the text you **don't** want. Like this:
```
=trim(regexreplace(A2... |
90,299 | <p>I'm trying to work out how far I travel on a tank of petrol. I've set a column to display the mileage at the time I enter the petrol station, and I want to display the difference between the two values in the next column.</p>
<p>Example:</p>
<p>Mileage is in column F and tank mileage is in column G.</p>
<p>I can ... | [
{
"answer_id": 90300,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": true,
"text": "<h1>Short answer</h1>\n\n<pre><code>=ARRAYFORMULA(IF(F3:F,(F3:F-F2:F),\"\"))\n</code></pre>\n\n<h1>Explanation</h1>\n\... | 2016/02/25 | [
"https://webapps.stackexchange.com/questions/90299",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/117159/"
] | I'm trying to work out how far I travel on a tank of petrol. I've set a column to display the mileage at the time I enter the petrol station, and I want to display the difference between the two values in the next column.
Example:
Mileage is in column F and tank mileage is in column G.
I can get it to calculate the ... | Short answer
============
```
=ARRAYFORMULA(IF(F3:F,(F3:F-F2:F),""))
```
Explanation
===========
Both parameters of a subtraction operation should be arrays in order to return an array. |
90,334 | <p>I would like the default setting to be <strong>Labeled for reuse</strong>. How can I make this setting apply permanently?</p>
<p><a href="https://i.stack.imgur.com/mmRGp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mmRGp.png" alt="enter image description here"></a></p>
| [
{
"answer_id": 90300,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": true,
"text": "<h1>Short answer</h1>\n\n<pre><code>=ARRAYFORMULA(IF(F3:F,(F3:F-F2:F),\"\"))\n</code></pre>\n\n<h1>Explanation</h1>\n\... | 2016/02/26 | [
"https://webapps.stackexchange.com/questions/90334",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/35393/"
] | I would like the default setting to be **Labeled for reuse**. How can I make this setting apply permanently?
[](https://i.stack.imgur.com/mmRGp.png) | Short answer
============
```
=ARRAYFORMULA(IF(F3:F,(F3:F-F2:F),""))
```
Explanation
===========
Both parameters of a subtraction operation should be arrays in order to return an array. |
90,469 | <p>I would like to do something similar to what was solved in the question:</p>
<p><a href="https://webapps.stackexchange.com/questions/88394/an-arrayformula-to-find-the-previous-non-empty-cell-in-another-column">An arrayformula to find the previous non-empty cell in another column</a></p>
<p>The problem was:</p>
<p... | [
{
"answer_id": 90447,
"author": "Vasikos",
"author_id": 116706,
"author_profile": "https://webapps.stackexchange.com/users/116706",
"pm_score": 2,
"selected": false,
"text": "<p>You can change your Church's Facebook Page but it requires that you have <strong>Administrator Privileges</str... | 2016/03/01 | [
"https://webapps.stackexchange.com/questions/90469",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/117661/"
] | I would like to do something similar to what was solved in the question:
[An arrayformula to find the previous non-empty cell in another column](https://webapps.stackexchange.com/questions/88394/an-arrayformula-to-find-the-previous-non-empty-cell-in-another-column)
The problem was:
If I have a column "input", I woul... | From the [Facebook Help Centre](https://www.facebook.com/help/197254963682414):
>
> **How do I add an address to my Page?**
>
>
> To add an address to your Page, your Page's category must be **Companies & Organizations** or **Local Businesses**. Keep in mind that you can only add one address. To add an address:
>
... |
90,501 | <p>I know this answer is covered already but it does not seem to be working for me. <a href="https://webapps.stackexchange.com/questions/28034/how-to-force-google-to-use-a-keyword">How to force Google to use a keyword?</a></p>
<p>I would like to search Google and force it to return results about MotionBuilder. As you ... | [
{
"answer_id": 90521,
"author": "Goyllo",
"author_id": 117811,
"author_profile": "https://webapps.stackexchange.com/users/117811",
"pm_score": -1,
"selected": false,
"text": "<p><strong>Google checkout all the phrase (long tail keywords) in query.</strong></p>\n\n<p>Autodesk already have... | 2016/03/02 | [
"https://webapps.stackexchange.com/questions/90501",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/117759/"
] | I know this answer is covered already but it does not seem to be working for me. [How to force Google to use a keyword?](https://webapps.stackexchange.com/questions/28034/how-to-force-google-to-use-a-keyword)
I would like to search Google and force it to return results about MotionBuilder. As you can see by the screen... | I suggest that your results *do* contain the term you've put in quotes. It's just not displaying in the list of results. Go to the page and check. (And if you still don't see it it's entirely possible that it has been removed since the Google bot visited the page and/or people are using that keyword in their links to t... |
90,552 | <p>In the process of building a <em>Google My Maps</em> map, I found that it's quite handy to import <em>spreadsheets</em> from your <em>Google Drive</em> to use it as a source for your map layers. As using spreadsheets is pretty much the only option to add data to your map, I assumed that the map would update whenever... | [
{
"answer_id": 90565,
"author": "kaiser",
"author_id": 20975,
"author_profile": "https://webapps.stackexchange.com/users/20975",
"pm_score": 3,
"selected": true,
"text": "<p>The answer is simple: It does not work. This is a one-way route.</p>\n\n<p>What <strong>does work</strong>, is the... | 2016/03/03 | [
"https://webapps.stackexchange.com/questions/90552",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/20975/"
] | In the process of building a *Google My Maps* map, I found that it's quite handy to import *spreadsheets* from your *Google Drive* to use it as a source for your map layers. As using spreadsheets is pretty much the only option to add data to your map, I assumed that the map would update whenever I add new data to the s... | The answer is simple: It does not work. This is a one-way route.
What **does work**, is the other direction. Treating *Google My Maps* as simple map builder application works without a problem and offers a nice and simple user interface for people contributing data to any application that relies on having KML files as... |
90,568 | <p>I am trying to embed my form into my wordpress.com blog and it doesn't. Is there something wrong with my HTML?</p>
<pre><code><div class="cognito">
<script src="https://services.cognitoforms.com/s/O8PupSKv1ka64YqUYmOy7g"></script>
<script>Cognito.load("forms", { id: "1" });</script>... | [
{
"answer_id": 90569,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 0,
"selected": false,
"text": "<p>wordpress.com doesn't allow the use of <code><script></code> tags in your post's HTML.</p>\n\n<p>To do that you'd ... | 2016/03/04 | [
"https://webapps.stackexchange.com/questions/90568",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/117930/"
] | I am trying to embed my form into my wordpress.com blog and it doesn't. Is there something wrong with my HTML?
```
<div class="cognito">
<script src="https://services.cognitoforms.com/s/O8PupSKv1ka64YqUYmOy7g"></script>
<script>Cognito.load("forms", { id: "1" });</script>
</div>
``` | Cognito Forms does not currently support embedded on WordPress.com blogs. It looks like WordPress supports a specific embedding protocol that we plan on implementing support for over the next few weeks. I have created a [feature card](https://trello.com/c/jLUf0eZf) that you can use to follow development and set up a no... |
90,586 | <p>I want to say A1:A60 excluding A20:A30. Is there a minus operator for use with ranges, in Google Sheets?</p>
<p>I know that you can take the union of two ranges, like {A1:A19;A31:A60}. I would like to know if there's an operator that excludes one range from another.</p>
| [
{
"answer_id": 90608,
"author": "Jacob Jan Tuinstra",
"author_id": 29140,
"author_profile": "https://webapps.stackexchange.com/users/29140",
"pm_score": 3,
"selected": true,
"text": "<p>With the following formula it is possible to exclude a certain range:</p>\n\n<pre><code>=ARRAYFORMULA(... | 2016/03/05 | [
"https://webapps.stackexchange.com/questions/90586",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/117914/"
] | I want to say A1:A60 excluding A20:A30. Is there a minus operator for use with ranges, in Google Sheets?
I know that you can take the union of two ranges, like {A1:A19;A31:A60}. I would like to know if there's an operator that excludes one range from another. | With the following formula it is possible to exclude a certain range:
```
=ARRAYFORMULA(QUERY({ROW(A1:A60), A1:A60}, "SELECT Col2 WHERE Col1<20 OR Col1>30"))
``` |
90,614 | <p>I have many albums in Google Photos. (Maybe 200). I want to get a list of these albums along with their urls. How can I do this?</p>
<p>To put it in context, I want to send an email listing many of these albums to friends. As a workaround I can, in principle, click into each album in the Google Photos web interface... | [
{
"answer_id": 90619,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>The Google Photos interface is <em>very</em> minimal even for humans, let alone applications. The best way I found t... | 2016/03/06 | [
"https://webapps.stackexchange.com/questions/90614",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/35478/"
] | I have many albums in Google Photos. (Maybe 200). I want to get a list of these albums along with their urls. How can I do this?
To put it in context, I want to send an email listing many of these albums to friends. As a workaround I can, in principle, click into each album in the Google Photos web interface. Then cli... | The Google Photos interface is *very* minimal even for humans, let alone applications. The best way I found to get a list of album names and URLs is to parse the page source using the browser console.
### The list of all albums
Executed on the page <https://photos.google.com/albums>, this script returns a string tha... |
90,628 | <p>I'm trying to use a Google Spreadsheets template called "multiple person expense sharing template"</p>
<p>It seems there is some possible incompatibility with it. I think the template has become incompatible with newer versions of Google Docs. Boolean values are correctly shown but somehow =SUM does not give the co... | [
{
"answer_id": 90631,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>Indeed, <code>sum</code> applied to a range of booleans always returns zero in new Google Sheets: e.g., if A1:A3 are... | 2016/03/06 | [
"https://webapps.stackexchange.com/questions/90628",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/118055/"
] | I'm trying to use a Google Spreadsheets template called "multiple person expense sharing template"
It seems there is some possible incompatibility with it. I think the template has become incompatible with newer versions of Google Docs. Boolean values are correctly shown but somehow =SUM does not give the correct valu... | I ended up using
```
=SUMPRODUCT(D4:AA4)
```
I still cannot think of a reason better than incompatibility with older Google Spreadsheets. As Sally suggested, this could or should be regarded as a bug.
However when playing around with different functions in Google Spreadsheets, I came across the `SUMPRODUCT` functi... |
90,629 | <p><a href="https://i.stack.imgur.com/rVGiz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rVGiz.png" alt="enter image description here"></a></p>
<p>I want to concatenate/combine columns A, B and C into column D as displayed.</p>
<p>The number of filled entries in A, B and C will vary over time, so absolut... | [
{
"answer_id": 90633,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 5,
"selected": true,
"text": "<p>You need to filter down to non-empty cells, and then stack the results together:</p>\n\n<pre><code>={filter(A:A, len(... | 2016/03/06 | [
"https://webapps.stackexchange.com/questions/90629",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/110276/"
] | [](https://i.stack.imgur.com/rVGiz.png)
I want to concatenate/combine columns A, B and C into column D as displayed.
The number of filled entries in A, B and C will vary over time, so absolute cell addresses cannot be used.
What formula could I put ... | You need to filter down to non-empty cells, and then stack the results together:
```
={filter(A:A, len(A:A)); filter(B:B, len(B:B)); filter(C:C, len(C:C))}
```
---
This is the same as [this answer by grayob](https://webapps.stackexchange.com/a/79577) which is unfortunately buried under outdated answers. |
90,632 | <p>I have a 400 row sheet embedded in a web page. I would like the header row to be frozen, as it is in the original sheet. So far I've been unable to discover any parameter to allows this, but also I've not been able to discover any source of current parameters.</p>
<p>On Google product forums there are various sol... | [
{
"answer_id": 107464,
"author": "July Tikhonov",
"author_id": 158883,
"author_profile": "https://webapps.stackexchange.com/users/158883",
"pm_score": 2,
"selected": true,
"text": "<p>Well, if don't see the solution, you can write it :)</p>\n<p>I had written a <a href=\"https://github.co... | 2016/03/06 | [
"https://webapps.stackexchange.com/questions/90632",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/65339/"
] | I have a 400 row sheet embedded in a web page. I would like the header row to be frozen, as it is in the original sheet. So far I've been unable to discover any parameter to allows this, but also I've not been able to discover any source of current parameters.
On Google product forums there are various solutions, but ... | Well, if don't see the solution, you can write it :)
I had written a [Python application](https://github.com/tifv/gs-scroller/) that can be deployed in Google Cloud.
If you deploy it to `your-foo-app.appspot.com` (which is really simple), and your published spreadsheet is `https://docs.google.com/spreadsheets/d/Bar12... |
90,635 | <p>I am trying to search for a particular string and I want to see only results from all user's tweets.</p>
<p>"site:twitter.com" - doesn't work, because it searches in user's bio, name, etc., which I do not want. </p>
<p>p.s., I know that Twitter provides this results through its search, but I am interested in doing... | [
{
"answer_id": 90638,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 2,
"selected": false,
"text": "<p>All of a user's tweets are under the URL <code>https://twitter.com/username/status/</code> followed by a long series of ... | 2016/03/06 | [
"https://webapps.stackexchange.com/questions/90635",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I am trying to search for a particular string and I want to see only results from all user's tweets.
"site:twitter.com" - doesn't work, because it searches in user's bio, name, etc., which I do not want.
p.s., I know that Twitter provides this results through its search, but I am interested in doing this through Goo... | All of a user's tweets are under the URL `https://twitter.com/username/status/` followed by a long series of digits. If you use `site:twitter.com/username/status` plus your keywords you should get what you want.
For instance, if you wanted to search all of Wil Wheaton's tweets where he mentions his cat Eliot...
```
s... |
90,688 | <p>I want remove all row with equal date</p>
<pre><code>02/03/2016 1 11 24 7 8 3 22
02/03/2016 1 11 23 7 8 3 22
03/03/2016 1 11 25 7 8 3 22
03/03/2016 1 11 25 8 7 3 22
04/03/2016 1 11 25 8 7 3 22
04/03/2016 1 11 25 7 8 3 22
04/03/2016 1 11 25 9 7... | [
{
"answer_id": 90690,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>So, you want to retain only the <strong>first</strong> entry for each date. One way to do it is to filter by \"colum... | 2016/03/07 | [
"https://webapps.stackexchange.com/questions/90688",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/118163/"
] | I want remove all row with equal date
```
02/03/2016 1 11 24 7 8 3 22
02/03/2016 1 11 23 7 8 3 22
03/03/2016 1 11 25 7 8 3 22
03/03/2016 1 11 25 8 7 3 22
04/03/2016 1 11 25 8 7 3 22
04/03/2016 1 11 25 7 8 3 22
04/03/2016 1 11 25 9 7 3 22
04/0... | So, you want to retain only the **first** entry for each date. One way to do it is to filter by "column A entry not equal to the one above":
```
=filter(A2:H100, A2:A100 <> A1:A99)
```
The need to shift the indices in the comparison range may be a nuisance. Here's a version that does the shift itself:
```
=filter(... |
90,819 | <p>We have a Google Apps account for our organization. When you create a Google Form using your Apps account, there is a helpful option to have the form capture the user's email address when the form is submitted. Now, it shows up like this in the resulting spreadsheet:</p>
<pre><code>Timestamp Username ... | [
{
"answer_id": 90823,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": true,
"text": "<p>There isn't a built-in function but there is ad advanced Google Apps Script service -> <a href=\"https://develop... | 2016/03/11 | [
"https://webapps.stackexchange.com/questions/90819",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/118595/"
] | We have a Google Apps account for our organization. When you create a Google Form using your Apps account, there is a helpful option to have the form capture the user's email address when the form is submitted. Now, it shows up like this in the resulting spreadsheet:
```
Timestamp Username ... | There isn't a built-in function but there is ad advanced Google Apps Script service -> [Admin SDK Directory Service](https://developers.google.com/apps-script/advanced/admin-sdk-directory)
From the above link:
>
> Get user
> ========
>
>
> This sample gets a user by their email address and logs all of their
> data... |
90,929 | <p>I'm working in an automatic script that shows the last modified dates of some cells within a sheet. So far, I've succeed with the sheet restriction adding an <em>if</em> condition, but <strong>I want to restrict this to a certain cell range</strong> (e.g., C3:W26). Do you know how I can do it?</p>
<p>This is my scr... | [
{
"answer_id": 90934,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>A fairly readable way of stating the condition of cell <code>r</code> being in a range is </p>\n\n<pre><code>var rang... | 2016/03/15 | [
"https://webapps.stackexchange.com/questions/90929",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/110462/"
] | I'm working in an automatic script that shows the last modified dates of some cells within a sheet. So far, I've succeed with the sheet restriction adding an *if* condition, but **I want to restrict this to a certain cell range** (e.g., C3:W26). Do you know how I can do it?
This is my script:
```
function onEdit() {
... | A fairly readable way of stating the condition of cell `r` being in a range is
```
var range = s.getRange("C3:W26");
if (r.getRow() >= range.getRow() && r.getRow() <= range.getLastRow() && r.getColumn() >= range.getColumn() && r.getColumn() <= range.getLastColumn()) {
// do something
}
```
One could also hardcod... |
90,948 | <p>I need help to dynamically fetch a value from another Google spreadsheet like this: FILE1 has <code>0</code> or <code>1</code> values in column G. Now I want to fetch the G column value from FILE1 with a row number specified in B7 in FILE2.</p>
<p>I've learned that <code>INDIRECT</code> could solve the dynamic bit ... | [
{
"answer_id": 90954,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>The second argument of <code>importrange</code> must be a <em>string</em>, not a cell reference. The command <code>in... | 2016/03/16 | [
"https://webapps.stackexchange.com/questions/90948",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/118900/"
] | I need help to dynamically fetch a value from another Google spreadsheet like this: FILE1 has `0` or `1` values in column G. Now I want to fetch the G column value from FILE1 with a row number specified in B7 in FILE2.
I've learned that `INDIRECT` could solve the dynamic bit fetching from column G with B7 as row numbe... | The second argument of `importrange` must be a *string*, not a cell reference. The command `indirect` takes a string and returns a cell reference, which is not what you need. Just use
```
=IMPORTRANGE("KEY"; "Sheet1!G"&B7)
```
To clarify the difference:
* Strings: `"B4"`, `"Sheet1!A3"`, `"Sheet1!A"&E2`
* Cell ref... |
90,995 | <p>I often watch multiple videos simultaneously (don't ask why). Today I was trying to watch <a href="https://www.youtube.com/watch?v=gsEgN-dbQjo" rel="nofollow noreferrer">video1</a> and <a href="https://www.youtube.com/watch?v=YnwfTHpnGLY&list=RDEMAPN-vkfalyPGuAim5-AgEA&index=1" rel="nofollow noreferrer">vide... | [
{
"answer_id": 103665,
"author": "Shujito",
"author_id": 148771,
"author_profile": "https://webapps.stackexchange.com/users/148771",
"pm_score": 2,
"selected": false,
"text": "<p>I use this bookmarklet for that:</p>\n\n<pre><code>javascript:(()=>{if(!!window.__volumeForced)return;wind... | 2016/03/17 | [
"https://webapps.stackexchange.com/questions/90995",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119037/"
] | I often watch multiple videos simultaneously (don't ask why). Today I was trying to watch [video1](https://www.youtube.com/watch?v=gsEgN-dbQjo) and [video2](https://www.youtube.com/watch?v=YnwfTHpnGLY&list=RDEMAPN-vkfalyPGuAim5-AgEA&index=1). The problem is not the overall volume, but rather the volume difference. If I... | I use this bookmarklet for that:
```
javascript:(()=>{if(!!window.__volumeForced)return;window.__volumeForced=true;let forceVolume=()=>{document.getElementsByTagName('video')[0].volume=1;requestAnimationFrame(forceVolume);};forceVolume();})();
```
I'll explain, YouTube adjusts the maximum video volume so it is norma... |
91,100 | <p>For Example:</p>
<p>If cell A1 contains the letter "A", "B" or "C" randomly in it, and in cell B1, lookup A1 (doesn't matter where). If cell A1 DOESN'T contain the letter "A", "B" or "C" in it, I want B1 to show up blank.
At the moment, the cell only shows up as #N/A when it can't find the value it's looking for.</... | [
{
"answer_id": 91101,
"author": "tyelford",
"author_id": 113928,
"author_profile": "https://webapps.stackexchange.com/users/113928",
"pm_score": -1,
"selected": false,
"text": "<p>If you are looking for just the letter A and nothing else, use a simple IF statement.</p>\n\n<p><code>=IF(A1... | 2016/03/20 | [
"https://webapps.stackexchange.com/questions/91100",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/118104/"
] | For Example:
If cell A1 contains the letter "A", "B" or "C" randomly in it, and in cell B1, lookup A1 (doesn't matter where). If cell A1 DOESN'T contain the letter "A", "B" or "C" in it, I want B1 to show up blank.
At the moment, the cell only shows up as #N/A when it can't find the value it's looking for.
Cell A1 wo... | To suppress error messages from a command, wrap it in [`iferror`](https://support.google.com/docs/answer/3093304?hl=en):
```
=iferror(vlookup(...))
```
Generally, `iferror` may have a 2nd argument, custom error text. But if there is none, the cell is left blank in case of error. |
91,157 | <p>I have a folder shared with me on Google Drive that is much larger than 2 GB. When I try to download it Drive zips the folder but stops when the file size of the zip archive is larger than 2GB.</p>
<p>How can I download this huge folder from Google Drive?</p>
| [
{
"answer_id": 91158,
"author": "anilkumarnandamuri",
"author_id": 119440,
"author_profile": "https://webapps.stackexchange.com/users/119440",
"pm_score": 3,
"selected": false,
"text": "<p>Use <a href=\"http://takeout.google.com/settings/takeout\" rel=\"noreferrer\">Google Takeout</a>.</... | 2016/03/22 | [
"https://webapps.stackexchange.com/questions/91157",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/13112/"
] | I have a folder shared with me on Google Drive that is much larger than 2 GB. When I try to download it Drive zips the folder but stops when the file size of the zip archive is larger than 2GB.
How can I download this huge folder from Google Drive? | Use the open source command-line tool [drive](https://github.com/odeke-em/drive) to sync the whole folder to your local hard disk recursively, downloading the contained files recursively instead of in one huge ZIP archive.
Use a command like this:
```
drive pull "Google Drive Folder Name to Download"
```
This will ... |
91,170 | <p>I have more than 7000 posts in my Tumblr account. The vast majority of them are "reblogs" but the rest are posts (images or texts) that I have uploaded. Is there a way to somehow view these particular posts? One way would have been if I had used a certain tag to these posts but I have not. To rephrase my question: <... | [
{
"answer_id": 91315,
"author": "oneqeightyfour",
"author_id": 105619,
"author_profile": "https://webapps.stackexchange.com/users/105619",
"pm_score": 2,
"selected": false,
"text": "<p><a href=\"http://alexwlchan.net/\" rel=\"nofollow\">Someone</a> on the internet wrote a script for this... | 2016/03/23 | [
"https://webapps.stackexchange.com/questions/91170",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119437/"
] | I have more than 7000 posts in my Tumblr account. The vast majority of them are "reblogs" but the rest are posts (images or texts) that I have uploaded. Is there a way to somehow view these particular posts? One way would have been if I had used a certain tag to these posts but I have not. To rephrase my question: **Is... | I’m the author of the script linked in @oneqeightyfour’s answer. So although I’m a little late to the party, here’s a modified version of the script you can use.
I did find a [one-click site](http://www.studiomoh.com/fun/tumblr_originals/) that claims to do this as well, but I couldn’t get that to work. You might want... |
91,171 | <p>I'm indexing a document with sections and sub-sections. I want to have one column representing the section-number and be able to sort by this column. However when the sub-section gets higher than 10, the sort no longer works.</p>
<p>This is the order I want...</p>
<pre><code>1-1
1-2
1-10
2-1
</code></pre>
<p>Of c... | [
{
"answer_id": 91178,
"author": "Enrique Ramírez",
"author_id": 110462,
"author_profile": "https://webapps.stackexchange.com/users/110462",
"pm_score": 0,
"selected": false,
"text": "<p>What could be useful is instead of using </p>\n\n<pre><code>1-1\n1-2\n...\n1-10\n</code></pre>\n\n<p>y... | 2016/03/23 | [
"https://webapps.stackexchange.com/questions/91171",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/39024/"
] | I'm indexing a document with sections and sub-sections. I want to have one column representing the section-number and be able to sort by this column. However when the sub-section gets higher than 10, the sort no longer works.
This is the order I want...
```
1-1
1-2
1-10
2-1
```
Of course when we know this represent... | The following sorts a range (like A1:A7) of such strings:
```
=array_constrain(sort({A1:A7, value(regexextract(A1:A7, "^\d+")), value(regexextract(A1:A7, "\d+$"))}, 2, true, 3, true), 10000000, 1)
```
Same formula with linebreaks for readability:
```
=array_constrain(
sort(
{
A1:A7,
value(reg... |
91,206 | <p>I'm trying to delete specific events on my Google calendar, I've found <a href="https://webapps.stackexchange.com/a/83057/119548">this</a> script that delete events with a specific title:</p>
<pre><code>function delete_events()
{
//take care: Date function starts at 0 for the month (January=0)
var fromDate = ne... | [
{
"answer_id": 91228,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": true,
"text": "<p>Only one line needs a change. Instead of the exact match</p>\n\n<pre><code>if (ev.getTitle() == toRemove)\n</code></p... | 2016/03/24 | [
"https://webapps.stackexchange.com/questions/91206",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119548/"
] | I'm trying to delete specific events on my Google calendar, I've found [this](https://webapps.stackexchange.com/a/83057/119548) script that delete events with a specific title:
```
function delete_events()
{
//take care: Date function starts at 0 for the month (January=0)
var fromDate = new Date(2014,7,1,0,0,0); /... | Only one line needs a change. Instead of the exact match
```
if (ev.getTitle() == toRemove)
```
you want to check that ev.getTitle() begins with the string toRemove. This is how:
```
if (ev.getTitle().slice(0, toRemove.length) == toRemove)
```
The `slice` command cuts down the event title to the same length as to... |
91,209 | <p>I'm trying to average a range but only if one condition is true.</p>
<pre><code> A B C
1: A 1 2
2: B 3 4
3: C 5 6
4: D 7 8
5: A 1 6
6: E 8 9
7: E 5 8
</code></pre>
<p>What I want is if the char I'm looking for is "A" then I want my average to produce something to the form of:</p>
<pre><code>(1/2 + 1/6) /2
=AVER... | [
{
"answer_id": 91228,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": true,
"text": "<p>Only one line needs a change. Instead of the exact match</p>\n\n<pre><code>if (ev.getTitle() == toRemove)\n</code></p... | 2016/03/24 | [
"https://webapps.stackexchange.com/questions/91209",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119553/"
] | I'm trying to average a range but only if one condition is true.
```
A B C
1: A 1 2
2: B 3 4
3: C 5 6
4: D 7 8
5: A 1 6
6: E 8 9
7: E 5 8
```
What I want is if the char I'm looking for is "A" then I want my average to produce something to the form of:
```
(1/2 + 1/6) /2
=AVERAGEIF(A:A, "="&SomeOtherVariable, B:B... | Only one line needs a change. Instead of the exact match
```
if (ev.getTitle() == toRemove)
```
you want to check that ev.getTitle() begins with the string toRemove. This is how:
```
if (ev.getTitle().slice(0, toRemove.length) == toRemove)
```
The `slice` command cuts down the event title to the same length as to... |
91,219 | <p>Based on my data, I calculated values of hexadecimal color codes. I want some cell (I don't care whether it's an empty cell at the end of the row or the same cell) to be the color based on the code. </p>
<p>I don't want to use conditional formatting because it changes to a specific color or color gradient, not a sp... | [
{
"answer_id": 91250,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 4,
"selected": true,
"text": "<h1>Short answer</h1>\n<p>Use Google Apps Script or a Google Sheets Add-on as there is no built-in feature to set cell... | 2016/03/24 | [
"https://webapps.stackexchange.com/questions/91219",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119586/"
] | Based on my data, I calculated values of hexadecimal color codes. I want some cell (I don't care whether it's an empty cell at the end of the row or the same cell) to be the color based on the code.
I don't want to use conditional formatting because it changes to a specific color or color gradient, not a specific hex... | Short answer
============
Use Google Apps Script or a Google Sheets Add-on as there is no built-in feature to set cell background color by color codes.
Explanation
===========
Google Apps Script is a tool that can be used to extended Google Sheets and other Google apps. It could be used to created add-ons.
There ar... |
91,231 | <p>I want to fill a single column of my sheet with a function, the sheet is being managed by forms. So, whenever a new entry is added it adds a new row and that row will not have the function that I want, meaning that I'll have to go into the data and manage it on my own(which is inconvenient, and would work against wh... | [
{
"answer_id": 91397,
"author": "L'Oncle",
"author_id": 94508,
"author_profile": "https://webapps.stackexchange.com/users/94508",
"pm_score": 1,
"selected": false,
"text": "<p>I have a sheet-bound script to generate and email templated documents populated with form response data. What yo... | 2016/03/24 | [
"https://webapps.stackexchange.com/questions/91231",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119553/"
] | I want to fill a single column of my sheet with a function, the sheet is being managed by forms. So, whenever a new entry is added it adds a new row and that row will not have the function that I want, meaning that I'll have to go into the data and manage it on my own(which is inconvenient, and would work against what ... | I have a sheet-bound script to generate and email templated documents populated with form response data. What you'll see below is definitely NOT pretty/efficient/possibly even advisable..? However, it does accomplish what you are attempting in this post.
It's more or less a sledgehammer grade function to pin a percent... |
91,236 | <p>I had a Facebook account, but I forgot my password. When I created a new account using the same mobile number, I could no longer recover my old Facebook account. </p>
<p>I don't have an email account. I created my account by mobile number, so how can I recover my old Facebook account at this point?</p>
| [
{
"answer_id": 91397,
"author": "L'Oncle",
"author_id": 94508,
"author_profile": "https://webapps.stackexchange.com/users/94508",
"pm_score": 1,
"selected": false,
"text": "<p>I have a sheet-bound script to generate and email templated documents populated with form response data. What yo... | 2016/03/25 | [
"https://webapps.stackexchange.com/questions/91236",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119625/"
] | I had a Facebook account, but I forgot my password. When I created a new account using the same mobile number, I could no longer recover my old Facebook account.
I don't have an email account. I created my account by mobile number, so how can I recover my old Facebook account at this point? | I have a sheet-bound script to generate and email templated documents populated with form response data. What you'll see below is definitely NOT pretty/efficient/possibly even advisable..? However, it does accomplish what you are attempting in this post.
It's more or less a sledgehammer grade function to pin a percent... |
91,275 | <p>Is there a function that checks if the strikethrough format has been applied to the cell contents? I would like use a formula similar to <code>(=IF(HAS_STRIKETHROUGH(C5), 1,0)</code></p>
| [
{
"answer_id": 91286,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": false,
"text": "<p>This appears to require a custom function, because spreadsheet formulas do not have access to cell formatting. I wr... | 2016/03/26 | [
"https://webapps.stackexchange.com/questions/91275",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119735/"
] | Is there a function that checks if the strikethrough format has been applied to the cell contents? I would like use a formula similar to `(=IF(HAS_STRIKETHROUGH(C5), 1,0)` | This appears to require a custom function, because spreadsheet formulas do not have access to cell formatting. I wrote a function that returns True when the reference cell has strikethrough, and False otherwise. For example, you can enter `=has_strikethrough(B2:C10)` and get an array of True/False values. (This was of ... |
91,280 | <p>I'm trying to make a sheet that I can use to track which heroes I need to practice in a game...
Want to manually input the following things:</p>
<blockquote>
<p>Map name (A2:A), Hero name (B2:B), Result (C2:C)</p>
<p>I use D2 To make a unique list of heroes I've played.
=UNIQUE(B2:B)</p>
</blockquote>
<p>... | [
{
"answer_id": 91284,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>This is more efficiently done with a single <a href=\"https://support.google.com/docs/answer/3093343?hl=en\" rel=\"n... | 2016/03/26 | [
"https://webapps.stackexchange.com/questions/91280",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119746/"
] | I'm trying to make a sheet that I can use to track which heroes I need to practice in a game...
Want to manually input the following things:
>
> Map name (A2:A), Hero name (B2:B), Result (C2:C)
>
>
> I use D2 To make a unique list of heroes I've played.
> =UNIQUE(B2:B)
>
>
>
But then I want to add a correspond... | Short answer
============
To create an array report, AKA crosstab report, use a [Pivot Report](https://support.google.com/docs/answer/1272898?hl=en&ref_topic=1258755&rd=1).
Instructions
============
1. Prepare the data as a simple table.
2. Select the data
3. Click Data > Pivot Table...
4. Add the Name field to the ... |
91,332 | <p>I need to have multiple Google Sheets be synced both ways.</p>
<p>For example: I have a "master" sheet that has all of my information. And then I have multiple "filtered" sheets. Each filtered sheet only contains a subset of the master content (those rows with "Jane Doe" in the name column).</p>
<p>If I edit the m... | [
{
"answer_id": 92734,
"author": "Jared Pinkham",
"author_id": 122308,
"author_profile": "https://webapps.stackexchange.com/users/122308",
"pm_score": 1,
"selected": false,
"text": "<p>This function can be used in each of the destination sheets to copy back to the main sheet. </p>\n\n<pre... | 2016/03/28 | [
"https://webapps.stackexchange.com/questions/91332",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119890/"
] | I need to have multiple Google Sheets be synced both ways.
For example: I have a "master" sheet that has all of my information. And then I have multiple "filtered" sheets. Each filtered sheet only contains a subset of the master content (those rows with "Jane Doe" in the name column).
If I edit the master sheet, the ... | This function can be used in each of the destination sheets to copy back to the main sheet.
```
function onEdit(event){
var range = event.range;
if(range.getSheet().getName() == "Sheet1" && range.getColumn() > 1 && range.getRow() > 1 ){//example conditionals to limit the action to exclude headers or other static ... |
91,336 | <p>I have created a drop down box with multiple selection. I would like to assign a value to each selection (a percentage, like <code>0.25</code>) that will populate in a separate field beside it.</p>
<p>Can this be done? </p>
| [
{
"answer_id": 92734,
"author": "Jared Pinkham",
"author_id": 122308,
"author_profile": "https://webapps.stackexchange.com/users/122308",
"pm_score": 1,
"selected": false,
"text": "<p>This function can be used in each of the destination sheets to copy back to the main sheet. </p>\n\n<pre... | 2016/03/28 | [
"https://webapps.stackexchange.com/questions/91336",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119901/"
] | I have created a drop down box with multiple selection. I would like to assign a value to each selection (a percentage, like `0.25`) that will populate in a separate field beside it.
Can this be done? | This function can be used in each of the destination sheets to copy back to the main sheet.
```
function onEdit(event){
var range = event.range;
if(range.getSheet().getName() == "Sheet1" && range.getColumn() > 1 && range.getRow() > 1 ){//example conditionals to limit the action to exclude headers or other static ... |
91,339 | <p><strong>TL;DR</strong>: Using <code>SEARCH(search_for, text_to_search)</code>, "<code>search_for</code>" is a variable-length array.</p>
<p>On Google Sheets, I have four cells, E1:E4. The values in each cell are as follows:</p>
<pre>
| E |
--+------------+
1 |Tim |
2 |Frank |
3 |Tim, Fran... | [
{
"answer_id": 92734,
"author": "Jared Pinkham",
"author_id": 122308,
"author_profile": "https://webapps.stackexchange.com/users/122308",
"pm_score": 1,
"selected": false,
"text": "<p>This function can be used in each of the destination sheets to copy back to the main sheet. </p>\n\n<pre... | 2016/03/28 | [
"https://webapps.stackexchange.com/questions/91339",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/119906/"
] | **TL;DR**: Using `SEARCH(search_for, text_to_search)`, "`search_for`" is a variable-length array.
On Google Sheets, I have four cells, E1:E4. The values in each cell are as follows:
```
| E |
--+------------+
1 |Tim |
2 |Frank |
3 |Tim, Frank |
4 |Jennifer |
--+------------+
```
I als... | This function can be used in each of the destination sheets to copy back to the main sheet.
```
function onEdit(event){
var range = event.range;
if(range.getSheet().getName() == "Sheet1" && range.getColumn() > 1 && range.getRow() > 1 ){//example conditionals to limit the action to exclude headers or other static ... |
91,382 | <p>Can ImportXML be used to pull the HTML tags along with the data?</p>
<p>For example:</p>
<pre><code>importxml(A1,"//div[@id='qlist-wrapper']") on stackoverflow.com
</code></pre>
<p>will pull all the data in the div with the id <code>qlist-wrapper</code> in an imploded format.</p>
<p>Is there a way where I can p... | [
{
"answer_id": 91403,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>No, <code>=importXML</code> does not offer this kind of XML formatting. But you can use a <a href=\"https://www.goog... | 2016/03/30 | [
"https://webapps.stackexchange.com/questions/91382",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/118791/"
] | Can ImportXML be used to pull the HTML tags along with the data?
For example:
```
importxml(A1,"//div[@id='qlist-wrapper']") on stackoverflow.com
```
will pull all the data in the div with the id `qlist-wrapper` in an imploded format.
Is there a way where I can pull the data along with the relevant `<div>`s and `... | SO it turns out you can do this after all!
```
=importxml("http://stackoverflow.com","//div[@id='qlist-wrapper']//@*")
```
[](https://i.stack.imgur.com/8eDXN.png) |
91,457 | <p>I'm trying to create a grade sheet where it will flag number grades in a certain range by turning that row another color.</p>
<p>The problem I'm having has to do with grades of Zero. I have this formula for the other grades, with 90% being the passing mark, so anything above that isn't marked</p>
<pre><code>=and(... | [
{
"answer_id": 91469,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": true,
"text": "<p>You can use <code>isblank()</code> to format blank cells the way you want to. For example</p>\n\n<pre><code>=or(and($... | 2016/04/01 | [
"https://webapps.stackexchange.com/questions/91457",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/120208/"
] | I'm trying to create a grade sheet where it will flag number grades in a certain range by turning that row another color.
The problem I'm having has to do with grades of Zero. I have this formula for the other grades, with 90% being the passing mark, so anything above that isn't marked
```
=and($E:$E<90%, $E:$E>0%)
... | You can use `isblank()` to format blank cells the way you want to. For example
```
=or(and($E:$E<90%, $E:$E>0%), isblank($E:$E))
```
or
```
=or(and($E:$E<90%, $E:$E>0%), not(isblank($E:$E)))
```
By the way, you can simply enter `$E1` here instead of `$E:$E` - the conditional formatting formula can be written as i... |
91,568 | <p>I am trying do a row by row comparison of two separate sheets, and display the unequal rows on a third sheet. As an example, rows three and five on <code>Sheet1</code> are different from <code>Sheet2</code> and I want to display only them on <code>Sheet3</code>.</p>
<pre><code> SHEET1 SHEET2... | [
{
"answer_id": 91571,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>The formula <code>filter</code> sorts in one direction only; its second argument must be a one-dimensional range of b... | 2016/04/04 | [
"https://webapps.stackexchange.com/questions/91568",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/117786/"
] | I am trying do a row by row comparison of two separate sheets, and display the unequal rows on a third sheet. As an example, rows three and five on `Sheet1` are different from `Sheet2` and I want to display only them on `Sheet3`.
```
SHEET1 SHEET2
A B C A B C
1 IN... | The formula `filter` sorts in one direction only; its second argument must be a one-dimensional range of booleans. So you would need to compare columns individually; this quickly becomes ugly with all the `importrange`s:
```
(IMPORTRANGE("URL1","A2:A5")<>IMPORTRANGE("URL2","A2:A5")) + (IMPORTRANGE("URL1","B2:B5")<>IM... |
91,616 | <p>I am using this script in order to put a time stamp in column B when someone edits in a row. However, I need it to place the time stamp if someone edits a row in column A. I don't need it to place a stamp every time someone makes a change on the rest of the sheet. Can someone tell me what I need to change on this sc... | [
{
"answer_id": 91617,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>The \"if\" conditional should check whether the edited column has number 1. So it's <code>...getColumn() == 1</code>... | 2016/04/06 | [
"https://webapps.stackexchange.com/questions/91616",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/117222/"
] | I am using this script in order to put a time stamp in column B when someone edits in a row. However, I need it to place the time stamp if someone edits a row in column A. I don't need it to place a stamp every time someone makes a change on the rest of the sheet. Can someone tell me what I need to change on this scrip... | The "if" conditional should check whether the edited column has number 1. So it's `...getColumn() == 1` instead of `...getColumn() != 2`.
In addition, I simplified the script which wasn't particularly well written. Using the event object, and its range property, eliminates the need for most of that code.
```
functi... |
91,618 | <p>I need to create the following value:</p>
<pre><code>// "ABC" + current date + some random number
ABC20160405123
</code></pre>
<p>I do as follows:</p>
<pre><code>=CONCATENATE("ABC", NOW(), 123);
</code></pre>
<p>But instead of getting expected value I get something weird in date segment:</p>
<pre><code>ABC42465... | [
{
"answer_id": 91622,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>You need to convert the date value to a string of the form yyyymmdd. The <a href=\"https://support.google.com/docs/a... | 2016/04/06 | [
"https://webapps.stackexchange.com/questions/91618",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/112675/"
] | I need to create the following value:
```
// "ABC" + current date + some random number
ABC20160405123
```
I do as follows:
```
=CONCATENATE("ABC", NOW(), 123);
```
But instead of getting expected value I get something weird in date segment:
```
ABC42465.889227419123
```
How can I get pure date in `concatenate(... | You need to convert the date value to a string of the form yyyymmdd. The [`text`](https://support.google.com/docs/answer/3094139?hl=en) formula does this:
```
=text(today(), "yyyymmdd")
```
(It's better to use `today()` instead of `now()` when you want the date only.)
The entire formula would be
```
=concatenate... |
91,811 | <p>I need cell <code>B21</code> in the <code>Reports</code> sheet to add up all rows that meet this criterion: </p>
<blockquote>
<p>return a value of <code>1</code> if columns M, O, T, U, W, X, Z, AA, AB, AC have
the answer <code>No, I do not have psoriasis on this area</code> in the <code>Failed</code>
workshee... | [
{
"answer_id": 91822,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 1,
"selected": false,
"text": "<p>Try</p>\n\n<pre>\n=IF(\n AND(\n ArrayFormula(\n FILTER(\n {Failed!M2:M,Failed!O2:O,Failed!T2:U... | 2016/04/12 | [
"https://webapps.stackexchange.com/questions/91811",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/108708/"
] | I need cell `B21` in the `Reports` sheet to add up all rows that meet this criterion:
>
> return a value of `1` if columns M, O, T, U, W, X, Z, AA, AB, AC have
> the answer `No, I do not have psoriasis on this area` in the `Failed`
> worksheet.
>
>
>
The formula I currently have only applies to row 2.
```
=... | This should work:
```
=SUM(ArrayFormula(N({Failed!M2:M,Failed!O2:O,Failed!T2:U,Failed!W2:X,Failed!Z2:AC}="No, I do not have psoriasis on this area")))
```
After some clarification this formula seems to have worked:
```
=COUNTIF(ArrayFormula(MMULT(N({Failed!M2:M,Failed!O2:O,Failed!T2:U,Failed!W2:X,Failed!Z2:AC}="No,... |
91,812 | <p>How can I trigger a function when switching sheets?</p>
<p>Let's say I'm viewing a multi-sheet spreadsheet. Now I want a function to run whenever I switch from one sheet (tab) to another.<br>
<a href="https://i.stack.imgur.com/k2KZY.png" rel="noreferrer"><img src="https://i.stack.imgur.com/k2KZY.png" alt="Tabs in a... | [
{
"answer_id": 91818,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 0,
"selected": false,
"text": "<p>UPDATE: On <a href=\"https://developers.google.com/apps-script/releases#april_22_2020\" rel=\"nofollow noreferrer\... | 2016/04/12 | [
"https://webapps.stackexchange.com/questions/91812",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/63238/"
] | How can I trigger a function when switching sheets?
Let's say I'm viewing a multi-sheet spreadsheet. Now I want a function to run whenever I switch from one sheet (tab) to another.
[](https://i.stack.imgur.com/k2KZY.png)
Is that possible?
There is the... | As Rubén says, there's no such event built in. But you *might* have some (limited) success with this approach:
```
var PROP_NAME = "lastSheetIdx";
var userProperties = PropertiesService.getUserProperties();
function didSwitchSheets(from, to) {
Logger.log("Switched from " + from + " to " + to);
// Your code here
}... |
91,834 | <p>By default, Google Sheets only lets you save charts as PNGs. This isn't good enough when I need high-quality images, or images that are editable after export.</p>
<p>This quick tutorial<sup><a href="http://www.osmanoglu.org/computing/89-how-to-export-google-spreadsheet-charts-as-svg" rel="nofollow">1</a></sup> prov... | [
{
"answer_id": 100889,
"author": "villelai",
"author_id": 141140,
"author_profile": "https://webapps.stackexchange.com/users/141140",
"pm_score": 1,
"selected": false,
"text": "<p>It seems that you have to remove \"clip-path\" properties from your svg code.</p>\n\n<p>For example, change:... | 2016/04/12 | [
"https://webapps.stackexchange.com/questions/91834",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/13351/"
] | By default, Google Sheets only lets you save charts as PNGs. This isn't good enough when I need high-quality images, or images that are editable after export.
This quick tutorial[1](http://www.osmanoglu.org/computing/89-how-to-export-google-spreadsheet-charts-as-svg) provides guidance on pulling an SVG from Google She... | It seems that you have to remove "clip-path" properties from your svg code.
For example, change:
```
<g clip-path="url(https://docs.google.com/spreadsheets/d/12CllO5vsUKSajp-rl8dGZOUYB-zp75hjqSDu6N0dc4A/edit#_ABSTRACT_RENDERER_ID_1460)">
```
to
```
<g>
```
That made it for me! |
91,851 | <p>I want to invert the spreadsheet so I get the data at the top every day.</p>
<p>I've tried to </p>
<pre><code>=sort(importdata("=importdata("http://www.tr4der.com/download/historical-prices/SPY/"),1,false)
</code></pre>
<p>but that doesn't seem to work. Would anyone know how to invert the .csv file?</p>
| [
{
"answer_id": 91853,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>Applying <code>sort</code> is certainly the easiest, it sometimes results in the header row getting sorted to the bo... | 2016/04/13 | [
"https://webapps.stackexchange.com/questions/91851",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/95246/"
] | I want to invert the spreadsheet so I get the data at the top every day.
I've tried to
```
=sort(importdata("=importdata("http://www.tr4der.com/download/historical-prices/SPY/"),1,false)
```
but that doesn't seem to work. Would anyone know how to invert the .csv file? | This is the easiest way to achieve the descending sort:
```
=sort(importdata("http://www.tr4der.com/download/historical-prices/SPY/"),3,false)
``` |
91,864 | <p>I would like to change the preview image that is shown when sharing a link on Facebook, e.g. on a timeline, in a chat or post.</p>
<p><a href="https://i.stack.imgur.com/Mn3S4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mn3S4.png" alt="enter image description here"></a></p>
<p><strong>Figure ... | [
{
"answer_id": 91867,
"author": "serenesat",
"author_id": 87130,
"author_profile": "https://webapps.stackexchange.com/users/87130",
"pm_score": 3,
"selected": true,
"text": "<p>From <a href=\"https://www.facebook.com/help/community/question/?id=10200814000150949&answer_id=10202128804... | 2016/04/13 | [
"https://webapps.stackexchange.com/questions/91864",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/35393/"
] | I would like to change the preview image that is shown when sharing a link on Facebook, e.g. on a timeline, in a chat or post.
[](https://i.stack.imgur.com/Mn3S4.png)
**Figure 1: Screenshot of a shared link on Facebook Messenger.** | From [Help Centre answer](https://www.facebook.com/help/community/question/?id=10200814000150949&answer_id=10202128804180228&rdrhc):
>
> Here’s how this works all:
>
>
> 1. You need the ability to access the HTML on the particular webpage you are sharing. It'll probably work site wide too if you use a common header... |
91,882 | <p>I am using Google Inbox and I'm looking for all of the reminders in my account with "keyword" in them.</p>
<p>Problem is that "keyword" also shows up in tons of my email (way too many to page through), and I am looking only for reminders, not emails.</p>
<p>Is there a way to search only reminders?</p>
| [
{
"answer_id": 95223,
"author": "Derek",
"author_id": 105055,
"author_profile": "https://webapps.stackexchange.com/users/105055",
"pm_score": 4,
"selected": true,
"text": "<p>You can search only for reminders by adding the search operator \"is:reminder\" to your search.</p>\n\n<pre><code... | 2016/04/13 | [
"https://webapps.stackexchange.com/questions/91882",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/98903/"
] | I am using Google Inbox and I'm looking for all of the reminders in my account with "keyword" in them.
Problem is that "keyword" also shows up in tons of my email (way too many to page through), and I am looking only for reminders, not emails.
Is there a way to search only reminders? | You can search only for reminders by adding the search operator "is:reminder" to your search.
```
keyword is:reminder
```
If you want only reminders that have not been marked done, add "in:inbox"
```
keyword is:reminder in:inbox
``` |
91,932 | <p>I want to create simple objects such as this:</p>
<pre><code>+-------------+
| Container |
+-------------+
| col1 | col2 |
+-------------+
</code></pre>
<p>How can I accomplish this in draw.io? I found "divider" elements that can create rows, but nothing comparable to create vertical splits (columns).</p>
<p>I ... | [
{
"answer_id": 107620,
"author": "Yanay Bar-yossef",
"author_id": 159440,
"author_profile": "https://webapps.stackexchange.com/users/159440",
"pm_score": 3,
"selected": false,
"text": "<p>You are right, there seems to be no simple tables like we are used to from a spreadsheet but I searc... | 2016/04/15 | [
"https://webapps.stackexchange.com/questions/91932",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/121311/"
] | I want to create simple objects such as this:
```
+-------------+
| Container |
+-------------+
| col1 | col2 |
+-------------+
```
How can I accomplish this in draw.io? I found "divider" elements that can create rows, but nothing comparable to create vertical splits (columns).
I also tried containers that looked... | You are right, there seems to be no simple tables like we are used to from a spreadsheet but I searched for a table in the search bar.
Added a screenshot that might help:
[](https://i.stack.imgur.com/6UQtP.png) |
91,944 | <p>I'm trying to adjust this code so that I can jump to today's date which are all across row 2 in my spreadsheet.</p>
<pre><code>function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var range = sheet.getRange("A:A");
var values = range.getValues();
var day = 24*3... | [
{
"answer_id": 91955,
"author": "Max Makhrov",
"author_id": 118810,
"author_profile": "https://webapps.stackexchange.com/users/118810",
"pm_score": 3,
"selected": false,
"text": "<p>try this code:</p>\n\n<pre><code>function onOpen() {\n var ss = SpreadsheetApp.getActiveSpreadsheet();\n v... | 2016/04/15 | [
"https://webapps.stackexchange.com/questions/91944",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/121329/"
] | I'm trying to adjust this code so that I can jump to today's date which are all across row 2 in my spreadsheet.
```
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var range = sheet.getRange("A:A");
var values = range.getValues();
var day = 24*3600*1000;
v... | try this code:
```
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var range = sheet.getRange("2:2");
var values = range.getValues();
values = values[0];
var day = 24*3600*1000;
var today = parseInt((new Date().setHours(0,0,0,0))/day);
Logger.log(today... |
91,964 | <p>I would like to type <a href="https://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation" rel="noreferrer">bra-keted expression</a></p>
<p><a href="https://i.stack.imgur.com/KDB34.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KDB34.png" alt="bra-keted expression"></a></p>
<p>into the document. How do I do ... | [
{
"answer_id": 91968,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>The Docs support a little bit of TeX syntax, but apparently not \\langle and \\rangle. It seems the best we can do is... | 2016/04/15 | [
"https://webapps.stackexchange.com/questions/91964",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/114885/"
] | I would like to type [bra-keted expression](https://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation)
[](https://i.stack.imgur.com/KDB34.png)
into the document. How do I do that? | The Docs support a little bit of TeX syntax, but apparently not \langle and \rangle. It seems the best we can do is to use Unicode characters:
```
U+27E8 ⟨ Mathematical left angle bracket
U+27E9 ⟩ Mathematical right angle bracket
```
There may be a way to type these, but I haven't succeeded, and just copy-pas... |
91,969 | <p>I would like to get the Sum for the following formatted spreadsheet:</p>
<pre><code>|PIZZA |ABC |21 |
| |GHT |12 |
| |ERT |45 |
| |DFT |2 |=21+12+45+2
|EGGS |GTD |96 |
| |YHJ |5 |
| |PHJ |78 |=96+5+78
</code></pre>
<p>The list continues for 1000+ items with variable amount of LOT#</p>
| [
{
"answer_id": 91971,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>This solution uses a helper column D (it could be hidden, or placed far to the right on the sheet). </p>\n\n<p>Formu... | 2016/04/15 | [
"https://webapps.stackexchange.com/questions/91969",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/121353/"
] | I would like to get the Sum for the following formatted spreadsheet:
```
|PIZZA |ABC |21 |
| |GHT |12 |
| |ERT |45 |
| |DFT |2 |=21+12+45+2
|EGGS |GTD |96 |
| |YHJ |5 |
| |PHJ |78 |=96+5+78
```
The list continues for 1000+ items with variable amount of LOT# | This solution uses a helper column D (it could be hidden, or placed far to the right on the sheet).
Formula in D2: `=if(len(A2), C2, C2+D1)`, then dragged down the row. This computes a cumulative sum, restarting every time there is an entry in A column.
Formula in E2: `=if(len(A3), D2,)`, then dragged down the row. ... |