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 |
|---|---|---|---|---|---|---|
92,029 | <p>I have changed my <a href="https://outlook.office.com/owa/?path=/options/messageformat" rel="nofollow">mail settings to plain text</a> for the Outlook webapp. I also added a <a href="https://outlook.office.com/owa/?path=/options/mailsignatures" rel="nofollow">signature</a> with the delimiter <code>--</code>:</p>
<p... | [
{
"answer_id": 133004,
"author": "Jesper Frier",
"author_id": 225682,
"author_profile": "https://webapps.stackexchange.com/users/225682",
"pm_score": 0,
"selected": false,
"text": "<p>The below image shows how to change from HTML to TXT in Outlook on the web (Office 365).</p>\n<p><a href... | 2016/04/18 | [
"https://webapps.stackexchange.com/questions/92029",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/15105/"
] | I have changed my [mail settings to plain text](https://outlook.office.com/owa/?path=/options/messageformat) for the Outlook webapp. I also added a [signature](https://outlook.office.com/owa/?path=/options/mailsignatures) with the delimiter `--`:
```
--
Philipp Kretzschmar
Software Developer
```
Yet whenever I send... | I don't think OP has any issues switching between HTML and plain text formatting; the issue is that when OWA is set to plain text composition mode signatures aren't inserted, either automatically (when so configured) or by manually using the Insert Signature button from the tool ribbon. You can work around this by temp... |
92,066 | <p>Using Google Sheets with the expression SUMIF, is there a way to make the criteria field look for 2 types of values using OR logic?</p>
<pre><code>A B
Joe 1
Joe 2
Tim 3
Roy 4
Tim 5
Roy 6
</code></pre>
<p>How do I make a SUMIF for the rows that have Joe and Roy so the result is 13?</p>
<p>So... | [
{
"answer_id": 92067,
"author": "Max Makhrov",
"author_id": 118810,
"author_profile": "https://webapps.stackexchange.com/users/118810",
"pm_score": 4,
"selected": true,
"text": "<p><strong>Use of REGEXMATCH</strong></p>\n\n<p>There are many ways to do this in Google sheets. One is:</p>\n... | 2016/04/20 | [
"https://webapps.stackexchange.com/questions/92066",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/107569/"
] | Using Google Sheets with the expression SUMIF, is there a way to make the criteria field look for 2 types of values using OR logic?
```
A B
Joe 1
Joe 2
Tim 3
Roy 4
Tim 5
Roy 6
```
How do I make a SUMIF for the rows that have Joe and Roy so the result is 13?
Someone showed me how to do it on L... | **Use of REGEXMATCH**
There are many ways to do this in Google sheets. One is:
```
=SUM(filter(B:B,REGEXMATCH(A:A,"Joe|Roy")))
```
---
to make it with sumif:
```
=SUMIF(ARRAYFORMULA(REGEXMATCH(A:A,"Joe|Roy")),true,B:B)
```
---
**Filter with OR logic**
and this formula is ok:
```
=sum(FILTER(B:B,(A:A="Joe")+(... |
92,138 | <p>Currently working on fetching data from an API with Basic Authentication. Through this script: <a href="https://gist.github.com/anemitz/8cc6ef6c41ea4cefe51a13fbd6d8676a" rel="nofollow">https://gist.github.com/anemitz/8cc6ef6c41ea4cefe51a13fbd6d8676a</a> </p>
<pre><code>function ImportJSONBasicAuthentication(url, qu... | [
{
"answer_id": 92140,
"author": "Tom Woodward",
"author_id": 103367,
"author_profile": "https://webapps.stackexchange.com/users/103367",
"pm_score": 1,
"selected": false,
"text": "<p>I believe that's relying on the the JSON import library by Chris Keller, <a href=\"https://gist.github.co... | 2016/04/22 | [
"https://webapps.stackexchange.com/questions/92138",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/121897/"
] | Currently working on fetching data from an API with Basic Authentication. Through this script: <https://gist.github.com/anemitz/8cc6ef6c41ea4cefe51a13fbd6d8676a>
```
function ImportJSONBasicAuthentication(url, query, parseOptions, username, password) {
var fetchOptions = {
"headers" : {
"Authorization" ... | The function `ImportJSONBasicAuthentication` is basically just a wrapper function for `ImportJSONAdvanced` but changes some options before calling it (the line with `var fetchOptions` initiliaztion call sets up options accordingly). You'd need to include the function `ImportJSONAdvanced` and any functions it might also... |
92,143 | <p>I was trying to find a way to import multiple VCF/CSV contacts to Google Contacts in one shot, instead of adding one by one.</p>
| [
{
"answer_id": 92144,
"author": "Nirav Zaveri",
"author_id": 94586,
"author_profile": "https://webapps.stackexchange.com/users/94586",
"pm_score": 2,
"selected": false,
"text": "<p>Source:\n<a href=\"http://www.groovypost.com/howto/howto/import-multiple-contacts-into-gmail-from-outlook-m... | 2016/04/22 | [
"https://webapps.stackexchange.com/questions/92143",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/94586/"
] | I was trying to find a way to import multiple VCF/CSV contacts to Google Contacts in one shot, instead of adding one by one. | Source:
<http://www.groovypost.com/howto/howto/import-multiple-contacts-into-gmail-from-outlook-mail-thunderbird-vcf-csv/>
**Combining Multiple .VCF or .CSV Files for Importing**
Unfortunately, there isn’t any batch import for vcf and csv contacts in Gmail. A workaround for this is to take all your vCard or exported ... |
92,305 | <p>When replying to emails in Outlook, the complete details of the original email are appended on bottom.</p>
<p>Ex:</p>
<pre><code>From: Manas [mailto:****@****.com]
Sent: Wednesday, April 27, 2016 1:38 PM
To: Manas <****@****.com>
Subject: RE: Sample Email Reply
</code></pre>
<p>But when replying via Gmail w... | [
{
"answer_id": 92308,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 2,
"selected": false,
"text": "<p>I'm afraid you cannot. Every mail client has their own way of putting message details as part of the quoted reply. Some ... | 2016/04/27 | [
"https://webapps.stackexchange.com/questions/92305",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/114899/"
] | When replying to emails in Outlook, the complete details of the original email are appended on bottom.
Ex:
```
From: Manas [mailto:****@****.com]
Sent: Wednesday, April 27, 2016 1:38 PM
To: Manas <****@****.com>
Subject: RE: Sample Email Reply
```
But when replying via Gmail web interface, only the original sender ... | I'm afraid you cannot. Every mail client has their own way of putting message details as part of the quoted reply. Some clients may allow you to change that.
There is no way to configure the Gmail web client to quote replies a different way. If you want to do that, you'll need to use a different client (such as Outloo... |
92,500 | <p>This question is the inverse of <a href="https://webapps.stackexchange.com/questions/35344/find-out-the-other-members-of-a-google-apps-group-without-admin-access?newreg=bbf1bac1d16549a4ae8061513aeb4b02">another question</a>. In corporate gmail, I know how to view a list of members for a particular group, but how do... | [
{
"answer_id": 92512,
"author": "tyelford",
"author_id": 113928,
"author_profile": "https://webapps.stackexchange.com/users/113928",
"pm_score": 1,
"selected": false,
"text": "<p>I've looked in Gmail, <a href=\"http://contacts.google.com\" rel=\"nofollow noreferrer\">Google Contacts</a>,... | 2016/05/04 | [
"https://webapps.stackexchange.com/questions/92500",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/122847/"
] | This question is the inverse of [another question](https://webapps.stackexchange.com/questions/35344/find-out-the-other-members-of-a-google-apps-group-without-admin-access?newreg=bbf1bac1d16549a4ae8061513aeb4b02). In corporate gmail, I know how to view a list of members for a particular group, but how do I perform the ... | I've never found a good solution to this. Instead, I've used a work around. I have a script that gives me a full list of all of the groups I can access and lists of their members. When I run "main" it creates a Google sheet called "Group List". Although it's not refined, it gets the job done.
```
function main() {
v... |
92,519 | <p>How do I write good-looking dialogue in a Blogspot article? There doesn't seem to be a way of doing it in "editor mode", so I'm hoping there's some convenient HTML command for it. I'm envisioning something like this (created in paint), but I'm open to suggestions:<a href="https://i.stack.imgur.com/A0Iie.png" rel="no... | [
{
"answer_id": 92717,
"author": "mvark",
"author_id": 2356,
"author_profile": "https://webapps.stackexchange.com/users/2356",
"pm_score": 2,
"selected": false,
"text": "<p>By providing the RSS feed of your blog to Ifttt.com you can have it post to Facebook & other popular social med... | 2016/05/05 | [
"https://webapps.stackexchange.com/questions/92519",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/122931/"
] | How do I write good-looking dialogue in a Blogspot article? There doesn't seem to be a way of doing it in "editor mode", so I'm hoping there's some convenient HTML command for it. I'm envisioning something like this (created in paint), but I'm open to suggestions:[](https... | By providing the RSS feed of your blog to Ifttt.com you can have it post to Facebook & other popular social media sites |
92,620 | <p>I have a table with dates (in increasing order) and corresponding values. Some dates are missing, like 3/27 below. I'd like to insert them in Date column, and have 0 entered in the Value column for these missing dates. How to achieve this, preferably with a formula that does not need to be copied down the sheet?</p... | [
{
"answer_id": 92621,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>I used two arrayformulas for this purpose. One, in cell C2, to create the list of dates: </p>\n\n<pre><code>=arrayfor... | 2016/05/09 | [
"https://webapps.stackexchange.com/questions/92620",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I have a table with dates (in increasing order) and corresponding values. Some dates are missing, like 3/27 below. I'd like to insert them in Date column, and have 0 entered in the Value column for these missing dates. How to achieve this, preferably with a formula that does not need to be copied down the sheet?
```
+... | I used two arrayformulas for this purpose. One, in cell C2, to create the list of dates:
```
=arrayformula(if(row(C2:C)+A2-2 > max(A2:A), , row(C2:C)+A2-2))
```
It adds the row number minus 2 to the date in A2. If the result is greater than the last date in column A, this date is out of range and is not shown.
Th... |
92,650 | <p>Is there a way in Google Docs to automatically update the date in a header of the page, so that whenever I print the document it will have today's date?</p>
| [
{
"answer_id": 92656,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>This can only be done with a script, to be entered in Tools > Script Editor. Once you save the script, it will run a... | 2016/05/10 | [
"https://webapps.stackexchange.com/questions/92650",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/2264/"
] | Is there a way in Google Docs to automatically update the date in a header of the page, so that whenever I print the document it will have today's date? | This can only be done with a script, to be entered in Tools > Script Editor. Once you save the script, it will run automatically every time the document is open, updating the date in the header. Here is one way to do this:
```
function onOpen() {
var date = Utilities.formatDate(new Date(), "GMT", "yyyy-MM-dd");
... |
92,652 | <p><a href="https://i.stack.imgur.com/U7Gp2.png" rel="noreferrer"><img src="https://i.stack.imgur.com/U7Gp2.png" alt="enter image description here"></a></p>
<p>I am drawing flow chart in draw.io, I didn't find a way cross the two lines with cross over connector as above figure. Can any one help me out?</p>
| [
{
"answer_id": 92661,
"author": "dval",
"author_id": 108635,
"author_profile": "https://webapps.stackexchange.com/users/108635",
"pm_score": 4,
"selected": true,
"text": "<p>as a workaround, if you need the visual element, you can create an arc as a custom shape with connection points.</... | 2016/05/10 | [
"https://webapps.stackexchange.com/questions/92652",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/123265/"
] | [](https://i.stack.imgur.com/U7Gp2.png)
I am drawing flow chart in draw.io, I didn't find a way cross the two lines with cross over connector as above figure. Can any one help me out? | as a workaround, if you need the visual element, you can create an arc as a custom shape with connection points.
It adds some extra steps to the workflow, because you have to draw lines to the connect to the arc, and then another to continue to the entity. But, you can then move the 'cross over' around and lines will ... |
92,708 | <p>I want to write currency in the format:</p>
<pre><code>₽ 3 812.23
</code></pre>
<p>But if I select Russia as region in the table settings and format the string</p>
<pre><code>₽ 0.00
</code></pre>
<p>result formatted number like</p>
<pre><code>₽ 3 812,23
</code></pre>
<p>with a comma, because the comma is defau... | [
{
"answer_id": 99423,
"author": "pnuts",
"author_id": 60716,
"author_profile": "https://webapps.stackexchange.com/users/60716",
"pm_score": 1,
"selected": false,
"text": "<blockquote>\n <p>How to change comma to dot?</p>\n</blockquote>\n\n<p>Use Edit, Find and Replace...</p>\n\n<p><a hr... | 2016/05/11 | [
"https://webapps.stackexchange.com/questions/92708",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I want to write currency in the format:
```
₽ 3 812.23
```
But if I select Russia as region in the table settings and format the string
```
₽ 0.00
```
result formatted number like
```
₽ 3 812,23
```
with a comma, because the comma is default separator in Russian locale. How to change comma to dot? | >
> How to change comma to dot?
>
>
>
Use Edit, Find and Replace...
[](https://i.stack.imgur.com/OzrSP.jpg)
However the result is a text string, so you might need to substitute dot with comma if to calculate with the result. |
92,789 | <p>How can I filter multiple words in a column? (for example, I want to filter the words <code>golf</code> and <code>ski</code> to show up in my filter)</p>
<p><a href="https://i.stack.imgur.com/1ioId.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1ioId.png" alt="enter image description here"></a><... | [
{
"answer_id": 92793,
"author": "Dek4nice",
"author_id": 123593,
"author_profile": "https://webapps.stackexchange.com/users/123593",
"pm_score": 1,
"selected": false,
"text": "<p>You should move your 3 unique sport values to 3 additional columns:\n<strong>Ski Badminton Golf</strong></p>\... | 2016/05/15 | [
"https://webapps.stackexchange.com/questions/92789",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/123622/"
] | How can I filter multiple words in a column? (for example, I want to filter the words `golf` and `ski` to show up in my filter)
[](https://i.stack.imgur.com/1ioId.png) | You may use an additional column to filter categories in place. Here's the formula to check if any text matches "golf" or "ski" :
```
=REGEXMATCH(A2,"ski|golf")
```
It will give `True` if cell A2 contains any word "golf" or "ski". If you want to check more then two words, the easy way is to write them into a separat... |
92,819 | <p>For example, if I had a question about iMovie, should I search Google:</p>
<pre><code>How to add transitions to multiple clips in iMovie
</code></pre>
<p>Or something like:</p>
<pre><code>Add transitions multiple clips iMovie
</code></pre>
| [
{
"answer_id": 92800,
"author": "MaryC.fromNZ",
"author_id": 2314,
"author_profile": "https://webapps.stackexchange.com/users/2314",
"pm_score": 1,
"selected": false,
"text": "<p>Use the Message function, and ask A if they are connected to B.</p>\n"
},
{
"answer_id": 92805,
"... | 2016/05/15 | [
"https://webapps.stackexchange.com/questions/92819",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/123039/"
] | For example, if I had a question about iMovie, should I search Google:
```
How to add transitions to multiple clips in iMovie
```
Or something like:
```
Add transitions multiple clips iMovie
``` | You can see the relationship between two users by using their username or Facebook id.
Use the below link if you know the username:
<https://www.facebook.com/USER1?and=USER2>
Where USER1 is A and USER2 is B.
If you have Facebook id instead of username, use this link:
<https://www.facebook.com/profile.php?id=ID1&an... |
92,983 | <p>This has already been <a href="https://support.office.com/en-us/article/Display-or-hide-zero-values-3ec7a433-46b8-4516-8085-a00e9e476b03" rel="nofollow noreferrer">addressed</a> in Excel but I was wondering how to do the same in Google Sheets.</p>
<p>So suppose the B cell has this formula:</p>
<pre><code>="fronten... | [
{
"answer_id": 92984,
"author": "Max Makhrov",
"author_id": 118810,
"author_profile": "https://webapps.stackexchange.com/users/118810",
"pm_score": 3,
"selected": true,
"text": "<p>try this:</p>\n\n<pre><code>=REGEXEXTRACT(B1,\"\\d+\\.?\\d+$|\\d+\")*1+REGEXEXTRACT(C1,\"\\d+\\.?\\d+$|\\d+... | 2016/05/20 | [
"https://webapps.stackexchange.com/questions/92983",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91362/"
] | This has already been [addressed](https://support.office.com/en-us/article/Display-or-hide-zero-values-3ec7a433-46b8-4516-8085-a00e9e476b03) in Excel but I was wondering how to do the same in Google Sheets.
So suppose the B cell has this formula:
```
="frontend (days)
total: "&sum(B2,B10,B14,B20)
```
and the C cell... | try this:
```
=REGEXEXTRACT(B1,"\d+\.?\d+$|\d+")*1+REGEXEXTRACT(C1,"\d+\.?\d+$|\d+")*1
```
`REGEXEXTRACT` part of formula "\d+.?\d+$" does this:
* `\d` - match and retun digit from 0 to 9
* `\d+` - gives one or more digits
* `.` - any symbol
* `\.` - dot
* `?` - makes previous symbol optional (we use it here to mat... |
93,000 | <p>I am using Google Docs to edit digitalized documents. Those documents end up with whitespace at the beginning of every paragraph, which I have to replace with tabs so they do not take up space at a Braille Display. How can I replace these whitespace sequences with one tab?</p>
| [
{
"answer_id": 93006,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>This can be done with the script given below. Enter it under Tools > Script Editor, and run. It will replace any amou... | 2016/05/20 | [
"https://webapps.stackexchange.com/questions/93000",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/109878/"
] | I am using Google Docs to edit digitalized documents. Those documents end up with whitespace at the beginning of every paragraph, which I have to replace with tabs so they do not take up space at a Braille Display. How can I replace these whitespace sequences with one tab? | This can be done with the script given below. Enter it under Tools > Script Editor, and run. It will replace any amount of whitespace at the beginning of a paragraph with a single tab. Other whitespace will remain untouched.
```
function spaces2tabs() {
var paras = DocumentApp.getActiveDocument().getBody().getPar... |
93,002 | <p>This is the problem I'm seeing: </p>
<blockquote>
<p>Error - Unable to parse query string for function QUERY parameter 2: NO_COLUMND</p>
</blockquote>
<p><a href="https://i.stack.imgur.com/Qv9ip.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qv9ip.png" alt="Error - Unable to parse query strin... | [
{
"answer_id": 93005,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 5,
"selected": true,
"text": "<p>When using query with importrange, the imported columns must be referred to as Col1, Col2, Col3, etc, according to th... | 2016/05/20 | [
"https://webapps.stackexchange.com/questions/93002",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124001/"
] | This is the problem I'm seeing:
>
> Error - Unable to parse query string for function QUERY parameter 2: NO\_COLUMND
>
>
>
[](https://i.stack.imgur.com/Qv9ip.png)
The formula is of the form:
`... | When using query with importrange, the imported columns must be referred to as Col1, Col2, Col3, etc, according to their positions in the imported range. So, you should replace
```
"select D where V = 1"
```
with
```
"select Col4 where Col22 = 1"
```
The reason is that imported range is not considered a part ... |
93,003 | <p>When <a href="https://domains.google.com/tos" rel="nofollow">reading the terms of service</a>, I saw :</p>
<blockquote>
<p>Google does not guarantee that Registrant will be able to register or renew a desired domain name, even if Google’s systems indicate that the domain name is available or <strong>Registrant is... | [
{
"answer_id": 93005,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 5,
"selected": true,
"text": "<p>When using query with importrange, the imported columns must be referred to as Col1, Col2, Col3, etc, according to th... | 2016/05/20 | [
"https://webapps.stackexchange.com/questions/93003",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124099/"
] | When [reading the terms of service](https://domains.google.com/tos), I saw :
>
> Google does not guarantee that Registrant will be able to register or renew a desired domain name, even if Google’s systems indicate that the domain name is available or **Registrant is able to complete an order** with respect to such do... | When using query with importrange, the imported columns must be referred to as Col1, Col2, Col3, etc, according to their positions in the imported range. So, you should replace
```
"select D where V = 1"
```
with
```
"select Col4 where Col22 = 1"
```
The reason is that imported range is not considered a part ... |
93,102 | <p>Medium (medium.com) is a popular blogging platform. I’ve started following a bunch of authors, but I don’t know where to view a list of new posts by those authors, in chronological order (think RSS feed). Is there even such a feature on Medium’s site?</p>
| [
{
"answer_id": 93106,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 2,
"selected": false,
"text": "<p>The RSS feed for a particular author is located at </p>\n\n<pre><code>https://medium.com/feed/@authorname/\n</code></pre... | 2016/05/24 | [
"https://webapps.stackexchange.com/questions/93102",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/7389/"
] | Medium (medium.com) is a popular blogging platform. I’ve started following a bunch of authors, but I don’t know where to view a list of new posts by those authors, in chronological order (think RSS feed). Is there even such a feature on Medium’s site? | The RSS feed for a particular author is located at
```
https://medium.com/feed/@authorname/
```
So, for instance, the feed for all of Jeff Jarvis's articles is at <https://medium.com/feed/@jeffjarvis/>
RSS feeds for a particular publication are similar, but it's based on the name of the publication without the @ s... |
93,132 | <p>I have a Google Spreadsheet with 100 lines.</p>
<p>Every time I open that file, I want to insert a row on the end of my table.</p>
<p>How can I jump to the last line of the table when I open the doc?</p>
<p>Because right now I have to scroll down in order to be able to insert a new line.</p>
| [
{
"answer_id": 93133,
"author": "Vidar S. Ramdal",
"author_id": 21583,
"author_profile": "https://webapps.stackexchange.com/users/21583",
"pm_score": 5,
"selected": true,
"text": "<p>You can create a trigger that runs every time your spreadsheet is opened.</p>\n<p>Go to <em>Extensions → ... | 2016/05/25 | [
"https://webapps.stackexchange.com/questions/93132",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124395/"
] | I have a Google Spreadsheet with 100 lines.
Every time I open that file, I want to insert a row on the end of my table.
How can I jump to the last line of the table when I open the doc?
Because right now I have to scroll down in order to be able to insert a new line. | You can create a trigger that runs every time your spreadsheet is opened.
Go to *Extensions → Apps Script* and paste the following:
```
function onOpen(e) {
var spreadsheet = e.source;
var sheet = spreadsheet.getActiveSheet();
var lastRow = spreadsheet.getLastRow();
if (sheet.getMaxRows() == lastRow) {
sh... |
93,172 | <p>I'm trying to color the <strong>header</strong> if all of the cells in that column are numbers. Blank or non-numbers should break this.</p>
<p>I have:</p>
<pre><code>custom formula: =ISNUMBER(A3:A)
</code></pre>
<p>But it styles the cells instead. Not sure how to specify the header cell within this formula.</p>
| [
{
"answer_id": 93180,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>The way I managed to do this, even though it will be very cumbersome if you have multiple rows that you need to chec... | 2016/05/26 | [
"https://webapps.stackexchange.com/questions/93172",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124498/"
] | I'm trying to color the **header** if all of the cells in that column are numbers. Blank or non-numbers should break this.
I have:
```
custom formula: =ISNUMBER(A3:A)
```
But it styles the cells instead. Not sure how to specify the header cell within this formula. | Apply conditional formatting with custom formula
```
=arrayformula(sum(N(not(isnumber(A3:A)))))=0
```
This can be applied even to a range of headers such as A1:E1; the formula, entered as above, will be interpreted in a relative way for other columns.
### Explanation
* `not(isnumber(...))` is true if the entry is ... |
93,185 | <p>At work using Chrome, I have a Google Sheets file saved on my Google Drive folder that's shared with me with edit privileges that I keep open on my MacBook Pro.</p>
<p>After I've originally opened the file and selected the current day's worksheet, I would like a JavaScript that dynamically selects the next day's wo... | [
{
"answer_id": 93189,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>Here is an Apps Script function that switches to the next sheet, one after the currently open sheet. When the active... | 2016/05/26 | [
"https://webapps.stackexchange.com/questions/93185",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124520/"
] | At work using Chrome, I have a Google Sheets file saved on my Google Drive folder that's shared with me with edit privileges that I keep open on my MacBook Pro.
After I've originally opened the file and selected the current day's worksheet, I would like a JavaScript that dynamically selects the next day's worksheet at... | While it's possible to use a time triggered function to get the desired result, I suggest to use an on open event instead.
The following code assumes that
1. there is a sheet named Config and that the cell A1 has the following formula =DAY(TODAY()).
2. there are 31 sheets named from 1 to 31 (one for each day of a 31... |
93,200 | <p>I have a <a href="https://docs.google.com/spreadsheets/d/1-QV49oKCf58HgLBgC8gJ3gc6IXJZAo2xvh6vPTjY05o/edit?usp=sharing" rel="nofollow noreferrer">Google Spreadsheet</a>:</p>
<p><a href="https://i.stack.imgur.com/h53q1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h53q1.png" alt="Screenshots" /><... | [
{
"answer_id": 93213,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>One approach is to put the following in cell Sheet2!B2, dragging it down the column. </p>\n\n<pre><code>=iferror(ind... | 2016/05/27 | [
"https://webapps.stackexchange.com/questions/93200",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124572/"
] | I have a [Google Spreadsheet](https://docs.google.com/spreadsheets/d/1-QV49oKCf58HgLBgC8gJ3gc6IXJZAo2xvh6vPTjY05o/edit?usp=sharing):
[](https://i.stack.imgur.com/h53q1.png)
I would like to:
* check the row in Sheet1 where the domain in Sheet2 is contained
* return i... | The Arrayformula can keep you from copying the formula down. For your use, you want to use vlookup to find and return the value. You will only be able to return the values for one matched domain, so I will assume this is coming from column H in your images.
The simple version places a formula in each column, starting ... |
93,253 | <p>I'm looking to retrieve the most recent financial figure for a single data point from a table using IMPORTXML.</p>
<p><a href="https://www.google.com/finance?q=GOOG&fstype=ii" rel="nofollow noreferrer">The target page</a> displays three sets of financial figures for a company on quarterly and annual bases. In ... | [
{
"answer_id": 93254,
"author": "Dale",
"author_id": 22565,
"author_profile": "https://webapps.stackexchange.com/users/22565",
"pm_score": 0,
"selected": false,
"text": "<p>One way to do this, assuming the page is rendered is to use a plugin or add-on to generate it for you. For example... | 2016/05/29 | [
"https://webapps.stackexchange.com/questions/93253",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124150/"
] | I'm looking to retrieve the most recent financial figure for a single data point from a table using IMPORTXML.
[The target page](https://www.google.com/finance?q=GOOG&fstype=ii) displays three sets of financial figures for a company on quarterly and annual bases. In this case, I only want the "Total Debt" figure liste... | Short answer
============
AFAIK, regarding XPath queries to be used with IMPORTXML there isn't straightforward method as XPath 1.0 support looks that was not fully implemented and the web pages developers could follow the practices to set the structure of their webpages.
Explanation
-----------
While the use of tool... |
93,269 | <p>There is a Tumblr blog which is just one long page with thousands of entries. Once I reach what appears to be the bottom of the page, more text/posts loads. </p>
<p>How I get to the bottom of the page without scrolling/pressing page down? Is there some way of doing this? I don't mind using Firefox, Chrome or Edge. ... | [
{
"answer_id": 93270,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": -1,
"selected": false,
"text": "<p>I am not aware of a command or keystroke that can load an infinite scroll page automatically and take you to the bo... | 2016/05/15 | [
"https://webapps.stackexchange.com/questions/93269",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | There is a Tumblr blog which is just one long page with thousands of entries. Once I reach what appears to be the bottom of the page, more text/posts loads.
How I get to the bottom of the page without scrolling/pressing page down? Is there some way of doing this? I don't mind using Firefox, Chrome or Edge.
My aim i... | Here's a way. It involves opening the developer console of your browser. That is done usually by pressing `ctrl`+`shift`+`I` or just `F12`.
After you've opened it and found the **Console** tab, type:
```
var i = 0;
(function scroll () {
if (i > 50) {
return
}
i++
window.scrollTo(0, 9999999)
console.log(... |
93,297 | <p>So I have this formula:</p>
<pre><code>=CONCAT(=IF(F26 = " Kb","0",IF(F26 = "16 Kb","16",IF(F26 = "64 Kb","64"))))
</code></pre>
<p>I'm trying to return the result "0" or "16" or "64". Three possible inputs, and three outputs. This function currently returns a error, what am I doing wrong?</p>
<p><a href="https:/... | [
{
"answer_id": 93298,
"author": "teylyn",
"author_id": 45374,
"author_profile": "https://webapps.stackexchange.com/users/45374",
"pm_score": 2,
"selected": false,
"text": "<p>The <code>=</code> before the IF() is the first problem. The <code>=</code> is only needed at the beginning of th... | 2016/05/29 | [
"https://webapps.stackexchange.com/questions/93297",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | So I have this formula:
```
=CONCAT(=IF(F26 = " Kb","0",IF(F26 = "16 Kb","16",IF(F26 = "64 Kb","64"))))
```
I'm trying to return the result "0" or "16" or "64". Three possible inputs, and three outputs. This function currently returns a error, what am I doing wrong?
[The support page listing the possible functions]... | The `=` before the IF() is the first problem. The `=` is only needed at the beginning of the formula, not when nesting functions.
Remove the Concat() from the formula. It does not look like you want to concatenate anything, since the IF() is the only argument and your desired outcome is just a number.
The last neste... |
93,305 | <p>In Google Sheets, how do I create a hyperlink to <em>this sheet</em>?</p>
<p>I have a sheet which I'm about to download as PDF for archive. It would be useful to include a link in the sheet, pointing to itself, so that later I could click the PDF link and open the sheet again.</p>
<p>Of course I could copy the URL... | [
{
"answer_id": 93307,
"author": "Max Makhrov",
"author_id": 118810,
"author_profile": "https://webapps.stackexchange.com/users/118810",
"pm_score": 5,
"selected": true,
"text": "<p>Open menu <code>Tools → Script Editor</code> and paste this code:</p>\n\n<pre><code>function getSheetUrl() ... | 2016/05/31 | [
"https://webapps.stackexchange.com/questions/93305",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124790/"
] | In Google Sheets, how do I create a hyperlink to *this sheet*?
I have a sheet which I'm about to download as PDF for archive. It would be useful to include a link in the sheet, pointing to itself, so that later I could click the PDF link and open the sheet again.
Of course I could copy the URL from the address bar, a... | Open menu `Tools → Script Editor` and paste this code:
```
function getSheetUrl() {
var SS = SpreadsheetApp.getActiveSpreadsheet();
var ss = SS.getActiveSheet();
var url = '';
url += SS.getUrl();
url += '#gid=';
url += ss.getSheetId();
return url;
}
```
Close The Script Editor.
And use this formula:
... |
93,333 | <p>EX. <a href="https://docs.google.com/spreadsheets/d/1CwFXSwIgnPdMocbrhTFZbEPRyXZUiovvWNy9MtOagxE/edit#gid=0" rel="nofollow">https://docs.google.com/spreadsheets/d/1CwFXSwIgnPdMocbrhTFZbEPRyXZUiovvWNy9MtOagxE/edit#gid=0</a> </p>
<p>I wanted to compare two column "fix version" and "Affected version" and return the re... | [
{
"answer_id": 93336,
"author": "Dale",
"author_id": 22565,
"author_profile": "https://webapps.stackexchange.com/users/22565",
"pm_score": 0,
"selected": false,
"text": "<p>Looking at your solution, I can see you are trying to parse the string in the column. Try this. put 'release' in ... | 2016/05/31 | [
"https://webapps.stackexchange.com/questions/93333",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124849/"
] | EX. <https://docs.google.com/spreadsheets/d/1CwFXSwIgnPdMocbrhTFZbEPRyXZUiovvWNy9MtOagxE/edit#gid=0>
I wanted to compare two column "fix version" and "Affected version" and return the result bases on below logic.
if the fix version tag = affected version → pre-release
if the fix release tag > affected version → po... | Why not using simple formula? Thy this formula, paste it in any free cell (row2):
```
=ARRAYFORMULA(if(A2:A=C2:C,"pre-release",if(C2:C>A2:A,"post-release","other")))
``` |
93,339 | <p>Is there any way to get the DOI of the results in Google Scholar?</p>
<p>E.g., in the following results page, I would like to get the DOI of the third result:</p>
<p><a href="https://i.stack.imgur.com/Ul8R9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Ul8R9.png" alt="enter image description here"></a>... | [
{
"answer_id": 93336,
"author": "Dale",
"author_id": 22565,
"author_profile": "https://webapps.stackexchange.com/users/22565",
"pm_score": 0,
"selected": false,
"text": "<p>Looking at your solution, I can see you are trying to parse the string in the column. Try this. put 'release' in ... | 2016/06/01 | [
"https://webapps.stackexchange.com/questions/93339",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/18147/"
] | Is there any way to get the DOI of the results in Google Scholar?
E.g., in the following results page, I would like to get the DOI of the third result:
[](https://i.stack.imgur.com/Ul8R9.png)
Is there any way to get it without having to go on the pa... | Why not using simple formula? Thy this formula, paste it in any free cell (row2):
```
=ARRAYFORMULA(if(A2:A=C2:C,"pre-release",if(C2:C>A2:A,"post-release","other")))
``` |
93,363 | <p>Does anyone know a formula to combine several cells into a text in one cell with mixed delimiters between words?</p>
<p>Cell A1 - First Name<br>
Cell B1 - Last Name<br>
Cell C1 - Job Title<br>
Cell D1 - Company </p>
<p>I would like to combine the first two cells with a space and the rest with a comma followed by ... | [
{
"answer_id": 93365,
"author": "Daniel",
"author_id": 124907,
"author_profile": "https://webapps.stackexchange.com/users/124907",
"pm_score": 3,
"selected": false,
"text": "<pre><code>=A1&\" \"&B1&\", \"&C1&\", \"&D1\n</code></pre>\n\n<p>This will return a string... | 2016/06/01 | [
"https://webapps.stackexchange.com/questions/93363",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124909/"
] | Does anyone know a formula to combine several cells into a text in one cell with mixed delimiters between words?
Cell A1 - First Name
Cell B1 - Last Name
Cell C1 - Job Title
Cell D1 - Company
I would like to combine the first two cells with a space and the rest with a comma followed by a space.
My target fo... | ```
=A1&" "&B1&", "&C1&", "&D1
```
This will return a string saying:
"First Name Last Name, Job Title, Company" |
93,417 | <p>How can I insert a line break in an IFTTT recipe I am using to send Favorited Tweets to Facebook? Right now everything just runs together in one paragraph and looks very cluttered. Here's the recipe:</p>
<pre><code>Dave favorited this tweet<br>
{{Text}} (@{{UserName}})<br>
{{LinkToTweet}}
</code></pre>
... | [
{
"answer_id": 93422,
"author": "Tom Woodward",
"author_id": 103367,
"author_profile": "https://webapps.stackexchange.com/users/103367",
"pm_score": 2,
"selected": false,
"text": "<p>I entered </p>\n\n<pre><code>A human favorited a tweet<br>\n{{Text}} (@{{UserName}})<br>\n{{L... | 2016/06/02 | [
"https://webapps.stackexchange.com/questions/93417",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/124998/"
] | How can I insert a line break in an IFTTT recipe I am using to send Favorited Tweets to Facebook? Right now everything just runs together in one paragraph and looks very cluttered. Here's the recipe:
```
Dave favorited this tweet<br>
{{Text}} (@{{UserName}})<br>
{{LinkToTweet}}
```
I have tried using the `"<br>"` ta... | I entered
```
A human favorited a tweet<br>
{{Text}} (@{{UserName}})<br>
{{LinkToTweet}}
```
and got the following on FB. Seems to work.
[](https://i.stack.imgur.com/TjJGA.png) |
93,431 | <p>How do I create a reminder for every other day except Saturday and Sunday?</p>
<pre><code> M T W TTH F Sa Su
1st Week * * *
2nd Week * *
3rd Week * * *
</code></pre>
| [
{
"answer_id": 93448,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>This can be done as two repeated events, rather than one. Create two identically named events, one of which happens o... | 2016/06/03 | [
"https://webapps.stackexchange.com/questions/93431",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/77686/"
] | How do I create a reminder for every other day except Saturday and Sunday?
```
M T W TTH F Sa Su
1st Week * * *
2nd Week * *
3rd Week * * *
``` | This can be done as two repeated events, rather than one. Create two identically named events, one of which happens on MWF every other week, and the other on TTH of every other week, starting a week later.
 |
94,528 | <p>I have this Script so far,</p>
<pre><code>function onEdit() {
var s = SpreadsheetApp.getActiveSheet();
var r = s.getActiveCell();
if( r.getColumn() != 2 ) { //checks the column
var row = r.getRow();
var time = new Date();
time = Utilities.formatDate(time, "GMT-08:00", "MM/DD/yy, hh:mm:ss");
Sp... | [
{
"answer_id": 94532,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>Checking the name of the sheet would be like this: </p>\n\n<pre><code>function onEdit() {\n var s = SpreadsheetApp.... | 2016/06/06 | [
"https://webapps.stackexchange.com/questions/94528",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/126248/"
] | I have this Script so far,
```
function onEdit() {
var s = SpreadsheetApp.getActiveSheet();
var r = s.getActiveCell();
if( r.getColumn() != 2 ) { //checks the column
var row = r.getRow();
var time = new Date();
time = Utilities.formatDate(time, "GMT-08:00", "MM/DD/yy, hh:mm:ss");
SpreadsheetApp.g... | Checking the name of the sheet would be like this:
```
function onEdit() {
var s = SpreadsheetApp.getActiveSheet();
if (s.getName() == 'Inventory') {
// the rest of the script
}
}
```
The line you were trying, with `event.source.getActiveSheet()` would work if you actually took the event object as a param... |
94,545 | <p>The <code>start</code> parameter of YouTube URLs requires a whole number of seconds. Is there some other way to start play in the middle of a second? </p>
| [
{
"answer_id": 94532,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>Checking the name of the sheet would be like this: </p>\n\n<pre><code>function onEdit() {\n var s = SpreadsheetApp.... | 2016/06/07 | [
"https://webapps.stackexchange.com/questions/94545",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/126306/"
] | The `start` parameter of YouTube URLs requires a whole number of seconds. Is there some other way to start play in the middle of a second? | Checking the name of the sheet would be like this:
```
function onEdit() {
var s = SpreadsheetApp.getActiveSheet();
if (s.getName() == 'Inventory') {
// the rest of the script
}
}
```
The line you were trying, with `event.source.getActiveSheet()` would work if you actually took the event object as a param... |
94,588 | <p>How do I keep track of the highest number that was in a cell in Google Sheets?</p>
<p>I'm running random numbers through a cell and I would like to track the highest number reached. Specifically, I am trying to count the number of matches between two random columns. I'd like to keep track of the highest number of m... | [
{
"answer_id": 94603,
"author": "ejbytes",
"author_id": 126435,
"author_profile": "https://webapps.stackexchange.com/users/126435",
"pm_score": -1,
"selected": false,
"text": "<p>In a cell of your choosing enter the formula:</p>\n\n<blockquote>\n <p>=max(<strong>A1:A7</strong>)</p>\n</b... | 2016/06/08 | [
"https://webapps.stackexchange.com/questions/94588",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/126398/"
] | How do I keep track of the highest number that was in a cell in Google Sheets?
I'm running random numbers through a cell and I would like to track the highest number reached. Specifically, I am trying to count the number of matches between two random columns. I'd like to keep track of the highest number of matches bet... | To keep track of running maximum of the content of some cell, one needs a [script](https://www.google.com/script/start/) that runs every time the cell changes value. Such a script could be triggered by the same button you are using to force recalculation, although a delay (`Utilities.sleep(1000)`, time in milliseconds)... |
94,591 | <p>I have a set of data in one Sheet tab, and a counter on another tab in the same document. </p>
<p>I want the counter (in sheet 2) to read through the text in the table in sheet 1, and update how many times one name has occurred, counting only one per line. How would I do this? </p>
<p>I want it to end looking l... | [
{
"answer_id": 94594,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>The following formula counts the rows of Data sheet which contain the string given in cell A1 of current sheet:</p>\... | 2016/06/08 | [
"https://webapps.stackexchange.com/questions/94591",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/126411/"
] | I have a set of data in one Sheet tab, and a counter on another tab in the same document.
I want the counter (in sheet 2) to read through the text in the table in sheet 1, and update how many times one name has occurred, counting only one per line. How would I do this?
I want it to end looking like in [sample sprea... | The following formula counts the rows of Data sheet which contain the string given in cell A1 of current sheet:
```
=countunique(arrayformula(if(Data!$C2:$F = A1, row(Data!$C2:$F), )))
```
Explanation: the arrayformula replaces each matching string with the row number, and leaves other cells blank. Then `countunique... |
94,627 | <p>Now as WhatsApp offers options for bold, Italic & strike-through text, how not to make the text bold while still enclosing it in *. Any kind of escape character?</p>
<p>For example:
<code>*test*</code> will result in <strong>test</strong> (bold).</p>
<p>I want to send a phone-recharge number as <code>*127*1234... | [
{
"answer_id": 94655,
"author": "Mauricio Aviles",
"author_id": 126516,
"author_profile": "https://webapps.stackexchange.com/users/126516",
"pm_score": 0,
"selected": false,
"text": "<p>You could double the character, such as <code>**text**</code>, the word text will be bold, but the ast... | 2016/06/09 | [
"https://webapps.stackexchange.com/questions/94627",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/23211/"
] | Now as WhatsApp offers options for bold, Italic & strike-through text, how not to make the text bold while still enclosing it in \*. Any kind of escape character?
For example:
`*test*` will result in **test** (bold).
I want to send a phone-recharge number as `*127*123456789#`, but it goes as **127**123456789# (127 as... | You could send it as code using three back-ticks, similar to formatting code here on StackExchange:
\*word\* = **word**
```\*word\*``` = `*word*`
(Note: it will use a monospace font). |
94,651 | <p>I finally found <a href="https://webapps.stackexchange.com/questions/19927/forcing-uniqueness-in-a-google-spreadsheets-column">this answer</a> which tells how to use data validation to make sure all the values in one column are unique.</p>
<p>But it doesn't tell if there is a way to write a single validation rule t... | [
{
"answer_id": 94653,
"author": "Victoria",
"author_id": 29527,
"author_profile": "https://webapps.stackexchange.com/users/29527",
"pm_score": 3,
"selected": true,
"text": "<p>Well, after a bit of fiddling, I found a solution that currently works:</p>\n\n<p>Specify the cell range as desi... | 2016/06/10 | [
"https://webapps.stackexchange.com/questions/94651",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/29527/"
] | I finally found [this answer](https://webapps.stackexchange.com/questions/19927/forcing-uniqueness-in-a-google-spreadsheets-column) which tells how to use data validation to make sure all the values in one column are unique.
But it doesn't tell if there is a way to write a single validation rule that can make sure tha... | Well, after a bit of fiddling, I found a solution that currently works:
Specify the cell range as desired: for the whole columns, starting with column A and ending with column BB, so it is
```
A1:BB
```
Then the custom formula should be:
```
=countif(A$1:BB,"="&A1)=1
```
It seems like the Data Validation operati... |
94,698 | <p>In a Google Spreadsheet, I have a column with values like T1, T2, T13 (i.e. all values starting with the same text prefix). I would like to use a formula on the numerical part of the values of these cells (for conditional formatting). Can I somehow apply it only to the numeric part of the value, i.e. 1, 2, 13? I wou... | [
{
"answer_id": 94704,
"author": "Darius",
"author_id": 126615,
"author_profile": "https://webapps.stackexchange.com/users/126615",
"pm_score": 0,
"selected": false,
"text": "<p>If I read your formula correctly, you wanted the Max Value of all the values in column A but since A has T1, T2... | 2016/06/11 | [
"https://webapps.stackexchange.com/questions/94698",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/19663/"
] | In a Google Spreadsheet, I have a column with values like T1, T2, T13 (i.e. all values starting with the same text prefix). I would like to use a formula on the numerical part of the values of these cells (for conditional formatting). Can I somehow apply it only to the numeric part of the value, i.e. 1, 2, 13? I would ... | Following hints in the answer by Aurielle, I've been able to produce a shorter formula:
```
=(A2:A)=text(max(arrayformula(value(substitute(A2:A,"T","")))), "T#")
```
It assumes that the first row is occupied by table caption.
Break down:
`substitute(text,"T","")` removes letter T from a cell text *text*.
`value()... |
94,699 | <p>I have body of text in a Google Doc containing a large number of links. I need to get the text – and all the links – into my client's CMS.</p>
<p>Unfortunately, it seems Google Docs no longer allows users to export HTML. I've tried "Download as" > "Web page (.html, zipped)" and uploading that file into Text Wrangle... | [
{
"answer_id": 94700,
"author": "Mantisse",
"author_id": 143315,
"author_profile": "https://webapps.stackexchange.com/users/143315",
"pm_score": 2,
"selected": false,
"text": "<p>You can use a regular expression like this in Text Wrangler :</p>\n\n<pre><code><a href=\"https://www.goog... | 2016/06/05 | [
"https://webapps.stackexchange.com/questions/94699",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/126468/"
] | I have body of text in a Google Doc containing a large number of links. I need to get the text – and all the links – into my client's CMS.
Unfortunately, it seems Google Docs no longer allows users to export HTML. I've tried "Download as" > "Web page (.html, zipped)" and uploading that file into Text Wrangler to clean... | You can use a regular expression like this in Text Wrangler :
```
<a href="https://www.google.com/url\?q=(.*)\&sa(.*)">(.*)</a>
```
and replace by :
```
<a href="$1">$3</a>
``` |
94,750 | <p>Why does </p>
<pre><code>="" > 0
</code></pre>
<p>Evaluate to TRUE?</p>
<p>And how can I input a value that would evaluate to FALSE that is <em>not</em> a number?</p>
| [
{
"answer_id": 94758,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": true,
"text": "<blockquote>\n <p>how can I input a value that would evaluate to FALSE that is not a\n number?</p>\n</blockquote>\n\... | 2016/06/13 | [
"https://webapps.stackexchange.com/questions/94750",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/86954/"
] | Why does
```
="" > 0
```
Evaluate to TRUE?
And how can I input a value that would evaluate to FALSE that is *not* a number? | >
> how can I input a value that would evaluate to FALSE that is not a
> number?
>
>
>
Use [ISNUMBER](https://support.google.com/docs/answer/3093296?hl=en).
>
> **Syntax**
>
> ISNUMBER(value)
>
>
> value - The value to be verified as a number.
>
>
> \*ISNUMBER returns TRUE if this is a number or a refer... |
95,102 | <p>I have a a very large spreadsheet that pulls data from another logsheet through an <code>Indirect</code> depending on user input on cell A1. </p>
<pre><code>=INDIRECT($A$1&" Data!$AG$3")
</code></pre>
<p>I'm trying to add some new columns now to the logsheets, when I manually type in the sheet names</p>
<pre>... | [
{
"answer_id": 95111,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>You should mark column AG in some way so it can be identified as the column that indirect needs. For example, by pla... | 2016/06/25 | [
"https://webapps.stackexchange.com/questions/95102",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/127520/"
] | I have a a very large spreadsheet that pulls data from another logsheet through an `Indirect` depending on user input on cell A1.
```
=INDIRECT($A$1&" Data!$AG$3")
```
I'm trying to add some new columns now to the logsheets, when I manually type in the sheet names
```
='June Data'!$AG$3
```
It automatically upda... | You should mark column AG in some way so it can be identified as the column that indirect needs. For example, by placing "Data" in the first row of that column.
Then you can use `match` to find the number of that column, which becomes a part of cell reference in R1C1 notation.
```
=indirect($A$1 & " Data!R3C" & mat... |
95,178 | <p>I am trying to write a script that will transpose a column from one sheet into a row on another sheet. I have already figured out how to do the copy, but I need to figure out how to change the data from vertical to horizontal on the other sheet. Can anyone help me? </p>
| [
{
"answer_id": 95197,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>A column of values is represented in Apps Script as <code>[['a'], ['b'], ['c']]</code>. A row is represented as <code... | 2016/06/28 | [
"https://webapps.stackexchange.com/questions/95178",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/127688/"
] | I am trying to write a script that will transpose a column from one sheet into a row on another sheet. I have already figured out how to do the copy, but I need to figure out how to change the data from vertical to horizontal on the other sheet. Can anyone help me? | A column of values is represented in Apps Script as `[['a'], ['b'], ['c']]`. A row is represented as `[['a', 'b', 'c']]`. The following functions transform one to the other:
```
function col2row(column) {
return [column.map(function(row) {return row[0];})];
}
function row2col(row) {
return row[0].map(function(el... |
95,208 | <p>When creating a new email filter in Gmail, can I group AND/OR operators within parentheses to create more advanced conditional rules? For example:</p>
<blockquote>
<p><strong>Has the words</strong>:</p>
<pre><code>"Ebay" AND ("Guitar" OR "Drum" OR "Bass")
</code></pre>
</blockquote>
<p>The above is supposed to ... | [
{
"answer_id": 95225,
"author": "Folk",
"author_id": 78154,
"author_profile": "https://webapps.stackexchange.com/users/78154",
"pm_score": 4,
"selected": true,
"text": "<p>AI E. is correct. <strong>AND</strong> is assumed, <strong>OR</strong> can be declared. This is according to the <a ... | 2016/06/29 | [
"https://webapps.stackexchange.com/questions/95208",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/105044/"
] | When creating a new email filter in Gmail, can I group AND/OR operators within parentheses to create more advanced conditional rules? For example:
>
> **Has the words**:
>
>
>
> ```
> "Ebay" AND ("Guitar" OR "Drum" OR "Bass")
>
> ```
>
>
The above is supposed to filter mails that contain the exact word *Ebay* ... | AI E. is correct. **AND** is assumed, **OR** can be declared. This is according to the [Gmail Help article on Advanced Search](https://support.google.com/mail/answer/7190?hl=en).
I recommend reviewing it as there are a lot of ways to improve your Gmail searches using the operators in it.
To address your specific ex... |
95,230 | <p>You can use GOOGLEFINANCE("name", "return52") for mutual funds, but not for stocks. Is there another way to get the same result?</p>
| [
{
"answer_id": 114031,
"author": "Alan",
"author_id": 176839,
"author_profile": "https://webapps.stackexchange.com/users/176839",
"pm_score": 3,
"selected": false,
"text": "<p>If the cell is formatted as a NUMBER:</p>\n\n<pre><code>=ROUND( ( GOOGLEFINANCE(\"GOOG\",\"price\") / index(GOOG... | 2016/06/30 | [
"https://webapps.stackexchange.com/questions/95230",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/127833/"
] | You can use GOOGLEFINANCE("name", "return52") for mutual funds, but not for stocks. Is there another way to get the same result? | If the cell is formatted as a NUMBER:
```
=ROUND( ( GOOGLEFINANCE("GOOG","price") / index(GOOGLEFINANCE("GOOG","price", datevalue(today()-365) ) , 2,2) - 1 ) * 100 ,2)
```
Alternative:
```
=ROUND( ( GOOGLEFINANCE("GOOG","price") / index(GOOGLEFINANCE("GOOG","price", date(year(today())-1,month(today()),day(today())... |
95,441 | <p>I am trying to create a menu driven script that will insert a new row at the end of a sheet and copy down all formulas - with it auto increasing according to row index.</p>
<p>This is what I have so far but it copies down the EXACT formulas into the new row/cells but doesn't increase the row reference# like it woul... | [
{
"answer_id": 95454,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>Instead of getFormulas and setFormulas, use <code>copyTo</code> method:</p>\n\n<pre><code>range.copyTo(newRange);\n<... | 2016/07/08 | [
"https://webapps.stackexchange.com/questions/95441",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/128389/"
] | I am trying to create a menu driven script that will insert a new row at the end of a sheet and copy down all formulas - with it auto increasing according to row index.
This is what I have so far but it copies down the EXACT formulas into the new row/cells but doesn't increase the row reference# like it would if I sim... | Instead of getFormulas and setFormulas, use `copyTo` method:
```
range.copyTo(newRange);
```
This will have the same effect as if you selected the last row and copied it below. In particular, it will also copy down any values that were entered directly into cells. If you prefer such values to not be copied, use getF... |
95,450 | <p>How do I embed a single photo from my Google photo album to a website now that Picasa embed has been disabled?</p>
| [
{
"answer_id": 95451,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 3,
"selected": false,
"text": "<p>It's not as straightforward as one would like, but you can do it this way:</p>\n\n<ol>\n<li>Find the photo in Google Pho... | 2016/07/08 | [
"https://webapps.stackexchange.com/questions/95450",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/128421/"
] | How do I embed a single photo from my Google photo album to a website now that Picasa embed has been disabled? | It's not as straightforward as one would like, but you can do it this way:
1. Find the photo in Google Photos you want to include
2. Open the "Share" menu and click "Get link"
3. Either click the link that is created or click "Copy" and paste that address into a new browser window
4. That'll bring you to a new shared ... |
95,538 | <p>I have a function like this in Google Spreadsheet:</p>
<pre><code>SUM(A10:A500)
</code></pre>
<p>I'm using <code>500</code>, but if it's possible I want to use a constant that represents <code>end of the column A</code> (i.e., the last row of a column that contains data/numbers).</p>
<p>Is there such a constant o... | [
{
"answer_id": 95539,
"author": "jehad",
"author_id": 128648,
"author_profile": "https://webapps.stackexchange.com/users/128648",
"pm_score": 2,
"selected": false,
"text": "<p>Here is one way I tend to use for this kind of problem:<br/>\nBased on your example, the solution would be:</p>\... | 2016/07/09 | [
"https://webapps.stackexchange.com/questions/95538",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/46785/"
] | I have a function like this in Google Spreadsheet:
```
SUM(A10:A500)
```
I'm using `500`, but if it's possible I want to use a constant that represents `end of the column A` (i.e., the last row of a column that contains data/numbers).
Is there such a constant or formula? | Short answer
============
Use an open ended reference.
Explanation
===========
A range reference has two parts, the address of the start cell and the address of the end cell. On the A1 notation usually the cell address includes a letter to specify the column and number to specify the row.
* A:A specifies the whole ... |
95,577 | <p>Each week I add a new column to a spreadsheet and then need to update several formulas to calculate the delta between the last column and the column to the left of it. </p>
<p>I haven't figured out a way to get the value from that column so i can do math on it. The other solutions i found would let me reference t... | [
{
"answer_id": 95589,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>To determine the last column, one should decide in what row to measure it. Suppose it's the 2nd row; then the last co... | 2016/07/13 | [
"https://webapps.stackexchange.com/questions/95577",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/54344/"
] | Each week I add a new column to a spreadsheet and then need to update several formulas to calculate the delta between the last column and the column to the left of it.
I haven't figured out a way to get the value from that column so i can do math on it. The other solutions i found would let me reference that column..... | To determine the last column, one should decide in what row to measure it. Suppose it's the 2nd row; then the last column number is
```
=max(filter(column(K2:2), len(K2:2)))
```
where I put K to avoid circular dependency, since this formula will also affect some cells in row 2, to the left of column K. I'd put the ... |
95,634 | <p>I've deleted the old department, and its status is "Deleted", but it still appears in the portal. I know I can check the "Active" box and it disappears, but whenever I go back through the Department link, it reappears because the URL gets the <code>&all_d</code> appended, i.e.: </p>
<pre><code>https://ea.azure.... | [
{
"answer_id": 95592,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 1,
"selected": false,
"text": "<p>There is no setting in Gmail that you can change to get it to poll your POP3 accounts more often. </p>\n\n<p>From what I... | 2016/07/15 | [
"https://webapps.stackexchange.com/questions/95634",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/2972/"
] | I've deleted the old department, and its status is "Deleted", but it still appears in the portal. I know I can check the "Active" box and it disappears, but whenever I go back through the Department link, it reappears because the URL gets the `&all_d` appended, i.e.:
```
https://ea.azure.com/manage/department?enrollm... | If possible, instead of getting Gmail to fetch from the external account, arrange for the external account to forward all emails to the Gmail account. They will be received in the Gmail account almost immediately after having been received by the external account, regardless of Gmail's fetch frequency. |
95,635 | <p>I have a Google Spreadsheet where the first column is multi-valued
(not all rows though) and also a few other columns. Not all
columns are multi-valued. The values are separated by ',' </p>
<p>Here is an example: </p>
<pre><code>10001a, 10001b | 8904083514008, 8904083512400 | DAILY NEEDS | ATTA | 24 MANTRA ORGA... | [
{
"answer_id": 95644,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>So, the logic is: processing a data row, split the entries by commas where possible. Then output as many new rows as... | 2016/07/15 | [
"https://webapps.stackexchange.com/questions/95635",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/128877/"
] | I have a Google Spreadsheet where the first column is multi-valued
(not all rows though) and also a few other columns. Not all
columns are multi-valued. The values are separated by ','
Here is an example:
```
10001a, 10001b | 8904083514008, 8904083512400 | DAILY NEEDS | ATTA | 24 MANTRA ORGANIC | WHOLE WHEAT ATTA... | So, the logic is: processing a data row, split the entries by commas where possible. Then output as many new rows as there are parts in the first column's entry. For those entries that are not comma-separated lists, the same value is repeated.
The way I wrote the script, its output is placed in the same sheet, replaci... |
95,649 | <p>I'm trying to figure out how to identify <code>IF</code> a list of items in one cell containing a value or string.</p>
<p><strong>EXAMPLE</strong></p>
<p>Cell <code>A1</code> contains <code>sites, sheets, docs, slides</code>.</p>
<p>I want cell <code>B1</code> to display a <em>1</em> <em>'if'</em> cell <code>A1</cod... | [
{
"answer_id": 95652,
"author": "Tom Woodward",
"author_id": 103367,
"author_profile": "https://webapps.stackexchange.com/users/103367",
"pm_score": 4,
"selected": false,
"text": "<p>This returns a <code>#VALUE!</code> error if the search term isn't found:</p>\n<pre><code>=IF(SEARCH(&quo... | 2016/07/15 | [
"https://webapps.stackexchange.com/questions/95649",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/51806/"
] | I'm trying to figure out how to identify `IF` a list of items in one cell containing a value or string.
**EXAMPLE**
Cell `A1` contains `sites, sheets, docs, slides`.
I want cell `B1` to display a *1* *'if'* cell `A1` contains the string `sites`.
**FORMULA**
```
=if(A1 ?????? "sites", 1,0)
```
I'm unsure what to ... | You can use `REGEXMATCH`:
```
=IF(REGEXMATCH(A1, "sites"), 1, 0)
```
To explain, `REGEXMATCH` returns true if and only if the argument is a substring of your string. |
95,739 | <p>I'm trying to figure out "if" I can automatically "split text to column" using Google App Script and the trigger of "on Form Submit". If yes, can someone help me figure out the solution to following problem? If no, can someone please help me figure out an alternate solution?</p>
<p>I have a google form that is bein... | [
{
"answer_id": 95742,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>You don't need a script for this. Enter the following in C1: </p>\n\n<pre><code>=arrayformula(iferror(regexextract(B1... | 2016/07/19 | [
"https://webapps.stackexchange.com/questions/95739",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/51806/"
] | I'm trying to figure out "if" I can automatically "split text to column" using Google App Script and the trigger of "on Form Submit". If yes, can someone help me figure out the solution to following problem? If no, can someone please help me figure out an alternate solution?
I have a google form that is being used to ... | You don't need a script for this. Enter the following in C1:
```
=arrayformula(iferror(regexextract(B1:B, "ID#\d+")))
```
This will populate column C with Id numbers (where the data in B is available), leaving the rest blank. As more entries are submitted through the form, more Id numbers will be in column C.
Anot... |
95,743 | <p>I am writing a formula into google sheets and I do not want the formula to register a blank cell as zero. The formula is: </p>
<pre><code>=ARRAYFORMULA(MIN(IF(A:A=H12, (D:D-C:C))))
</code></pre>
<p>It keeps giving me a zero value because some of the cells are blank. It is a monthly sales spreadsheet, so I don't ha... | [
{
"answer_id": 95744,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>Then you need to add criteria to exclude those in Columns D and C that are blank:</p>\n\n<pre><code>=ARRAYFORMULA(MI... | 2016/07/17 | [
"https://webapps.stackexchange.com/questions/95743",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I am writing a formula into google sheets and I do not want the formula to register a blank cell as zero. The formula is:
```
=ARRAYFORMULA(MIN(IF(A:A=H12, (D:D-C:C))))
```
It keeps giving me a zero value because some of the cells are blank. It is a monthly sales spreadsheet, so I don't have all of the data until t... | Then you need to add criteria to exclude those in Columns D and C that are blank:
```
=ARRAYFORMULA(MIN(IF((A:A=H12)*(D:D<>"")*(C:C<>""), (D:D-C:C))))
```
The `*` acts like `AND`. So all three need to resolve to `TRUE` for it to consider the array in the MIN(). |
95,745 | <p>How do we call a function once a Cognito form loads?</p>
<p>The following does not trigger the alert:</p>
<pre><code>Cognito.load("forms", { id: "1" }, function() {
alert("done");
});
</code></pre>
| [
{
"answer_id": 98197,
"author": "Loren",
"author_id": 93955,
"author_profile": "https://webapps.stackexchange.com/users/93955",
"pm_score": 0,
"selected": false,
"text": "<p>The following uses \"script.onload = callback\" to wait for the Cognito javascript file to load.</p>\n\n<p><a href... | 2016/07/19 | [
"https://webapps.stackexchange.com/questions/95745",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/93955/"
] | How do we call a function once a Cognito form loads?
The following does not trigger the alert:
```
Cognito.load("forms", { id: "1" }, function() {
alert("done");
});
``` | You can use MutationObserver to watch for DOM events and continuously look at Cognito.config.isReady to be TRUE. This will indicate that all DOM elements ("childList" types) of the Cognito form have been loaded - although some Cognito scripts may still subsequently modify some of the DOM elements' attributes ("attribut... |
95,751 | <p>We have a worksheet that will have multiple sheets, one in which they will edit and the others we want protected. This is an invoice/quote builder, so every time they have a new one they will be making a copy of the main. Obviously protection doesn't carry over so we are trying to use Script Editor to remove all use... | [
{
"answer_id": 100306,
"author": "Leo Noy",
"author_id": 139490,
"author_profile": "https://webapps.stackexchange.com/users/139490",
"pm_score": 2,
"selected": false,
"text": "<p>Though it's understandable why the spreadsheet owner could not be blocked out, it would seem reasonable to bl... | 2016/07/19 | [
"https://webapps.stackexchange.com/questions/95751",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/129185/"
] | We have a worksheet that will have multiple sheets, one in which they will edit and the others we want protected. This is an invoice/quote builder, so every time they have a new one they will be making a copy of the main. Obviously protection doesn't carry over so we are trying to use Script Editor to remove all users ... | Though it's understandable why the spreadsheet owner could not be blocked out, it would seem reasonable to block the current user. But since a user cannot block themselves out using the GUI, the script cannot either.
However, if you're only worried about accidental edits, you can use:
```
protection.setWarningOnly(tr... |
95,832 | <p>I need to match a text field to a source number. That’s easy I thought…</p>
<p>The complication appears to be that the ‘search number’ is in a single column array (many hundreds deep) and the ‘Lookup array’ is a multi column array (many thousands deep but only three wide).</p>
<p>In the example below I’m aiming at... | [
{
"answer_id": 95847,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>I would enter</p>\n\n<pre><code>=array_constrain(filter(C$2:C$5, (A$2:A$5 <= A8) * (B$2:B$5 >= A8)), 1, 1)\n</... | 2016/07/22 | [
"https://webapps.stackexchange.com/questions/95832",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/129392/"
] | I need to match a text field to a source number. That’s easy I thought…
The complication appears to be that the ‘search number’ is in a single column array (many hundreds deep) and the ‘Lookup array’ is a multi column array (many thousands deep but only three wide).
In the example below I’m aiming at
```
=ArrayFormu... | I would enter
```
=array_constrain(filter(C$2:C$5, (A$2:A$5 <= A8) * (B$2:B$5 >= A8)), 1, 1)
```
in cell B8, and copy it down the results array. Explanation:
* `filter` keeps only the cells from C where A8 falls between A and B.
* `array_constrain` makes sure at most one result is returned (this may be unnecessary... |
95,916 | <p>Within Gmail, is there any way to automatically forward an email when I apply a label?</p>
<p>Gmail filters appear to only work with new emails. For my needs, applying the label is a manual process after the email was received.</p>
| [
{
"answer_id": 95919,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 2,
"selected": false,
"text": "<p>No, sorry. The only automation available in Gmail by itself is Gmail Filters, which act on messages as they arrive. Ther... | 2016/07/25 | [
"https://webapps.stackexchange.com/questions/95916",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/129609/"
] | Within Gmail, is there any way to automatically forward an email when I apply a label?
Gmail filters appear to only work with new emails. For my needs, applying the label is a manual process after the email was received. | Here is an [Apps Script](https://www.google.com/script/start/) solution. Save it, changing the label and recipient, and [set a trigger](https://developers.google.com/apps-script/guides/triggers/installable#managing_triggers_manually) to run this function every 5 minutes.
It searches for threads with the given label t... |
95,991 | <p>I want to concatenate a string after a numerical value in some columns automatically so that way they are still treated as numeric values.</p>
<p>For example:</p>
<pre><code>A
4010H
4011H
4012H
4013H
</code></pre>
<p>I want to be able to set one number and drag select it and fill in the rest of the column like y... | [
{
"answer_id": 95993,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>After entering 4010H in the first row (cell A1), put the formula </p>\n\n<pre><code>=split(A1, \"H\") + 1 & \"H\... | 2016/07/27 | [
"https://webapps.stackexchange.com/questions/95991",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/129759/"
] | I want to concatenate a string after a numerical value in some columns automatically so that way they are still treated as numeric values.
For example:
```
A
4010H
4011H
4012H
4013H
```
I want to be able to set one number and drag select it and fill in the rest of the column like you normal would with numbers. Ex:... | After entering 4010H in the first row (cell A1), put the formula
```
=split(A1, "H") + 1 & "H"
```
in cell A2, and drag that formula down.
It splits off "H", then adds 1, then puts "H" back again. |
96,029 | <p>I have Google Sheets running the add-on Form Mule to automatically send emails with the responses to a Google Form. Using the following formula, I was able to get a nice HTML table to show up in the body of each email. </p>
<pre><code>=RANGETOTABLE(FILTER(D:AH,A:A=A2),$D$1:$AH$1)
</code></pre>
<p>This returns a t... | [
{
"answer_id": 96031,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>You can include multiple conditions in a filter by using multiplication (which means logical AND). For example, </p... | 2016/07/28 | [
"https://webapps.stackexchange.com/questions/96029",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/129865/"
] | I have Google Sheets running the add-on Form Mule to automatically send emails with the responses to a Google Form. Using the following formula, I was able to get a nice HTML table to show up in the body of each email.
```
=RANGETOTABLE(FILTER(D:AH,A:A=A2),$D$1:$AH$1)
```
This returns a table that looks like this: ... | You can include multiple conditions in a filter by using multiplication (which means logical AND). For example,
```
FILTER(D:AH, (A:A=A2) * LEN(E:E) * LEN(H:H))
```
requires A to be equal to A2 **and** E to be nonempty **and** H to be nonempty.
Conditions can also be combined using addition, which stands for logic... |
96,050 | <p>Let's say we are in a private conversation and we have a public channel (#public) and a private channel (#private). If I type in </p>
<pre><code>Hey, this is a #public channel.
</code></pre>
<p>the "#public" is linked to the appropriated channel. If I type in however</p>
<pre><code>Hey, this is a #private channel... | [
{
"answer_id": 113799,
"author": "Erik Kalkoken",
"author_id": 119722,
"author_profile": "https://webapps.stackexchange.com/users/119722",
"pm_score": 2,
"selected": false,
"text": "<p>Linking private channels like you can do with public channels is not supported in Slack. </p>\n\n<p>My ... | 2016/07/29 | [
"https://webapps.stackexchange.com/questions/96050",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/129918/"
] | Let's say we are in a private conversation and we have a public channel (#public) and a private channel (#private). If I type in
```
Hey, this is a #public channel.
```
the "#public" is linked to the appropriated channel. If I type in however
```
Hey, this is a #private channel
```
the "#private" is *not* linked... | Slack now allows referencing private channels the same way you're used to do with public ones: by preceding the channel name with `#`. The channel name will be formatted in the final message to include a lock icon indicating it is private.
[![picture showing how slack formats links to private channels with a preceding... |
97,430 | <p>It is easy to lose inline comments on a page because you have to notice the very light yellow highlight on text. Yet, inline comments are invaluable in a collaborative environment.</p>
<p>Is there a way to reveal all inline comments in Confluence, similar to Microsoft Word's track changes, or Google Documents comme... | [
{
"answer_id": 97431,
"author": "Chris Betti",
"author_id": 10656,
"author_profile": "https://webapps.stackexchange.com/users/10656",
"pm_score": 3,
"selected": false,
"text": "<p>According to <a href=\"https://answers.atlassian.com/questions/12272669/how-to-see-all-comments-to-a-conflue... | 2016/08/10 | [
"https://webapps.stackexchange.com/questions/97430",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/10656/"
] | It is easy to lose inline comments on a page because you have to notice the very light yellow highlight on text. Yet, inline comments are invaluable in a collaborative environment.
Is there a way to reveal all inline comments in Confluence, similar to Microsoft Word's track changes, or Google Documents comments view? | According to [this Atlassian Answers question](https://answers.atlassian.com/questions/12272669/how-to-see-all-comments-to-a-confluence-page), there is no built-in way to do so.
So I built a JavaScript function which you can easily turn into a bookmarklet using a service like Bookmarklet Crunchinator. It iterates thro... |
97,439 | <p>I have an email account on hotmail.com. I have searched a few words, using the left search bar, to find something in my emails. However, when I click on the search bar now, I still see those words, which I've searched recently.</p>
<p>How can I remove those recently searched words from the search bar? </p>
<p><a h... | [
{
"answer_id": 97431,
"author": "Chris Betti",
"author_id": 10656,
"author_profile": "https://webapps.stackexchange.com/users/10656",
"pm_score": 3,
"selected": false,
"text": "<p>According to <a href=\"https://answers.atlassian.com/questions/12272669/how-to-see-all-comments-to-a-conflue... | 2016/08/10 | [
"https://webapps.stackexchange.com/questions/97439",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/131901/"
] | I have an email account on hotmail.com. I have searched a few words, using the left search bar, to find something in my emails. However, when I click on the search bar now, I still see those words, which I've searched recently.
How can I remove those recently searched words from the search bar?
[, there is no built-in way to do so.
So I built a JavaScript function which you can easily turn into a bookmarklet using a service like Bookmarklet Crunchinator. It iterates thro... |
97,470 | <p>I'm a software engineer but pretty unfamiliar with Sheets. I have a list of tasks and hour estimates, and I need to find out the expected end date of each one. Here's an example with an assumed starting date of Jan 4:</p>
<pre><code>| Task Descriptions | Estimate | Arrival Date |
| Task 1 | 8h | ... | [
{
"answer_id": 97487,
"author": "MaryC.fromNZ",
"author_id": 2314,
"author_profile": "https://webapps.stackexchange.com/users/2314",
"pm_score": -1,
"selected": false,
"text": "<p>In a programming language, you'd likely use the modulo function, variables, a loop statement and possibly an... | 2016/08/11 | [
"https://webapps.stackexchange.com/questions/97470",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/131957/"
] | I'm a software engineer but pretty unfamiliar with Sheets. I have a list of tasks and hour estimates, and I need to find out the expected end date of each one. Here's an example with an assumed starting date of Jan 4:
```
| Task Descriptions | Estimate | Arrival Date |
| Task 1 | 8h | Jan 5 |
|... | ABOUT DATES IN GOOGLE SHEETS
----------------------------
Dates are stored as serials expressed as the number of days since 12/30/1899 where 1 is equal to 12/31/1899.
Hours are stored in the same format but simply converted from days. So if 1 day is equal to the integer value 1. Then 12 hours is equal to 0.5 **.**
*... |
97,491 | <p>I'm trying to fetch a piece of data using <code>importxml()</code> but it just fails with "Loading..." and never resolves. Other pages have no such problem at all, just this one and I don't know why.</p>
<p>Here is the formula that doesn't work:</p>
<pre><code>=ImportXML("http://eoddata.com/stockquote/OPRA/WFM160... | [
{
"answer_id": 97588,
"author": "Aurielle Perlmann",
"author_id": 109556,
"author_profile": "https://webapps.stackexchange.com/users/109556",
"pm_score": 2,
"selected": false,
"text": "<p>EDIT:</p>\n\n<p>So If your interested in trying google apps script, here is short simple script that... | 2016/08/12 | [
"https://webapps.stackexchange.com/questions/97491",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/131801/"
] | I'm trying to fetch a piece of data using `importxml()` but it just fails with "Loading..." and never resolves. Other pages have no such problem at all, just this one and I don't know why.
Here is the formula that doesn't work:
```
=ImportXML("http://eoddata.com/stockquote/OPRA/WFM160826P00032000.htm", "//*[@id='ctl0... | Short answer
============
The problem is the xPath, specifically the `/tbody` part as it's not present in the source code.
Explanation
===========
The source html code of the page doesn't include the tbody tag. It's added by the browser when it is missed to create a DOM hierarchy but the algorithm behind IMPORTXML d... |
97,557 | <p>I've seen that there are user scripts that Wikipedia users can add to their user profiles. Is there a way to add detect whether the mobile is active and redirect to the desktop version this way?</p>
| [
{
"answer_id": 97558,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 1,
"selected": false,
"text": "<p>Simply scroll down to the bottom of the page and click \"Desktop\". </p>\n\n<p><a href=\"https://i.stack.imgur.com/xKDun... | 2016/08/14 | [
"https://webapps.stackexchange.com/questions/97557",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/13888/"
] | I've seen that there are user scripts that Wikipedia users can add to their user profiles. Is there a way to add detect whether the mobile is active and redirect to the desktop version this way? | My solution uses the a of MediaWiki which allows you to load custom JavaScript into all visited pages while you're logged in. To use it, create an account, navigate to the *Appearance* section of your preferences and click on *Custom JavaScript* for *Shared CSS/JavaScript for all skins*. Paste the following script into... |
97,564 | <p>I was just wondering if we have a repeat song option on YouTube? I know we have the option of creating a playlist but didn't manage to find any repeat option. So is there any way we can repeat the same video without manually doing it every time?</p>
| [
{
"answer_id": 97558,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 1,
"selected": false,
"text": "<p>Simply scroll down to the bottom of the page and click \"Desktop\". </p>\n\n<p><a href=\"https://i.stack.imgur.com/xKDun... | 2016/08/14 | [
"https://webapps.stackexchange.com/questions/97564",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/55500/"
] | I was just wondering if we have a repeat song option on YouTube? I know we have the option of creating a playlist but didn't manage to find any repeat option. So is there any way we can repeat the same video without manually doing it every time? | My solution uses the a of MediaWiki which allows you to load custom JavaScript into all visited pages while you're logged in. To use it, create an account, navigate to the *Appearance* section of your preferences and click on *Custom JavaScript* for *Shared CSS/JavaScript for all skins*. Paste the following script into... |
97,587 | <p>I have a master spreadsheet that contains columns like so:</p>
<pre><code>FirstName LastName Gender etc, etc, etc
</code></pre>
<p>I need to import from that master sheet into another sheet that filters by one of the other columns. In the new sheet, I need name to be a single column, joining <code>FirstName<... | [
{
"answer_id": 97658,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 5,
"selected": true,
"text": "<h1>Short answer</h1>\n<p>QUERY select argument can't merge columns.</p>\n<h1>Explanation</h1>\n<p>The QUERY built-in ... | 2016/08/16 | [
"https://webapps.stackexchange.com/questions/97587",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/132253/"
] | I have a master spreadsheet that contains columns like so:
```
FirstName LastName Gender etc, etc, etc
```
I need to import from that master sheet into another sheet that filters by one of the other columns. In the new sheet, I need name to be a single column, joining `FirstName` and `LastName` together.
Here... | Short answer
============
QUERY select argument can't merge columns.
Explanation
===========
The QUERY built-in function uses [Google Visualization API Query Language](https://developers.google.com/chart/interactive/docs/querylanguage). It doesn't include a concatenate operator. One alternative is to concatenate the... |
97,820 | <p>I have this formula in Google Sheets</p>
<pre><code>="final cost: $"&sum(E2:E70)
</code></pre>
<p>and it looks like this</p>
<p><a href="https://i.stack.imgur.com/Oilh9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Oilh9.png" alt="sample output"></a></p>
<p>I would like it to be properly... | [
{
"answer_id": 97821,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 3,
"selected": true,
"text": "<p>You can use the <a href=\"https://support.google.com/docs/answer/3094071\" rel=\"nofollow\"><code>DOLLAR()</code></a> fun... | 2016/08/23 | [
"https://webapps.stackexchange.com/questions/97820",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91362/"
] | I have this formula in Google Sheets
```
="final cost: $"&sum(E2:E70)
```
and it looks like this
[](https://i.stack.imgur.com/Oilh9.png)
I would like it to be properly formatted like so:
```
$10,837.5
```
Please advise. | You can use the [`DOLLAR()`](https://support.google.com/docs/answer/3094071) function to return a localized currency format.
>
> Formats a number into the locale-specific currency format.
>
>
>
Like so:
```
="final cost: "&dollar(sum(E2:E70))
```
If you still want to place your own currency symbol, then use [`... |
97,828 | <p>Slack allows archiving channels. We currently have around 50 channels that are no longer active with 0 users. </p>
<p>How can I efficiently archive these channels without having to join and archive them one by one?</p>
| [
{
"answer_id": 97829,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>Go into Team Settings > Message Archives. Select the \"Export\" tab, then \"start export.\" Per the information on t... | 2016/08/23 | [
"https://webapps.stackexchange.com/questions/97828",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/132891/"
] | Slack allows archiving channels. We currently have around 50 channels that are no longer active with 0 users.
How can I efficiently archive these channels without having to join and archive them one by one? | To actually "slack-archive" the channels, ie the equivalent of running "/archive" within each channel, you'll need some API magic.
First, set up an API token for your user in the relevant team on <https://api.slack.com/custom-integrations/legacy-tokens>, then go to <https://api.slack.com/methods/channels.list/test> t... |
97,848 | <p>I used Google Forms to create a form for people to register for an event,
by entering their name and email address. </p>
<p>I would like to set it up so that
when a person enters his name and email,
the Google Form will automatically send an e-mail to that e-mail address,
to acknowledge that we have received a sub... | [
{
"answer_id": 97876,
"author": "Patrick Ferreira",
"author_id": 84084,
"author_profile": "https://webapps.stackexchange.com/users/84084",
"pm_score": 2,
"selected": false,
"text": "<p>When you create your form, in the settings, you'll find a \"presentation\" view, you can write a \"conf... | 2016/08/24 | [
"https://webapps.stackexchange.com/questions/97848",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/63371/"
] | I used Google Forms to create a form for people to register for an event,
by entering their name and email address.
I would like to set it up so that
when a person enters his name and email,
the Google Form will automatically send an e-mail to that e-mail address,
to acknowledge that we have received a submission fro... | Please note: Under `Settings` --> `Presentation` one can set the Confirmation message that will **only be shown on the browser screen upon submission**.
What you ask for is that:
>
> ... **the Google Form will automatically send an e-mail** ...
>
>
>
You will find that there is a number of ways to make this po... |
97,849 | <p>I want to copy conditional formatting that compares this cell with the cell adjacent to it. In a nutshell it's supposed to look like this:</p>
<pre><code>If A1<B1, make it green, if A1>B1, make it red
If A2<B2, make it green, if A2>B2, make it red
If A3<B3, make it green, if A3>B3, make it red
...... | [
{
"answer_id": 99401,
"author": "pnuts",
"author_id": 60716,
"author_profile": "https://webapps.stackexchange.com/users/60716",
"pm_score": 1,
"selected": false,
"text": "<p>Make sure that the Custom formula rule you apply for Row 1 has an Apply to range that includes all the required ro... | 2016/08/24 | [
"https://webapps.stackexchange.com/questions/97849",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/132936/"
] | I want to copy conditional formatting that compares this cell with the cell adjacent to it. In a nutshell it's supposed to look like this:
```
If A1<B1, make it green, if A1>B1, make it red
If A2<B2, make it green, if A2>B2, make it red
If A3<B3, make it green, if A3>B3, make it red
...
```
Right now if I copy the c... | Make sure that the Custom formula rule you apply for Row 1 has an Apply to range that includes all the required rows. |
98,150 | <p>I have recently started using <strong>Blogger</strong> to write blogs. </p>
<p>I wanted to make my text non clickable in Blogger so nobody can copy that material from my blog.</p>
<p>I add the material using a <strong>Compose button</strong>. Its more or less similar to writing in Microsoft Word. Blogger automatic... | [
{
"answer_id": 98179,
"author": "MaryC.fromNZ",
"author_id": 2314,
"author_profile": "https://webapps.stackexchange.com/users/2314",
"pm_score": 0,
"selected": false,
"text": "<p>This is not something which Blogger automatically supports.</p>\n\n<p>But you can add CSS (Template > Custo... | 2016/09/02 | [
"https://webapps.stackexchange.com/questions/98150",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/133655/"
] | I have recently started using **Blogger** to write blogs.
I wanted to make my text non clickable in Blogger so nobody can copy that material from my blog.
I add the material using a **Compose button**. Its more or less similar to writing in Microsoft Word. Blogger automatically generate HTML code of it.
*I think th... | I used this code to disable the right mouse click & text non-highlightable.
In Blogger Go to Layout>>> Add a Gadget >> Select HTML/JavaScriptAdd
Then paste a code in it.
```
<script language='JavaScript'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Functi... |
98,167 | <p>I filter all mail received from the mail list <strong><em>mylist</em></strong> with this filter and label it for later reading:</p>
<pre><code>Matches: list:(<mylist.example.com>)
</code></pre>
<p>I would like to modify this for this logic:</p>
<pre><code>if the mailing list is <mylist.example.com>
AN... | [
{
"answer_id": 108929,
"author": "Mark Harrison",
"author_id": 5250,
"author_profile": "https://webapps.stackexchange.com/users/5250",
"pm_score": 1,
"selected": false,
"text": "<pre><code> {list:mylist1 list:mylist2} to:myname@example.com is:unread \n</code></pre>\n\n<p>This rule will f... | 2016/09/02 | [
"https://webapps.stackexchange.com/questions/98167",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/5250/"
] | I filter all mail received from the mail list ***mylist*** with this filter and label it for later reading:
```
Matches: list:(<mylist.example.com>)
```
I would like to modify this for this logic:
```
if the mailing list is <mylist.example.com>
AND if I am not a direct recipient
```
The intention being that "gene... | I would expect that
```
{list:mylist1 list:mylist2} -to:myname@example.com
```
would do what you want. The `-` indicates a negative match, so should match messages from either of the lists where your email address does not appear in the `to:` field. |
98,234 | <p>I'm trying to use an arrayformula to sum weekly values. I have a table like:</p>
<pre><code> A B C
date | value | weekly total
---------------------------------
2016/08/28 | 5 |
2016/08/29 | |
2016/08/30 | 5 |
2016/08/31 | 5 |
2016/09/01 | 5 |
2016/09/02 | |
2016... | [
{
"answer_id": 98178,
"author": "MaryC.fromNZ",
"author_id": 2314,
"author_profile": "https://webapps.stackexchange.com/users/2314",
"pm_score": 2,
"selected": false,
"text": "<p>There is no way to do this. When you print your spreadsheet, the column and row labels won't show. But o... | 2016/09/05 | [
"https://webapps.stackexchange.com/questions/98234",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/87216/"
] | I'm trying to use an arrayformula to sum weekly values. I have a table like:
```
A B C
date | value | weekly total
---------------------------------
2016/08/28 | 5 |
2016/08/29 | |
2016/08/30 | 5 |
2016/08/31 | 5 |
2016/09/01 | 5 |
2016/09/02 | |
2016/09/03 | ... | There is no way to do this. When you print your spreadsheet, the column and row labels won't show. But on-screen, they will.
If a spreadsheet is what you need, then just type in your own headings in the top row of a table, and format them in bold - maybe use shading or a larger font too.
Alternatively, if a different... |
98,317 | <p>Amazon Music provides the user with a column showing grey bars in the song list table. Some of these bars are orange. So the UI element kind of gets "filled up" from the left. It feels like they are more filled (orange) on popular songs. </p>
<p>For example the less popular "Prison Song": </p>
<p><a href="https://... | [
{
"answer_id": 98350,
"author": "1415",
"author_id": 134120,
"author_profile": "https://webapps.stackexchange.com/users/134120",
"pm_score": 3,
"selected": true,
"text": "<p>If you inspect the source code of the page you will see:</p>\n<pre><code><td class="popularity">\n... | 2016/09/08 | [
"https://webapps.stackexchange.com/questions/98317",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/129918/"
] | Amazon Music provides the user with a column showing grey bars in the song list table. Some of these bars are orange. So the UI element kind of gets "filled up" from the left. It feels like they are more filled (orange) on popular songs.
For example the less popular "Prison Song":
[!["Prison Song" entry at Amazon M... | If you inspect the source code of the page you will see:
```
<td class="popularity">
<div class="trackPopularityContainer">
</div>
</td>
```
It's the popularity of the songs. iTunes has a similar thing.
>
> The yellow bars you're seeing indicate the popularity of the track. The more yellow bars that are disp... |
98,323 | <p>I'm writing a UDF and get an error. From the documentation, it seems straightforward. My goal is to check the background color of a cell. The code is shown below and the calling format is "isColor(cell)". I get an error (Range not found (line 5, file "Code") on the line <code>var cell = ...</code></p>
<p>I trie... | [
{
"answer_id": 98327,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 3,
"selected": true,
"text": "<h1>Short answer</h1>\n\n<p>Google Sheets pass custom function arguments as values, not as objects, in this case not a... | 2016/09/08 | [
"https://webapps.stackexchange.com/questions/98323",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/134054/"
] | I'm writing a UDF and get an error. From the documentation, it seems straightforward. My goal is to check the background color of a cell. The code is shown below and the calling format is "isColor(cell)". I get an error (Range not found (line 5, file "Code") on the line `var cell = ...`
I tried to pass the cell addres... | Short answer
============
Google Sheets pass custom function arguments as values, not as objects, in this case not as a cell/range.
Workaround
==========
Use SpreadsheetApp.getActiveRange().getFormula() to get the cell formula and extract the reference from it.
Example
-------
Note: Custom functions recalculates w... |
98,434 | <p>I'm having issues pulling the correct data out of this Google Sheet, and could use some help.</p>
<p>Here is the dataset</p>
<pre><code>Hours | Date | Employee
1 | 8/7/16 | Kevin
4 | 9/7/16 | John
3 | 9/3/16 | John
</code></pre>
<p>What I'm trying to do is match the month in a table ... | [
{
"answer_id": 98435,
"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>Try</p>\n<pre><code>=ArrayFormula(\n SUMIFS(Sheet1!$A$2:$A,Sheet1!$C$2:$C,B$1,month(Sheet1!... | 2016/09/13 | [
"https://webapps.stackexchange.com/questions/98434",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/133091/"
] | I'm having issues pulling the correct data out of this Google Sheet, and could use some help.
Here is the dataset
```
Hours | Date | Employee
1 | 8/7/16 | Kevin
4 | 9/7/16 | John
3 | 9/3/16 | John
```
What I'm trying to do is match the month in a table on another sheet to the month in ... | Short answer
============
Try
```
=ArrayFormula(
SUMIFS(Sheet1!$A$2:$A,Sheet1!$C$2:$C,B$1,month(Sheet1!$B$2:$B), month(A$2))
)
```
Explanation
-----------
Include the month column inside the MONTH function, and adjust the corresponding criteria, then put the whole formula inside ARRAYFORMULA (keyboard shortcut C... |
98,452 | <p>I have two email addresses, <code>user@gmail.com</code> and <code>user@university.edu</code>.</p>
<p>I have set up Gmail's Multiple Inboxes, with the following criteria:</p>
<pre><code>University --> label:(university inbox)
gmail --> label:(inbox -university)
</code></pre>
<p>This gives me two complementar... | [
{
"answer_id": 102806,
"author": "Phteven",
"author_id": 146461,
"author_profile": "https://webapps.stackexchange.com/users/146461",
"pm_score": 2,
"selected": false,
"text": "<p>Not sure if you could remove it, but you can auto-archive everything that comes in and then it'll only show u... | 2016/09/13 | [
"https://webapps.stackexchange.com/questions/98452",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/34297/"
] | I have two email addresses, `user@gmail.com` and `user@university.edu`.
I have set up Gmail's Multiple Inboxes, with the following criteria:
```
University --> label:(university inbox)
gmail --> label:(inbox -university)
```
This gives me two complementary sections, where archiving will also remove the email from m... | Not sure if you could remove it, but you can auto-archive everything that comes in and then it'll only show up in your other inboxes. |
98,463 | <p>My URL contains a quote character, and Google Spreadsheets see this as the end of the URL whereas it is not.</p>
<pre><code>https://api.archives-ouvertes.fr/search/?fq=producedDateY_i:[2013 TO 2015]&fq=docType_s:"ART"&rows=0
</code></pre>
<p>How can I use an URL with <code>ImportXML()</code> that has a quo... | [
{
"answer_id": 98471,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 2,
"selected": true,
"text": "<p>Double the quote character, instead of <code>\"</code> use <code>\"\"\"\"</code>.</p>\n\n<p>Another alternative is ... | 2016/09/14 | [
"https://webapps.stackexchange.com/questions/98463",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/61215/"
] | My URL contains a quote character, and Google Spreadsheets see this as the end of the URL whereas it is not.
```
https://api.archives-ouvertes.fr/search/?fq=producedDateY_i:[2013 TO 2015]&fq=docType_s:"ART"&rows=0
```
How can I use an URL with `ImportXML()` that has a quote character in it? | Double the quote character, instead of `"` use `""""`.
Another alternative is to put the URL alone on cell, lets say A1, then put the cell reference in your formula:
```
=IMPORTXML(A1,"//div")
``` |
98,496 | <p>I have a spreadsheet in Google Sheets (and Excel) that contains companies from many countries. The address cell has the full address including the country.
So: </p>
<pre><code>Company name | Full Address | phone number |
</code></pre>
<p>It is possible to sort the sheet in such a way that all companies from the ... | [
{
"answer_id": 98514,
"author": "ale",
"author_id": 354,
"author_profile": "https://webapps.stackexchange.com/users/354",
"pm_score": 1,
"selected": false,
"text": "<p>Address formats vary so much by country that it will be nearly impossible to reliably parse out the country from a maili... | 2016/09/15 | [
"https://webapps.stackexchange.com/questions/98496",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/134520/"
] | I have a spreadsheet in Google Sheets (and Excel) that contains companies from many countries. The address cell has the full address including the country.
So:
```
Company name | Full Address | phone number |
```
It is possible to sort the sheet in such a way that all companies from the same country are grouped to... | Address formats vary so much by country that it will be nearly impossible to reliably parse out the country from a mailing address in order to sort by it.
You're certainly better off having a separate "country" column for each row, then sorting becomes academic. |
98,505 | <p>I am struggling to find a way to sum the numeric part of cells that contain specific strings. Let's say that: cell A1: <code>pa 23.45</code>, cell A2: <code>ts 12.35</code>,
cell A3: <code>pa 10.55</code>.</p>
<p>The result of the sum of A1:A3 I would like to be <code>34</code> (23.45+10.55), which is the sum of o... | [
{
"answer_id": 98624,
"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\n<pre><code>=ArrayFormula(sum(value(IFERROR(REGEXEXTRACT(A1:A3,\"pa ([^/d]*)\"),))))\n</code>... | 2016/09/15 | [
"https://webapps.stackexchange.com/questions/98505",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/134541/"
] | I am struggling to find a way to sum the numeric part of cells that contain specific strings. Let's say that: cell A1: `pa 23.45`, cell A2: `ts 12.35`,
cell A3: `pa 10.55`.
The result of the sum of A1:A3 I would like to be `34` (23.45+10.55), which is the sum of only A1 and A3 because they contain `pa`.
So, find the... | Short answer
============
```
=ArrayFormula(sum(value(IFERROR(REGEXEXTRACT(A1:A3,"pa ([^/d]*)"),))))
```
Explanation
===========
* `REGEXEXTRACT(A1:A3,"pa ([^/d]*)")` returns the text at the right of `pa` that starts with any digit, if a matching string is not found, then returns an error.
* `IFERROR` replaces the ... |
98,561 | <p>Can this kind of form be made with Google forms?</p>
<p><strong>Problem:</strong></p>
<p>First page: user checks few boxes from the menu.</p>
<p>Second page: for each of the first page selects - few options are given.</p>
<p><strong>Example</strong>, user selects 1 and 3 from the first page:</p>
<p><strong>Firs... | [
{
"answer_id": 98624,
"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\n<pre><code>=ArrayFormula(sum(value(IFERROR(REGEXEXTRACT(A1:A3,\"pa ([^/d]*)\"),))))\n</code>... | 2016/09/16 | [
"https://webapps.stackexchange.com/questions/98561",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/113096/"
] | Can this kind of form be made with Google forms?
**Problem:**
First page: user checks few boxes from the menu.
Second page: for each of the first page selects - few options are given.
**Example**, user selects 1 and 3 from the first page:
**First page:**
* Salad - √
* Soup - X
* Lunch - √
**Second page:**
*Sala... | Short answer
============
```
=ArrayFormula(sum(value(IFERROR(REGEXEXTRACT(A1:A3,"pa ([^/d]*)"),))))
```
Explanation
===========
* `REGEXEXTRACT(A1:A3,"pa ([^/d]*)")` returns the text at the right of `pa` that starts with any digit, if a matching string is not found, then returns an error.
* `IFERROR` replaces the ... |
98,590 | <p>I am using Goobric to grade assignments for my class. Based on my rubric if students score 1-11 they get a U, 11.5-16.5 they get a PP-, 17-22 a PP, 22.5-27.5 a PP+, 28-33 a P, and 33.5-44 an A. (Standards based grading not normal A,B,C,D,F scale)</p>
<p>I made my function so it no longer gives me an error message; ... | [
{
"answer_id": 98596,
"author": "Tom Woodward",
"author_id": 103367,
"author_profile": "https://webapps.stackexchange.com/users/103367",
"pm_score": 1,
"selected": false,
"text": "<p>It's probably not a bad idea to test the formula in chunks.</p>\n\n<p>So if I just do the first piece, wi... | 2016/09/18 | [
"https://webapps.stackexchange.com/questions/98590",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/134768/"
] | I am using Goobric to grade assignments for my class. Based on my rubric if students score 1-11 they get a U, 11.5-16.5 they get a PP-, 17-22 a PP, 22.5-27.5 a PP+, 28-33 a P, and 33.5-44 an A. (Standards based grading not normal A,B,C,D,F scale)
I made my function so it no longer gives me an error message; however, i... | The format
>
>
> ```
> (low<y2<high...)
>
> ```
>
>
is what is causing the problem.
There are two solutions:
* replace each
>
>
> ```
> (low<y2<high...)
>
> ```
>
>
with
>
>
> ```
> AND(low<y2,y2<high)
>
> ```
>
>
... but that is a painful and unnecessary solution.
* Instead simplify the equat... |
98,700 | <p>I have a Google spreadsheet with cells having the following format:</p>
<pre><code>A1: 1 Y
A2: 0.5 N
A3: 2 N
A4: (empty)
A5: (empty)
A6: 1.3 N
</code></pre>
<p>I would like to sum the numbers in the cells, i.e. (1+0.5+2+1.3) while ignoring empty cells.</p>
<p>This is the formula I'm using right now, but it does n... | [
{
"answer_id": 99400,
"author": "pnuts",
"author_id": 60716,
"author_profile": "https://webapps.stackexchange.com/users/60716",
"pm_score": 2,
"selected": true,
"text": "<p>I would use a helper column but if you can't suggest: </p>\n\n<pre><code>=arrayformula(sum(value(if(A1:A=\"\",\"\"... | 2016/09/21 | [
"https://webapps.stackexchange.com/questions/98700",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/134976/"
] | I have a Google spreadsheet with cells having the following format:
```
A1: 1 Y
A2: 0.5 N
A3: 2 N
A4: (empty)
A5: (empty)
A6: 1.3 N
```
I would like to sum the numbers in the cells, i.e. (1+0.5+2+1.3) while ignoring empty cells.
This is the formula I'm using right now, but it does not work with empty cells:
```
AR... | I would use a helper column but if you can't suggest:
```
=arrayformula(sum(value(if(A1:A="","",left(A1:A,find(" ",A1:A))))))
```
I assume only six cells was for example purposes. |
98,703 | <pre><code>A B C D E
-----------------------------------
foo bar test foobar
-----------------------------------
10 13 3 1 bar
-----------------------------------
9 3 3 9 ?
</code></pre>
<p>I am trying to identify the highest number of result... | [
{
"answer_id": 99400,
"author": "pnuts",
"author_id": 60716,
"author_profile": "https://webapps.stackexchange.com/users/60716",
"pm_score": 2,
"selected": true,
"text": "<p>I would use a helper column but if you can't suggest: </p>\n\n<pre><code>=arrayformula(sum(value(if(A1:A=\"\",\"\"... | 2016/09/21 | [
"https://webapps.stackexchange.com/questions/98703",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/134979/"
] | ```
A B C D E
-----------------------------------
foo bar test foobar
-----------------------------------
10 13 3 1 bar
-----------------------------------
9 3 3 9 ?
```
I am trying to identify the highest number of results in my survey and ... | I would use a helper column but if you can't suggest:
```
=arrayformula(sum(value(if(A1:A="","",left(A1:A,find(" ",A1:A))))))
```
I assume only six cells was for example purposes. |
98,705 | <p>I am using Google Photos to backup my old photos. Using the mac desktop uploader.
I have an external hard drive with folders in the following format:</p>
<pre><code>|
+- 2005
+---Wedding
+---Trip to france
+---Bachelor party
+- 2006
+---Work travel to Japan
+---etc
+etc..
</code></pre>
<p>I want google ... | [
{
"answer_id": 99659,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>I want google photos to automatically create the albums according to folder names. Is that possibl... | 2016/09/21 | [
"https://webapps.stackexchange.com/questions/98705",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/134903/"
] | I am using Google Photos to backup my old photos. Using the mac desktop uploader.
I have an external hard drive with folders in the following format:
```
|
+- 2005
+---Wedding
+---Trip to france
+---Bachelor party
+- 2006
+---Work travel to Japan
+---etc
+etc..
```
I want google photos to automatically cr... | >
> I want google photos to automatically create the albums according to folder names. Is that possible? How?
>
>
>
Albums can't include other albums, no it's not possible to replicate a hierarchical folder structure as albums.
One alternative is to use Google Drive for PC/Mac as it will sync the folder structure... |
98,774 | <p>I have a spreadsheet laid out with three columns (a,b,c) as such:</p>
<pre><code>a b c
-- -- --
abc 12 yes
abc 8 yes
xyz 10 no
xyz 5 no
lmn 8 yes
</code></pre>
<p>What I am trying to do is write a query to output with three columns: <code>a<... | [
{
"answer_id": 98919,
"author": "Max Makhrov",
"author_id": 118810,
"author_profile": "https://webapps.stackexchange.com/users/118810",
"pm_score": 2,
"selected": false,
"text": "<p>I think, you need the combination of formulas. The answer is:</p>\n\n<pre><code>={QUERY({A:C},\"select Col... | 2016/09/23 | [
"https://webapps.stackexchange.com/questions/98774",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/135145/"
] | I have a spreadsheet laid out with three columns (a,b,c) as such:
```
a b c
-- -- --
abc 12 yes
abc 8 yes
xyz 10 no
xyz 5 no
lmn 8 yes
```
What I am trying to do is write a query to output with three columns: `a`, `sum(b)`. Then I want to add ... | I was able to come up with the answer:
```
=query({A2:B,ArrayFormula(if(C2:C="yes", B2:B,0))}, "select Col1, sum(Col2), sum(Col3) where Col1 <>'' group by Col1 label sum(Col2)'', sum(Col3)''", 0)
``` |
98,826 | <p>Anyone know how to link to a specific list in Trello? </p>
<p>By lists I refer to the columns within boards in which cards can be placed.</p>
<p>So I'm trying to get a link for 'Today's News List'. I've clicked around on the url and Windows app versions. <a href="https://i.stack.imgur.com/Cgq24.jpg" rel="nofollow... | [
{
"answer_id": 98912,
"author": "boardtc",
"author_id": 20430,
"author_profile": "https://webapps.stackexchange.com/users/20430",
"pm_score": 2,
"selected": false,
"text": "<p>It's not possible to get a link to a list. One can get a link to a specific card but not a list. More info: <a h... | 2016/09/26 | [
"https://webapps.stackexchange.com/questions/98826",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/135285/"
] | Anyone know how to link to a specific list in Trello?
By lists I refer to the columns within boards in which cards can be placed.
So I'm trying to get a link for 'Today's News List'. I've clicked around on the url and Windows app versions. [](https:... | It's possible but not terribly pretty...
You need to create a link to a search that performs a board: filter and a list: filter. This will then show all the cards in that board/list.
For example, to create a URL that shows you the list "The First List" on board "My Board", the Trello markdown would be:
```
[The Fir... |
98,951 | <p>I have one cell that contains a long string of several values separated by "|". </p>
<p><strong>EXAMPLE</strong> in Cell B5</p>
<pre><code>title | time | location | cost
</code></pre>
<p>I need a formula that will show the value of B5, but only the characters before the first "|".</p>
<p>Is it possible to trim ... | [
{
"answer_id": 98967,
"author": "Max Makhrov",
"author_id": 118810,
"author_profile": "https://webapps.stackexchange.com/users/118810",
"pm_score": 2,
"selected": false,
"text": "<p>Split formula may fit your needs:</p>\n\n<pre><code>=split(B5, \"|\")\n</code></pre>\n\n<p>next step: use ... | 2016/09/30 | [
"https://webapps.stackexchange.com/questions/98951",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/51806/"
] | I have one cell that contains a long string of several values separated by "|".
**EXAMPLE** in Cell B5
```
title | time | location | cost
```
I need a formula that will show the value of B5, but only the characters before the first "|".
Is it possible to trim everything including and following a specific characte... | **```
=REGEXEXTRACT(B5, "[^\s|]+")
```**
[](https://i.stack.imgur.com/J8hav.png)
* **`\s`** a space
* **`\s|`** a space followed by **`|`** character
* **`^`** the first
* **`^\s|`** the first match of a space followed by **`|`** character
* **`[]`** a group
* **`[^\s|]`** a g... |
99,085 | <p>Groups administrator FAQ <a href="https://support.google.com/a/answer/167085?hl=en#limits" rel="nofollow noreferrer">says</a> (emphasis mine):</p>
<blockquote>
<p>Yes, the maximum size limit for messages sent to a group is <strong>25 MB</strong>, including attachments (the normal Gmail limit). Group owners or man... | [
{
"answer_id": 99102,
"author": "trejder",
"author_id": 21486,
"author_profile": "https://webapps.stackexchange.com/users/21486",
"pm_score": 0,
"selected": false,
"text": "<p>The answer is quite simple. Even though <a href=\"https://support.google.com/a/answer/167085?hl=en\" rel=\"nofol... | 2016/10/04 | [
"https://webapps.stackexchange.com/questions/99085",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/21486/"
] | Groups administrator FAQ [says](https://support.google.com/a/answer/167085?hl=en#limits) (emphasis mine):
>
> Yes, the maximum size limit for messages sent to a group is **25 MB**, including attachments (the normal Gmail limit). Group owners or managers can edit specific groups to set lower size limits. The default s... | Short answer
============
According to several posts, the limit for individual file attachments is 4MB[1](https://productforums.google.com/d/msg/apps/4NYpN8YIw_k/U1Fni-pdrbIJ),[2](https://webapps.stackexchange.com/a/90174/88163). There is no official documentation about this.
Explanation
===========
It's usual that ... |
99,113 | <p>Currently I use this script to put a timestamp in a column when a value is entered into a cell in the same row but different column. </p>
<pre><code>function onEdit(e) {
var sheet = e.source.getActiveSheet();
var r = e.source.getActiveRange();
if (r.getColumn() == 4) {
sheet.getRange(r.getRow(),r.ge... | [
{
"answer_id": 99128,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 2,
"selected": false,
"text": "<p>Try changing</p>\n\n<pre><code>r.getColumn() == 4\n</code></pre>\n\n<p>by</p>\n\n<pre><code>r.getColumn() >= 4 ... | 2016/10/05 | [
"https://webapps.stackexchange.com/questions/99113",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/135999/"
] | Currently I use this script to put a timestamp in a column when a value is entered into a cell in the same row but different column.
```
function onEdit(e) {
var sheet = e.source.getActiveSheet();
var r = e.source.getActiveRange();
if (r.getColumn() == 4) {
sheet.getRange(r.getRow(),r.getColumn()+4).s... | ```
function onEdit(e) {
var sheet = e.source.getActiveSheet();
var sheetName = sheet.getName();
if ( sheetName == "Sheet1" || sheetName == "Sheet2" ) {
var r = e.source.getActiveRange();
if (r.getColumn() == 4 ) {
var col = r.getColumn();
if ( col >= 6 && col <= 100 ) {
sheet.getRang... |
99,140 | <p>I am fairly new to script. I have the following script which duplicates the active spreadsheet to another tab and then deletes the columns out of a varying range. Essentially I want it to delete from column 12 up to the 3rd to the last column in the spreadsheet. This portion is working correctly, but it takes almost... | [
{
"answer_id": 99150,
"author": "Tom Woodward",
"author_id": 103367,
"author_profile": "https://webapps.stackexchange.com/users/103367",
"pm_score": 0,
"selected": false,
"text": "<p>I believe the following does what you want. <a href=\"https://docs.google.com/spreadsheets/d/1IOUURjDJqk_... | 2016/10/05 | [
"https://webapps.stackexchange.com/questions/99140",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/134591/"
] | I am fairly new to script. I have the following script which duplicates the active spreadsheet to another tab and then deletes the columns out of a varying range. Essentially I want it to delete from column 12 up to the 3rd to the last column in the spreadsheet. This portion is working correctly, but it takes almost 20... | whenever you have a loop doing a delete, the first place to optimize is to see if the loop can be done backwards.
In systems like spreadsheets removing an item at the top of the sheet or the left side of the sheet is done by shifting everything to the left or top. If you have a lot of data each delete is expensive. Do... |
99,154 | <p>Is there a way to export Google reminders?</p>
<p>In Google ecosystem, these reminders are everywhere. In Google Calendar, Google Inbox, Google Keep, Google Now, etc.</p>
<p>But is there a way to export/ sync these reminders to any outside service/ provider?</p>
| [
{
"answer_id": 120697,
"author": "Webler",
"author_id": 195649,
"author_profile": "https://webapps.stackexchange.com/users/195649",
"pm_score": 2,
"selected": false,
"text": "<p>For Inbox Reminders, I found a way to at least export their urls to a readable plain text list, using the java... | 2016/10/06 | [
"https://webapps.stackexchange.com/questions/99154",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/136098/"
] | Is there a way to export Google reminders?
In Google ecosystem, these reminders are everywhere. In Google Calendar, Google Inbox, Google Keep, Google Now, etc.
But is there a way to export/ sync these reminders to any outside service/ provider? | For Inbox Reminders, I found a way to at least export their urls to a readable plain text list, using the javascript console. I've used the snippet below:
```
Array.prototype.slice.call(document.getElementsByClassName('bV dj')).map(function(i){ return decodeURIComponent(i.href.replace(/^.*url\?q=([^&]*)&.*$/,'$1')) })... |
99,190 | <p>I've filtered my Gmail inbox before in all possible ways, but only recently I've had a lively group conversation that got flooded by a single sender. I have tried different things only to find that filters are applied to entire conversation and not matched messages only.</p>
<p>I want to keep all the messages for t... | [
{
"answer_id": 120697,
"author": "Webler",
"author_id": 195649,
"author_profile": "https://webapps.stackexchange.com/users/195649",
"pm_score": 2,
"selected": false,
"text": "<p>For Inbox Reminders, I found a way to at least export their urls to a readable plain text list, using the java... | 2016/10/03 | [
"https://webapps.stackexchange.com/questions/99190",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/23615/"
] | I've filtered my Gmail inbox before in all possible ways, but only recently I've had a lively group conversation that got flooded by a single sender. I have tried different things only to find that filters are applied to entire conversation and not matched messages only.
I want to keep all the messages for the record,... | For Inbox Reminders, I found a way to at least export their urls to a readable plain text list, using the javascript console. I've used the snippet below:
```
Array.prototype.slice.call(document.getElementsByClassName('bV dj')).map(function(i){ return decodeURIComponent(i.href.replace(/^.*url\?q=([^&]*)&.*$/,'$1')) })... |
99,249 | <p>I am attempting to use conditional formatting to highlight the second highest number in a row in Google Spreadsheets. I've set it to "format cells if custom formula is", applied to range "CO27:DB27" and I've tried the following;</p>
<pre><code>=large(unique(CO$27:DB$27),2)
=LARGE(CO27:DB27, 2)
=INDEX(SORT(UNIQUE(CO... | [
{
"answer_id": 99566,
"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\n<p>Try</p>\n\n<pre><code>=RANK(CO27,$CO$27:$DB$27,0)=2\n</code></pre>\n\n<h1>Explanation</h1... | 2016/10/09 | [
"https://webapps.stackexchange.com/questions/99249",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/136343/"
] | I am attempting to use conditional formatting to highlight the second highest number in a row in Google Spreadsheets. I've set it to "format cells if custom formula is", applied to range "CO27:DB27" and I've tried the following;
```
=large(unique(CO$27:DB$27),2)
=LARGE(CO27:DB27, 2)
=INDEX(SORT(UNIQUE(CO27:DB27),1,FAL... | Short Answer
============
Try
```
=RANK(CO27,$CO$27:$DB$27,0)=2
```
Explanation
===========
[RANK](https://support.google.com/docs/answer/3094098?hl=en)
>
> Returns the rank of a specified value in a dataset
>
>
> |
99,280 | <p><strong>Background</strong><br>
I usually add several sheets to a single Google sheets file. There is always a separate sheet that extracts information from the other sheets (via <code>REGEXEXTRACT</code> etc). </p>
<p><strong>Problem</strong><br>
sometimes this "summary" sheet has sensitive information in it that ... | [
{
"answer_id": 99566,
"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\n<p>Try</p>\n\n<pre><code>=RANK(CO27,$CO$27:$DB$27,0)=2\n</code></pre>\n\n<h1>Explanation</h1... | 2016/10/10 | [
"https://webapps.stackexchange.com/questions/99280",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/91362/"
] | **Background**
I usually add several sheets to a single Google sheets file. There is always a separate sheet that extracts information from the other sheets (via `REGEXEXTRACT` etc).
**Problem**
sometimes this "summary" sheet has sensitive information in it that I don't want shared with everyone, and I would li... | Short Answer
============
Try
```
=RANK(CO27,$CO$27:$DB$27,0)=2
```
Explanation
===========
[RANK](https://support.google.com/docs/answer/3094098?hl=en)
>
> Returns the rank of a specified value in a dataset
>
>
> |
99,344 | <p>I have a spreadsheet in Google Sheets on Mac. I would like to create new tabs in the same spreadsheet that include the rows that meet a certain criteria from a single column, which I will call the "decision column". The single decision column will contain either "Rejected" or "Complete" or be blank if the row is sti... | [
{
"answer_id": 99350,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 0,
"selected": false,
"text": "<h1>Short answer</h1>\n<p>It's not possible to use Google Sheets built-in functions to copy data, but Google Sheets c... | 2016/10/12 | [
"https://webapps.stackexchange.com/questions/99344",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/136587/"
] | I have a spreadsheet in Google Sheets on Mac. I would like to create new tabs in the same spreadsheet that include the rows that meet a certain criteria from a single column, which I will call the "decision column". The single decision column will contain either "Rejected" or "Complete" or be blank if the row is still ... | Copy and paste is tough, but you could probably do it in Apps Script. However, displaying the rows in the new tabs is absolutely the purview of the `Filter` function.
```
=Filter('Master Spreadsheet'!A:N,N:N="Rejected")
```
Replace the data there with your tab names, columns, and criteria. |
99,377 | <p>I have a sheet that I want multiple users in my organisation to use as a dashboard, with the data displayed changing depending on the logged-in user. Everything works fine, and I have a simple script triggered onOpen that populates the current user's email address into the sheet and all data filtering is done based ... | [
{
"answer_id": 115921,
"author": "Jared Pinkham",
"author_id": 122308,
"author_profile": "https://webapps.stackexchange.com/users/122308",
"pm_score": 1,
"selected": false,
"text": "<p>As mentioned in the comments while onOpen is run from a the users session the changes made to cell valu... | 2016/10/13 | [
"https://webapps.stackexchange.com/questions/99377",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/136651/"
] | I have a sheet that I want multiple users in my organisation to use as a dashboard, with the data displayed changing depending on the logged-in user. Everything works fine, and I have a simple script triggered onOpen that populates the current user's email address into the sheet and all data filtering is done based on ... | As mentioned in the comments while onOpen is run from a the users session the changes made to cell values by user B will be visible to user A whether they are made by manual entry or an onEdit() trigger. (Imagine the user session as a window onto a garden and the cell values as the plots in the garden. If User B has th... |
99,391 | <p>I generated a report that formats date as 20160509 and my Google Sheets locale is already set to United States. I've played around with various options within Format > Number > Date Format but I can't change the dates to MM/DD/YYYY format without doing a simple find and replace. How do I accomplish this?</p>
<p><a ... | [
{
"answer_id": 99393,
"author": "Amit Jha",
"author_id": 96712,
"author_profile": "https://webapps.stackexchange.com/users/96712",
"pm_score": -1,
"selected": false,
"text": "<p>Click the gear icon on the right from your main Google Drive dashboard and select Settings. If you don't have ... | 2016/10/13 | [
"https://webapps.stackexchange.com/questions/99391",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/136686/"
] | I generated a report that formats date as 20160509 and my Google Sheets locale is already set to United States. I've played around with various options within Format > Number > Date Format but I can't change the dates to MM/DD/YYYY format without doing a simple find and replace. How do I accomplish this?
[![enter imag... | Assuming your string is in cell A1, this formula will convert it to a date. You can then format the date however you prefer.
```
=date(left(A1,4),mid(A1,5,2),right(A1,2))
```
Or, take the leftmost four characters as the year, the rightmost two characters as the day, and two characters in the middle starting at posit... |
99,409 | <p>I've been able to access hotmail.com / outlook.live.com every day on this PC, but today I received the following error in Google Chrome:</p>
<p><a href="https://i.stack.imgur.com/9fyGAm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9fyGAm.png" alt="Image with error"></a></p>
<p>Hotmail isn't d... | [
{
"answer_id": 99411,
"author": "ibrahim",
"author_id": 136747,
"author_profile": "https://webapps.stackexchange.com/users/136747",
"pm_score": -1,
"selected": true,
"text": "<p>I had the same error, but pausing Ad-Block fixed it for me.</p>\n"
},
{
"answer_id": 105926,
"auth... | 2016/10/14 | [
"https://webapps.stackexchange.com/questions/99409",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/136729/"
] | I've been able to access hotmail.com / outlook.live.com every day on this PC, but today I received the following error in Google Chrome:
[](https://i.stack.imgur.com/9fyGAm.png)
Hotmail isn't down for everyone, and I'm also able to access it through FireFox or ... | I had the same error, but pausing Ad-Block fixed it for me. |