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 |
|---|---|---|---|---|---|---|
73,008 | <p>Ok, so I have data in this format:</p>
<pre><code> A B C D
2 X X X
3 X X
4 X X X
5 X
6 X X
...
</code></pre>
<p>I have a formula that helps with a total count per column:</p>
<pre><code> =COUNTA(A2:A)
</code></pre... | [
{
"answer_id": 73145,
"author": "Joris F.",
"author_id": 86178,
"author_profile": "https://webapps.stackexchange.com/users/86178",
"pm_score": 0,
"selected": false,
"text": "<p>English isn't my first language, I didn't comprehend everything you wrote, but now I think I've got it.</p>\n\n... | 2015/01/21 | [
"https://webapps.stackexchange.com/questions/73008",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/85795/"
] | Ok, so I have data in this format:
```
A B C D
2 X X X
3 X X
4 X X X
5 X
6 X X
...
```
I have a formula that helps with a total count per column:
```
=COUNTA(A2:A)
```
But how do I calculate “exclusives”? In thi... | Assuming that `A` is in Cell A1, flag the rows in which you are interested with, in a spare column (E assumed), something like :
```
=(counta(A2:D2)=1)*1
```
copied down to suit. Count the rows in each column that are flagged and contain `X` with something like:
```
=countifs(A1:A10,"X",$E1:$E10,1)
```
in Co... |
73,102 | <p>I'm using Google Sheets.
Every week I add a column with new data, and I need the data from the latest column copied into another sheet. The formula needs to pull the cell of the last column in the row.</p>
<p>I've googled left and right and tried and tried.</p>
<p>The "best" formula that I have tried is: </p>
<pr... | [
{
"answer_id": 80466,
"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<p>At this time Google documents do not have a way to hide content.</p>\n<h1>Alternatives</h1>\... | 2015/01/22 | [
"https://webapps.stackexchange.com/questions/73102",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/87684/"
] | I'm using Google Sheets.
Every week I add a column with new data, and I need the data from the latest column copied into another sheet. The formula needs to pull the cell of the last column in the row.
I've googled left and right and tried and tried.
The "best" formula that I have tried is:
```
=index(2:2,counta(2:... | Short Answer
============
At this time Google documents do not have a way to hide content.
Alternatives
============
An alternative is to publish to the web the document before you start to work in the sections that want to hide.
Another alternative is create a copy of the document and remove the content to share, ... |
73,103 | <p>I am trying to make life easier for myself by organising my teaching materials for private tutees of mine from various subjects/educational levels in google spreadsheets.</p>
<p>I want to know how I can take a string literal such as "Paper " and concatenate it to the string of characters as they appear in another c... | [
{
"answer_id": 73104,
"author": "NextInLine",
"author_id": 86270,
"author_profile": "https://webapps.stackexchange.com/users/86270",
"pm_score": 6,
"selected": true,
"text": "<p>It looks like you want the <code>&</code> operator</p>\n\n<p>I'm not quite clear which thing you are conca... | 2015/01/20 | [
"https://webapps.stackexchange.com/questions/73103",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/68559/"
] | I am trying to make life easier for myself by organising my teaching materials for private tutees of mine from various subjects/educational levels in google spreadsheets.
I want to know how I can take a string literal such as "Paper " and concatenate it to the string of characters as they appear in another cell using ... | It looks like you want the `&` operator
I'm not quite clear which thing you are concatenating to which in the question; however, you can do either
```
=$BJ$2 & "24"
```
or
```
=$BJ$2 & BH1
```
or
```
="Paper" & BH1
```
assuming you are on row 2 and the number is on row 1 (the `$` locks the cell so that it doe... |
73,252 | <p>There is <a href="https://support.google.com/docs/answer/3093342">IMPORTXML</a> function to import data from any of various structured data types including XML, HTML, CSV, TSV, and RSS and ATOM XML feeds.</p>
<p>Is there any similar solution to import data in JSON format?</p>
| [
{
"answer_id": 73270,
"author": "kenorb",
"author_id": 22759,
"author_profile": "https://webapps.stackexchange.com/users/22759",
"pm_score": 5,
"selected": true,
"text": "<p>Currently there is no any Add-on which offer this functionality, so you have to create or import custom functions ... | 2015/01/27 | [
"https://webapps.stackexchange.com/questions/73252",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/22759/"
] | There is [IMPORTXML](https://support.google.com/docs/answer/3093342) function to import data from any of various structured data types including XML, HTML, CSV, TSV, and RSS and ATOM XML feeds.
Is there any similar solution to import data in JSON format? | Currently there is no any Add-on which offer this functionality, so you have to create or import custom functions by *Script Editor* available in *Tools* menu (for Spreadsheet). Then re-paste the content of `ImportJSON.gs` from [bradjasper's GitHub page](https://github.com/bradjasper/ImportJSON) and save it.
After tha... |
73,311 | <p>Once you add a header to a Google document, it offsets the top of the document even if empty, and receives click events. How can you then remove the header?</p>
<p>I am aware that you can reduce the header's effects by decreasing the page's top margin, and reducing the font size in the header—those are not the solu... | [
{
"answer_id": 73318,
"author": "Jacob Jan Tuinstra",
"author_id": 29140,
"author_profile": "https://webapps.stackexchange.com/users/29140",
"pm_score": 5,
"selected": true,
"text": "<p><strong>edit</strong></p>\n\n<p>There's an Add-on available that removes the header or footer in the a... | 2015/01/29 | [
"https://webapps.stackexchange.com/questions/73311",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/37492/"
] | Once you add a header to a Google document, it offsets the top of the document even if empty, and receives click events. How can you then remove the header?
I am aware that you can reduce the header's effects by decreasing the page's top margin, and reducing the font size in the header—those are not the solutions I am... | **edit**
There's an Add-on available that removes the header or footer in the active document only once added:
**[Documents by Top Contributors](https://chrome.google.com/webstore/detail/documents-by-top-contribu/legopboheadejbmpbakifohpkoipopjh?utm_source=permalink)**
[**
[ to preserve indentations in Facebook.</p>\n<p>Here's a Facebook comment in ... | 2015/02/01 | [
"https://webapps.stackexchange.com/questions/73433",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/86924/"
] | I'd like to have a bulleted list in a Facebook comment, with multiple levels of indentation:
* Something
+ More about it
* Something else
I don't care whether it uses actual bullets, or hyphens, or anything else as long as it can convey that structure.
However, Facebook insists on stripping out my leading whitespac... | You can use ideographic spaces ( ) to preserve indentations in Facebook.
Here's a Facebook comment in progress:
[](https://i.stack.imgur.com/xryXr.png)
Here's what it looks like after pressing Enter to submit it:
[![a Facebook comme... |
73,448 | <p>I have two columns side by side containing dates. The dates in column A are based on when a project is due. The dates in column B are based on when a project is completed. What I want to do is show Dates completed in column B in red that are past the due date listed in Column A. Here is an example of what I mean:</p... | [
{
"answer_id": 73450,
"author": "pnuts",
"author_id": 60716,
"author_profile": "https://webapps.stackexchange.com/users/60716",
"pm_score": 1,
"selected": false,
"text": "<p>Please select ColumnB, Format - Conditional formatting..., <strong>Custom formula is</strong>: </p>\n\n<pre><code... | 2015/02/02 | [
"https://webapps.stackexchange.com/questions/73448",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/86858/"
] | I have two columns side by side containing dates. The dates in column A are based on when a project is due. The dates in column B are based on when a project is completed. What I want to do is show Dates completed in column B in red that are past the due date listed in Column A. Here is an example of what I mean:
```
... | Please select ColumnB, Format - Conditional formatting..., **Custom formula is**:
```
=B1>A1
```
and select red. |
73,476 | <p>I've got a Google sheet that is updated quite regularly by a few people.</p>
<p>I'd like to be able to view the doc, and at a glance—have a cell that shows a date (last modified) and another cell (user that made the modification).</p>
<p>Is this at all possible and how would I do this?</p>
<p>Something like this:... | [
{
"answer_id": 73721,
"author": "Amit Agarwal",
"author_id": 6559,
"author_profile": "https://webapps.stackexchange.com/users/6559",
"pm_score": 1,
"selected": false,
"text": "<p>You can set up an <a href=\"https://developers.google.com/apps-script/guides/triggers/#onedit\" rel=\"nofollo... | 2015/02/03 | [
"https://webapps.stackexchange.com/questions/73476",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/86903/"
] | I've got a Google sheet that is updated quite regularly by a few people.
I'd like to be able to view the doc, and at a glance—have a cell that shows a date (last modified) and another cell (user that made the modification).
Is this at all possible and how would I do this?
Something like this:
, the [onEdit() trigger](https://developers.google.com/apps-script/guides/triggers/#onedit) will work for this, and you'll need to get values from the [Edit event object](https://developers.google.com/apps-script/guides/triggers/events#edit). ... |
73,586 | <p>Example: When searching for "micro hdmi hdmi", I obtain the following list of items.</p>
<p><img src="https://i.stack.imgur.com/aLze1.png" alt="enter image description here" /></p>
<p>Looking good, at a cheap price.</p>
<p><img src="https://i.stack.imgur.com/AmrhJ.png" alt="enter image description here" />... | [
{
"answer_id": 106111,
"author": "forlackofabettername",
"author_id": 155018,
"author_profile": "https://webapps.stackexchange.com/users/155018",
"pm_score": 3,
"selected": false,
"text": "<p>I thought I'd post my hacky solution for anyone else stumbling across this in the future.</p>\n\... | 2015/02/05 | [
"https://webapps.stackexchange.com/questions/73586",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/86069/"
] | Example: When searching for "micro hdmi hdmi", I obtain the following list of items.

Looking good, at a cheap price.


2. Click the "Console" tab
3. Copy+P... |
73,598 | <p>I have nested folders in my google drive.</p>
<pre><code>My Drive/
...
Shared with Me/
Folder1/
folder11/
filex
filey
folder12/
filez
</code></pre>
<p>I want to move filey in to folder12 but in the current web interface "move to" only allows me to move t... | [
{
"answer_id": 73599,
"author": "Mahavirsinh Padhiyar",
"author_id": 87104,
"author_profile": "https://webapps.stackexchange.com/users/87104",
"pm_score": -1,
"selected": false,
"text": "<p>You can see NEW button left side through which you can create new folder and file upload and etc..... | 2015/02/05 | [
"https://webapps.stackexchange.com/questions/73598",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/87131/"
] | I have nested folders in my google drive.
```
My Drive/
...
Shared with Me/
Folder1/
folder11/
filex
filey
folder12/
filez
```
I want to move filey in to folder12 but in the current web interface "move to" only allows me to move this file outside of shared... | In order to move the file, you'll need to add it to "My Drive". Until you do that it's only shared with you and you don't have rights to do much of anything with it.
Click the "Add to My Drive" icon/link. Then you should be able to do what you want. |
73,700 | <p>I need to create a random string of 8 characters for every row in Google Spreadsheet.
Basically string should contain letters and numbers upper and low case only, example:</p>
<pre><code>LZJ2cuWT
</code></pre>
<p>Any idea how to do it without using Add-On?</p>
| [
{
"answer_id": 73717,
"author": "pnuts",
"author_id": 60716,
"author_profile": "https://webapps.stackexchange.com/users/60716",
"pm_score": 5,
"selected": true,
"text": "<p>You might try: </p>\n\n<pre><code>=CHOOSE(RANDBETWEEN(1,2),CHAR(RANDBETWEEN(65,90)),\n CHA... | 2015/02/09 | [
"https://webapps.stackexchange.com/questions/73700",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/87301/"
] | I need to create a random string of 8 characters for every row in Google Spreadsheet.
Basically string should contain letters and numbers upper and low case only, example:
```
LZJ2cuWT
```
Any idea how to do it without using Add-On? | You might try:
```
=CHOOSE(RANDBETWEEN(1,2),CHAR(RANDBETWEEN(65,90)),
CHAR(RANDBETWEEN(97,122)))&
CHOOSE(RANDBETWEEN(1,2),CHAR(RANDBETWEEN(65,90)),
CHAR(RANDBETWEEN(97,122)))
```
strung together with `&` three more times.
---
[@Cornelius Roemer](https://webapps... |
73,701 | <p>I'm trying to take information from Google Sheets and use it to send an email with the information given in sheets. I have the email part down, but when I try to <code>editAsText</code> to delete unwanted characters it won't allow me to. Here is what I am trying to accomplish:</p>
<pre><code>var start = row[5];
ret... | [
{
"answer_id": 73702,
"author": "Vidar S. Ramdal",
"author_id": 21583,
"author_profile": "https://webapps.stackexchange.com/users/21583",
"pm_score": 1,
"selected": true,
"text": "<p>You're basically wanting to format a date.</p>\n\n<p>I would act on the JavaScript <code>Date</code> obje... | 2015/02/09 | [
"https://webapps.stackexchange.com/questions/73701",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/87042/"
] | I'm trying to take information from Google Sheets and use it to send an email with the information given in sheets. I have the email part down, but when I try to `editAsText` to delete unwanted characters it won't allow me to. Here is what I am trying to accomplish:
```
var start = row[5];
returns: Fri Feb 20 2015 00:... | You're basically wanting to format a date.
I would act on the JavaScript `Date` object, something like:
```
var startDate = new Date(row[5]);
var weekDay;
switch (startDate.getDay()) {
case 0: weekDay = "Sun"; break;
case 1: weekDay = "Mon"; break;
case 2: weekDay = "Tue"; break;
case 3: weekDay = "Wed"; brea... |
73,907 | <p>I am trying to get a sum of column values in a Google Spreadsheet only if there is no value in the column above. Consider the following example:</p>
<pre><code> A | B | C
---------------------------------
| | Formula on blank row
Apple | 1 |
Apple2 | 2 |
| |
Bravo | 3 |
Bravo... | [
{
"answer_id": 73911,
"author": "JPV",
"author_id": 83521,
"author_profile": "https://webapps.stackexchange.com/users/83521",
"pm_score": 1,
"selected": false,
"text": "<p>If you are ok with using closed ranges, try:</p>\n\n<pre><code>=sum(ArrayFormula(if(B2:B100=\"\", offset(B2:B100,1,0... | 2015/02/14 | [
"https://webapps.stackexchange.com/questions/73907",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/29166/"
] | I am trying to get a sum of column values in a Google Spreadsheet only if there is no value in the column above. Consider the following example:
```
A | B | C
---------------------------------
| | Formula on blank row
Apple | 1 |
Apple2 | 2 |
| |
Bravo | 3 |
Bravo2 | 5 |
```
... | Turns out I was using the SUMIF formula wrong. This works:
```
=SUMIF(A1:A,"",B2:B)
``` |
73,976 | <p>When I send someone an email on Gmail, can they see the name I've set for them? Anything from your personal experience would be useful in answering this question.</p>
| [
{
"answer_id": 73977,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>Yes, if they are on Gmail. If you click on the little arrow when you receive an email next to the \"to me\" part, th... | 2015/02/16 | [
"https://webapps.stackexchange.com/questions/73976",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | When I send someone an email on Gmail, can they see the name I've set for them? Anything from your personal experience would be useful in answering this question. | Short answer:
Yes.
Long answer:
There is a feature in Gmail called 'Show original' which allows you to see an email message in its 'raw/text' format, including its headers, encoded attachments, markup, etc. You can view a message in this format by clicking on the ▼ in the upper right corner of the message window and... |
74,023 | <p>I have two columns in Google Sheets, and I would like the product of a cross-join:</p>
<pre>
Student
-------
Jake
John
Sally
Grace
Days
-----
1/1/15
1/2/15
1/3/15
1/4/15
</pre>
<p>For example, if these were tables in SQL, and I did a cross-join, I would get</p>
<pre>
Days Students
------ --------
1/1/15 Jake
1... | [
{
"answer_id": 74025,
"author": "JPV",
"author_id": 83521,
"author_profile": "https://webapps.stackexchange.com/users/83521",
"pm_score": 3,
"selected": false,
"text": "<p>assuming you have the names in A2:A5 and the dates in B2:B5, try this formula:</p>\n\n<pre><code>=ArrayFormula({tran... | 2015/02/17 | [
"https://webapps.stackexchange.com/questions/74023",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/87842/"
] | I have two columns in Google Sheets, and I would like the product of a cross-join:
```
Student
-------
Jake
John
Sally
Grace
Days
-----
1/1/15
1/2/15
1/3/15
1/4/15
```
For example, if these were tables in SQL, and I did a cross-join, I would get
```
Days Students
------ --------
1/1/15 Jake
1/1/15 John
1/1/15 ... | assuming you have the names in A2:A5 and the dates in B2:B5, try this formula:
```
=ArrayFormula({transpose(split(join(char(9), rept(B2:B5&char(9),rows(B2:B5))),char(9))), transpose(split(rept(join(char(9),A2:A5)&char(9),rows(B2:B5)),char(9)))})
```
[Example sheet](https://docs.google.com/a/open-school.be/spreadshee... |
74,238 | <p>There are <strong>numerous</strong> reports of issues with Gmail labels, stars, unreads, message counts, and generally searching or counting combinations of these. Many of these seem to come from a common cause.</p>
<p>I understand that Google has <a href="https://support.google.com/mail/answer/118708?hl=en" rel="n... | [
{
"answer_id": 89958,
"author": "Sherwood Botsford",
"author_id": 65339,
"author_profile": "https://webapps.stackexchange.com/users/65339",
"pm_score": 2,
"selected": false,
"text": "<p>The following work flow helps.</p>\n\n<p>Get into conversation mode if not already there. (General set... | 2015/02/23 | [
"https://webapps.stackexchange.com/questions/74238",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/56455/"
] | There are **numerous** reports of issues with Gmail labels, stars, unreads, message counts, and generally searching or counting combinations of these. Many of these seem to come from a common cause.
I understand that Google has [obscurely documented](https://support.google.com/mail/answer/118708?hl=en)
that: despite ... | The following work flow helps.
Get into conversation mode if not already there. (General settings)
For each label:
* Select the label
* Check the box above the list to select all in the list.
* Check the link that appears at the top of the list to extend the selection to the rest of the labeled conversations.
At th... |
74,257 | <p>Whenever I respond to a tweet of a person I'm following on Twitter, I am able to see my reply when I click on the original tweet of the person I follow.</p>
<p><strong>But</strong> when I’m not logged into Twitter and look at the original tweet, my response isn't even listed. Is it possible that the person blocked ... | [
{
"answer_id": 74925,
"author": "lizziepooh",
"author_id": 89325,
"author_profile": "https://webapps.stackexchange.com/users/89325",
"pm_score": 0,
"selected": false,
"text": "<p>Maybe they have you on mute so that is why you only see it when you are logged in? Not sure if that is what h... | 2015/02/23 | [
"https://webapps.stackexchange.com/questions/74257",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/88215/"
] | Whenever I respond to a tweet of a person I'm following on Twitter, I am able to see my reply when I click on the original tweet of the person I follow.
**But** when I’m not logged into Twitter and look at the original tweet, my response isn't even listed. Is it possible that the person blocked me on Twitter or someth... | If you're @replying to a person on Twitter, only that person and that person's followers will see the tweet. Non-followers or anonymous people won't see it.
If you want to @reply to someone and have the world see it, the general convention is to put a period (`.`) in front of the @reply. Like so:
```
.@teamrocket I s... |
74,275 | <p>I want to obtain root domains from a list of URLs with REGEXEXTRACT but want the list of all possible TLDs to come from another sheet, to avoid specifying <code>com|net|org|all other</code> by hand. Basic idea:</p>
<pre><code> =REGEXEXTRACT(A2, "\w+\.(?:com|net|org)")
</code></pre>
<p>What I want: </p>
<pre><cod... | [
{
"answer_id": 74279,
"author": "Jacob Jan Tuinstra",
"author_id": 29140,
"author_profile": "https://webapps.stackexchange.com/users/29140",
"pm_score": 1,
"selected": false,
"text": "<p>You need to do this.</p>\n\n<h2>Formula</h2>\n\n<p><em>new Google Sheet</em></p>\n\n<pre><code>=REGEX... | 2015/02/23 | [
"https://webapps.stackexchange.com/questions/74275",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/30878/"
] | I want to obtain root domains from a list of URLs with REGEXEXTRACT but want the list of all possible TLDs to come from another sheet, to avoid specifying `com|net|org|all other` by hand. Basic idea:
```
=REGEXEXTRACT(A2, "\w+\.(?:com|net|org)")
```
What I want:
```
=REGEXEXTRACT(A2, "\w+\.(?:IMPORTRANGE("$SHE... | You need to do this.
Formula
-------
*new Google Sheet*
```
=REGEXEXTRACT(IMPORTRANGE("URL_IMPORT_SHEET", "A2"), "(\w+\.\w+)$")
```
*old Google Spreadsheet*
```
=REGEXEXTRACT(IMPORTRANGE("KEY_IMPORT_SHEET", "A2"), "(\w+\.\w+)$")
```
For a range you need to do this.
```
=ARRAYFORMULA(REGEXEXTRACT(IMPORTRANGE("... |
74,366 | <p>I don't need timezones or anything complicated, just a string on the <code>HH:MM</code> format, that matches the custom format available. I don't need days, months or anything like that, just the time.</p>
| [
{
"answer_id": 74540,
"author": "Ayhan",
"author_id": 11452,
"author_profile": "https://webapps.stackexchange.com/users/11452",
"pm_score": 2,
"selected": false,
"text": "<p>If you want to use forms there is a time picker element to select time. Otherwise, you don’t have a time picker.</... | 2015/02/26 | [
"https://webapps.stackexchange.com/questions/74366",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/88413/"
] | I don't need timezones or anything complicated, just a string on the `HH:MM` format, that matches the custom format available. I don't need days, months or anything like that, just the time. | Go to Data > Data Validation
Select "List of Items"
Paste this in the box:
```
01:00A, 01:15A, 01:30A, 01:45A, 02:00A, 02:15A, 02:30A, 02:45A, 03:00A, 03:15A, 03:30A, 03:45A, 04:00A, 04:15A, 04:30A, 04:45A, 05:00A, 05:15A, 05:30A, 05:45A, 06:00A, 06:15A, 06:30A, 06:45A, 07:00A, 07:15A, 07:30A, 07:45A, 08:00A, 08... |
74,531 | <p>I keep running into situations where I have a list of values in a single cell, and I need some value out of the list: by list I mean a string of values (generally dates, but could be numbers or some other data) separated commonly by Ctrl+Enter (char(10)) and I want the first out of the list. I use this:</p>
<pre><c... | [
{
"answer_id": 74814,
"author": "JPV",
"author_id": 83521,
"author_profile": "https://webapps.stackexchange.com/users/83521",
"pm_score": 1,
"selected": false,
"text": "<p>This should allow you to get the last element in the array generated by split():</p>\n\n<pre><code>=ArrayFormula(ind... | 2015/03/04 | [
"https://webapps.stackexchange.com/questions/74531",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/88436/"
] | I keep running into situations where I have a list of values in a single cell, and I need some value out of the list: by list I mean a string of values (generally dates, but could be numbers or some other data) separated commonly by Ctrl+Enter (char(10)) and I want the first out of the list. I use this:
```
=split(sub... | Shorter:
```
=index(split(A1,"|"),counta(split(A1,"|")))
```
Assumes pipe is the relevant delimiter, but may be changed. |
74,570 | <p>I am using hyperlinks on some price values on cell in Google Docs. So my cells look like this:</p>
<pre><code>=HYPERLINK("http://www.site.com/item","$25.00")
</code></pre>
<p>I am trying to perform a <code>SUM</code> operation on a bunch of these cells but it was always returning 0. After investigating a little, I... | [
{
"answer_id": 74977,
"author": "Jean-Rene Bouvier",
"author_id": 88594,
"author_profile": "https://webapps.stackexchange.com/users/88594",
"pm_score": 1,
"selected": false,
"text": "<p>You cannot sum the contents of cells containing hyperlinks, however, you can make your hyperlinks retr... | 2015/03/05 | [
"https://webapps.stackexchange.com/questions/74570",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/17106/"
] | I am using hyperlinks on some price values on cell in Google Docs. So my cells look like this:
```
=HYPERLINK("http://www.site.com/item","$25.00")
```
I am trying to perform a `SUM` operation on a bunch of these cells but it was always returning 0. After investigating a little, I realized that it was because the val... | You can sum the values used in the `HYPERLINK` formula.
Formula
-------
```
=SUM(ARRAYFORMULA(VALUE(RIGHT(A1:A5, LEN(A1:A5)-1))))
```
Explained
---------
The `LEN` formula determines the length of the string. The `RIGHT` formula allows you to extract characters from a string from the right side on. It uses the len... |
74,578 | <p>I would like to create 20-30 shortened URLs to Google Documents using Google own URL shortener Goo.gl. Does anybody know if this is possible or do I need to enter them one by one?</p>
| [
{
"answer_id": 74977,
"author": "Jean-Rene Bouvier",
"author_id": 88594,
"author_profile": "https://webapps.stackexchange.com/users/88594",
"pm_score": 1,
"selected": false,
"text": "<p>You cannot sum the contents of cells containing hyperlinks, however, you can make your hyperlinks retr... | 2015/03/05 | [
"https://webapps.stackexchange.com/questions/74578",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/77290/"
] | I would like to create 20-30 shortened URLs to Google Documents using Google own URL shortener Goo.gl. Does anybody know if this is possible or do I need to enter them one by one? | You can sum the values used in the `HYPERLINK` formula.
Formula
-------
```
=SUM(ARRAYFORMULA(VALUE(RIGHT(A1:A5, LEN(A1:A5)-1))))
```
Explained
---------
The `LEN` formula determines the length of the string. The `RIGHT` formula allows you to extract characters from a string from the right side on. It uses the len... |
74,685 | <p>One column is labeled Checkin Time and the other is labeled Checkout Time and finally I have a column that is labeled Total Time Worked. The cells in the Total Time worked column should subtract the time in the checkout time column from the time in the Checkin Time column. How do I do this in the script? The time... | [
{
"answer_id": 74903,
"author": "Cristian Lupascu",
"author_id": 12705,
"author_profile": "https://webapps.stackexchange.com/users/12705",
"pm_score": 1,
"selected": false,
"text": "<p>Here's a script that should do what you need:</p>\n\n<pre><code>var MilitaryTime = function(value) {\n ... | 2015/03/08 | [
"https://webapps.stackexchange.com/questions/74685",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/88969/"
] | One column is labeled Checkin Time and the other is labeled Checkout Time and finally I have a column that is labeled Total Time Worked. The cells in the Total Time worked column should subtract the time in the checkout time column from the time in the Checkin Time column. How do I do this in the script? The times in t... | Here's a script that should do what you need:
```
var MilitaryTime = function(value) {
this.timeValue = parseInt(value, 10);
this.hour = Math.floor(this.timeValue / 100);
this.minute = this.timeValue % 100;
this.totalMinutes = this.hour * 60 + this.minute;
}
MilitaryTime.fromMinutes = function(totalMinutes){
... |
74,885 | <p>How can I copy formulae (like <code>=D3</code>) from a <em>range of cells</em> (several rows and/or columns), and paste those formulae (not the values) somewhere in like TextEdit or anywhere else?</p>
<p>Normally it will just paste the data.
I want to avoid manually selecting each formula one by one, as it takes a ... | [
{
"answer_id": 74933,
"author": "Jacob Jan Tuinstra",
"author_id": 29140,
"author_profile": "https://webapps.stackexchange.com/users/29140",
"pm_score": 3,
"selected": true,
"text": "<p>In order for you to do that, you can either press <kbd>Ctrl</kbd> + <kbd>`</kbd> or select from the me... | 2015/03/12 | [
"https://webapps.stackexchange.com/questions/74885",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/29203/"
] | How can I copy formulae (like `=D3`) from a *range of cells* (several rows and/or columns), and paste those formulae (not the values) somewhere in like TextEdit or anywhere else?
Normally it will just paste the data.
I want to avoid manually selecting each formula one by one, as it takes a long time. | In order for you to do that, you can either press `Ctrl` + ``` or select from the menu *View > Select all formulae*. Now you are able to select the range you want to copy.
Screenshot
----------
*menu*

*before*
 changes?</p>
<p>Is there any function that allows to retrieve the value for exchange rates from the web, so that I don't have to change that each day manually?</p>
| [
{
"answer_id": 75056,
"author": "MFeldman",
"author_id": 89568,
"author_profile": "https://webapps.stackexchange.com/users/89568",
"pm_score": 0,
"selected": false,
"text": "<p>You can use:</p>\n\n<pre><code>=GoogleFinance(\"ticker symbol\",\"price\")\n</code></pre>\n\n<p>It will pull US... | 2015/03/17 | [
"https://webapps.stackexchange.com/questions/75052",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/89588/"
] | How can I create a cell in Google Spreadsheet that automatically updates its value when its respective value in the web (i.e. exchange rates) changes?
Is there any function that allows to retrieve the value for exchange rates from the web, so that I don't have to change that each day manually? | To update currency conversion rates on a daily basis, for the Euro to $US for example, do this:
```
=GoogleFinance("CURRENCY:EURUSD";"price")
```
That formula goes in the cell where you want the quote to appear. Instead of "price", you could use "close", if that's what you want for the day prior. |
75,067 | <p>I have a Google Sheet that collects data and analyses any trends.
What I'm trying to do is figure out how to output the text value associated with the numerical value.</p>
<p>Example:</p>
<pre><code>Apples 7
Oranges 2
Pears 0
Mangoes 4
</code></pre>
<p>I grab the highest values by doing the fo... | [
{
"answer_id": 75081,
"author": "Jacob Jan Tuinstra",
"author_id": 29140,
"author_profile": "https://webapps.stackexchange.com/users/29140",
"pm_score": 1,
"selected": false,
"text": "<p>With the following formula you can accomplish that.</p>\n\n<h2>Formula</h2>\n\n<pre><code>=QUERY(DATA... | 2015/03/17 | [
"https://webapps.stackexchange.com/questions/75067",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/89623/"
] | I have a Google Sheet that collects data and analyses any trends.
What I'm trying to do is figure out how to output the text value associated with the numerical value.
Example:
```
Apples 7
Oranges 2
Pears 0
Mangoes 4
```
I grab the highest values by doing the following..
```
= LARGE(B:B, 1)
= L... | With the following formula you can accomplish that.
Formula
-------
```
=QUERY(DATA!A1:B4, "SELECT A, B ORDER BY B DESC LIMIT 3")
```
Explained
---------
The `QUERY` formula selects the two columns and orders them descendingly according to column B. Then it limits the result to three rows (top 3).
Screenshot
----... |
75,073 | <p>This:</p>
<pre><code>3.1415926535
</code></pre>
<p>produces:</p>
<blockquote>
<p>3.141592654</p>
</blockquote>
<p>How can I have it output the whole number as is?</p>
<p>I was using this with <code>TO_TEXT()</code>, getting the same result, but I guess the problem lies prior to that. The default setting seems to be ... | [
{
"answer_id": 75080,
"author": "Jacob Jan Tuinstra",
"author_id": 29140,
"author_profile": "https://webapps.stackexchange.com/users/29140",
"pm_score": 5,
"selected": true,
"text": "<p>The solution is quite simple. Press this button to increase the number of decimals:\n<img src=\"https:... | 2015/03/18 | [
"https://webapps.stackexchange.com/questions/75073",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/29203/"
] | This:
```
3.1415926535
```
produces:
>
> 3.141592654
>
>
>
How can I have it output the whole number as is?
I was using this with `TO_TEXT()`, getting the same result, but I guess the problem lies prior to that. The default setting seems to be to round numbers to the number of decimals in `3.141592654` (9).
... | The solution is quite simple. Press this button to increase the number of decimals:

Now it will show the correct amount of decimals:

Please be aware that this works only up to 1... |
75,094 | <p>Google Spreadsheets give us a tool to create and use a <a href="https://support.google.com/docs/answer/56470" rel="noreferrer">customized data format for date values</a>.</p>
<p>While the tool allows us to use arbitrary characters, like slashes and commas between the date fields (day, month, day of week...), I fail... | [
{
"answer_id": 85874,
"author": "Tom Woodward",
"author_id": 103367,
"author_profile": "https://webapps.stackexchange.com/users/103367",
"pm_score": 2,
"selected": false,
"text": "<p>You can do it in a fairly ugly way by doing the full date formatting without the line break and then pars... | 2015/03/18 | [
"https://webapps.stackexchange.com/questions/75094",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/11071/"
] | Google Spreadsheets give us a tool to create and use a [customized data format for date values](https://support.google.com/docs/answer/56470).
While the tool allows us to use arbitrary characters, like slashes and commas between the date fields (day, month, day of week...), I fail to see how to add a line break to my ... | Google Sheets will both receive a number format with multiple lines and display cells using it:
[](https://i.stack.imgur.com/G85GM.png)
The problem is that... |
75,440 | <p>Is there a way to COUNT the cells in column A if the cell in column A equals "X" and the adjacent cell in column B equals "January"?</p>
| [
{
"answer_id": 75452,
"author": "Gadget",
"author_id": 90200,
"author_profile": "https://webapps.stackexchange.com/users/90200",
"pm_score": 0,
"selected": false,
"text": "<p>If you are looking to do this programmatically using formulas, you could put the following in each cell on column... | 2015/03/27 | [
"https://webapps.stackexchange.com/questions/75440",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/90095/"
] | Is there a way to COUNT the cells in column A if the cell in column A equals "X" and the adjacent cell in column B equals "January"? | In case you want to count the occurrences of 'X' (text) with 'January' in adjacent cell, try:
```
=countif(filter(A:A, B:B="January"), "X")
```
In case 'X' is actually a numeric value, and you want to sum all those numbers who have 'January' in the adjacent cell, try:
```
=sumif(B:B, "January", A:A)
``` |
75,470 | <p>For example, Janvas (online vector editor) generates previews as such links. If I insert it into address line of a browser, I get correct picture but when I try to insert it to Google Docs, it says:</p>
<pre><code>The URL is not valid. Make sure it starts with http:// or https://.
</code></pre>
<p>Obviously I don'... | [
{
"answer_id": 75508,
"author": "Kade",
"author_id": 89755,
"author_profile": "https://webapps.stackexchange.com/users/89755",
"pm_score": 2,
"selected": false,
"text": "<p>You have a link but instead of providing an link to an image on a server, the PNG image data is in the style sheet.... | 2015/03/28 | [
"https://webapps.stackexchange.com/questions/75470",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/9457/"
] | For example, Janvas (online vector editor) generates previews as such links. If I insert it into address line of a browser, I get correct picture but when I try to insert it to Google Docs, it says:
```
The URL is not valid. Make sure it starts with http:// or https://.
```
Obviously I don't want save image locally ... | You have a link but instead of providing an link to an image on a server, the PNG image data is in the style sheet. data:image/png;base64 tells the browser that the data is inline, is a png image and is in this case base64 encoded. Therefore it is not stored on any server. You can actually see this image without a conn... |
75,602 | <p>I've been looking through the online help, but haven't been able to find the function or functions I need to accomplish the following.</p>
<p>I have 1 Google Spreadsheet with 2 Tabs. The 1st tab is a listing of players and the 2nd tab is a response sheet fed from a web form.</p>
<p><strong>Sheet 1 - Players</stro... | [
{
"answer_id": 75548,
"author": "karel",
"author_id": 34776,
"author_profile": "https://webapps.stackexchange.com/users/34776",
"pm_score": 3,
"selected": true,
"text": "<p>Right-click the video when it is playing or not and the context menu that pops up will tell you if you are using Ad... | 2015/04/01 | [
"https://webapps.stackexchange.com/questions/75602",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/90539/"
] | I've been looking through the online help, but haven't been able to find the function or functions I need to accomplish the following.
I have 1 Google Spreadsheet with 2 Tabs. The 1st tab is a listing of players and the 2nd tab is a response sheet fed from a web form.
**Sheet 1 - Players**
```
A ... | Right-click the video when it is playing or not and the context menu that pops up will tell you if you are using Adobe Flash Player or the YouTube HTML5 Video Player.
This is the right-click menu for the two cases:
In Firefox 36:

Google Chrome 41... |
75,621 | <p>I have two columns (Google Sheets) of numbers similar to:</p>
<pre><code>10.453 12.178
12.654 0
</code></pre>
<p>The third column is:</p>
<ul>
<li>if number higher than <code>0</code> exists in both columns, display an average of the two</li>
<li>else just display the one figure entered (in either column)</... | [
{
"answer_id": 75624,
"author": "Kade",
"author_id": 89755,
"author_profile": "https://webapps.stackexchange.com/users/89755",
"pm_score": 1,
"selected": false,
"text": "<p>Here's a function to do this<code>if a1>0 and b1>0 then average a1 and b1 else add a1 and b1</code></p>\n\n<p... | 2015/04/01 | [
"https://webapps.stackexchange.com/questions/75621",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/90564/"
] | I have two columns (Google Sheets) of numbers similar to:
```
10.453 12.178
12.654 0
```
The third column is:
* if number higher than `0` exists in both columns, display an average of the two
* else just display the one figure entered (in either column) | Another way of doing it, is by using the `AVERAGEIF` formula.
Formula
-------
```
=AVERAGEIF(A1:B1, ">0")
```
Screenshot
----------
 |
75,689 | <p>What is or can be done to add two cells, that return a time equation?</p>
<p>I deal with multiple time entries and have to enter them in a standard format of 4:45 hours or 4:25 hours. I have a decimal converter set up so it will convert it to 4.50, etc. </p>
<p>What I need is a formula that, with the <code>4</code... | [
{
"answer_id": 75706,
"author": "JPV",
"author_id": 83521,
"author_profile": "https://webapps.stackexchange.com/users/83521",
"pm_score": 1,
"selected": false,
"text": "<p>I think you need the time() function. e.g:</p>\n\n<p>A1= hour\nB1 = minutes\nin C1, try:</p>\n\n<pre><code>=TIME(A1,... | 2015/04/03 | [
"https://webapps.stackexchange.com/questions/75689",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/90670/"
] | What is or can be done to add two cells, that return a time equation?
I deal with multiple time entries and have to enter them in a standard format of 4:45 hours or 4:25 hours. I have a decimal converter set up so it will convert it to 4.50, etc.
What I need is a formula that, with the `4` in one cell and the `45` i... | I think you need the time() function. e.g:
A1= hour
B1 = minutes
in C1, try:
```
=TIME(A1, B1, 0)
``` |
75,779 | <p>I have a budgeting spreadsheet, with separate spending categories, and I want to SUM all spending entries based on the category selected. I'm not technical, but here's an explanation of what I'm trying to achieve:</p>
<pre><code>check each cell in column C and column F
if cell = category 1
get adjacent value from ... | [
{
"answer_id": 75786,
"author": "Vidar S. Ramdal",
"author_id": 21583,
"author_profile": "https://webapps.stackexchange.com/users/21583",
"pm_score": 2,
"selected": false,
"text": "<p>This can be solved with the <code>SUMIF</code> function (<a href=\"https://support.google.com/docs/answe... | 2015/04/07 | [
"https://webapps.stackexchange.com/questions/75779",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/90862/"
] | I have a budgeting spreadsheet, with separate spending categories, and I want to SUM all spending entries based on the category selected. I'm not technical, but here's an explanation of what I'm trying to achieve:
```
check each cell in column C and column F
if cell = category 1
get adjacent value from column B or co... | In addition to previous contributions, this should also work:
```
=sumproduct({$C$3:$C$9; $F$3:$F$9}=A12, {$B$3:$B$9; $E$3:$E$9})
```
and drag down.
The first literal array {} makes one column out of the C-range and the F-range. The second one does the same with the B-range and the E-range. When the 'first column' ... |
75,824 | <p>I recently noticed that I received for some invitations, not all, a reminder notification saying "Don't Forget: X invited you to X event" on Facebook. </p>
<p>I wanted to know how these work, what is the rule or maybe function/button that drives these notifications? </p>
<p>My goal is to be able to use these and s... | [
{
"answer_id": 78923,
"author": "dinsomniac",
"author_id": 95562,
"author_profile": "https://webapps.stackexchange.com/users/95562",
"pm_score": 2,
"selected": false,
"text": "<p>I could imagine that you can keep a list of all recipients and respondents. Any recipient not in the responde... | 2015/04/08 | [
"https://webapps.stackexchange.com/questions/75824",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/90954/"
] | I recently noticed that I received for some invitations, not all, a reminder notification saying "Don't Forget: X invited you to X event" on Facebook.
I wanted to know how these work, what is the rule or maybe function/button that drives these notifications?
My goal is to be able to use these and seed reminder noti... | I could imagine that you can keep a list of all recipients and respondents. Any recipient not in the respondents list could be marked to receive a notification if they are still not on that list X amount of days before the event takes place. This assumes that the respondents are a subset of the recipients. Here's a rou... |
75,969 | <p>I want to print out an entire thread in Google Groups. The thread has 40+ responses. How do I do that?</p>
<p>Here is the thread: <a href="https://groups.google.com/forum/#!topic/scrumalliance/4DRtljImycY">https://groups.google.com/forum/#!topic/scrumalliance/4DRtljImycY</a></p>
| [
{
"answer_id": 76595,
"author": "cxw",
"author_id": 92304,
"author_profile": "https://webapps.stackexchange.com/users/92304",
"pm_score": 1,
"selected": false,
"text": "<p>At least in Google Chrome, printing with the browser function only gives the first page of the discussion. One ugly... | 2015/04/13 | [
"https://webapps.stackexchange.com/questions/75969",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/183685/"
] | I want to print out an entire thread in Google Groups. The thread has 40+ responses. How do I do that?
Here is the thread: <https://groups.google.com/forum/#!topic/scrumalliance/4DRtljImycY> | a simple trick: go to the mobile version by adding /m after /forum. For example, your thread will become:
```
https://groups.google.com/forum/m/#!topic/scrumalliance/4DRtljImycY
```
Then you can expand all posts and print them once in all. |
76,050 | <p>I have a Google spreadsheet that builds Google Analytics links. I'd like to shorten those links. I tried the <a href="http://dev.bitly.com/spreadsheets.html">Bit.ly example</a> but even their example does not work.</p>
<p>How can I do this?</p>
| [
{
"answer_id": 76075,
"author": "Jacob Jan Tuinstra",
"author_id": 29140,
"author_profile": "https://webapps.stackexchange.com/users/29140",
"pm_score": 4,
"selected": false,
"text": "<p>This little code makes it possible to create shortened URL's, with the use of Google Apps Script and ... | 2015/04/15 | [
"https://webapps.stackexchange.com/questions/76050",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/8512/"
] | I have a Google spreadsheet that builds Google Analytics links. I'd like to shorten those links. I tried the [Bit.ly example](http://dev.bitly.com/spreadsheets.html) but even their example does not work.
How can I do this? | This little code makes it possible to create shortened URL's, with the use of Google Apps Script and the URL Shortener API.
Prerequisites
-------------
Under resources in the script editor (*Tools > Script editor*) select the Advanced Google Services and activate the UrlShortener:
:</p>\n\n<pre><code>IF(NE(RedCellReference,\"No\"... | 2015/04/19 | [
"https://webapps.stackexchange.com/questions/76168",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91612/"
] | 
I need help with the question in the picture.
Can anyone make a formula for me? | You're looking for the IF command, combined with NE (not equal):
```
IF(NE(RedCellReference,"No"), LeftCellReference, "")
``` |
76,174 | <p>Is it possible to put a limit to the length of cell content while entering data into a cell using Google Apps Script or any other way? </p>
| [
{
"answer_id": 76392,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": false,
"text": "<p>Use a Data Validation with a custom formula.</p>\n\n<p>If the cell to limit the value length is A1 and the length ... | 2015/04/19 | [
"https://webapps.stackexchange.com/questions/76174",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/8755/"
] | Is it possible to put a limit to the length of cell content while entering data into a cell using Google Apps Script or any other way? | Use a Data Validation with a custom formula.
If the cell to limit the value length is A1 and the length limit is 5, then the custom formula is
```
=LEN(A1)<=5
```
**References**
* [Data Validation - Docs Editors Help](https://support.google.com/docs/answer/139705?hl=en) |
76,189 | <p>I am creating a Google Form, and as the final question I want to ask the participants what country they come from.</p>
<p>As it often comes up in polls, I am surprised that this country component is not available:</p>
<p><img src="https://i.stack.imgur.com/O6dzz.png" alt="Add item screenshot"></p>
<p>Is it hidden... | [
{
"answer_id": 76250,
"author": "Trendmatcher",
"author_id": 42834,
"author_profile": "https://webapps.stackexchange.com/users/42834",
"pm_score": 2,
"selected": false,
"text": "<p>I would copy the list from <a href=\"http://www.listofcountriesoftheworld.com/\" rel=\"nofollow\">http://ww... | 2015/04/20 | [
"https://webapps.stackexchange.com/questions/76189",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/1374/"
] | I am creating a Google Form, and as the final question I want to ask the participants what country they come from.
As it often comes up in polls, I am surprised that this country component is not available:

Is it hidden somewhere else?
Is it just not ava... | [Just copy paste](https://www.youtube.com/watch?v=EOU2YPflPkQ) the following in your [Google forms](http://www.google.com/forms/). The form dialog automatically creates new items when the pasted text contains linebreaks.
The following list is posted so that the future readers do not need to remove the numbers from th... |
76,218 | <p>I'm trying to figure out how to do a google query for dates in the last 30 days. I'm using a wordpress plugin that lets you display spreadsheet data and do queries.</p>
<p>Here is the current working query</p>
<pre><code>query="SELECT B,N,E,G,H,I WHERE A='Exited Positions Bullish Stocks'"
</code></pre>
<p>And he... | [
{
"answer_id": 76222,
"author": "Jacob Jan Tuinstra",
"author_id": 29140,
"author_profile": "https://webapps.stackexchange.com/users/29140",
"pm_score": 2,
"selected": false,
"text": "<p>Try the following modification.</p>\n\n<h2>Formula</h2>\n\n<pre><code>=QUERY(DATA, \"SELECT B WHERE A... | 2015/04/20 | [
"https://webapps.stackexchange.com/questions/76218",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91677/"
] | I'm trying to figure out how to do a google query for dates in the last 30 days. I'm using a wordpress plugin that lets you display spreadsheet data and do queries.
Here is the current working query
```
query="SELECT B,N,E,G,H,I WHERE A='Exited Positions Bullish Stocks'"
```
And here is the one I'm trying that just... | OK, so I finally got this to work as a combination of forces. The plugin author gave me some great advice here:
<https://wordpress.org/support/topic/and-and-quotes-in-a-query?replies=4#post-6894935>
Which was - why try to be so complex in the plugin itself? Instead, why not do the heavy lifting in Google.
So, I used... |
76,257 | <p>In Google Spreadsheets it is possible to show an image in a cell using the formula <code>=image('http://www.example.com/path/to/image.ext', 3)</code> (where <code>3</code> means to use the images' original size).</p>
<p>I would like to include some text in the same cell as the image. I have tried to use <code>conca... | [
{
"answer_id": 76262,
"author": "Vidar S. Ramdal",
"author_id": 21583,
"author_profile": "https://webapps.stackexchange.com/users/21583",
"pm_score": 4,
"selected": true,
"text": "<p>There's no way, that I am aware of, to combine an image and some text in the same cell using the <code>im... | 2015/04/21 | [
"https://webapps.stackexchange.com/questions/76257",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/54372/"
] | In Google Spreadsheets it is possible to show an image in a cell using the formula `=image('http://www.example.com/path/to/image.ext', 3)` (where `3` means to use the images' original size).
I would like to include some text in the same cell as the image. I have tried to use `concat` but that results in `#ERROR`.
```... | There's no way, that I am aware of, to combine an image and some text in the same cell using the `image` function.
The `concat` method [concatenates strings, only](https://support.google.com/docs/answer/3093592).
The only "workaround" I can think of, is inserting the image using *Insert → Image*, and positioning the ... |
76,287 | <p>How do I insert empty rows under all (already occupied) rows simultaneously in Google Spreadsheets?</p>
<p>Lets say in row 1 it says "A" and in row 2 it says "B", "C" in row 3, etc. I would like it to say "B" in row 3, and "C" in row 5, etc. from now on. Inserting a row underneath one by one is simple. I'm asking a... | [
{
"answer_id": 76290,
"author": "Mike Stratton",
"author_id": 91549,
"author_profile": "https://webapps.stackexchange.com/users/91549",
"pm_score": 0,
"selected": false,
"text": "<p>If selecting <strong>some cells</strong> in the spreadsheet:<br>\n 1. <strong>Hold</strong> the <strong>ct... | 2015/04/22 | [
"https://webapps.stackexchange.com/questions/76287",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91790/"
] | How do I insert empty rows under all (already occupied) rows simultaneously in Google Spreadsheets?
Lets say in row 1 it says "A" and in row 2 it says "B", "C" in row 3, etc. I would like it to say "B" in row 3, and "C" in row 5, etc. from now on. Inserting a row underneath one by one is simple. I'm asking about inser... | I think this requires a script, such as this one:
```
function myFunction() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var range = sheet.getDataRange();
var values = range.getValues();
for (var i = values.length; i>=1; i--) {
if (values[i-1].join("")) {
... |
76,295 | <p>Is there a way to embed a GitHub repo overview (showing its stats, creator and description, etc.) into a webpage?</p>
<p>In Slack, if you paste a GitHub repo URL, it will show the repo description and user thumbnail.</p>
<p><img src="https://i.stack.imgur.com/YhoCP.jpg" alt="slack onebox of github repo" /></p>
<p>I'... | [
{
"answer_id": 76428,
"author": "Mike Stratton",
"author_id": 91549,
"author_profile": "https://webapps.stackexchange.com/users/91549",
"pm_score": 1,
"selected": false,
"text": "<p>Yes, there is a way.\n<a href=\"https://developer.github.com/v3/repos/\" rel=\"nofollow\">https://develope... | 2015/04/22 | [
"https://webapps.stackexchange.com/questions/76295",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91817/"
] | Is there a way to embed a GitHub repo overview (showing its stats, creator and description, etc.) into a webpage?
In Slack, if you paste a GitHub repo URL, it will show the repo description and user thumbnail.

I'm wondering if there something like t... | Finally I found this
<https://github.com/lepture/github-cards>
It's exactly what I want. |
76,313 | <p>I am using emoji in a slide show. However, when I play the slideshow, the emoji show up in Black & White.</p>
<p>Any idea how to fix this?</p>
<p>I know I can download the show as a .pptx file but I also want to include some YouTube videos which is why I need to keep it on Google Slides.</p>
<p>In Preview Mod... | [
{
"answer_id": 87808,
"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<p>As I understand, the emojis that the OP is talking about are <a href=\"https://en.wikipedia... | 2015/04/23 | [
"https://webapps.stackexchange.com/questions/76313",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/34297/"
] | I am using emoji in a slide show. However, when I play the slideshow, the emoji show up in Black & White.
Any idea how to fix this?
I know I can download the show as a .pptx file but I also want to include some YouTube videos which is why I need to keep it on Google Slides.
In Preview Mode:
. This depends more on the operating system than the browser. Here is a comparison of [Pizza slice](http://www.fileformat.info/info/unicode/char/1F355/index.htm) character:... |
76,329 | <p>I have a string of data in one cell: </p>
<blockquote>
<p>"Membership and Volunteer Crew - do you like getting to know lots of new people? | Sauna Crew - Spend time sweating and supervising our sauna activity. | Crafters Crew - find and invite and present regional Crafts People at R&S and help them present w... | [
{
"answer_id": 76339,
"author": "Munkey",
"author_id": 91891,
"author_profile": "https://webapps.stackexchange.com/users/91891",
"pm_score": 0,
"selected": false,
"text": "<p>Surely CTRL + F works.\nFind and replace.</p>\n\n<p>Search for - replace with :::\nSearch for | replace with :::<... | 2015/04/23 | [
"https://webapps.stackexchange.com/questions/76329",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91881/"
] | I have a string of data in one cell:
>
> "Membership and Volunteer Crew - do you like getting to know lots of new people? | Sauna Crew - Spend time sweating and supervising our sauna activity. | Crafters Crew - find and invite and present regional Crafts People at R&S and help them present workshops to our audience.... | This is a job for [regexreplace](https://support.google.com/docs/answer/3098245?hl=en).
Suppose A1 contains the text
>
> Membership and Volunteer Crew - do you like getting to know lots of new people? | Sauna Crew - Spend time sweating and supervising our sauna activity. | Crafters Crew - find and invite and presen... |
76,370 | <p>Is it possible to add (insert) a variable for the current date into a Google Docs that would automatically update each time I open the document?</p>
<p>Some criteria:</p>
<ul>
<li><p>The date position should be variable, i.e. allowing me to insert the date a different positions of a page/paragraph</p></li>
<li><p>... | [
{
"answer_id": 76405,
"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\n<p>At this time, variables is not a built-in feature of Google Docs and Google Apps Script, t... | 2015/04/24 | [
"https://webapps.stackexchange.com/questions/76370",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/35393/"
] | Is it possible to add (insert) a variable for the current date into a Google Docs that would automatically update each time I open the document?
Some criteria:
* The date position should be variable, i.e. allowing me to insert the date a different positions of a page/paragraph
* The document should still be shareable... | Short answer
============
At this time, variables is not a built-in feature of Google Docs and Google Apps Script, the platform to extend Google Docs, does not include a class or method to handle them.
Alternatives
============
Alternative 1
-------------
One alternative is use a text pattern but you should be sure... |
76,379 | <p>I know someone's major and university, for example on the left side of their homepage it will say:</p>
<p>Studied <em>Blah Blah</em> at <em>xyz</em> University</p>
<p>I can't really recall their full name and would like to find them, so how can I filter it to just search based on their major and school?</p>
| [
{
"answer_id": 76404,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 2,
"selected": false,
"text": "<p>You can try just searching.</p>\n\n<pre><code>people who studied political science at george washington university\n</co... | 2015/04/24 | [
"https://webapps.stackexchange.com/questions/76379",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91972/"
] | I know someone's major and university, for example on the left side of their homepage it will say:
Studied *Blah Blah* at *xyz* University
I can't really recall their full name and would like to find them, so how can I filter it to just search based on their major and school? | You can try just searching.
```
people who studied political science at george washington university
```
Gives me a whole bunch of people. Probably too many. If you remember a first name that should narrow your search.
```
people who studied political science at george washington university named mary
```
Faceboo... |
76,407 | <p>Does anyone know if there's a spell check feature for forms?</p>
<p>I can't seem to find this option anywhere.</p>
| [
{
"answer_id": 76404,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 2,
"selected": false,
"text": "<p>You can try just searching.</p>\n\n<pre><code>people who studied political science at george washington university\n</co... | 2015/04/24 | [
"https://webapps.stackexchange.com/questions/76407",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91114/"
] | Does anyone know if there's a spell check feature for forms?
I can't seem to find this option anywhere. | You can try just searching.
```
people who studied political science at george washington university
```
Gives me a whole bunch of people. Probably too many. If you remember a first name that should narrow your search.
```
people who studied political science at george washington university named mary
```
Faceboo... |
76,441 | <p>I'm trying to filter a column to show cells that contain <code>@</code> (as in an email address) but when I put <code>@</code> in the filter box it comes up with a blank.</p>
<p>Any ideas? </p>
<p><a href="https://docs.google.com/spreadsheets/d/1z9lu27zIYpqXVRiKVqQykrSzNwI4z5Qvtus6LCKiGWo/edit#gid=0" rel="nofollow... | [
{
"answer_id": 76445,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>The characters you enter in the filter box are matched to the <strong>beginning</strong> of any word in the cell cont... | 2015/04/26 | [
"https://webapps.stackexchange.com/questions/76441",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/21773/"
] | I'm trying to filter a column to show cells that contain `@` (as in an email address) but when I put `@` in the filter box it comes up with a blank.
Any ideas?
[An example spreadsheet here](https://docs.google.com/spreadsheets/d/1z9lu27zIYpqXVRiKVqQykrSzNwI4z5Qvtus6LCKiGWo/edit#gid=0). Here is also a screenshot:
!... | The characters you enter in the filter box are matched to the **beginning** of any word in the cell content. So, @ will match "a @ b" or "a @b", but not "a@b".
To filter based on a pattern that is not a beginning of a word, you can use a workaround with `REGEXMATCH`, e.g., entering in another column:
```
=IF(REGEXM... |
76,563 | <p>I want to turn a table like this</p>
<pre><code>| | apple | banana | chia |
|----------+-------+--------+------|
| antelope | 1 | 4 | 2 |
| bear | 6 | 3 | 9 |
| cheetah | 8 | 2 | 1 |
</code></pre>
<p>into a table containing the same data, but with one row for each ... | [
{
"answer_id": 76570,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 1,
"selected": false,
"text": "<p>If the data is in A1:D4</p>\n\n<p>Add the following</p>\n\n<p>Row labels (first column), F2:F10, use</p>\n\n<pre><... | 2015/04/29 | [
"https://webapps.stackexchange.com/questions/76563",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/10960/"
] | I want to turn a table like this
```
| | apple | banana | chia |
|----------+-------+--------+------|
| antelope | 1 | 4 | 2 |
| bear | 6 | 3 | 9 |
| cheetah | 8 | 2 | 1 |
```
into a table containing the same data, but with one row for each value, explicitly listing ... | Alternatively, for a 1-formula solution automatically updating when new rows are added, try:
```
=ArrayFormula({trim(transpose(split(concatenate(rept(A2:A&char(9),counta(B1:1))), char(9)))), transpose(split(rept(join(char(9), B1:D1&char(9)),counta(A2:A)), char(9))), transpose(split(CONCATENATE(B2:D&char(9)), char(9)))... |
76,606 | <p>Using Google Sheets. In one cell, I have a dropdown list that is generated from a concatenation of integer ID column and name column. To get the value of the integer from the selection, I have another cell with this formula:</p>
<p><code>=LEFT(N1, FIND(" ",N1))</code></p>
<p>Is there a way that the formula can be ... | [
{
"answer_id": 85478,
"author": "ImproperUsername",
"author_id": 92321,
"author_profile": "https://webapps.stackexchange.com/users/92321",
"pm_score": 1,
"selected": false,
"text": "<p>This can be done with Google Script. <a href=\"https://docs.google.com/spreadsheets/d/16IJNv9wt2c2YLeNW... | 2015/04/30 | [
"https://webapps.stackexchange.com/questions/76606",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/92321/"
] | Using Google Sheets. In one cell, I have a dropdown list that is generated from a concatenation of integer ID column and name column. To get the value of the integer from the selection, I have another cell with this formula:
`=LEFT(N1, FIND(" ",N1))`
Is there a way that the formula can be used inside the same cell th... | This can be done with Google Script. [An example is here.](https://docs.google.com/spreadsheets/d/16IJNv9wt2c2YLeNWXj2dCWTBldH6APxK9H4r029TfLU/edit?usp=sharing)
```
function onEdit(e) {
var ss = e.source;
var s = ss.getSheetByName("Testing");
var r = e.range;
// to let you modify where the action and move columns ... |
76,678 | <p>I'm using Google Spreadsheets, first column is picture then B column is name. When I want to sort it A to Z, all the names get in alphabetical order, but the picture stays in the same position.</p>
| [
{
"answer_id": 76687,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>This is probably because you added images using <code>Insert > Image...</code> in the menu. Such images are not a... | 2015/05/03 | [
"https://webapps.stackexchange.com/questions/76678",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/92434/"
] | I'm using Google Spreadsheets, first column is picture then B column is name. When I want to sort it A to Z, all the names get in alphabetical order, but the picture stays in the same position. | This is probably because you added images using `Insert > Image...` in the menu. Such images are not associated with any particular cell, they are just placed at some fixed position within the spreadsheet. Think of them as existing in a different layer above the cells of the spreadsheets. (Inserted charts work the same... |
76,713 | <p>Say I have list of users and their info. Each user can have multiple accounts, and the "paid" status of each of those accounts may be "no" or "yes". A user may have one or two paid accounts.</p>
<p>My first sheet looks like this (fake data):</p>
<p><img src="https://i.stack.imgur.com/vS6vd.png" alt="enter image de... | [
{
"answer_id": 77850,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 1,
"selected": false,
"text": "<p>One alternative is to join both tables using formulas, then use Pivot Table and Copy and paste values. </p>\n\n<p>... | 2015/05/04 | [
"https://webapps.stackexchange.com/questions/76713",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/92509/"
] | Say I have list of users and their info. Each user can have multiple accounts, and the "paid" status of each of those accounts may be "no" or "yes". A user may have one or two paid accounts.
My first sheet looks like this (fake data):

This is my se... | I would suggest using `dget` in the first sheet, if the number of users is defined, and doesn't grow automatically.
Assuming the second sheet is Sheet2, I would add 2 columns to the first sheet.
The first column would have cells with the formula (changing the cells accordingly, with copy and paste):
```
=dget(Sheet2... |
77,783 | <p>Is it possible that I could see the mobile number of Facebook friends?
I saw the following post, but I did not find it because Facebook has changed.
<a href="https://webapps.stackexchange.com/questions/33/how-do-i-get-the-phone-numbers-of-my-facebook-friends">How do I get the phone numbers of my Facebook Friends?</a... | [
{
"answer_id": 77795,
"author": "Aoryu",
"author_id": 93656,
"author_profile": "https://webapps.stackexchange.com/users/93656",
"pm_score": 0,
"selected": false,
"text": "<p>The only option, is if they have shared to <em>Only Friends</em> of <em>Only Friends of Friends</em> or <em>Public... | 2015/05/06 | [
"https://webapps.stackexchange.com/questions/77783",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/93637/"
] | Is it possible that I could see the mobile number of Facebook friends?
I saw the following post, but I did not find it because Facebook has changed.
[How do I get the phone numbers of my Facebook Friends?](https://webapps.stackexchange.com/questions/33/how-do-i-get-the-phone-numbers-of-my-facebook-friends) | You can get phone number of your friends by going into
```
His/her profile->About->Personal information
```
there you can find his/her mobile number.
>
> If and only if he/she provided his mobile number and also only if it
> is not secured it totally depends on his/her profile privacy settings.
>
>
> 1. If th... |
77,830 | <p>I need to auto fill the some dates which is easy and I know how to do. However, I do not know how to do this skipping the weekends. I want it to auto fill skipping weekends and jumping to Monday.</p>
| [
{
"answer_id": 77831,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": false,
"text": "<p>The following formula for A1:A7</p>\n\n<pre><code>=WORKDAY.INTL(\"1/05/2015\",Row(),\"0000011\")\n</code></pre>\n\... | 2015/05/07 | [
"https://webapps.stackexchange.com/questions/77830",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/93723/"
] | I need to auto fill the some dates which is easy and I know how to do. However, I do not know how to do this skipping the weekends. I want it to auto fill skipping weekends and jumping to Monday. | This can be done with a conditional statement involving [`WEEKDAY`](https://support.google.com/docs/answer/3092985)
Let's say you put 5/7/2015 in A2, and the conditional formula
```
=IF(WEEKDAY(A2)=6,A2+3,A2+1)
```
in A3. (Weekday=6 means Friday, after which two days are skipped). Dragging this down you'll see
`... |
77,853 | <p>I need to hide and show in a easy way a group of columns in Google Sheets.
In Excel I used a Macro with a button, but in Sheets I cannot put a button.</p>
<p>How can I add buttons with custom functions in Google Sheets?</p>
| [
{
"answer_id": 77858,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>It is possible to assign a function to a button in Google Spreadsheets, but in practice it's easier to add commands t... | 2015/05/07 | [
"https://webapps.stackexchange.com/questions/77853",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/93956/"
] | I need to hide and show in a easy way a group of columns in Google Sheets.
In Excel I used a Macro with a button, but in Sheets I cannot put a button.
How can I add buttons with custom functions in Google Sheets? | It is possible to assign a function to a button in Google Spreadsheets, but in practice it's easier to add commands to the spreadsheet menu. This way you do not have to look for them in the spreadsheet, and they do not get in the way of your data.
Suppose you want custom commands "show/hide columns B-D, G". Create an... |
77,891 | <p>In a Google Spreadsheet, I put in the following numbers in a column, each line is an entry in the column.</p>
<pre><code>100
100*1.01
100*1.01^2
100*1.01^3
</code></pre>
<p>The highest exponent of 1.01 is 3 for now. But I would like to keep filling this column until the exponent of 1.01 is 30. I can only do it by... | [
{
"answer_id": 77892,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>Introduce the POWER function and use the ROW function to increment the exponent. Your second line would be,</p>\n\n<p... | 2015/05/09 | [
"https://webapps.stackexchange.com/questions/77891",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/93829/"
] | In a Google Spreadsheet, I put in the following numbers in a column, each line is an entry in the column.
```
100
100*1.01
100*1.01^2
100*1.01^3
```
The highest exponent of 1.01 is 3 for now. But I would like to keep filling this column until the exponent of 1.01 is 30. I can only do it by filling each entry in the... | Introduce the POWER function and use the ROW function to increment the exponent. Your second line would be,
```
=100*power(1.01, row(1:1))
```
Fill down and the `ROW(1:1)` will increment as *1, 2, 3, 4, 5, etc.*. |
77,940 | <p>In Excel we can trace precedents and dependents. Can some one help me with something similar for Google Sheets?</p>
<p>I have got the code for dependents from <a href="https://webapps.stackexchange.com/a/50149/88163">https://webapps.stackexchange.com/a/50149/88163</a>. </p>
<pre><code>function onOpen() {
var ss ... | [
{
"answer_id": 77985,
"author": "Shirshendu Bhattacharya",
"author_id": 93906,
"author_profile": "https://webapps.stackexchange.com/users/93906",
"pm_score": 2,
"selected": false,
"text": "<p>Finally I have it working for different sheets in the same file: </p>\n\n<pre><code>function onO... | 2015/05/11 | [
"https://webapps.stackexchange.com/questions/77940",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/93906/"
] | In Excel we can trace precedents and dependents. Can some one help me with something similar for Google Sheets?
I have got the code for dependents from <https://webapps.stackexchange.com/a/50149/88163>.
```
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var menuEntries = []
menuEntries.pus... | Finally I have it working for different sheets in the same file:
```
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var menuEntries = []
menuEntries.push({name: "Trace Dependents", functionName: "traceDependents"});
ss.addMenu("Detective", menuEntries);
}
function traceDependents(){
va... |
77,952 | <p>To host my blog, I added a file called index.html to <code>Public/blog</code> in Dropbox.</p>
<pre><code>https://dl.dropboxusercontent.com/u/01234567/blog/index.html
</code></pre>
<p>However, I get a 404 message if I try to access without the index.html. Is there anyway to get it to work? Possibly with the <code>/... | [
{
"answer_id": 77950,
"author": "ComputerLocus",
"author_id": 14954,
"author_profile": "https://webapps.stackexchange.com/users/14954",
"pm_score": 2,
"selected": false,
"text": "<p>It is likely that the area does not support this method of navigation in Google Maps.</p>\n\n<p>Looking at... | 2015/05/11 | [
"https://webapps.stackexchange.com/questions/77952",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/25367/"
] | To host my blog, I added a file called index.html to `Public/blog` in Dropbox.
```
https://dl.dropboxusercontent.com/u/01234567/blog/index.html
```
However, I get a 404 message if I try to access without the index.html. Is there anyway to get it to work? Possibly with the `/` at the end.
```
https://dl.dropboxuserc... | It is likely that the area does not support this method of navigation in Google Maps.
Looking at the location you mention Google Maps is reporting that "Cycling is not available".
You could try out [OpenCycleMaps](http://www.opencyclemap.org/) powered by [OpenStreetMaps](https://www.openstreetmap.org/) |
77,974 | <p>Any recipes out there for a "smart" number formatting formula for Google Sheets that's "scale-aware," a la Rails ActionView's <a href="http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-distance_of_time_in_words" rel="noreferrer">distance_of_time_in_words</a> method?</p>
<p>I would expec... | [
{
"answer_id": 78069,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 7,
"selected": true,
"text": "<p>The following custom number format mask will produce the desired results without losing the accuracy of the underlyin... | 2015/05/11 | [
"https://webapps.stackexchange.com/questions/77974",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/9677/"
] | Any recipes out there for a "smart" number formatting formula for Google Sheets that's "scale-aware," a la Rails ActionView's [distance\_of\_time\_in\_words](http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-distance_of_time_in_words) method?
I would expect to enter a number like: 1,816,72... | The following custom number format mask will produce the desired results without losing the accuracy of the underlying value.
```
[>999999]0.0,,\M;[>999]0.0,\K;0
```
 |
78,070 | <p>I have a table of choir members with a “name” and a “voice type” column. How can I write a query that orders them by decreasing pitch level of the voice type (i.e. <em>soprano > contralto > tenor > bass</em>)?</p>
<p>Is there in the <a href="https://developers.google.com/chart/interactive/docs/querylanguage" rel="n... | [
{
"answer_id": 78074,
"author": "MaryC.fromNZ",
"author_id": 2314,
"author_profile": "https://webapps.stackexchange.com/users/2314",
"pm_score": 3,
"selected": false,
"text": "<p>Make a new sheet inside your current spreadsheet. Put two columns in it:</p>\n\n<pre><code>VoiceType Sort ... | 2015/05/14 | [
"https://webapps.stackexchange.com/questions/78070",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/13892/"
] | I have a table of choir members with a “name” and a “voice type” column. How can I write a query that orders them by decreasing pitch level of the voice type (i.e. *soprano > contralto > tenor > bass*)?
Is there in the [Google Query Language](https://developers.google.com/chart/interactive/docs/querylanguage) somethin... | You can add MATCH to your SORT for a custom order list.

The formula in D5 is,
```
=ArrayFormula(sort(A$2:A$99,match(left($B$2:$B$99,3),{"sop";"con";"ten";"bas"},0),1))
```
Copy to E5. Without speed testing the calculation cycles it's debatable... |
78,172 | <p>Google Spreadsheets offers the option to put a chart on its own sheet (instead of inserting it in the current sheet). This looks like a good idea for large charts. </p>
<p>However, I ran into an issue when publishing such charts on the web. If a chart is inserted into a sheet, the published version matches the size... | [
{
"answer_id": 78200,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 2,
"selected": true,
"text": "<p>As far as I know, there isn't a way to do that.\nInstead, create a Web App so will have access to more options for ... | 2015/05/17 | [
"https://webapps.stackexchange.com/questions/78172",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | Google Spreadsheets offers the option to put a chart on its own sheet (instead of inserting it in the current sheet). This looks like a good idea for large charts.
However, I ran into an issue when publishing such charts on the web. If a chart is inserted into a sheet, the published version matches the size it has in... | As far as I know, there isn't a way to do that.
Instead, create a Web App so will have access to more options for your charts.
One alternative is to use Google Apps Script [HtmlService](https://developers.google.com/apps-script/reference/html/html-service#createHtmlOutputFromFile(String)).
### Example
Code.gs
```
f... |
78,321 | <p>I have one spreadsheet which houses the database of my members. In the same spreadsheet, I have another sheet where I will track attendance for the events for each of these members.</p>
<p><strong>First issue:</strong></p>
<p>Now, I would like to use the names from the first sheet in my second sheet, so as to avoi... | [
{
"answer_id": 78349,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 1,
"selected": false,
"text": "<p>The simplest solution is to use a single sheet to register both member information and attendance. You could freez... | 2015/05/21 | [
"https://webapps.stackexchange.com/questions/78321",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/94586/"
] | I have one spreadsheet which houses the database of my members. In the same spreadsheet, I have another sheet where I will track attendance for the events for each of these members.
**First issue:**
Now, I would like to use the names from the first sheet in my second sheet, so as to avoid having to update the names i... | The simplest solution is to use a single sheet to register both member information and attendance. You could freeze the name columns and use [FILTER](https://support.google.com/docs/answer/3093197?hl=en), [QUERY](https://support.google.com/docs/answer/3093343?hl=en), [Pivot Tables](https://support.google.com/docs/answe... |
78,517 | <p>I've been looking for a means of removing some status checks created by a CI tool I was evaluating from my pull requests in my GitHub repository, but I haven't had any luck finding a way of achieving this. </p>
<p>Looking at the status checks API docs, there doesn't seem to be DELETE endpoint for the <a href="http... | [
{
"answer_id": 78518,
"author": "Andy Tolbert",
"author_id": 94944,
"author_profile": "https://webapps.stackexchange.com/users/94944",
"pm_score": 4,
"selected": true,
"text": "<p>The best solution I've been able to come up with is to create a new status on the same context as successful... | 2015/05/28 | [
"https://webapps.stackexchange.com/questions/78517",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/94944/"
] | I've been looking for a means of removing some status checks created by a CI tool I was evaluating from my pull requests in my GitHub repository, but I haven't had any luck finding a way of achieving this.
Looking at the status checks API docs, there doesn't seem to be DELETE endpoint for the [Statuses API](https://d... | The best solution I've been able to come up with is to create a new status on the same context as successful. This way I can remove the build URL from the status checks and the PRs don't show up as failing (as they were in my case).
To do this I iterated through all the most recent SHAs of my Pull Requests and made th... |
78,552 | <p>Google announced today the new Google Photos: unlimited storage up to 16 MegaPixel!</p>
<p>I have an hard disk of ~10GB of photos, and I would like to copy them to Google Photos.</p>
<p>My main concern is that the photos I have are stored in folders like:</p>
<pre><code>photo_summer_2008
christmas_2009
</code></p... | [
{
"answer_id": 78633,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 2,
"selected": false,
"text": "<p>It looks like the new desktop uploader available from <a href=\"https://photos.google.com/apps\" rel=\"nofollow\">https:... | 2015/05/28 | [
"https://webapps.stackexchange.com/questions/78552",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/22995/"
] | Google announced today the new Google Photos: unlimited storage up to 16 MegaPixel!
I have an hard disk of ~10GB of photos, and I would like to copy them to Google Photos.
My main concern is that the photos I have are stored in folders like:
```
photo_summer_2008
christmas_2009
```
Is there a way to upload the pic... | Finally there is a solution!! (as of January 2016).
You can import all of your folders (folder = album) into Picasa and then upload them to Google Photos.
You have to choose **Upload original size**, otherwise your photos are downgraded to 2048x2048.
Of course Google is going to count this against your quota. However... |
78,739 | <p>In my table, column A has row names and other columns have values: </p>
<pre><code>+------+---+
| M100 | D |
| M130 | B |
| M340 | |
| P304 | F |
| P400 | |
| P499 | C |
+------+---+
</code></pre>
<p>I'd like to join nonempty values, preceding them with row names and separating by commas. So, the desired outp... | [
{
"answer_id": 78740,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>Here is a formula that does the above, line-broken and indented for readability:</p>\n\n<pre><code>=JOIN(\",\", ARRA... | 2015/06/03 | [
"https://webapps.stackexchange.com/questions/78739",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | In my table, column A has row names and other columns have values:
```
+------+---+
| M100 | D |
| M130 | B |
| M340 | |
| P304 | F |
| P400 | |
| P499 | C |
+------+---+
```
I'd like to join nonempty values, preceding them with row names and separating by commas. So, the desired output is:
>
> M100A,M130B,P... | Short answer
============
A formula that does the required in the question
```
=JOIN(",",
QUERY(
{ArrayFormula({A1:A6}&{B1:B6}),B1:B6},
"Select Col1 Where Col2<>''"
)
)
```
Explanation
===========
The above formula has nested three functions, use the matrix handling feature of ... |
78,772 | <p>I have a column of cells in a Google Spreadsheet with values such as:</p>
<pre><code>A
-----
37683
36583
38637
32391
</code></pre>
<p>I'm generating hyperlinks in column B for each cell in column A:</p>
<pre><code>http://example.com?id=xxxxx
</code></pre>
<p>Where <code>xxxxx</code> are values of the cells in co... | [
{
"answer_id": 78870,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 2,
"selected": false,
"text": "<p>In Google Sheets, when you copy a formula that uses relative references to another cell, that references are autom... | 2015/06/03 | [
"https://webapps.stackexchange.com/questions/78772",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/81241/"
] | I have a column of cells in a Google Spreadsheet with values such as:
```
A
-----
37683
36583
38637
32391
```
I'm generating hyperlinks in column B for each cell in column A:
```
http://example.com?id=xxxxx
```
Where `xxxxx` are values of the cells in column A:
```
=HYPERLINK(CONCATENATE("http://example.com?id="... | In Google Sheets, when you copy a formula that uses relative references to another cell, that references are automatically updated.
### A basic example
If in cell B2 the formula is `=A2` and you copy it and paste to cell B43, the resulting formula will be `=A43`.
### An example for the specific case of this question... |
78,842 | <h3>Background</h3>
<p>I have 300GBs of neatly organized photographs of my past 10 years in 500+ folders (albums) with names like:</p>
<pre><code>20150320-20150320 Partial Solar Eclipse (Szentes, Dónáti domb) [Sarah]
20150330-20150331 Siófok-Tihany (Balaton) [Mom, Sarah]
</code></pre>
<p>Each of these folders contai... | [
{
"answer_id": 78918,
"author": "John Faughnan",
"author_id": 15135,
"author_profile": "https://webapps.stackexchange.com/users/15135",
"pm_score": 1,
"selected": false,
"text": "<p>If you have access to Picasa uploader (I use Mac version) it provides album options. Uploads to Picasa app... | 2015/06/03 | [
"https://webapps.stackexchange.com/questions/78842",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/23780/"
] | ### Background
I have 300GBs of neatly organized photographs of my past 10 years in 500+ folders (albums) with names like:
```
20150320-20150320 Partial Solar Eclipse (Szentes, Dónáti domb) [Sarah]
20150330-20150331 Siófok-Tihany (Balaton) [Mom, Sarah]
```
Each of these folders contain 10-1000 x 1-4MB JPEG files ta... | If you upload using the Google Photos uploader, albums won't get automatically created, but the folder name will get saved with the photo metadata.
Try this: after uploading your photos from multiple folders, do a search to one of the folder names ("solar eclipse" in your case). This will list all your photos uploaded... |
78,927 | <p>I have a sheet that has many rows to put data. Since there are too many rows, I want to have the cursor jump to a particular row when the sheet is opened.</p>
<p>In other words: The date column has the entire 365 days. I want to jump to the corresponding row which has today date when I open the file.</p>
| [
{
"answer_id": 78996,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": false,
"text": "<p>You can use the following script (see <code>Tools > Script Editor</code>). It executes whenever the spreadsheet i... | 2015/06/06 | [
"https://webapps.stackexchange.com/questions/78927",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/18095/"
] | I have a sheet that has many rows to put data. Since there are too many rows, I want to have the cursor jump to a particular row when the sheet is opened.
In other words: The date column has the entire 365 days. I want to jump to the corresponding row which has today date when I open the file. | You can use the following script (see `Tools > Script Editor`). It executes whenever the spreadsheet is opened, and searches column A for the current date. It then sets the cursor to the cell with that date. You can use another column instead of A by editing the command `sheet.getRange("A:A")`
```
function onOpen() {
... |
79,009 | <p>I have two columns, one with German texts segments (in rows) and the second one with the Spanish translations of these segments. The problem is that in many cases the segments are too long for my purpose and therefore I inserted one or more <code><br></code> marks within the segments to split the segments at t... | [
{
"answer_id": 79020,
"author": "John McNamara",
"author_id": 11290,
"author_profile": "https://webapps.stackexchange.com/users/11290",
"pm_score": -1,
"selected": false,
"text": "<p>You have 2 options (assuming you stay within Google Sheets)</p>\n\n<p><strong>option 1 - using formulas</... | 2015/06/09 | [
"https://webapps.stackexchange.com/questions/79009",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/95698/"
] | I have two columns, one with German texts segments (in rows) and the second one with the Spanish translations of these segments. The problem is that in many cases the segments are too long for my purpose and therefore I inserted one or more `<br>` marks within the segments to split the segments at this/these places, ob... | Partial answer outline
======================
Simplified case
---------------
Source data: 1 column, | (pipe character) as separator.
Cell B1 formula:
```
=Transpose(Split(Join("|",A1:A2),"|"))
```
### Formula Explanation
First, join the cells values to make one list, using a character as separator.
Second... |
79,010 | <p>I'm using Outlook.com and have a custom HTML signature using their inbuilt editor which if you've used it you'll know what a pain it is. I have two phone numbers in the signature which I want to style the colour on instead of the ios blue but still retain the tap to phone functionality. After some research I've trie... | [
{
"answer_id": 79011,
"author": "Julian Knight",
"author_id": 19897,
"author_profile": "https://webapps.stackexchange.com/users/19897",
"pm_score": 2,
"selected": false,
"text": "<p>All email clients restrict the types of HTML you can include so as to ensure any HTML is safe to use.</p>\... | 2015/06/09 | [
"https://webapps.stackexchange.com/questions/79010",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I'm using Outlook.com and have a custom HTML signature using their inbuilt editor which if you've used it you'll know what a pain it is. I have two phone numbers in the signature which I want to style the colour on instead of the ios blue but still retain the tap to phone functionality. After some research I've tried t... | All email clients restrict the types of HTML you can include so as to ensure any HTML is safe to use.
Of course, this tends to mean that "newer" or custom elements tend to be stripped.
An addition, there is an error in your code `<span style="tel">` should be `<span class="tel">` which should be recognised.
You coul... |
79,051 | <p>I have a column with text looking like this:</p>
<pre><code>123,123
123.123
123,123
123.123
</code></pre>
<p>I would like another column to parse this into decimal numbers, disregarding the different decimal separators (dot <strong>.</strong> and comma <strong>,</strong>) so the result would be like this when loca... | [
{
"answer_id": 79081,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>The following formula does the job (tested with U.S. and Russia as locales, where separators are different):</p>\n\n<... | 2015/06/10 | [
"https://webapps.stackexchange.com/questions/79051",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/95754/"
] | I have a column with text looking like this:
```
123,123
123.123
123,123
123.123
```
I would like another column to parse this into decimal numbers, disregarding the different decimal separators (dot **.** and comma **,**) so the result would be like this when locale has dot as separator:
```
123.123
123.123
123.12... | The following formula does the job (tested with U.S. and Russia as locales, where separators are different):
```
=IFERROR(VALUE(SUBSTITUTE(A2, ",", ".")), VALUE(SUBSTITUTE(A2, ".", ",")))
```
Explanation:
* [`IFERROR`](https://support.google.com/docs/answer/3093304?hl=en) returns the first argument unless it throws... |
79,077 | <p>I've found a formula that will calculate how many hours between 2 time perfectly well if they are in the same day, but as soon as the times go from one night to the next morning I end up with a minus number of hours.</p>
<p>Here is the formula:</p>
<pre><code>=iferror(if((minute(F2) - minute(E2))>=0,hour(F2)-ho... | [
{
"answer_id": 79084,
"author": "user3169",
"author_id": 91176,
"author_profile": "https://webapps.stackexchange.com/users/91176",
"pm_score": 1,
"selected": false,
"text": "<p>I can't speak to Google spreadsheets, but in Excel/LO you would set the cell format of the cells with a date in... | 2015/06/10 | [
"https://webapps.stackexchange.com/questions/79077",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/95796/"
] | I've found a formula that will calculate how many hours between 2 time perfectly well if they are in the same day, but as soon as the times go from one night to the next morning I end up with a minus number of hours.
Here is the formula:
```
=iferror(if((minute(F2) - minute(E2))>=0,hour(F2)-hour(E2) + (minute(F2) - m... | As [user3169](https://webapps.stackexchange.com/users/91176/user3169) [wrote](https://webapps.stackexchange.com/a/79084/), one can simply take the difference of time values (this works in Google Spreadsheets the same as in Excel). Specifically, the command
```
=ROUND((F2-E2)*24)
```
calculates the number of hours be... |
79,518 | <p>I've got cells in a column populated with data pulled from another tab using <code>A1= Results_ES!C1</code> and <code>A2= Results_ES!C2</code> etc.</p>
<p>Some of the data is duplicated whithin the cell, e.g.</p>
<p>Cell A1= <code>Black Black</code></p>
<p>Cell A1 = <code>White White</code></p>
<p>...and so on.<... | [
{
"answer_id": 79550,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>You can keep only the part until the linebreak with the following <a href=\"https://support.google.com/docs/answer/3... | 2015/06/23 | [
"https://webapps.stackexchange.com/questions/79518",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/96545/"
] | I've got cells in a column populated with data pulled from another tab using `A1= Results_ES!C1` and `A2= Results_ES!C2` etc.
Some of the data is duplicated whithin the cell, e.g.
Cell A1= `Black Black`
Cell A1 = `White White`
...and so on.
Basically, there's a line-break - ***`char(10)`*** - between each color ... | This worked on both your examples:
```
=REGEXEXTRACT(A1,"\w+")
``` |
79,545 | <p>I want to replace the following chunks of html contained in a cell:</p>
<p><strong>Original</strong></p>
<pre><code><table class="generic">
</code></pre>
<p><strong>Replacement</strong></p>
<pre><code><table class="data-table" id="product-attribute-specs-table">
</code></pre>
<p><strong>Original</st... | [
{
"answer_id": 79603,
"author": "Nicholas Gasque",
"author_id": 69201,
"author_profile": "https://webapps.stackexchange.com/users/69201",
"pm_score": 1,
"selected": false,
"text": "<p>I am a developer for <a href=\"https://www.cognitoforms.com/\" rel=\"nofollow\">Cognito Forms</a>. </p>\... | 2015/06/23 | [
"https://webapps.stackexchange.com/questions/79545",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/96545/"
] | I want to replace the following chunks of html contained in a cell:
**Original**
```
<table class="generic">
```
**Replacement**
```
<table class="data-table" id="product-attribute-specs-table">
```
**Original**
```
<h2>Especificaciones</h2> <p></p>
```
**Replacement**
*Nothing - delete this chunk of html co... | I had this issue as well, and I solved it by playing around with the borders of the logo until it was centred. |
79,706 | <p>Does Google offer a configuration option, or has someone developed a plugin or extension, that can display the exact received time instead of the relative time an email was received?</p>
<p>This is what I see today:</p>
<p><img src="https://i.stack.imgur.com/Nhf48.png" alt="Jun 27 (1 day ago)"></p>
<p>The problem... | [
{
"answer_id": 79718,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>There does not appear to be a configuration option for this, and a look at Google <a href=\"https://productforums.goo... | 2015/06/28 | [
"https://webapps.stackexchange.com/questions/79706",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/10656/"
] | Does Google offer a configuration option, or has someone developed a plugin or extension, that can display the exact received time instead of the relative time an email was received?
This is what I see today:

The problem is, I have to hover or open the origi... | There does not appear to be a configuration option for this, and a look at Google [support forum](https://productforums.google.com/forum/#!topic/gmail/CaQhN3mK3yk) confirms this.
I've made a [bookmarklet](http://normalhuman.github.io/bookmarklets/index.html#gmail-time) that changes the display of email list to put th... |
79,806 | <p>I apologize if the title sounds odd, but I am trying to find out if I can get different kittens using the same url from the image placeholder service <a href="http://placekitten.com" rel="noreferrer">http://placekitten.com</a></p>
<p>As per usage,a url like <code>http://placekitten.com/200/300</code> or <code>http:... | [
{
"answer_id": 79819,
"author": "MrWhite",
"author_id": 5434,
"author_profile": "https://webapps.stackexchange.com/users/5434",
"pm_score": 5,
"selected": true,
"text": "<p>You were close with the query string...</p>\n<p>You can request a specific "kitten" by using the <code>im... | 2015/07/01 | [
"https://webapps.stackexchange.com/questions/79806",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/3640/"
] | I apologize if the title sounds odd, but I am trying to find out if I can get different kittens using the same url from the image placeholder service <http://placekitten.com>
As per usage,a url like `http://placekitten.com/200/300` or `http://placekitten.com/g/200/300` should place the following kitten if properly giv... | You were close with the query string...
You can request a specific "kitten" by using the `image` URL parameter with the number of the "kitten". For example:
```
http://placekitten.com/200/300?image=12
```
There appears to be 16 kittens numbered `1` to `16` (URL parameter value).
A number < 1 returns kitten `1`.
A... |
79,841 | <p>I have a Gmail filter set up to forward some emails to another account.</p>
<p><img src="https://i.stack.imgur.com/VuwsM.jpg" alt="Filters"></p>
<p>The filter is correctly finding all of the incoming emails and is labeling them "WAVE" as it is supposed to. But it is not forwarding the email as it says it will.</p>... | [
{
"answer_id": 123058,
"author": "yiati",
"author_id": 202519,
"author_profile": "https://webapps.stackexchange.com/users/202519",
"pm_score": 2,
"selected": false,
"text": "<p>I had the same issue, and in my case it turns out that I had expected to be able to list off multiple emails wi... | 2015/07/01 | [
"https://webapps.stackexchange.com/questions/79841",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/97164/"
] | I have a Gmail filter set up to forward some emails to another account.

The filter is correctly finding all of the incoming emails and is labeling them "WAVE" as it is supposed to. But it is not forwarding the email as it says it will.
I have already entered the forwar... | I had the same issue, and in my case it turns out that I had expected to be able to list off multiple emails with commas as delimiters in the `From` field when setting up a filter. It turns out I have to use OR as a delimiter. Now forwarding is working for me.
Expected to work:
```
From: foo@email.com, bar@email.com
... |
79,889 | <p>I found this script to sort a Google Spreadsheet but I need to sort everything randomly instead of alphabetically, is there a way to sort it randomly every time this script runs?</p>
<pre><code>// LinkBack to this script: // http://webapps.stackexchange.com/questions/7211/how-can-i-make-some-data-on-a-google-sprea... | [
{
"answer_id": 79894,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>Here is the function <code>shuffleSheet</code> which randomly shuffles the rows of the current sheet. The actual shuf... | 2015/07/03 | [
"https://webapps.stackexchange.com/questions/79889",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/97225/"
] | I found this script to sort a Google Spreadsheet but I need to sort everything randomly instead of alphabetically, is there a way to sort it randomly every time this script runs?
```
// LinkBack to this script: // http://webapps.stackexchange.com/questions/7211/how-can-i-make-some-data-on-a-google-spreadsheet-auto-so... | Here is the function `shuffleSheet` which randomly shuffles the rows of the current sheet. The actual shuffling algorithm (which is classical) is taken from [this answer](https://stackoverflow.com/a/12646864/3717023) by [Laurens Holst](https://stackoverflow.com/users/310500/laurens-holst).
I imagine this is something ... |
79,902 | <p>I am using Google Sheets to track changes in a group's roster. Cells B2:B240 contain the old list of names, and C2:C240 contains the new list. Both lists are alphabetized. There is a lot of overlap between the two lists, so I want to identify new members (i.e. present in C but not in B) using the QUERY tool. I did f... | [
{
"answer_id": 79903,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>This can be done with <a href=\"https://support.google.com/docs/answer/3093197?hl=en\" rel=\"noreferrer\"><code>FILTE... | 2015/07/04 | [
"https://webapps.stackexchange.com/questions/79902",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/97246/"
] | I am using Google Sheets to track changes in a group's roster. Cells B2:B240 contain the old list of names, and C2:C240 contains the new list. Both lists are alphabetized. There is a lot of overlap between the two lists, so I want to identify new members (i.e. present in C but not in B) using the QUERY tool. I did find... | This can be done with [`FILTER`](https://support.google.com/docs/answer/3093197?hl=en) by [`MATCH`](https://support.google.com/docs/answer/3093378?hl=en):
```
=FILTER(C2:C240,ISERROR(MATCH(C2:C240,B2:B240,0)))
```
Here, `MATCH` returns an error if the element is not found in column B (the third argument, 0, require... |
79,924 | <p>I'm trying to make a script for Google Spreadsheets (which is my first time), by clearing a range of some cells.</p>
<p>So: for example I want to clear <code>D5:D12</code> but not <code>D13</code> and <code>D14</code>, but then again I want to clear <code>D15:D20</code>, but not <code>D21, but</code>D22:D30` must b... | [
{
"answer_id": 79932,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>You can clear only the cells with orange background (color code <code>#ff9900</code>) by getting the background color... | 2015/07/05 | [
"https://webapps.stackexchange.com/questions/79924",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/86178/"
] | I'm trying to make a script for Google Spreadsheets (which is my first time), by clearing a range of some cells.
So: for example I want to clear `D5:D12` but not `D13` and `D14`, but then again I want to clear `D15:D20`, but not `D21, but`D22:D30` must be cleared (and it goes on like this all over the sheet).
All I h... | You can clear only the cells with orange background (color code `#ff9900`) by getting the background colors of all cells with [.getBackgrounds()](https://developers.google.com/apps-script/reference/spreadsheet/range#getBackgrounds()) and then checking them for being orange.
```
function clearOrange() {
var sheet = ... |
79,957 | <p>Essentially, I want the values in column D to be the value of the header row of the column with the last data value.</p>
<p>For example, if H27 is the last cell with data in row 27, I want D27 to be the text value of H1.</p>
<p>There will be blank values in each row.</p>
| [
{
"answer_id": 79958,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>Here is one approach, which relies on using some character (backtick <code>`</code> in my example) that is not conta... | 2015/07/06 | [
"https://webapps.stackexchange.com/questions/79957",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/97363/"
] | Essentially, I want the values in column D to be the value of the header row of the column with the last data value.
For example, if H27 is the last cell with data in row 27, I want D27 to be the text value of H1.
There will be blank values in each row. | Add the following formula in `D2`.
Formula
-------
```
=ARRAYFORMULA(IF(ROW(D2:D) = QUERY({H2:H, ROW(H2:H)},"SELECT Col2 WHERE Col1 <> '' ORDER BY Col2 DESC LIMIT 1"), H1, ""))
```
It will automatically show the title of the header in column H in the last entry of column H, in column D.
Screenshot
----------
[![e... |
80,005 | <p>I am doing reports from a set of data in Google Spreadsheet. As of now, I have several sheets, among them <code>Raw Data</code> and <code>Processed Data</code>.</p>
<p>In my <code>Processed Data</code> sheet, I use formulas such as: <code>SUM('Raw Data'!A:A)</code>. However, if I rename the <code>Raw Data</code> sh... | [
{
"answer_id": 80034,
"author": "Brian",
"author_id": 89278,
"author_profile": "https://webapps.stackexchange.com/users/89278",
"pm_score": 0,
"selected": false,
"text": "<p>I would use something like the <code>=importrange()</code> function in Google Sheets because the referenced sheet ... | 2015/07/08 | [
"https://webapps.stackexchange.com/questions/80005",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/97467/"
] | I am doing reports from a set of data in Google Spreadsheet. As of now, I have several sheets, among them `Raw Data` and `Processed Data`.
In my `Processed Data` sheet, I use formulas such as: `SUM('Raw Data'!A:A)`. However, if I rename the `Raw Data` sheet to `Raw Data (old)`, all my formulas are changed to `SUM('Raw... | While the formula added by Brian Bennet works, it takes a significant amount of time to update and feels somewhat clunky in an arrayformula.
Instead, I used `INDIRECT` to solve my problem :
```
A | B | C
------------------------------------------------------------
1| ... |
80,105 | <p>I need a number to be converted to a name. In B1:B1000 I have numbers. In C1:C1000 I has function name. On writing C30 got an error: invoked too many times per second ... how do I do function on range C? </p>
<p><img src="https://i.stack.imgur.com/WtRhc.jpg" alt="enter image description here"></p>
<pre><code>funct... | [
{
"answer_id": 80122,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>Google offers a limited amount of computing power to Sheets users. This restriction is particularly noticeable for s... | 2015/07/10 | [
"https://webapps.stackexchange.com/questions/80105",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/97644/"
] | I need a number to be converted to a name. In B1:B1000 I have numbers. In C1:C1000 I has function name. On writing C30 got an error: invoked too many times per second ... how do I do function on range C?

```
function name(choosen) {
var x = "x" ;
... | Google offers a limited amount of computing power to Sheets users. This restriction is particularly noticeable for scripts: they take a long time to run, and trying to invoke a script too often results in errors of the type you encounter.
The task you are trying to do here could be done with a single script invocatio... |
80,213 | <p>How can I create a popup in Google Sheets using the script editor?
I'd like to show a popup with a personalized notification.</p>
<p>It should start like this:</p>
<pre><code>function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var menubuttons1 = [ {name: "exampleOption", functionName: "clear1"} ];
... | [
{
"answer_id": 80245,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": false,
"text": "<h1>Dialogs and Sidebars in Google Apps</h1>\n\n<blockquote>\n <p>Scripts that are bound to Google Docs, Sheets, or ... | 2015/07/13 | [
"https://webapps.stackexchange.com/questions/80213",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/86178/"
] | How can I create a popup in Google Sheets using the script editor?
I'd like to show a popup with a personalized notification.
It should start like this:
```
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var menubuttons1 = [ {name: "exampleOption", functionName: "clear1"} ];
ss.addMenu("example",... | The easiest way to show a notification in Google Sheets is to use the method [`toast`](https://developers.google.com/apps-script/reference/spreadsheet/spreadsheet#toast(String)) of the Spreadsheet object. Here's a simple example:
```
function onOpen() {
var message = 'The current time is ' + new Date().toString();
... |
80,225 | <p>In Wikipedia talk pages discussions, I see people often mention each other.<br>
Mentioned people receive a notification.</p>
<p>How to mention people? </p>
<p>For instance let's say I want to mention the user called Joe.<br>
Solutions that work on all Mediawiki sites preferred.</p>
| [
{
"answer_id": 80226,
"author": "nic",
"author_id": 1374,
"author_profile": "https://webapps.stackexchange.com/users/1374",
"pm_score": 0,
"selected": false,
"text": "<p>Write this in wikicode:</p>\n\n<pre><code>[[User:Joe|Joe]]\n</code></pre>\n\n<p>Example:</p>\n\n<pre><code>I agree wit... | 2015/07/14 | [
"https://webapps.stackexchange.com/questions/80225",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/1374/"
] | In Wikipedia talk pages discussions, I see people often mention each other.
Mentioned people receive a notification.
How to mention people?
For instance let's say I want to mention the user called Joe.
Solutions that work on all Mediawiki sites preferred. | You can use the Wikimedia "[pipe trick](https://en.wikipedia.org/wiki/Help:Pipe_trick)" to keep from having to repeat the username:
```
[[User:Username|]]
```
turns into
```
[[User:Username|Username]]
```
---
Wikipedia1 has some templates that are set up for this. You could just use the [User link template](htt... |
80,277 | <p>When I insert data in column A and Column B,
It should be automatically merged and added in column C.</p>
<pre><code> A | B | C
===================
ABC CDE ABCCDE
</code></pre>
| [
{
"answer_id": 80297,
"author": "aparente001",
"author_id": 85534,
"author_profile": "https://webapps.stackexchange.com/users/85534",
"pm_score": 1,
"selected": false,
"text": "<p>I can think of several approaches.</p>\n\n<ol>\n<li><p>Format everything the way you want it in Word before ... | 2015/07/15 | [
"https://webapps.stackexchange.com/questions/80277",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/97961/"
] | When I insert data in column A and Column B,
It should be automatically merged and added in column C.
```
A | B | C
===================
ABC CDE ABCCDE
``` | Select the desired rows to get rid of padding, go to "Format" then "Line Spacing" then "Custom Spacing". The preset "After" is "16"; decrease that to the desired amount. |
80,327 | <p>I've got a Google Sheet linked to a form which collects replies from three different people on the same subject using the same form and editing three times. This creates a sheet which contains three columns stating where the three people are located.</p>
<p>I need to produce a view/query that takes those three col... | [
{
"answer_id": 80350,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>I offer two versions, depending on whether blank cells should be kept. The basic idea is the same:</p>\n\n<ol>\n<li>P... | 2015/07/16 | [
"https://webapps.stackexchange.com/questions/80327",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/95466/"
] | I've got a Google Sheet linked to a form which collects replies from three different people on the same subject using the same form and editing three times. This creates a sheet which contains three columns stating where the three people are located.
I need to produce a view/query that takes those three columns and pu... | I offer two versions, depending on whether blank cells should be kept. The basic idea is the same:
1. Pick a character that is not contained in your table (e.g., an exotic Unicode character accessible via [`CHAR`](https://support.google.com/docs/answer/3094120?hl=en)).
2. Use it in the [`JOIN`](https://support.google.... |
80,538 | <p>I have a business conversation going on and I'm trying to find a particular message I'm sure was part of it. Let's say it includes the term "widget". But the problem is there were (for example) 3 messages with that term. Now by itself that would be fine, I'd search for that term and see three results and read the... | [
{
"answer_id": 80592,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 1,
"selected": false,
"text": "<h1>Short answer</h1>\n<p>At this time is not possible exclude content from the quoted replies when doing a search fr... | 2015/07/21 | [
"https://webapps.stackexchange.com/questions/80538",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/98332/"
] | I have a business conversation going on and I'm trying to find a particular message I'm sure was part of it. Let's say it includes the term "widget". But the problem is there were (for example) 3 messages with that term. Now by itself that would be fine, I'd search for that term and see three results and read them and ... | You *might* be able to do something with the negation filter. Many (most?) email clients add something like "Re:" or "Fw:" to the subject when replying or forwarding a message.
So perhaps something like this would suit:
```
widget -subject:"re:"
```
This should return all messages with "widget" in the message but e... |
80,617 | <p>I am looking for a short way to type this:</p>
<pre><code>=if(a1=1,"sometext",if(a1=2,"othertext",if(a1=3,"thirdtext")))
</code></pre>
<p>In JavaScript you would do something similar like this:</p>
<pre><code>switch(a1)
case 1: "sometext"
case 2: "othertexT"
case 3: "thirdtext"
</code></pre>
<p>There is... | [
{
"answer_id": 80619,
"author": "Aminadav Glickshtein",
"author_id": 66800,
"author_profile": "https://webapps.stackexchange.com/users/66800",
"pm_score": 2,
"selected": false,
"text": "<p>I found how to do it using vlookup.</p>\n\n<p>I have twos sheet. in one sheet I put keys and values... | 2015/07/23 | [
"https://webapps.stackexchange.com/questions/80617",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/66800/"
] | I am looking for a short way to type this:
```
=if(a1=1,"sometext",if(a1=2,"othertext",if(a1=3,"thirdtext")))
```
In JavaScript you would do something similar like this:
```
switch(a1)
case 1: "sometext"
case 2: "othertexT"
case 3: "thirdtext"
```
There is formula that can handle multiple values? | Possibly more in keeping with OP's example:
```
=switch(A1,1,"sometext",2,"othertext","thirdtext")
```
(using "thirdtext" as the default for anything other than `1` or `2`, but inserting `3,` would avoid that).
The above does not require a keys/values table but such a table may reduce typing if required often. Howe... |
80,662 | <p>Lately I'm receiving a lot of spam that contains animations in the subject lines. Here is an example, from the source of a message, of a subject line containing animating fireworks.</p>
<p><code>Subject: =?UTF-8?B?876toA==?=Zero APR. No Credit Required. No Spend Limit!=?UTF-8?B?876toA==?=</code></p>
<p>I'm trying ... | [
{
"answer_id": 80663,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>Filtering spam by matching exact strings in an email has been a losing battle for years. When you add one string to... | 2015/07/22 | [
"https://webapps.stackexchange.com/questions/80662",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/98522/"
] | Lately I'm receiving a lot of spam that contains animations in the subject lines. Here is an example, from the source of a message, of a subject line containing animating fireworks.
`Subject: =?UTF-8?B?876toA==?=Zero APR. No Credit Required. No Spend Limit!=?UTF-8?B?876toA==?=`
I'm trying to create a Gmail filter tha... | You can use Google Script to perform exact matches in Gmail.
See: [Advanced Gmail Filters with Apps Scripts](http://www.labnol.org/internet/advanced-gmail-filters/4875/)
```
function filterGmail() {
var threads = GmailApp.getInboxThreads();
for (var t in threads) {
var subject = threads[t].getFirstMessageSubj... |
80,798 | <p>How can I find the (numeric) ID of my LinkedIn account when I have <em><strong>already set a public profile URL</strong></em>?</p>
<h3>Public URL setting</h3>
<p><a href="https://i.stack.imgur.com/xapDa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xapDa.png" alt="Screenshot" /></a></p>
<p><a hr... | [
{
"answer_id": 80800,
"author": "Arjun S Kumar",
"author_id": 98705,
"author_profile": "https://webapps.stackexchange.com/users/98705",
"pm_score": 2,
"selected": true,
"text": "<p>Once you're logged in <a href=\"https://i.stack.imgur.com/C6kui.png\" rel=\"nofollow noreferrer\"><img src=... | 2015/07/27 | [
"https://webapps.stackexchange.com/questions/80798",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/967/"
] | How can I find the (numeric) ID of my LinkedIn account when I have ***already set a public profile URL***?
### Public URL setting
[](https://i.stack.imgur.com/xapDa.png)
[The ID would part of the URL](http://www.ehow.com/how_10073058_linkedin-id.html), but it is not ... | Once you're logged in [](https://i.stack.imgur.com/C6kui.png)
This will bring up a new URL in the browser which looks something like this.
```
https://www.linkedin.com/profile/view?id=46036342&trk=hp-identity-name
```
In my case from the above URL,... |
80,815 | <p>In MS Excel, it is possible to select any rectangular range of cells and delete it in such a way that the cells below the deleted range move up to fill up its place. This feature is helpful, e.g., when one has two lists side by side for comparison, and a record needs to be removed from one of two lists. </p>
<p>In ... | [
{
"answer_id": 80816,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": true,
"text": "<p>Apparently, this requires copy-pasting: </p>\n\n<ol>\n<li>Delete the block</li>\n<li>Copy the data below it</li>\n<li... | 2015/07/27 | [
"https://webapps.stackexchange.com/questions/80815",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | In MS Excel, it is possible to select any rectangular range of cells and delete it in such a way that the cells below the deleted range move up to fill up its place. This feature is helpful, e.g., when one has two lists side by side for comparison, and a record needs to be removed from one of two lists.
In Google She... | Apparently, this requires copy-pasting:
1. Delete the block
2. Copy the data below it
3. Paste it to the empty space.
(The first step can be skipped, although this may increase the risk of pasting to a wrong position.)
---
If you find this tedious after a while (as I did), a script can do the same. The script belo... |
80,921 | <p>I'm trying to clamp a value between a minimum and maximum value.</p>
<p>If this were a formula, I'd expect it's usage to be <code>=CLAMP(value, min, max)</code>.</p>
<p>From what I know, there's two approaches, nether of which I like.</p>
<p><strong>1) IF / ELSE</strong></p>
<p>Use <code>=IF(value<min, min, I... | [
{
"answer_id": 80930,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>You can achieve the effect of <code>CLAMP(value, min, max)</code> with </p>\n\n<pre><code>=IFERROR(max-SQRT(max-IFERR... | 2015/07/30 | [
"https://webapps.stackexchange.com/questions/80921",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/98915/"
] | I'm trying to clamp a value between a minimum and maximum value.
If this were a formula, I'd expect it's usage to be `=CLAMP(value, min, max)`.
From what I know, there's two approaches, nether of which I like.
**1) IF / ELSE**
Use `=IF(value<min, min, IF(value>max, max, value))`. This is my current approach, but it... | You can achieve the effect of `CLAMP(value, min, max)` with
```
=IFERROR(max-SQRT(max-IFERROR(SQRT(value-min)^2+min,min))^2,max)
```
which is compatible with `ARRAYFORMULA` and uses value only once. Explanation:
1. `SQRT(value-min)^2+min` returns value if value>=min, and gives an error otherwise.
2. `IFERROR` ret... |
80,922 | <p>I'd like a function in Google Sheets to concatenate elements with a chosen delimiter like join(), but without excess delimiters at beginning, end, and between null elements. I accomplished this with REGEXREPLACE() as below:</p>
<p><a href="https://i.stack.imgur.com/bjI2X.png" rel="nofollow noreferrer"><img src="htt... | [
{
"answer_id": 80929,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>I describe two ways to do this.</p>\n\n<h3>Using Filter command</h3>\n\n<p>You can join while ignoring empty cells wi... | 2015/07/30 | [
"https://webapps.stackexchange.com/questions/80922",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/98909/"
] | I'd like a function in Google Sheets to concatenate elements with a chosen delimiter like join(), but without excess delimiters at beginning, end, and between null elements. I accomplished this with REGEXREPLACE() as below:
[](https://i.stack.imgur.com/bjI2X.png)
With **Formula... | I describe two ways to do this.
### Using Filter command
You can join while ignoring empty cells with
```
=JOIN("~", FILTER(B3:E3, LEN(B3:E3)))
```
The command `FILTER` selects only the entries with nonzero value of `LEN`, i.e., nonempty one.
For non-contiguous input range, such as `g3, f3, h3, i3`, you can use ... |
80,959 | <p>I'd like to create an IFTTT action that allows triggers based upon a certain electricity price threshold. This <a href="https://personal.xively.com/feeds/4014" rel="nofollow">Xively feed</a> can return the current price in either <a href="https://personal.xively.com/dev/docs/api/data/read/single_feed/" rel="nofollo... | [
{
"answer_id": 80988,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>My suggestion: </p>\n\n<ol>\n<li><p>Create a Google Spreadsheet with either <a href=\"https://support.google.com/doc... | 2015/07/31 | [
"https://webapps.stackexchange.com/questions/80959",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/9617/"
] | I'd like to create an IFTTT action that allows triggers based upon a certain electricity price threshold. This [Xively feed](https://personal.xively.com/feeds/4014) can return the current price in either [JSON, XML, or CSV](https://personal.xively.com/dev/docs/api/data/read/single_feed/) formats. Xively's API reference... | Based on [Normal Human's answer](https://webapps.stackexchange.com/a/80988/), I've created a Google sheets script that will parse and email IFTTT based on a price threshold. Google sheet cells won't update `ImportXml()` or other external site data more than once every hour or so, even using workarounds. However, access... |