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 |
|---|---|---|---|---|---|---|
122,023 | <p>I'm trying to get Google Sheets to tell me how many rows it has been since the last "1" was present in column A (see example table below). How do I get Google Sheets to output column B?</p>
<p>An alternative way of looking at this is to count the number of zeros/blanks in between the 1's in column A (then +1 to acc... | [
{
"answer_id": 122007,
"author": "John C",
"author_id": 16377,
"author_profile": "https://webapps.stackexchange.com/users/16377",
"pm_score": 3,
"selected": true,
"text": "<p>The recovery codes are used for <a href=\"https://www.facebook.com/help/148233965247823\" rel=\"nofollow noreferr... | 2018/11/07 | [
"https://webapps.stackexchange.com/questions/122023",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/199342/"
] | I'm trying to get Google Sheets to tell me how many rows it has been since the last "1" was present in column A (see example table below). How do I get Google Sheets to output column B?
An alternative way of looking at this is to count the number of zeros/blanks in between the 1's in column A (then +1 to account for t... | The recovery codes are used for [2 Factor Authentication](https://www.facebook.com/help/148233965247823) if you don't have your phone. So after you log into Facebook on a new device, you would enter the recovery code instead of the code that gets SMSed to you (or you get out of an authenticator app like Google Authenti... |
122,085 | <p>How can I adjust the settings so all the users within our google groups domain have their messages approved to go through? </p>
<p>Recently it seems the spam/moderation filter has been much more aggressive, stopping lots of messages from people within our company who routinely post to our internal mailing lists. I ... | [
{
"answer_id": 122037,
"author": "Cmill",
"author_id": 199364,
"author_profile": "https://webapps.stackexchange.com/users/199364",
"pm_score": 5,
"selected": true,
"text": "<p>I couldn't find an absolute setting to just disable this function. However, you can disable the function from co... | 2018/11/09 | [
"https://webapps.stackexchange.com/questions/122085",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/199504/"
] | How can I adjust the settings so all the users within our google groups domain have their messages approved to go through?
Recently it seems the spam/moderation filter has been much more aggressive, stopping lots of messages from people within our company who routinely post to our internal mailing lists. I want to wh... | I couldn't find an absolute setting to just disable this function. However, you can disable the function from continuing to create links or start creating links in a new document simply by selecting all the cells (Ctrl+A), right-click and select "Unlink" from the options menu. As soon as you do this, Google Sheets save... |
122,129 | <p>I have set up a lot of web properties for different websites.</p>
<p>Is there any way that I can see all the brief data of those properties in one table?</p>
<p>For example:</p>
<pre><code>GA_ID | Unique Visits | Avg. Duration |
UA-1234-1| 1,661 | 00:37 |
UA-1234-2| 5,862 ... | [
{
"answer_id": 124476,
"author": "DaImTo",
"author_id": 55361,
"author_profile": "https://webapps.stackexchange.com/users/55361",
"pm_score": 2,
"selected": true,
"text": "<p>The only way that i could think of that you could do this would be to use the Google analytics api. It would all... | 2018/11/11 | [
"https://webapps.stackexchange.com/questions/122129",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/25142/"
] | I have set up a lot of web properties for different websites.
Is there any way that I can see all the brief data of those properties in one table?
For example:
```
GA_ID | Unique Visits | Avg. Duration |
UA-1234-1| 1,661 | 00:37 |
UA-1234-2| 5,862 | 01:11 |
... | The only way that i could think of that you could do this would be to use the Google analytics api. It would allow you to request the data you need for all of the views you have access to.
The google analytics website will only allow you to analyse across a single view you cant create reports across views. |
122,232 | <p>I am trying to remove duplicates from my Google spreadsheet file.</p>
<p>Here is an initial table example </p>
<pre><code> A B C D
HelloWorld1 2 6 41
HelloWorld1 4 3 5
HelloWorld2 6 46 6
HelloWorld2 2 4 4
HelloWorld2 5 6 2
HelloWorld3 9 3 5
</code></pre>
<p>It should remo... | [
{
"answer_id": 124476,
"author": "DaImTo",
"author_id": 55361,
"author_profile": "https://webapps.stackexchange.com/users/55361",
"pm_score": 2,
"selected": true,
"text": "<p>The only way that i could think of that you could do this would be to use the Google analytics api. It would all... | 2018/11/15 | [
"https://webapps.stackexchange.com/questions/122232",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/200008/"
] | I am trying to remove duplicates from my Google spreadsheet file.
Here is an initial table example
```
A B C D
HelloWorld1 2 6 41
HelloWorld1 4 3 5
HelloWorld2 6 46 6
HelloWorld2 2 4 4
HelloWorld2 5 6 2
HelloWorld3 9 3 5
```
It should remove all duplicates but leave the f... | The only way that i could think of that you could do this would be to use the Google analytics api. It would allow you to request the data you need for all of the views you have access to.
The google analytics website will only allow you to analyse across a single view you cant create reports across views. |
122,424 | <p>Anyone know why this caused <code>The script does not have permission to get the active user's identity.</code>?</p>
<p>I don't have any functions that asks for the user identity. So I'm a little confused.</p>
<pre><code>function onEdit(e) {
if (e.range.getA1Notation() == 'D5' || e.range.getA1Notation() == 'E... | [
{
"answer_id": 122433,
"author": "sojim2",
"author_id": 199782,
"author_profile": "https://webapps.stackexchange.com/users/199782",
"pm_score": 1,
"selected": false,
"text": "<p>The range the script tried to add notes was within a protected range. That's why it works for app owner but no... | 2018/11/22 | [
"https://webapps.stackexchange.com/questions/122424",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/199782/"
] | Anyone know why this caused `The script does not have permission to get the active user's identity.`?
I don't have any functions that asks for the user identity. So I'm a little confused.
```
function onEdit(e) {
if (e.range.getA1Notation() == 'D5' || e.range.getA1Notation() == 'E5' || e.range.getA1Notation() ==... | The range the script tried to add notes was within a protected range. That's why it works for app owner but not shared editors. I just unprotected the range for the script and it worked. Not ideal but it gets the job done. Hopefully Google will have separate permission layers for notes and cells. (also notes should hav... |
122,789 | <p>I know you can do in:#channel to only get results from a channel, but is there a way to filter out results from a channel? A lot of our channels are spammed with automated messages and it adds noise to the search results.</p>
| [
{
"answer_id": 123207,
"author": "Erik Kalkoken",
"author_id": 119722,
"author_profile": "https://webapps.stackexchange.com/users/119722",
"pm_score": 5,
"selected": false,
"text": "<p>The search feature allows you to exclude words from the result by putting a minus sign in front of a wo... | 2018/12/05 | [
"https://webapps.stackexchange.com/questions/122789",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/201794/"
] | I know you can do in:#channel to only get results from a channel, but is there a way to filter out results from a channel? A lot of our channels are spammed with automated messages and it adds noise to the search results. | The search feature allows you to exclude words from the result by putting a minus sign in front of a word.
Examples:
```
hot -potato
```
will only return messages containing `hot`, but not `potato`.
To exclude a channel from the results use `searchTerm -in:channelName`. Do not add a `#` in front of the channel na... |
122,828 | <p>I have a Google Sheet that is populated by a linked Google Form. I've added some extra columns to calculate extra values for each row that gets added. I want these columns to be automatically calculated when new rows are populated, so I'd like to use <code>ARRAYFORMULA()</code>. </p>
<p>Several of my simple formu... | [
{
"answer_id": 122845,
"author": "Oren",
"author_id": 201004,
"author_profile": "https://webapps.stackexchange.com/users/201004",
"pm_score": 0,
"selected": false,
"text": "<p>I've solved a similar problem in a different way, which I will describe below. Hopefully this is useful for you:... | 2018/12/06 | [
"https://webapps.stackexchange.com/questions/122828",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/199756/"
] | I have a Google Sheet that is populated by a linked Google Form. I've added some extra columns to calculate extra values for each row that gets added. I want these columns to be automatically calculated when new rows are populated, so I'd like to use `ARRAYFORMULA()`.
Several of my simple formulas are working fine, b... | Try this:
In your linked sample sheet, delete *all* of column D to prepare for the array formula.
Next, with the entire Column D selected, set the format: **Format > Number > Time**
Then place this formula in D1:
`=ArrayFormula(IF(ROW(A:A)=1,"Shift start time",IF(A:A="","",IF(C:C="Clock-in","(start)",VLOOKUP(B:B&"C... |
122,885 | <p>The screenshot beneath portrays the titled question.</p>
<p><a href="https://i.stack.imgur.com/sJLuQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sJLuQ.png" alt="enter image description here" /></a></p>
<h1>My Attempts</h1>
<p>I input the following 2 scripts from <a href="https://www.reddit.com... | [
{
"answer_id": 130098,
"author": "jibeeeee",
"author_id": 219232,
"author_profile": "https://webapps.stackexchange.com/users/219232",
"pm_score": 2,
"selected": false,
"text": "<p>I don't understand perfectly ur question.\nGo to <a href=\"https://www.reddit.com/subreddits\" rel=\"nofollo... | 2018/12/08 | [
"https://webapps.stackexchange.com/questions/122885",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | The screenshot beneath portrays the titled question.
[](https://i.stack.imgur.com/sJLuQ.png)
My Attempts
===========
I input the following 2 scripts from [Reddit](https://www.reddit.com/r/help/comments/2f13er/how_do_i_unsubscribe_from_all_subreddits... | I don't understand perfectly ur question.
Go to [this link](https://www.reddit.com/subreddits), and open the Developper tools and put this on the console
```
javascript:(function(){var q=[];$('.remove').each(function(){var that=this;var f=function(index){$(that).trigger('click');$(that).trigger('mousedown');setTimeout... |
122,943 | <p><a href="https://i.stack.imgur.com/YSVLQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YSVLQ.png" alt="enter image description here"></a></p>
<p>I have a sheet (screenshot attached) . The first 3 rows are header rows and are frozen . I noticed that a formula that I'd put into U3 in the header <... | [
{
"answer_id": 125219,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 3,
"selected": false,
"text": "<p>For both Google Apps (Google Docs & Google Sheets) applies the following:</p>\n\n<ul>\n<li>each custom colo... | 2018/12/10 | [
"https://webapps.stackexchange.com/questions/122943",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/147202/"
] | [](https://i.stack.imgur.com/YSVLQ.png)
I have a sheet (screenshot attached) . The first 3 rows are header rows and are frozen . I noticed that a formula that I'd put into U3 in the header
```
=ARRAYFORMULA({"days since";IFERROR(IF(V4:V*1<>0,DATEDIF... | For both Google Apps (Google Docs & Google Sheets) applies the following:
* each custom color is saved in the separate free slot until the last one
* if all slots are full, the last one will act as "editable" slot
* none of custom color slots are editable. every edit is saved separately on next free slot
* used (those... |
123,015 | <p>I'm trying to use the WhatsApp web interface, but since a few days ago its giving me this error:</p>
<blockquote>
<p><strong>WhatsApp works with Google Chrome 36+</strong></p>
<p>To use WhatsApp, update Chrome or use Mozilla Firefox, Safari,
Microsoft Edge or Opera.</p>
</blockquote>
<p><a href="https://i... | [
{
"answer_id": 123041,
"author": "Hoffmann",
"author_id": 202468,
"author_profile": "https://webapps.stackexchange.com/users/202468",
"pm_score": 3,
"selected": false,
"text": "<p>Workaround: Change your user agent (e.g. explained here <a href=\"https://winaero.com/blog/change-user-agent... | 2018/12/12 | [
"https://webapps.stackexchange.com/questions/123015",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/58003/"
] | I'm trying to use the WhatsApp web interface, but since a few days ago its giving me this error:
>
> **WhatsApp works with Google Chrome 36+**
>
>
> To use WhatsApp, update Chrome or use Mozilla Firefox, Safari,
> Microsoft Edge or Opera.
>
>
>
[ to chrome and everything works fine.
I set it to `Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36`
I also wrote them an email, will post updates:
... |
123,076 | <p>There are three columns A, B, C AND today date is in the first row of the column A means A1. I need to import these three columns date excluding date row. A2:A100, B2:B100, C2:C100 in another sheet. </p>
<p>I have tried this:</p>
<pre><code>=filter((importrange("sheets key", sheet1!A:F),
importrange("sheets key"s... | [
{
"answer_id": 123049,
"author": "Banu",
"author_id": 184858,
"author_profile": "https://webapps.stackexchange.com/users/184858",
"pm_score": -1,
"selected": false,
"text": "<p>Sent emails will not appear in conversations. They will appear in the <em>Sent Items</em> folder.</p>\n"
},
... | 2018/12/14 | [
"https://webapps.stackexchange.com/questions/123076",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/202567/"
] | There are three columns A, B, C AND today date is in the first row of the column A means A1. I need to import these three columns date excluding date row. A2:A100, B2:B100, C2:C100 in another sheet.
I have tried this:
```
=filter((importrange("sheets key", sheet1!A:F),
importrange("sheets key"sheet2!A2:C10 =TODAY()... | Up to my knowledge that's not possible through the web interface, but I know for sure that's possible in many e-mail offline clients like [Evolution](https://wiki.gnome.org/Apps/Evolution) or [Claws Mail](https://www.claws-mail.org/). |
123,120 | <p>Is there a keyword (see <a href="https://support.google.com/websearch/answer/2466433?hl=en&ref_topic=3081620" rel="nofollow noreferrer">this</a>) to search for results within the last <em>x</em> days/weeks/months/years?</p>
<p>I know that you can do this by adding code at the end of the search URL, e.g. for res... | [
{
"answer_id": 123113,
"author": "Oren",
"author_id": 201004,
"author_profile": "https://webapps.stackexchange.com/users/201004",
"pm_score": 2,
"selected": false,
"text": "<p>Change the order in the spreadsheet that is the source for this chart. Afaik, neither sheets nor excel let you c... | 2018/12/15 | [
"https://webapps.stackexchange.com/questions/123120",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/121178/"
] | Is there a keyword (see [this](https://support.google.com/websearch/answer/2466433?hl=en&ref_topic=3081620)) to search for results within the last *x* days/weeks/months/years?
I know that you can do this by adding code at the end of the search URL, e.g. for results dating no more than 3 months add
```
&tbs=qdr:m3
``... | Change the order in the spreadsheet that is the source for this chart. Afaik, neither sheets nor excel let you change the order of data directly on the chart. |
123,123 | <p>I have two sheets in one Google Sheets document:</p>
<pre><code>| Key | Amount |
|-----|---------|
| ABC | 1 |
| DEF | 2 |
| GHI | 3 |
</code></pre>
<p><br></p>
<pre><code>| Keys |
|-------|
| ABC |
| XYZ |
| JKL |
| GHI |
</code></pre>
<p>Now, I'd like to add the amounts in the rows ... | [
{
"answer_id": 123113,
"author": "Oren",
"author_id": 201004,
"author_profile": "https://webapps.stackexchange.com/users/201004",
"pm_score": 2,
"selected": false,
"text": "<p>Change the order in the spreadsheet that is the source for this chart. Afaik, neither sheets nor excel let you c... | 2018/12/15 | [
"https://webapps.stackexchange.com/questions/123123",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/203699/"
] | I have two sheets in one Google Sheets document:
```
| Key | Amount |
|-----|---------|
| ABC | 1 |
| DEF | 2 |
| GHI | 3 |
```
```
| Keys |
|-------|
| ABC |
| XYZ |
| JKL |
| GHI |
```
Now, I'd like to add the amounts in the rows of the first sheet but *only* where the key is containe... | Change the order in the spreadsheet that is the source for this chart. Afaik, neither sheets nor excel let you change the order of data directly on the chart. |
123,124 | <p>I have this fraction in Google Sheets:</p>
<pre><code>1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8
</code></pre>
<p>How do I sum this digits?<br>
For example if I have: </p>
<p><code>1 4/8 + 3/8 = 1 7/8</code></p>
<p>How do I make this formula?<br>
I have formatted my cells like <code>#\ ?/8</code></p>
| [
{
"answer_id": 123113,
"author": "Oren",
"author_id": 201004,
"author_profile": "https://webapps.stackexchange.com/users/201004",
"pm_score": 2,
"selected": false,
"text": "<p>Change the order in the spreadsheet that is the source for this chart. Afaik, neither sheets nor excel let you c... | 2018/12/15 | [
"https://webapps.stackexchange.com/questions/123124",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/203702/"
] | I have this fraction in Google Sheets:
```
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8
```
How do I sum this digits?
For example if I have:
`1 4/8 + 3/8 = 1 7/8`
How do I make this formula?
I have formatted my cells like `#\ ?/8` | Change the order in the spreadsheet that is the source for this chart. Afaik, neither sheets nor excel let you change the order of data directly on the chart. |
123,127 | <p>I don't know how this functionality is called, but I think Word had it for years. Basically, I want to do something like this:</p>
<pre><code>{Character1} just got out of his bed when he heard a loud noise outside.
</code></pre>
<p>Where every instance of "{Character1}" is replaced later with "John":</p>
<pre><co... | [
{
"answer_id": 123136,
"author": "tony",
"author_id": 203746,
"author_profile": "https://webapps.stackexchange.com/users/203746",
"pm_score": -1,
"selected": false,
"text": "<p>For Microsoft Word, you can do it using fields. Before you can insert fields, you need to create them. Let's sa... | 2018/12/15 | [
"https://webapps.stackexchange.com/questions/123127",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I don't know how this functionality is called, but I think Word had it for years. Basically, I want to do something like this:
```
{Character1} just got out of his bed when he heard a loud noise outside.
```
Where every instance of "{Character1}" is replaced later with "John":
```
John just got out of his bed when ... | I have the perfect solution for you. The new Google doc add-on "Reversible Formulas" enables you to insert and evaluate formulas in your Google document.
It offers three ways to achieve what you are looking for.
Simpler way: No formulas needed
-------------------------------
Write in your doc:
```
John just got out... |
123,175 | <p><code>=FILTER(Matrice_data;Matrice_nom=G2)</code></p>
<p>Pretty straight forward. I type a name in G2 and I get all rows with this name. My problem is this one: the "matrice_data" contains many columns, like 30. I want to see only 5 or 6 of them in the filter (let say, A, C, F, DD, AL). </p>
<p>One important thin... | [
{
"answer_id": 123179,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 0,
"selected": false,
"text": "<p>One way is to hide the columns that you don't want to view, just right-clic on the column(s) to hide, and select ... | 2018/12/17 | [
"https://webapps.stackexchange.com/questions/123175",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/203862/"
] | `=FILTER(Matrice_data;Matrice_nom=G2)`
Pretty straight forward. I type a name in G2 and I get all rows with this name. My problem is this one: the "matrice\_data" contains many columns, like 30. I want to see only 5 or 6 of them in the filter (let say, A, C, F, DD, AL).
One important thing: I don't want to use `Quer... | Another way to do this is to use a filter function inside another filter function.
For example, if your data is in B2:E5, with headers in row B, you can use:
```
=filter(b2:e2 & filter(B2:E5,B2:B5 = "Martin"),(B7:E7 = "b") + (B7:E7="d"))
```
This will filter by name, and then by your column headers "b" and "d". |
123,449 | <p>I have a spreadsheet with many rows like this:</p>
<pre><code>Arkonor 16m³Crimson +5%Prime +10%Flawless +15%
Bistot 16m³Triclinic +5%Monoclinic +10%Cubic +15%
Crokite 16m³Sharp +5%Crystalline +10%Pellucid +15%
</code></pre>
<p>How do I extract words from these cells? Example, in the first row, I would like to ex... | [
{
"answer_id": 135673,
"author": "Carton_",
"author_id": 230938,
"author_profile": "https://webapps.stackexchange.com/users/230938",
"pm_score": 2,
"selected": false,
"text": "<p>I'm also struggling with finding a specific store on Aliexpress</p>\n\n<p>My trick is just to type the store ... | 2018/12/27 | [
"https://webapps.stackexchange.com/questions/123449",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/204722/"
] | I have a spreadsheet with many rows like this:
```
Arkonor 16m³Crimson +5%Prime +10%Flawless +15%
Bistot 16m³Triclinic +5%Monoclinic +10%Cubic +15%
Crokite 16m³Sharp +5%Crystalline +10%Pellucid +15%
```
How do I extract words from these cells? Example, in the first row, I would like to extract words Arkonor, Crims... | I'm also struggling with finding a specific store on Aliexpress
My trick is just to type the store name on a web search engine. Usually you can find the store pretty easily like this if you remember the store's name. |
123,451 | <p><a href="https://i.stack.imgur.com/oU1YW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oU1YW.png" alt="screenshot of data in google sheets"></a></p>
<p>I have uploaded 4.000+ Venmo donation data sets into Google Sheets for sorting, but the date and time is preset and looks like this: </p>
<pre... | [
{
"answer_id": 135673,
"author": "Carton_",
"author_id": 230938,
"author_profile": "https://webapps.stackexchange.com/users/230938",
"pm_score": 2,
"selected": false,
"text": "<p>I'm also struggling with finding a specific store on Aliexpress</p>\n\n<p>My trick is just to type the store ... | 2018/12/27 | [
"https://webapps.stackexchange.com/questions/123451",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/204728/"
] | [](https://i.stack.imgur.com/oU1YW.png)
I have uploaded 4.000+ Venmo donation data sets into Google Sheets for sorting, but the date and time is preset and looks like this:
```
2018-11-01T20:16:52
```
I have tried multiple approaches to sor... | I'm also struggling with finding a specific store on Aliexpress
My trick is just to type the store name on a web search engine. Usually you can find the store pretty easily like this if you remember the store's name. |
123,462 | <p>I use plus-addresses for either testing, or spam. To the point where now I would like to auto-archive <strong>all</strong> mail sent to a plus address.</p>
<p>I've tried searching with:</p>
<pre><code>to:(firstname.lastname+*@gmail.com) // this doesn't find anything
</code></pre>
<p>and</p>
<pre><code>to:(firstn... | [
{
"answer_id": 123467,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 3,
"selected": true,
"text": "<p>if you use <strong>+test</strong> like: <strong>myname+test@gmail.com</strong></p>\n\n<p>then you can use:</p>\n... | 2018/12/27 | [
"https://webapps.stackexchange.com/questions/123462",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/62135/"
] | I use plus-addresses for either testing, or spam. To the point where now I would like to auto-archive **all** mail sent to a plus address.
I've tried searching with:
```
to:(firstname.lastname+*@gmail.com) // this doesn't find anything
```
and
```
to:(firstname.lastname\+*@gmail.com) // this includes emails
sent ... | if you use **+test** like: **myname+test@gmail.com**
then you can use:
```
to:(+test)
```
otherwise, you can't list all +masks at once |
123,509 | <p>I have a column of dates, eg.</p>
<pre><code>2017-01-20
2017-01-25
2017-01-27
2017-01-30
2017-02-03
...
2018-12-20
</code></pre>
<p>I would like to create a plot where the x-axis is a contiguous range of dates from start to end (ie. 2017-01-20 to 2018-12-20). The y-axis would be a count of how many events happened... | [
{
"answer_id": 123511,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<ul>\n<li>populate column <strong>A</strong> with dates</li>\n<li>populate column <strong>B</strong> with logic <c... | 2018/12/28 | [
"https://webapps.stackexchange.com/questions/123509",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/147894/"
] | I have a column of dates, eg.
```
2017-01-20
2017-01-25
2017-01-27
2017-01-30
2017-02-03
...
2018-12-20
```
I would like to create a plot where the x-axis is a contiguous range of dates from start to end (ie. 2017-01-20 to 2018-12-20). The y-axis would be a count of how many events happened on that day.
In my case,... | Here's a solution that requires creating the contiguous date range (the x-axis values) in a separate column.
The high-level idea is to create a column with every date from start to end, then create a column that indicates whether each date is within the list of days on which the event occurred.
* Insert the list of d... |
123,627 | <p>When I use sum in Google Sheets, it:</p>
<ul>
<li>sums all numeric cells from the range (which is exactly what I want</li>
<li>silently ignores all empty non-numeric cells from the range (which is usually what I want, though it can sometimes be too smart)</li>
<li>silently ignores all non-empty non-numeric cells fr... | [
{
"answer_id": 123631,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 2,
"selected": false,
"text": "<p>this meets all your requested scenarios:</p>\n\n<p><b><pre><code>=IF(COUNT(G5:G10)<1,,\n IF(COUNT(G5:G10)>1,... | 2019/01/02 | [
"https://webapps.stackexchange.com/questions/123627",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/142561/"
] | When I use sum in Google Sheets, it:
* sums all numeric cells from the range (which is exactly what I want
* silently ignores all empty non-numeric cells from the range (which is usually what I want, though it can sometimes be too smart)
* silently ignores all non-empty non-numeric cells from the range. This is usuall... | After some research, I have realized that we can just multiply it by 1. The (almost) ultimate and quite simple solution is:
```
sum(arrayFormula(1*…))
```
It currently passes all my tests except that it does not fail for date/time – it tries to convert the number instead. This seems to be the last limitation. I don'... |
123,634 | <p>I have a monetary value for 1 minute like 0,10 € (10 euro cents per minute)</p>
<p>In Google Sheets, I have a column to enter a length of time in minutes and seconds like "xx,xx", ex. 1,30</p>
<p>The calculation will be "duration" x "0,10 €". but...</p>
<p>In Google Sheets, what is the correct formula for calcula... | [
{
"answer_id": 123639,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p><b><pre><code>=IF(ISNUMBER(B5),B5*C2,\n PRODUCT(MINUTE(TIME(0,SPLIT(B5,\",\"),INDEX(SPLIT(B5,\",\"),1,2)))\n ... | 2019/01/03 | [
"https://webapps.stackexchange.com/questions/123634",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I have a monetary value for 1 minute like 0,10 € (10 euro cents per minute)
In Google Sheets, I have a column to enter a length of time in minutes and seconds like "xx,xx", ex. 1,30
The calculation will be "duration" x "0,10 €". but...
In Google Sheets, what is the correct formula for calculating the monetary value ... | First, you need to decide how you enter your duration values. Remember, `1,30 minutes` is not the same as `1 minute and 30 seconds` - it is `1 minute and 18 seconds`, since a minute is 60 seconds.
If you insist on a format of `minutes,seconds`, you'll need a formula to parse this as a duration. I suggest using a [regu... |
123,642 | <p>I am trying to create my own custom Google Cloud Search and following <a href="https://support.google.com/a/answer/9043922" rel="nofollow noreferrer">this documentation</a>. I need to add a data source through the G Suite Admin console. I login to my Admin console I go through the first step following the path Apps ... | [
{
"answer_id": 123639,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p><b><pre><code>=IF(ISNUMBER(B5),B5*C2,\n PRODUCT(MINUTE(TIME(0,SPLIT(B5,\",\"),INDEX(SPLIT(B5,\",\"),1,2)))\n ... | 2019/01/03 | [
"https://webapps.stackexchange.com/questions/123642",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/205270/"
] | I am trying to create my own custom Google Cloud Search and following [this documentation](https://support.google.com/a/answer/9043922). I need to add a data source through the G Suite Admin console. I login to my Admin console I go through the first step following the path Apps > G Suite > Cloud Search > Search Settin... | First, you need to decide how you enter your duration values. Remember, `1,30 minutes` is not the same as `1 minute and 30 seconds` - it is `1 minute and 18 seconds`, since a minute is 60 seconds.
If you insist on a format of `minutes,seconds`, you'll need a formula to parse this as a duration. I suggest using a [regu... |
123,648 | <p>My spreadsheet has several cells that have had validation applied to them, but it would be nice to recheck them or switch the validation to a complimentary cell. After searching on Google and looking through the web page's GUI, it was not obvious how all cells having validation could be found. Is there a way to high... | [
{
"answer_id": 123742,
"author": "contributorpw",
"author_id": 42966,
"author_profile": "https://webapps.stackexchange.com/users/42966",
"pm_score": 1,
"selected": false,
"text": "<p>As I can see you need a report about all cells with data validation rules.</p>\n\n<p>The next code create... | 2019/01/03 | [
"https://webapps.stackexchange.com/questions/123648",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/6698/"
] | My spreadsheet has several cells that have had validation applied to them, but it would be nice to recheck them or switch the validation to a complimentary cell. After searching on Google and looking through the web page's GUI, it was not obvious how all cells having validation could be found. Is there a way to highlig... | As I can see you need a report about all cells with data validation rules.
The next code creates the sheet with name 'dataValidation report' into the active spreadsheet and puts a little report to there.
```
function genDataValidationReport() {
var res = Sheets.Spreadsheets.get(SpreadsheetApp.getActive().getId(), ... |
123,670 | <p>I did some looking around and I'm struggling quite a bit in finding the answer. </p>
<p>I'm working on a Google Script for Google Sheets that works like a Vlookup, where you define a cell for it to look at, and use the information found within that cell to search ANOTHER range of cells elsewhere.</p>
<p>eg. 1</p>
... | [
{
"answer_id": 123698,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 4,
"selected": true,
"text": "<p>Yes, it is possible to emulate many of the built-in functions by using Class Spreadsheet (SpreadsheetApp) and Java... | 2019/01/04 | [
"https://webapps.stackexchange.com/questions/123670",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/204854/"
] | I did some looking around and I'm struggling quite a bit in finding the answer.
I'm working on a Google Script for Google Sheets that works like a Vlookup, where you define a cell for it to look at, and use the information found within that cell to search ANOTHER range of cells elsewhere.
eg. 1
Use the value from A... | Yes, it is possible to emulate many of the built-in functions by using Class Spreadsheet (SpreadsheetApp) and JavaScript Array Object and its methods, but "the emulations" usually will be slower than built-in functions.
Knowing the above I consider that the core of the question is how to use JavaScript to emulate VLOO... |
123,695 | <p>I often use a handy <a href="https://apps.marudot.com/ical/" rel="nofollow noreferrer">Marudot iCal Event Maker</a>. This web application remembers past events that I have put into it, even though I don't log in, I clear all cookies between sessions, and I use my laptop in different places with different IP addresse... | [
{
"answer_id": 123698,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 4,
"selected": true,
"text": "<p>Yes, it is possible to emulate many of the built-in functions by using Class Spreadsheet (SpreadsheetApp) and Java... | 2019/01/04 | [
"https://webapps.stackexchange.com/questions/123695",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/147505/"
] | I often use a handy [Marudot iCal Event Maker](https://apps.marudot.com/ical/). This web application remembers past events that I have put into it, even though I don't log in, I clear all cookies between sessions, and I use my laptop in different places with different IP addresses. I checked my browser settings, and I ... | Yes, it is possible to emulate many of the built-in functions by using Class Spreadsheet (SpreadsheetApp) and JavaScript Array Object and its methods, but "the emulations" usually will be slower than built-in functions.
Knowing the above I consider that the core of the question is how to use JavaScript to emulate VLOO... |
123,713 | <p>In my Google spreadsheet, I want to protect all cells below a checkbox if it's value is true and unprotect if it's value is false. Every cell in row 3 is a checkbox that this has to work for.</p>
<p>Example Sheet:</p>
<pre><code> +------------+------------+------------+------------+------------+-----
| Col... | [
{
"answer_id": 123714,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p><strong>for A column:</strong></p>\n\n<pre><code>function onEdit(event){\n\n var ss = SpreadsheetApp.getActive... | 2019/01/05 | [
"https://webapps.stackexchange.com/questions/123713",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/205458/"
] | In my Google spreadsheet, I want to protect all cells below a checkbox if it's value is true and unprotect if it's value is false. Every cell in row 3 is a checkbox that this has to work for.
Example Sheet:
```
+------------+------------+------------+------------+------------+-----
| Column A | Column B |... | I expect you have already solved this, but still wanted to post my solution for others who might have the same issue.
I edited user0's answer to allow for dynamic criteria
```
function onEdit(event){
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sh = ss.getSheets()[0]; // 0 == first sheet.
var cellRange = ... |
123,729 | <p>How to efectively deal with multiple IF-statements and with multiple "between number" ranges <br> in Google Sheets' spreadsheet (e.g. <strong>C</strong> column based on <strong>B</strong> column)</p>
<p><a href="https://i.stack.imgur.com/sBEJ2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sBEJ2... | [
{
"answer_id": 123730,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 2,
"selected": true,
"text": "<h1><code>VLOOKUP()</code></h1>\n\n<p><b><pre><code>=IFERROR(ARRAYFORMULA(VLOOKUP(B2:B;\n {QUERY(IFERROR(ARRAYFORMU... | 2019/01/05 | [
"https://webapps.stackexchange.com/questions/123729",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/186471/"
] | How to efectively deal with multiple IF-statements and with multiple "between number" ranges
in Google Sheets' spreadsheet (e.g. **C** column based on **B** column)
[](https://i.stack.imgur.com/sBEJ2.png)
with a rule set as follows:
```
01-10
11-20
21-50
51-100
101-150
... | `VLOOKUP()`
===========
**```
=IFERROR(ARRAYFORMULA(VLOOKUP(B2:B;
{QUERY(IFERROR(ARRAYFORMULA(VALUE(
REGEXEXTRACT(Sheet2!A2:A; "(\d+)"))); ); "SELECT Col1")\
QUERY(Sheet2!A2:A; "SELECT A")}; 2)); )
```**
[](https://i.stack.imgur.com/2WKG4.png)
where **Sheet2** consists a... |
123,798 | <p>I'd like to export a list of current members of the channel or group. Is it possible through the UI, alternative client (such as <em>Bettergram</em>), <a href="https://core.telegram.org/api" rel="nofollow noreferrer">Telegram API</a> or <a href="https://core.telegram.org/bots/api" rel="nofollow noreferrer">Bots API<... | [
{
"answer_id": 123800,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 3,
"selected": true,
"text": "<p>You can try Telethon which can extract all the members of a given group and saves it in an SQLite database. You ... | 2019/01/07 | [
"https://webapps.stackexchange.com/questions/123798",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/22759/"
] | I'd like to export a list of current members of the channel or group. Is it possible through the UI, alternative client (such as *Bettergram*), [Telegram API](https://core.telegram.org/api) or [Bots API](https://core.telegram.org/bots/api)?
I've seen this feature on some marketing apps (such as [Telegram Auto](http://... | You can try Telethon which can extract all the members of a given group and saves it in an SQLite database. You need to be an admin for the channel of course.
You can get it with a method like:
```
from telethon import TelegramClient
from telethon.tl.functions.contacts import ResolveUsernameRequest
from telethon.tl.... |
123,915 | <p>So I have a Google Form dumping data into spreadsheet tab form responses 1. </p>
<p><a href="https://i.stack.imgur.com/w0f0z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w0f0z.png" alt="enter image description here"></a></p>
<p>I have created another tab labeled summary. I need to have the su... | [
{
"answer_id": 124737,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<p>provided pictures for debugging from <strong><a href=\"https://webapps.stackexchange.com/users/206474/%E7%B1%B3... | 2019/01/10 | [
"https://webapps.stackexchange.com/questions/123915",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/205967/"
] | So I have a Google Form dumping data into spreadsheet tab form responses 1.
[](https://i.stack.imgur.com/w0f0z.png)
I have created another tab labeled summary. I need to have the summary tab only show the latest entry for a given pilot and be sorted... | provided pictures for debugging from **[@米凯乐](https://webapps.stackexchange.com/users/206474/%E7%B1%B3%E5%87%AF%E4%B9%90)**
* [picture 1](https://i.stack.imgur.com/rtOmD.jpg)
* [picture 2](https://i.stack.imgur.com/6zYmi.png)
---
CONCLUSION:
-----------
While I had no issues with the first image:
>
> [, next to the folder name, there's a pull menu called... | 2019/01/09 | [
"https://webapps.stackexchange.com/questions/123949",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/14531/"
] | How do I filter search results to only include unread messages in Office 365 outlook.com? I've tried `read:no`, but that looks for messages containing *read* and *no*.
[](https://i.stack.imgur.com/Sxie3.png) | I was also struggling to get all the unread emails (including from the subfolders) in Outlook Office 365. The closest I could find was the following search query:
```
isread:no
```
[](https://i.stack.imgur.com/aaiT9.png)
In case of Desktop client, this can be achi... |
124,012 | <p>I created a list of items Data Validation in a sheet corresponding to time-frequency:</p>
<p><code>weekly,monthly,annually</code></p>
<p>I want to multiply values in a numeric column with the corresponding weekly values to get a normalized annual cost so weekly would be 52x, monthly 12x.</p>
<p>It's just three co... | [
{
"answer_id": 124015,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 2,
"selected": false,
"text": "<p><b><pre><code>=IF(B1=\"weekly\"; A1*52;\n IF(B1=\"monthly\"; A1*12;\n IF(B1=\"annually\"; A1*1; )))</code></... | 2019/01/11 | [
"https://webapps.stackexchange.com/questions/124012",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/31052/"
] | I created a list of items Data Validation in a sheet corresponding to time-frequency:
`weekly,monthly,annually`
I want to multiply values in a numeric column with the corresponding weekly values to get a normalized annual cost so weekly would be 52x, monthly 12x.
It's just three columns: one numerical, one with drop... | **```
=ARRAYFORMULA(IF(B1:B="weekly"; A1:A*52;
IF(B1:B="monthly"; A1:A*12;
IF(B1:B="annually"; A1:A*1; ))))
```**
[](https://i.stack.imgur.com/7M8Cz.png) |
124,087 | <p>Google Sheets has a <code>UNIQUE()</code> function which when given a column of values, will output a column of all unique values.</p>
<p>This works well for column-specific data, however, you have multiple columns and rows of data that needs to be summarized, this won't work. This is because if you include a 2-di... | [
{
"answer_id": 124089,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 5,
"selected": true,
"text": "<p><b><pre><code>=UNIQUE({A:A;B:B;C:C})</code></pre></b></p>\n\n<p><a href=\"https://i.stack.imgur.com/5wqKz.png\" ... | 2019/01/14 | [
"https://webapps.stackexchange.com/questions/124087",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/12876/"
] | Google Sheets has a `UNIQUE()` function which when given a column of values, will output a column of all unique values.
This works well for column-specific data, however, you have multiple columns and rows of data that needs to be summarized, this won't work. This is because if you include a 2-dimensional range into `... | **```
=UNIQUE({A:A;B:B;C:C})
```**
[](https://i.stack.imgur.com/5wqKz.png)
---
**```
=ARRAYFORMULA(UNIQUE(QUERY(TO_TEXT({A:A;B:B;C:C}),
"select Col1 where Col1 is not null")))
```**
[](https://i.stack.imgur.com/rkyHY.png) |
124,088 | <p>I have data as follows:</p>
<pre><code>Name | Value | Y/N | Value | Y/N
A | 10 | Y | 12 | N
B | 100 | Y | 120 | N
A | 20 | Y | 10 | Y
B | 200 | N | 120 | Y
C | 1000 | Y | 12 | Y
</code></pre>
<p>And I would like to have a condensed view of this data which woul... | [
{
"answer_id": 124089,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 5,
"selected": true,
"text": "<p><b><pre><code>=UNIQUE({A:A;B:B;C:C})</code></pre></b></p>\n\n<p><a href=\"https://i.stack.imgur.com/5wqKz.png\" ... | 2019/01/14 | [
"https://webapps.stackexchange.com/questions/124088",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/206444/"
] | I have data as follows:
```
Name | Value | Y/N | Value | Y/N
A | 10 | Y | 12 | N
B | 100 | Y | 120 | N
A | 20 | Y | 10 | Y
B | 200 | N | 120 | Y
C | 1000 | Y | 12 | Y
```
And I would like to have a condensed view of this data which would look like this:
```
Nam... | **```
=UNIQUE({A:A;B:B;C:C})
```**
[](https://i.stack.imgur.com/5wqKz.png)
---
**```
=ARRAYFORMULA(UNIQUE(QUERY(TO_TEXT({A:A;B:B;C:C}),
"select Col1 where Col1 is not null")))
```**
[](https://i.stack.imgur.com/rkyHY.png) |
124,132 | <p>I am wondering how to calculate the next payment date a client has. We know when their payment date starts, what the frequency of their payments is, and of course today's date. However, I cannot seem to figure out how to calculate when their next payment is when we know what their frequency of payment and payment st... | [
{
"answer_id": 124124,
"author": "serenesat",
"author_id": 87130,
"author_profile": "https://webapps.stackexchange.com/users/87130",
"pm_score": 0,
"selected": false,
"text": "<p>Your understanding is absolutely right. No one can block or follow/unfollow a deactivated account.</p>\n\n<p>... | 2019/01/15 | [
"https://webapps.stackexchange.com/questions/124132",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/206535/"
] | I am wondering how to calculate the next payment date a client has. We know when their payment date starts, what the frequency of their payments is, and of course today's date. However, I cannot seem to figure out how to calculate when their next payment is when we know what their frequency of payment and payment start... | You can block a person who deactivated their Instagram, if you have exchanged private messages with them. Just go to that person private message in the inbox , then go to settings, and the press block sender. I promise that person will be blocked, even if they reactivate their account. |
124,199 | <p>I have the following script:</p>
<pre><code>function setActiveCells() {
var wb = SpreadsheetApp.getActiveSpreadsheet();
var ws_names = wb.getRangeByName('an_sheets').getValues();
var ws_cells = wb.getRangeByName('an_sheetsLastCells').getValues();
var ws_count = ws_cells.length;
for (var i=0;i<ws_cou... | [
{
"answer_id": 124196,
"author": "gloschtla",
"author_id": 166950,
"author_profile": "https://webapps.stackexchange.com/users/166950",
"pm_score": 0,
"selected": false,
"text": "<p>I would not delete the page. Instead just unlink your Facebook profile and Facebook page, and then change t... | 2019/01/16 | [
"https://webapps.stackexchange.com/questions/124199",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/206664/"
] | I have the following script:
```
function setActiveCells() {
var wb = SpreadsheetApp.getActiveSpreadsheet();
var ws_names = wb.getRangeByName('an_sheets').getValues();
var ws_cells = wb.getRangeByName('an_sheetsLastCells').getValues();
var ws_count = ws_cells.length;
for (var i=0;i<ws_count;i++) {
var... | A Facebook page *is* itself a *business* *"profile"*.
Pages are only meant for public communication, be they with customers or fans (for public figures, such as artists etc.).
Also, you *need* a Facebook Profile ( which is your personal space on the platform) to setup a Page. I am not sure why you want to delete the ... |
124,204 | <p>I'm trying to find out if the 1st letter in a cell is <strong>UPPERCASE</strong>. I know how to convert case using <code>PROPER()</code>, <code>UPPER()</code>, and <code>LOWER()</code>, but not how to detect case. </p>
<p>The following checks every word in the string and returns <code>false</code> for <code>A1</cod... | [
{
"answer_id": 124207,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<p><b><pre><code>=IF(EXACT(UPPER(LEFT(A1; 1)); \n LEFT(A1; 1)); TRUE; FALSE)</code></pre></b></p>\n... | 2019/01/16 | [
"https://webapps.stackexchange.com/questions/124204",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/51806/"
] | I'm trying to find out if the 1st letter in a cell is **UPPERCASE**. I know how to convert case using `PROPER()`, `UPPER()`, and `LOWER()`, but not how to detect case.
The following checks every word in the string and returns `false` for `A1` and `true` for `A2`, but I just want to know if the 1st character in the ce... | **```
=ARRAYFORMULA(IF(LEN(A1:A); IF(EXACT(UPPER(LEFT(A1:A; 1));
LEFT(A1:A; 1)); TRUE; FALSE); ))
```**
[](https://i.stack.imgur.com/YPvwy.png) |
124,261 | <p>In Google Sheet, we can use <code>ROUND()</code> to round float to the nearest.
like</p>
<pre><code>5.2 = 5
5.5 = 6.
</code></pre>
<p>What if I want it:</p>
<pre><code>5.2 = 6
5.5 = 6.
</code></pre>
<p>If the number exceeds by a decimal, then rounded off to +1.
Any idea?</p>
| [
{
"answer_id": 125772,
"author": "NReilingh",
"author_id": 3133,
"author_profile": "https://webapps.stackexchange.com/users/3133",
"pm_score": 1,
"selected": false,
"text": "<p>It's not possible to ensure this the way you are currently using Google Groups. Since the incoming email is bei... | 2019/01/18 | [
"https://webapps.stackexchange.com/questions/124261",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/170495/"
] | In Google Sheet, we can use `ROUND()` to round float to the nearest.
like
```
5.2 = 5
5.5 = 6.
```
What if I want it:
```
5.2 = 6
5.5 = 6.
```
If the number exceeds by a decimal, then rounded off to +1.
Any idea? | It's not possible to ensure this the way you are currently using Google Groups. Since the incoming email is being distributed to the group members with the sender's address intact, there is nothing stopping any one member from sending a reply directly to the original sender.
What needs to happen for each of the group ... |
124,279 | <p>I want to update every minute a cell with data from a HTML link. The problem is that the value does not update unless I manually empty the cell or make changes to the script. I tried to add <code>NOW()</code> to the script but the cells do not update. I do not know much about JavaScript. Could someone explain to me ... | [
{
"answer_id": 124290,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<ul>\n<li>go to <strong>File</strong></li>\n<li>select <strong>Spreadsheet settings...</strong></li>\n<li>change r... | 2019/01/18 | [
"https://webapps.stackexchange.com/questions/124279",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/206075/"
] | I want to update every minute a cell with data from a HTML link. The problem is that the value does not update unless I manually empty the cell or make changes to the script. I tried to add `NOW()` to the script but the cells do not update. I do not know much about JavaScript. Could someone explain to me what and where... | * go to **File**
* select **Spreadsheet settings...**
* change recalculation like this:
[](https://i.stack.imgur.com/odymd.png)
* you can test it with this formula:
**```
=IF(SECOND(NOW())={00;01;02;03;04;05;06;07;08;09;
10;11;12;13;14;15;16;17;18;19;
... |
124,287 | <p>I want to do a calculation with imported data from an HTML link. The data is imported every minute. There is loading time and this ensures that the cells are empty during loading. Because my formula refers to those cells, the result is "0" and this ensures that the calculations are no longer correct. Is there a way ... | [
{
"answer_id": 124290,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<ul>\n<li>go to <strong>File</strong></li>\n<li>select <strong>Spreadsheet settings...</strong></li>\n<li>change r... | 2019/01/18 | [
"https://webapps.stackexchange.com/questions/124287",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/206075/"
] | I want to do a calculation with imported data from an HTML link. The data is imported every minute. There is loading time and this ensures that the cells are empty during loading. Because my formula refers to those cells, the result is "0" and this ensures that the calculations are no longer correct. Is there a way to ... | * go to **File**
* select **Spreadsheet settings...**
* change recalculation like this:
[](https://i.stack.imgur.com/odymd.png)
* you can test it with this formula:
**```
=IF(SECOND(NOW())={00;01;02;03;04;05;06;07;08;09;
10;11;12;13;14;15;16;17;18;19;
... |
124,295 | <p>Right now, a cell is showing the value: </p>
<pre><code>10
</code></pre>
<p>I want it to show:</p>
<pre><code>10 kg or 22 lbs
</code></pre>
<p>And I want that to happen in the same cell. <br>
Also, that <code>10</code> is also a result of a calculation <code>=B2-80</code><br>
I ended up using the <code>concat</c... | [
{
"answer_id": 124296,
"author": "Saad Rehman Shah",
"author_id": 22094,
"author_profile": "https://webapps.stackexchange.com/users/22094",
"pm_score": 0,
"selected": false,
"text": "<p>Actually, I ended up using the concat formula a bunch of times. Like so:</p>\n\n<pre><code>=CONCAT(B2-... | 2019/01/18 | [
"https://webapps.stackexchange.com/questions/124295",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/22094/"
] | Right now, a cell is showing the value:
```
10
```
I want it to show:
```
10 kg or 22 lbs
```
And I want that to happen in the same cell.
Also, that `10` is also a result of a calculation `=B2-80`
I ended up using the `concat` formula a bunch of times. | * **`=B2-80&"kg or "&(B2-80)*2.2&" lbs"`**
* **`=JOIN("kg or "; B2-80; (B2-80)*2.2&" lbs")`**
* **`=CONCAT(B2-80&"kg or "; (B2-80)*2.2&" lbs")`**
* **`=CONCATENATE(B2-80; "kg or "; (B2-80)*2.2; " lbs")`**
[](https://i.stack.imgur.com/MwcMv.png)
[, 3,
IF(AND(F2>=1000, F2<1500), 2,
IF(AND(F2>=1500, F2<2000), 3, ))), IF(G2="yes", 1, ),
IF(H2="yes", 1, ),
... |
124,322 | <p>Currently, I have a spreadsheet which has a number of customer sheets, each with a pivot table showing the month in the row <code>I</code> and the total income for each month in row <code>L</code>.</p>
<p>On a separate sheet I have a query that sums all of the month totals (This just shows 2 Customer sheets, normal... | [
{
"answer_id": 124306,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<p><strong>paste this formula into <code>O2</code> cell and then drag it down:</strong></p>\n\n<pre><code>=SUM(B2,... | 2019/01/19 | [
"https://webapps.stackexchange.com/questions/124322",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/177497/"
] | Currently, I have a spreadsheet which has a number of customer sheets, each with a pivot table showing the month in the row `I` and the total income for each month in row `L`.
On a separate sheet I have a query that sums all of the month totals (This just shows 2 Customer sheets, normally these sheets are given the na... | **paste this formula into `O2` cell and then drag it down:**
```
=SUM(B2, C2, D2, IF(AND(F2>0, F2<1000), 3,
IF(AND(F2>=1000, F2<1500), 2,
IF(AND(F2>=1500, F2<2000), 3, ))), IF(G2="yes", 1, ),
IF(H2="yes", 1, ),
... |
124,397 | <p>My question is similar to <a href="https://webapps.stackexchange.com/questions/19927/forcing-uniqueness-in-a-google-spreadsheets-column">this one</a>, but adds a little more complexity.</p>
<p>How can I flag duplicate entries in a Google Sheets column unless the duplicates have different values in another column? F... | [
{
"answer_id": 124367,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": -1,
"selected": false,
"text": "<ul>\n<li>just follow these steps and delete them all:</li>\n</ul>\n\n<blockquote>\n <p><a href=\"https://i.stac... | 2019/01/21 | [
"https://webapps.stackexchange.com/questions/124397",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/175514/"
] | My question is similar to [this one](https://webapps.stackexchange.com/questions/19927/forcing-uniqueness-in-a-google-spreadsheets-column), but adds a little more complexity.
How can I flag duplicate entries in a Google Sheets column unless the duplicates have different values in another column? For instance, consider... | To delete someone else account, you must have their email address or username and password. First you need to login into that account to delete that.
If you have your daughter's all accounts login credentials, you can delete her accounts one by one.
From [Instagram Help Page](https://help.instagram.com/37045262314924... |
124,429 | <p>I have found a similar question here:<br>
<a href="https://webapps.stackexchange.com/questions/91944/how-to-make-google-sheet-jump-to-todays-column-when-opened">How to make Google Sheet jump to today's column when opened?</a></p>
<p>I want to do a similar thing, but I have the dates in row 5 not in the column. ... | [
{
"answer_id": 124399,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 3,
"selected": true,
"text": "<ul>\n<li>go to <strong><a href=\"https://bitly.com/\" rel=\"nofollow noreferrer\">https://bitly.com/</a></strong><... | 2019/01/22 | [
"https://webapps.stackexchange.com/questions/124429",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/206021/"
] | I have found a similar question here:
[How to make Google Sheet jump to today's column when opened?](https://webapps.stackexchange.com/questions/91944/how-to-make-google-sheet-jump-to-todays-column-when-opened)
I want to do a similar thing, but I have the dates in row 5 not in the column. I tried several times to m... | * go to **<https://bitly.com/>**
* create a free account
* click on that orange button **CREATE**
* select **BITLINK**
* paste your meeting URL
* customize it as you wish (example: **`bit.ly/lets-meet-now`**)
* click on **SAVE** button
[](https://i.stack.imgur.com/gNOnX.png) |
124,481 | <p>I have a table which looks like this: </p>
<p><a href="https://i.stack.imgur.com/QhBVY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QhBVY.png" alt="1"></a></p>
<p>And formula in cell B3: <code>=IF(A3>5, B2, B2+1)</code> and on every next row a corresponding variation of this formula.</p>
... | [
{
"answer_id": 124574,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p>probably not the answer OP is looking for, but here are some examples how to construct <strong><code>ARRAYFORMU... | 2019/01/23 | [
"https://webapps.stackexchange.com/questions/124481",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/206167/"
] | I have a table which looks like this:
[](https://i.stack.imgur.com/QhBVY.png)
And formula in cell B3: `=IF(A3>5, B2, B2+1)` and on every next row a corresponding variation of this formula.
I would like to know how to create ArrayFormula variant of this formula:
```
=IF(A3>5... | `=ArrayFormula({"Result";IF(A2:A="","",COUNTIFS(ROW(A2:A),"<="&ROW(A2:A),A2:A,"<=5"))})` |
124,485 | <p>I’m pulling Free Cash Flow Data from Morningstar to Google Spreadsheet.</p>
<p>I have formula:</p>
<pre><code>=IMPORTREGEX("http://financials.morningstar.com/ajax/exportKR2CSV.html?&callback=?&t="&B4,"Free Cash Flow ... Mil,(.*)\s")
</code></pre>
<p>In column B there are more than 100 tickers. I get ... | [
{
"answer_id": 124574,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p>probably not the answer OP is looking for, but here are some examples how to construct <strong><code>ARRAYFORMU... | 2019/01/23 | [
"https://webapps.stackexchange.com/questions/124485",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207368/"
] | I’m pulling Free Cash Flow Data from Morningstar to Google Spreadsheet.
I have formula:
```
=IMPORTREGEX("http://financials.morningstar.com/ajax/exportKR2CSV.html?&callback=?&t="&B4,"Free Cash Flow ... Mil,(.*)\s")
```
In column B there are more than 100 tickers. I get the data in this form to column C (US, and . S... | `=ArrayFormula({"Result";IF(A2:A="","",COUNTIFS(ROW(A2:A),"<="&ROW(A2:A),A2:A,"<=5"))})` |
124,490 | <p>This may be too specific of a formula, but I'm hoping there is a function or script that will accomplish it.</p>
<p>I need a Google Sheet to identify the largest number in a row and divide all of the OTHER numbers by 2, then add the entire row together.</p>
<p><strong>Example:</strong> Row 1 has the following numb... | [
{
"answer_id": 124494,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p><b><pre><code>=SUM(MAX(SPLIT(B12; \", \")); ARRAYFORMULA(QUERY(TRANSPOSE(SPLIT(B12; \", \")); \n \"select Col1 ... | 2019/01/23 | [
"https://webapps.stackexchange.com/questions/124490",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207375/"
] | This may be too specific of a formula, but I'm hoping there is a function or script that will accomplish it.
I need a Google Sheet to identify the largest number in a row and divide all of the OTHER numbers by 2, then add the entire row together.
**Example:** Row 1 has the following numbers... 100, 200, and 300
I ... | **```
=SUM(MAX(B12:12), ARRAYFORMULA(QUERY(TRANSPOSE(B12:12),
"select Col1 where not Col1 contains '"&MAX(B12:12)&"'")/2))
```**
[](https://i.stack.imgur.com/ScYxd.png) |
124,496 | <p>I have this formula in E2: <code>=FILTER(A1:C20,B1:B20=2)</code> and need to perform substitute like:</p>
<p><a href="https://i.stack.imgur.com/RTVnO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RTVnO.png" alt="1"></a></p>
<p><a href="https://docs.google.com/spreadsheets/d/1GMXdSMlti4mxXJmpMP... | [
{
"answer_id": 124494,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p><b><pre><code>=SUM(MAX(SPLIT(B12; \", \")); ARRAYFORMULA(QUERY(TRANSPOSE(SPLIT(B12; \", \")); \n \"select Col1 ... | 2019/01/23 | [
"https://webapps.stackexchange.com/questions/124496",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/206167/"
] | I have this formula in E2: `=FILTER(A1:C20,B1:B20=2)` and need to perform substitute like:
[](https://i.stack.imgur.com/RTVnO.png)
[spreadsheet here](https://docs.google.com/spreadsheets/d/1GMXdSMlti4mxXJmpMPamveqwmu148FZz_MTLm2m9Cno/edit?usp=sharing)
I'm hoping to do the for... | **```
=SUM(MAX(B12:12), ARRAYFORMULA(QUERY(TRANSPOSE(B12:12),
"select Col1 where not Col1 contains '"&MAX(B12:12)&"'")/2))
```**
[](https://i.stack.imgur.com/ScYxd.png) |
124,526 | <p>I need to remove a duplicate text in a cell but only if it is longer than 4 characters.</p>
<p>I have this formula that only works for any types of duplicate words:</p>
<pre><code>=join(" ",unique(transpose(split(A1,", "))))
</code></pre>
<p>In this case, if a cell contains: </p>
<pre><code>W3-X500 Samsung Galax... | [
{
"answer_id": 124506,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<ul>\n<li><p><strong>either here: <a href=\"https://aboutme.google.com/u/0/#name\" rel=\"nofollow noreferrer\">htt... | 2019/01/24 | [
"https://webapps.stackexchange.com/questions/124526",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207435/"
] | I need to remove a duplicate text in a cell but only if it is longer than 4 characters.
I have this formula that only works for any types of duplicate words:
```
=join(" ",unique(transpose(split(A1,", "))))
```
In this case, if a cell contains:
```
W3-X500 Samsung Galaxy W3-X500 5 inches and 5 different colors
`... | * **either here: <https://aboutme.google.com/u/0/#name>**
[](https://i.stack.imgur.com/RzVLh.png)
* **or directly in [Contacts](https://contacts.google.com/other?hl=en-GB) (if you sending it to yourself from another account)**
[](https:... |
124,595 | <p>Say I have two tables. Table A (material requirements):</p>
<pre><code>product_id | material | required
1 | A | 0.5
1 | B | 0.7
2 | A | 0.2
3 | A | 0.12
</code></pre>
<p>And Table B (orders):</p>
<pre><code>order_id | product_id | quantity
1 |... | [
{
"answer_id": 124605,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": -1,
"selected": false,
"text": "<p><b></p>\n\n<ol>\n<li><p>if your second table looks like this:</p>\n\n<p><a href=\"https://i.stack.imgur.com/fC... | 2019/01/25 | [
"https://webapps.stackexchange.com/questions/124595",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207586/"
] | Say I have two tables. Table A (material requirements):
```
product_id | material | required
1 | A | 0.5
1 | B | 0.7
2 | A | 0.2
3 | A | 0.12
```
And Table B (orders):
```
order_id | product_id | quantity
1 | 1 | 100
2 | 2 ... | * **one-cell solution (paste in D1):**
**```
={"material", "required", "total";
ARRAYFORMULA(IFERROR(VLOOKUP(B2:B, Sheet2!A2:C, {2,3}, 0), )),
ARRAYFORMULA(IF(LEN(A2:A), C2:C*VLOOKUP(B2:B, Sheet2!A2:C, 3, 0), ))}
```**
[](https://i.stack.imgur.com/JWT21.png)
* **if you want ... |
124,628 | <p>I have a row of figures from 0 to 2, some cells are empty. I need to count an average for them, but with the rule that would count 2 as 1.
Thanks</p>
| [
{
"answer_id": 124605,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": -1,
"selected": false,
"text": "<p><b></p>\n\n<ol>\n<li><p>if your second table looks like this:</p>\n\n<p><a href=\"https://i.stack.imgur.com/fC... | 2019/01/26 | [
"https://webapps.stackexchange.com/questions/124628",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207670/"
] | I have a row of figures from 0 to 2, some cells are empty. I need to count an average for them, but with the rule that would count 2 as 1.
Thanks | * **one-cell solution (paste in D1):**
**```
={"material", "required", "total";
ARRAYFORMULA(IFERROR(VLOOKUP(B2:B, Sheet2!A2:C, {2,3}, 0), )),
ARRAYFORMULA(IF(LEN(A2:A), C2:C*VLOOKUP(B2:B, Sheet2!A2:C, 3, 0), ))}
```**
[](https://i.stack.imgur.com/JWT21.png)
* **if you want ... |
124,650 | <p>Basically, here is what I need a working formula for:</p>
<p>If cell C1:C25 is <code>"True"</code> and cell A1:A25 is <code>Y</code> then add <code>1</code> to D1<br>
If cell C1:C25 is <code>"True"</code> and cell A1:A25 is <code>N</code> then add <code>0.5</code> to D1<br>
If cell C1:C25 is <code>"False"</code> ad... | [
{
"answer_id": 124605,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": -1,
"selected": false,
"text": "<p><b></p>\n\n<ol>\n<li><p>if your second table looks like this:</p>\n\n<p><a href=\"https://i.stack.imgur.com/fC... | 2019/01/26 | [
"https://webapps.stackexchange.com/questions/124650",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207704/"
] | Basically, here is what I need a working formula for:
If cell C1:C25 is `"True"` and cell A1:A25 is `Y` then add `1` to D1
If cell C1:C25 is `"True"` and cell A1:A25 is `N` then add `0.5` to D1
If cell C1:C25 is `"False"` add nothing to D1 | * **one-cell solution (paste in D1):**
**```
={"material", "required", "total";
ARRAYFORMULA(IFERROR(VLOOKUP(B2:B, Sheet2!A2:C, {2,3}, 0), )),
ARRAYFORMULA(IF(LEN(A2:A), C2:C*VLOOKUP(B2:B, Sheet2!A2:C, 3, 0), ))}
```**
[](https://i.stack.imgur.com/JWT21.png)
* **if you want ... |
124,658 | <p>I have the next year mapped out (one line for each day) and have the week subtotal at the end of each week (which is a Friday).</p>
<p>I am wanting the Next weeks subtotal to show in another cell for that week. For example, now that we have passed the 25-Jan it will then show the next subtotal (being 1-Feb), then w... | [
{
"answer_id": 124815,
"author": "Brian Carlton",
"author_id": 4460,
"author_profile": "https://webapps.stackexchange.com/users/4460",
"pm_score": 0,
"selected": false,
"text": "<p>I haven't found a way to do this. A work around is</p>\n\n<ol>\n<li>Open Favorites album.</li>\n<li>Select ... | 2019/01/27 | [
"https://webapps.stackexchange.com/questions/124658",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207677/"
] | I have the next year mapped out (one line for each day) and have the week subtotal at the end of each week (which is a Friday).
I am wanting the Next weeks subtotal to show in another cell for that week. For example, now that we have passed the 25-Jan it will then show the next subtotal (being 1-Feb), then when the 2-... | You can select all the photos by selecting the first one, then holding down shift, then selecting the last one.
Create a new album with this selection. |
124,697 | <p>I try to randomly pair people into unique pairs.</p>
<p>I have two columns one with helping values created via <code>Rand()</code> and one that ranks upon these values with </p>
<pre><code>=INDEX($A$2:$A$164,RANK(S2,$S$2:$S$164))
</code></pre>
<p>However, this results in a lot of duplicates and circles in the two... | [
{
"answer_id": 124670,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": -1,
"selected": false,
"text": "<p><b><pre><code>={{A1:C1}; {IFERROR(ARRAYFORMULA(VLOOKUP(QUERY(QUERY({QUERY(QUERY(A2:C,\n \"select *\", 0),\n ... | 2019/01/28 | [
"https://webapps.stackexchange.com/questions/124697",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207821/"
] | I try to randomly pair people into unique pairs.
I have two columns one with helping values created via `Rand()` and one that ranks upon these values with
```
=INDEX($A$2:$A$164,RANK(S2,$S$2:$S$164))
```
However, this results in a lot of duplicates and circles in the two pairs:
1. Phillip - Hendrik
2. Fran - Lucy... | Wilson. Here is another approach (assuming the date is in A1:C):
**`=ArrayFormula(IFERROR(VLOOKUP(UNIQUE(A:A),QUERY(A:C,"Select * Order By B Desc",1),{1, 2, 3},FALSE)))`**
Just be sure to format the resulting date column as dates, since by default is will use the raw number format of the data (i.e., the number of day... |
124,736 | <p><a href="https://i.stack.imgur.com/orBoa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/orBoa.jpg" alt="enter image description here"></a></p>
<p>There are values from <code>F</code> column to <code>AJ</code> column in row 30. My input would be available in <code>C</code> column in row 30. As gi... | [
{
"answer_id": 124742,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p><b><pre><code>=IFERROR(SUBSTITUTE(ADDRESS(1, VLOOKUP(C30, \n {ARRAYFORMULA(QUERY(TRANSPOSE(F30:AJ30), \"Select ... | 2019/01/28 | [
"https://webapps.stackexchange.com/questions/124736",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207909/"
] | [](https://i.stack.imgur.com/orBoa.jpg)
There are values from `F` column to `AJ` column in row 30. My input would be available in `C` column in row 30. As given in the picture, my input would be `118.45`, I would like to find the closest value to `118... | Presuming you only care about the absolute shortest distance to the entered number, the below should work:
```
=ADDRESS(ROW(),COLUMN()+
MATCH(ARRAY_CONSTRAIN(
SORT(ArrayFormula({TRANSPOSE(C30:30),ABS(TRANSPOSE(C30:30)-A30)}),2,1),1,1),C30:30,0),4)
```
The idea is to create a "Table" with the list of values in the fi... |
124,746 | <p>I'm trying to make an array formula to detect the number of English characters in a range.</p>
<p>When I use the following for individual cells:</p>
<pre><code>=IF(DETECTLANGUAGE(ARRAYFORMULA(A5:A))="en",LEN(ARRAYFORMULA(A5:A)),0)
</code></pre>
<p>I get the correct values, but it only works when I extend the cell... | [
{
"answer_id": 124747,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p><b><pre><code>=IFERROR(ARRAYFORMULA(IF(LEN(A5:A), \n IF({DETECTLANGUAGE(A5)=\"en\";\n DETECTLANGUAGE(A6)=\"... | 2019/01/29 | [
"https://webapps.stackexchange.com/questions/124746",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207922/"
] | I'm trying to make an array formula to detect the number of English characters in a range.
When I use the following for individual cells:
```
=IF(DETECTLANGUAGE(ARRAYFORMULA(A5:A))="en",LEN(ARRAYFORMULA(A5:A)),0)
```
I get the correct values, but it only works when I extend the cells manually (but I want it to work... | Hmm, based on the documentation for [Detectlanguage](https://support.google.com/docs/answer/3093278?hl=en), it doesn't look like you can feed it a range.
The best it seems you can do is define it as an array formula and check each line you wish to check, but that won't really work for an arbitrarily large array.
---
... |
124,753 | <p>Here is what I am doing:</p>
<pre><code>=IF('unique stock'!C11<=0,'unique stock'!C11,"")
</code></pre>
<p>and this goes on...</p>
<pre><code>=IF('unique stock'!C22<=0,'unique stock'!C22,"")
=IF('unique stock'!C33<=0,'unique stock'!C33,"")
=IF('unique stock'!C44<=0,'unique stock'!C44,"")
</code></pre>
... | [
{
"answer_id": 124754,
"author": "Forward Ed",
"author_id": 123079,
"author_profile": "https://webapps.stackexchange.com/users/123079",
"pm_score": 1,
"selected": false,
"text": "<p>In excel you could use the following for a cell reference that would start at C11 and Jump by 11 for each ... | 2019/01/25 | [
"https://webapps.stackexchange.com/questions/124753",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | Here is what I am doing:
```
=IF('unique stock'!C11<=0,'unique stock'!C11,"")
```
and this goes on...
```
=IF('unique stock'!C22<=0,'unique stock'!C22,"")
=IF('unique stock'!C33<=0,'unique stock'!C33,"")
=IF('unique stock'!C44<=0,'unique stock'!C44,"")
```
Here, I am incrementing each cell by 11 rows manually. Pl... | In excel you could use the following for a cell reference that would start at C11 and Jump by 11 for each row copied down:
```
INDEX(C:C,ROW(A1)*11)
```
You just need to substitute it into your equation.
```
=IF(INDEX('unique stock'!C:C,ROW(A1)*11)<=0,INDEX('unique stock'!C:C,ROW(A1)*11),"")
```
I am not sure if ... |
124,758 | <p>Looking for help referencing another spreadsheet, where I want to lookup several values in cell A2, to see if the value is contained in the cell (as there are variations), then setup an else clause at the end.</p>
<p>First crack isn't parsing:</p>
<pre><code>=IF((SomeSheetName!A2=(REGEXMATCH("Johnny","Johnny")),
... | [
{
"answer_id": 124754,
"author": "Forward Ed",
"author_id": 123079,
"author_profile": "https://webapps.stackexchange.com/users/123079",
"pm_score": 1,
"selected": false,
"text": "<p>In excel you could use the following for a cell reference that would start at C11 and Jump by 11 for each ... | 2019/01/29 | [
"https://webapps.stackexchange.com/questions/124758",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207970/"
] | Looking for help referencing another spreadsheet, where I want to lookup several values in cell A2, to see if the value is contained in the cell (as there are variations), then setup an else clause at the end.
First crack isn't parsing:
```
=IF((SomeSheetName!A2=(REGEXMATCH("Johnny","Johnny")),
(SomeSheetName!A2=... | In excel you could use the following for a cell reference that would start at C11 and Jump by 11 for each row copied down:
```
INDEX(C:C,ROW(A1)*11)
```
You just need to substitute it into your equation.
```
=IF(INDEX('unique stock'!C:C,ROW(A1)*11)<=0,INDEX('unique stock'!C:C,ROW(A1)*11),"")
```
I am not sure if ... |
124,809 | <p>I need help with a query. I need to filter on some Google Form data and only show the results that have been submitted AFTER a specific timestamp.</p>
<p>Timestamp Cell = <code>J2</code> - This cell is in the following format <code>mm/dd/yyyy hh:mm:ss</code></p>
<p>Day Query - This one seems to work ok but its on... | [
{
"answer_id": 124814,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 3,
"selected": true,
"text": "<p><b><pre><code>=ARRAYFORMULA(VLOOKUP(TO_DATE(QUERY(VALUE(QUERY(FormResponses!A2:A, \n \"select *\", 0)), \n \"sel... | 2019/01/30 | [
"https://webapps.stackexchange.com/questions/124809",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/208107/"
] | I need help with a query. I need to filter on some Google Form data and only show the results that have been submitted AFTER a specific timestamp.
Timestamp Cell = `J2` - This cell is in the following format `mm/dd/yyyy hh:mm:ss`
Day Query - This one seems to work ok but its only at the day level.
```
=query(FormRes... | **```
=ARRAYFORMULA(VLOOKUP(TO_DATE(QUERY(VALUE(QUERY(FormResponses!A2:A,
"select *", 0)),
"select Col1 where Col1 > "&VALUE(J2), 0)),
{VALUE(FormResponses!A2:A), FormResponses!B2:G},
{1, 2, 3, 4, 5, 6, 7}, 0))
```**
[](https://i.stack.imgur.com/5716R.png) |
124,827 | <p>When attempting to use any literal strings in formulas I get a <code>Formula parse error</code> and <code>#ERROR!</code> in the column with the formula. For example: </p>
<pre><code>=IF(D43=“x”,MULTIPLY(E42,2)).
</code></pre>
<p>I’ve been told that there is something wrong with the quote marks around the litera... | [
{
"answer_id": 124828,
"author": "sageco",
"author_id": 207418,
"author_profile": "https://webapps.stackexchange.com/users/207418",
"pm_score": 0,
"selected": false,
"text": "<p>The iPad keyboard is using the \"typographic\" quotation marks. Excel expects the \"neutral\" one.</p>\n\n<p>T... | 2019/01/31 | [
"https://webapps.stackexchange.com/questions/124827",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/208150/"
] | When attempting to use any literal strings in formulas I get a `Formula parse error` and `#ERROR!` in the column with the formula. For example:
```
=IF(D43=“x”,MULTIPLY(E42,2)).
```
I’ve been told that there is something wrong with the quote marks around the literal string `‘x’`. I am using an iPad keyboard. Any ... | On Apple devices, to get the CHAR(34) quote (i.e., "straight quote"), hold down the double-quote key on the keyboard. An alternatives popup will appear above. Slide your finger up into the alt menu and choose the straight quotes (usually far right). |
124,886 | <p>I'm creating a running target from a quarterly Total divided by known trading days</p>
<p>Current formula in I4 is <code>=IF(H3<>"",I3+O$30,"")</code></p>
<p>H3 = Yesterday's Sales Numbers<br>
I3 = Yesterdays Running Target<br>
O30 = Required Daily Run Rate</p>
<p>Column C is a Date Column</p>
<p>I want th... | [
{
"answer_id": 124893,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<ul>\n<li><p>not sure how your dates are generated but one way would be to use conditional formatting and setting ... | 2019/02/02 | [
"https://webapps.stackexchange.com/questions/124886",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207677/"
] | I'm creating a running target from a quarterly Total divided by known trading days
Current formula in I4 is `=IF(H3<>"",I3+O$30,"")`
H3 = Yesterday's Sales Numbers
I3 = Yesterdays Running Target
O30 = Required Daily Run Rate
Column C is a Date Column
I want the running target to show in I4 when it is Today (c... | * alternative aproach:
**```
=IF(AND(C4 < TODAY()+1, H3<>""), I3+O$30, )
```**
[](https://i.stack.imgur.com/SvnTC.png) |
124,938 | <pre><code>=IF(TIMEVALUE(H2)<=TIMEVALUE("00:01:00.000"), 150,
TIMEVALUE(H2)<=TIMEVALUE("00:01:30.000"),100,
IF(TIMEVALUE(H2)<=TIMEVALUE("00:02:00.000"), 75,
IF(TIMEVALUE(H2)<=TIMEVALUE("00:02:30.000"), 50,
IF(TIMEVALUE(H2)<=TIMEVALUE("00:03:00.000"), 40,
IF(TIMEVALUE(H2)<=TIMEVALUE("00:03:30.... | [
{
"answer_id": 124939,
"author": "Erik Tyler",
"author_id": 197265,
"author_profile": "https://webapps.stackexchange.com/users/197265",
"pm_score": 2,
"selected": false,
"text": "<p>Walter. Let me suggest an entirely different (and shorter) approach:</p>\n\n<p><code>=IF((TIMEVALUE(H2)*24... | 2019/02/04 | [
"https://webapps.stackexchange.com/questions/124938",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/208520/"
] | ```
=IF(TIMEVALUE(H2)<=TIMEVALUE("00:01:00.000"), 150,
TIMEVALUE(H2)<=TIMEVALUE("00:01:30.000"),100,
IF(TIMEVALUE(H2)<=TIMEVALUE("00:02:00.000"), 75,
IF(TIMEVALUE(H2)<=TIMEVALUE("00:02:30.000"), 50,
IF(TIMEVALUE(H2)<=TIMEVALUE("00:03:00.000"), 40,
IF(TIMEVALUE(H2)<=TIMEVALUE("00:03:30.000"), 35,
IF(TIMEVALUE... | Walter. Let me suggest an entirely different (and shorter) approach:
`=IF((TIMEVALUE(H2)*24*60)>5,0,CHOOSE(CEILING(((TIMEVALUE(H2)-TIMEVALUE("00:00:30"))*24*60),0.5)/0.5,150,100,75,50,40,35,30,25,25,0))`
or displayed differently:
`=IF(
(TIMEVALUE(H2)*24*60)>5,0,
CHOOSE(
CEILING(((TIMEVALUE(H2)-TIMEVALUE("00:00:30"))... |
124,950 | <p>I have a document that's a recurring CSV import/export.
I'm trying to concatenate images separated by ", " and using <code>ARRAYFORMULA</code> to make it all the way down.</p>
<p>The problem is, I don't know how many images there will be, but I know the maximum is <code>15</code>. So if I concatenate, by for instan... | [
{
"answer_id": 124952,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 2,
"selected": false,
"text": "<p><b><pre><code>=ARRAYFORMULA(TRANSPOSE(SPLIT(TEXTJOIN(\"♪\", 1, \n QUERY(TRANSPOSE(IF(B2:Z<>\"\", B2:Z&\"... | 2019/02/04 | [
"https://webapps.stackexchange.com/questions/124950",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/208557/"
] | I have a document that's a recurring CSV import/export.
I'm trying to concatenate images separated by ", " and using `ARRAYFORMULA` to make it all the way down.
The problem is, I don't know how many images there will be, but I know the maximum is `15`. So if I concatenate, by for instance using `A1+A2...+A15`, I will ... | **```
=ARRAYFORMULA(TRANSPOSE(SPLIT(TEXTJOIN("♪", 1,
QUERY(TRANSPOSE(IF(B2:Z<>"", B2:Z&",", )),
"select *", ROWS(B2:B))), "♪", 0)))
```**
[](https://i.stack.imgur.com/ez4kz.png) |
124,985 | <p>I have a really big database that I have to sort and divide as the example below:</p>
<pre><code> F1 F2 F3 C1 C2 C3 C4 results
P1 X X X X X P1 F1 C1
P2 X X X X P1 F3 C1
P3 X X... | [
{
"answer_id": 125018,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 2,
"selected": false,
"text": "<h1>step 1:</h1>\n\n<ul>\n<li><p>convert the dataset to an actual value holder</p>\n\n<p><b><pre><code>=ARRAYFORMU... | 2019/02/05 | [
"https://webapps.stackexchange.com/questions/124985",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/208643/"
] | I have a really big database that I have to sort and divide as the example below:
```
F1 F2 F3 C1 C2 C3 C4 results
P1 X X X X X P1 F1 C1
P2 X X X X P1 F3 C1
P3 X X X ... | Saem, assuming your label "P1" is in A2, your label "F1" is in B1, and your label "C1" is in F1, the following array formula should give the results you want:
`=ArrayFormula({SPLIT(TRANSPOSE(SPLIT(TEXTJOIN("\", TRUE, IF(B2:D4="x", REPT(A2:A4&" "&B1:D1&"\", MMULT(N(F2:I4="x"), TRANSPOSE(COLUMN(F1:I1)^0))), "")), "\")),... |
125,028 | <p>I currently have 3 sheets (tabs) in a Google Sheets workbook. Each column header (Row 1) in the 3 sheets are identical. I'd like to create a 4th sheet that combines ALL the contents in the 3 sheets that looks like:</p>
<pre><code>Sheet 1
Sheet 2
Sheet 3
</code></pre>
<p>What's the best way to accomplish this? If e... | [
{
"answer_id": 125009,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<p>You are limited to 50 channels maximum. If you want to have more, you can use special tricks. For example, you ... | 2019/02/01 | [
"https://webapps.stackexchange.com/questions/125028",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/-1/"
] | I currently have 3 sheets (tabs) in a Google Sheets workbook. Each column header (Row 1) in the 3 sheets are identical. I'd like to create a 4th sheet that combines ALL the contents in the 3 sheets that looks like:
```
Sheet 1
Sheet 2
Sheet 3
```
What's the best way to accomplish this? If easier, I do not mind havin... | As per [Kyle2142's comment](https://github.com/telegramdesktop/tdesktop/issues/4883):
>
> Telegram has a limit of 500 supergroups per account.
>
>
>
This is the limit of Telegram API, not the client.
The private group doesn't count, as I can still create a new one, despite of the limit. |
125,068 | <p>I’m having a problem with the <code>=QUERY(IMPORTRANGE())</code> formula while retrieving a column data from one spreadsheet to another.</p>
<pre><code>=QUERY(IMPORTRANGE("spreedsheetURL","Sheet1!A2"),"select Col2 WHERE Col1 Contains B3")
</code></pre>
<p>I want to retrieve data from the column2 spreadsheet(A) to ... | [
{
"answer_id": 125009,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<p>You are limited to 50 channels maximum. If you want to have more, you can use special tricks. For example, you ... | 2019/02/07 | [
"https://webapps.stackexchange.com/questions/125068",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/208843/"
] | I’m having a problem with the `=QUERY(IMPORTRANGE())` formula while retrieving a column data from one spreadsheet to another.
```
=QUERY(IMPORTRANGE("spreedsheetURL","Sheet1!A2"),"select Col2 WHERE Col1 Contains B3")
```
I want to retrieve data from the column2 spreadsheet(A) to column2 spreadsheet(B)
where column1... | As per [Kyle2142's comment](https://github.com/telegramdesktop/tdesktop/issues/4883):
>
> Telegram has a limit of 500 supergroups per account.
>
>
>
This is the limit of Telegram API, not the client.
The private group doesn't count, as I can still create a new one, despite of the limit. |
125,087 | <p>Sorry, I didn't know how to summarize it in the title. Basically, I have a spreadsheet where I'm keeping track of the number of images that need to be on each page of a document I'm working on. </p>
<p>On the first tab, I have a sheet to keep track of how many images are on each page. On the second tab, I have a sh... | [
{
"answer_id": 125090,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<ul>\n<li><strong>formula for 63 input rows - paste in <code>Concepts!A1</code> cell (format column <code>A</code>... | 2019/02/07 | [
"https://webapps.stackexchange.com/questions/125087",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/208892/"
] | Sorry, I didn't know how to summarize it in the title. Basically, I have a spreadsheet where I'm keeping track of the number of images that need to be on each page of a document I'm working on.
On the first tab, I have a sheet to keep track of how many images are on each page. On the second tab, I have a sheet to wri... | * create a hidden auxiliary sheet (let's call it **`AUX`**)
* paste this formula into **A1** and drag down (when done - hide sheet)
**```
=IF(LEN(Main!A1), ARRAYFORMULA(IFERROR(TO_TEXT(TRANSPOSE(
SPLIT(Main!A1&"-"&ROW(INDIRECT("A1:A"&Main!B1))&" ", " "))), )), )
```**
[](https... |
125,089 | <p>Given <strong>work hours</strong> for each <em>weekday</em> (let's say 9:00:00-17:00:00 Monday through Friday), a <strong>start timestamp</strong> (e.g., 1/15/2019 6:15:15) and <strong>end timestamp</strong> (e.g., 1/21/2019 14:35:10)...</p>
<p>How can I get the <strong>total work hours</strong> between start and e... | [
{
"answer_id": 125090,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<ul>\n<li><strong>formula for 63 input rows - paste in <code>Concepts!A1</code> cell (format column <code>A</code>... | 2019/02/07 | [
"https://webapps.stackexchange.com/questions/125089",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/208899/"
] | Given **work hours** for each *weekday* (let's say 9:00:00-17:00:00 Monday through Friday), a **start timestamp** (e.g., 1/15/2019 6:15:15) and **end timestamp** (e.g., 1/21/2019 14:35:10)...
How can I get the **total work hours** between start and end, *excluding all other hours* (i.e., weekends, 17:00:01-8:59:59)?
... | * create a hidden auxiliary sheet (let's call it **`AUX`**)
* paste this formula into **A1** and drag down (when done - hide sheet)
**```
=IF(LEN(Main!A1), ARRAYFORMULA(IFERROR(TO_TEXT(TRANSPOSE(
SPLIT(Main!A1&"-"&ROW(INDIRECT("A1:A"&Main!B1))&" ", " "))), )), )
```**
[](https... |
125,119 | <p>I'm completely new to programming and I'm trying to write this ridiculous easy script but it just won't work.. Anyone who can help me out? </p>
<p>I think the script makes clear what I want to do but let met provide a short explanation: If cell1, cell2 and/or cell 3 is empty I want a red line to appear and if there... | [
{
"answer_id": 125150,
"author": "TheMaster",
"author_id": 165717,
"author_profile": "https://webapps.stackexchange.com/users/165717",
"pm_score": 2,
"selected": false,
"text": "<p><code>getValue</code> is a function definition in the <code>range</code> object. It'll never be empty. Invo... | 2019/02/08 | [
"https://webapps.stackexchange.com/questions/125119",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/208968/"
] | I'm completely new to programming and I'm trying to write this ridiculous easy script but it just won't work.. Anyone who can help me out?
I think the script makes clear what I want to do but let met provide a short explanation: If cell1, cell2 and/or cell 3 is empty I want a red line to appear and if there's somethi... | `getValue` is a function definition in the `range` object. It'll never be empty. Invoke your function by using `()` like `getValue()`.
```
Logger.log("getValue is a"+ cell1.getValue)
Logger.log("result of executing function getValue is"+ cell1.getValue())
``` |
125,177 | <p>I have a personal accounting sheet that is mainly accounting in Euros, but for every manual Euro (EUR) entry I do, I want to have that entry converted to USD in the previous column next to it automatically, fixed at that moment's EUR -> USD rate (and not fluctuate with the currency exchange rate over time), and roun... | [
{
"answer_id": 125180,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<ul>\n<li><strong>paste in cell E3 and drag down</strong></li>\n</ul>\n\n<p><b><pre><code>=IF(LEN(F3); ROUND(F3 * ... | 2019/02/10 | [
"https://webapps.stackexchange.com/questions/125177",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209107/"
] | I have a personal accounting sheet that is mainly accounting in Euros, but for every manual Euro (EUR) entry I do, I want to have that entry converted to USD in the previous column next to it automatically, fixed at that moment's EUR -> USD rate (and not fluctuate with the currency exchange rate over time), and rounded... | Formula variation without `ARRAYFORMULA`:
```
=IF(LEN(F3); ROUND(F3 * IFERROR(VLOOKUP(A3;
{DATEVALUE(QUERY(GOOGLEFINANCE("currency:eurusd"; "price"; A3; A3+1);
"select Col1 where Col1 is not null"; 0))\
QUERY(GOOGLEFINANCE("currency:eurusd"; "price"; A3; A3+1);
"select Col2 wher... |
125,186 | <p>In Google Sheets, I have a 'Freeze' on Column A. </p>
<p>I want the text in Column A, Row X to Conditionally Format as <strong>BOLD RED</strong>, while my cursor is on any cell for Row X.</p>
<p>Is there a way to manage that?</p>
| [
{
"answer_id": 125180,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<ul>\n<li><strong>paste in cell E3 and drag down</strong></li>\n</ul>\n\n<p><b><pre><code>=IF(LEN(F3); ROUND(F3 * ... | 2019/02/10 | [
"https://webapps.stackexchange.com/questions/125186",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209147/"
] | In Google Sheets, I have a 'Freeze' on Column A.
I want the text in Column A, Row X to Conditionally Format as **BOLD RED**, while my cursor is on any cell for Row X.
Is there a way to manage that? | Formula variation without `ARRAYFORMULA`:
```
=IF(LEN(F3); ROUND(F3 * IFERROR(VLOOKUP(A3;
{DATEVALUE(QUERY(GOOGLEFINANCE("currency:eurusd"; "price"; A3; A3+1);
"select Col1 where Col1 is not null"; 0))\
QUERY(GOOGLEFINANCE("currency:eurusd"; "price"; A3; A3+1);
"select Col2 wher... |
125,232 | <p>I have a Google Form that asks people to fill out their name, gender, and then their size preference for shirts and pants. The form automatically outputs the 2 sizes in separate columns. </p>
<p><a href="https://i.stack.imgur.com/t4ZtI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t4ZtI.png" al... | [
{
"answer_id": 125263,
"author": "Government Relations",
"author_id": 209349,
"author_profile": "https://webapps.stackexchange.com/users/209349",
"pm_score": 1,
"selected": false,
"text": "<p>If the cell values are entered as numbers, then you will be able to perform the functions you ar... | 2019/02/12 | [
"https://webapps.stackexchange.com/questions/125232",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209288/"
] | I have a Google Form that asks people to fill out their name, gender, and then their size preference for shirts and pants. The form automatically outputs the 2 sizes in separate columns.
[](https://i.stack.imgur.com/t4ZtI.png)
I want to combine the ... | If the cell values are entered as numbers, then you will be able to perform the functions you are requesting. I would first double-check to ensure that the values that are within the spreadsheet are formatted as numbers.
[](https://i.stack.imgur.com/... |
125,249 | <p>When I import this item via <code>IMPORTXML</code> and the spreadsheet locale is US (or other country that uses dot as decimal separator) it works fine:</p>
<pre><code>=IMPORTXML("http://bvmf.bmfbovespa.com.br/cias-listadas/empresas-listadas/ResumoEventosCorporativos.aspx?codigoCvm=19348&tab=3.0&idioma=pt-b... | [
{
"answer_id": 125252,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<ul>\n<li><p><strong>you can either correct it with</strong> <strong><code>*1E-11</code></strong>:</p>\n\n<p><b><p... | 2019/02/12 | [
"https://webapps.stackexchange.com/questions/125249",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/24123/"
] | When I import this item via `IMPORTXML` and the spreadsheet locale is US (or other country that uses dot as decimal separator) it works fine:
```
=IMPORTXML("http://bvmf.bmfbovespa.com.br/cias-listadas/empresas-listadas/ResumoEventosCorporativos.aspx?codigoCvm=19348&tab=3.0&idioma=pt-br#fechar-modal",
"//*[@id='ctl0... | * **you can either correct it with** **`*1E-11`**:
**```
=IMPORTXML("<http://bvmf.bmfbovespa.com.br/cias-listadas/empresas-listadas/ResumoEventosCorporativos.aspx?codigoCvm=19348&tab=3.0&idioma=pt-br#fechar-modal>";
"//*[@id='ctl00_contentPlaceHolderConteudo_grdBonificacao_ctl01_ctl12_lblPercOuFator']")
*1E-11
```**
... |
125,253 | <p>Hello does anybody know how to import the Bitcoin price in euro into a Google Sheets document by using the IMPORTXML function?</p>
<p>I am as far as I get the Bitcoin USD price -</p>
<pre><code>=IMPORTXML("https://coinmarketcap.com/currencies/bitcoin/";
"//span[@class='h2 text-semi-bold details-panel-item--price__... | [
{
"answer_id": 125252,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<ul>\n<li><p><strong>you can either correct it with</strong> <strong><code>*1E-11</code></strong>:</p>\n\n<p><b><p... | 2019/02/12 | [
"https://webapps.stackexchange.com/questions/125253",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209347/"
] | Hello does anybody know how to import the Bitcoin price in euro into a Google Sheets document by using the IMPORTXML function?
I am as far as I get the Bitcoin USD price -
```
=IMPORTXML("https://coinmarketcap.com/currencies/bitcoin/";
"//span[@class='h2 text-semi-bold details-panel-item--price__value']")
```
by in... | * **you can either correct it with** **`*1E-11`**:
**```
=IMPORTXML("<http://bvmf.bmfbovespa.com.br/cias-listadas/empresas-listadas/ResumoEventosCorporativos.aspx?codigoCvm=19348&tab=3.0&idioma=pt-br#fechar-modal>";
"//*[@id='ctl00_contentPlaceHolderConteudo_grdBonificacao_ctl01_ctl12_lblPercOuFator']")
*1E-11
```**
... |
125,257 | <p>I have over 500 contacts in Google. I am wanting to list all the contacts that are associated with a particular company into a sheet. When I run the following script, I receive a timeout error.</p>
<pre><code> function Step2_Contacts(x){
//Adding Contact information
var x = "Company Name";
var ss = Spreads... | [
{
"answer_id": 125252,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<ul>\n<li><p><strong>you can either correct it with</strong> <strong><code>*1E-11</code></strong>:</p>\n\n<p><b><p... | 2019/02/12 | [
"https://webapps.stackexchange.com/questions/125257",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209349/"
] | I have over 500 contacts in Google. I am wanting to list all the contacts that are associated with a particular company into a sheet. When I run the following script, I receive a timeout error.
```
function Step2_Contacts(x){
//Adding Contact information
var x = "Company Name";
var ss = SpreadsheetApp.getAct... | * **you can either correct it with** **`*1E-11`**:
**```
=IMPORTXML("<http://bvmf.bmfbovespa.com.br/cias-listadas/empresas-listadas/ResumoEventosCorporativos.aspx?codigoCvm=19348&tab=3.0&idioma=pt-br#fechar-modal>";
"//*[@id='ctl00_contentPlaceHolderConteudo_grdBonificacao_ctl01_ctl12_lblPercOuFator']")
*1E-11
```**
... |
125,329 | <p>If I have a Google Sheets document (Workbook in Excel terms) with 20 sheets (Worksheet in Excel terms) and I want to rearrange the order of the sheets currently the only way I know to do this is to drag them horizontally. </p>
<p>This works fine when you have a few sheets, but with 20 or more sheets its very slow i... | [
{
"answer_id": 125330,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p>No, this is the only way to shuffle the individual sheets on the sheet bar.</p>\n\n<p><sub><strong>Note:</stron... | 2019/02/14 | [
"https://webapps.stackexchange.com/questions/125329",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/21773/"
] | If I have a Google Sheets document (Workbook in Excel terms) with 20 sheets (Worksheet in Excel terms) and I want to rearrange the order of the sheets currently the only way I know to do this is to drag them horizontally.
This works fine when you have a few sheets, but with 20 or more sheets its very slow if I want t... | You could use Google Apps Script to reorder the sheets. First you should activate the sheet to move, either manually or by the script, then use the moveActiveSheet(position) method of the Class Spreadsheet.
Example
This moves the active sheet to the position 1
```
function moveSheetToPos1(){
SpreadsheetApp.getActi... |
125,364 | <p>Trying to search a row for a given value, but want to make an <code>ARRAYFORMULA</code> so that every time a new row is added the search will be performed on that row.</p>
<p>Currently using <code>=IF(COUNTIF($A2:$EI2,"="&EO$1)>0,1,0)</code> to search the row and if the value is found at least once return <c... | [
{
"answer_id": 125330,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p>No, this is the only way to shuffle the individual sheets on the sheet bar.</p>\n\n<p><sub><strong>Note:</stron... | 2019/02/15 | [
"https://webapps.stackexchange.com/questions/125364",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209649/"
] | Trying to search a row for a given value, but want to make an `ARRAYFORMULA` so that every time a new row is added the search will be performed on that row.
Currently using `=IF(COUNTIF($A2:$EI2,"="&EO$1)>0,1,0)` to search the row and if the value is found at least once return `1`, else return `0`. That way I have a v... | You could use Google Apps Script to reorder the sheets. First you should activate the sheet to move, either manually or by the script, then use the moveActiveSheet(position) method of the Class Spreadsheet.
Example
This moves the active sheet to the position 1
```
function moveSheetToPos1(){
SpreadsheetApp.getActi... |
125,365 | <p>I have a list of 2019 dates (col A) and holiday dates (col G). Wherever there's a date in col A that matches any date in the range G2:G20, I would like to highlight it in grey. See this <a href="https://docs.google.com/spreadsheets/d/1Iyprfjy4NmbKy-_9_aEN2OD04yDzc5EH5slWRQUsqn0/edit?usp=sharing" rel="nofollow norefe... | [
{
"answer_id": 125330,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p>No, this is the only way to shuffle the individual sheets on the sheet bar.</p>\n\n<p><sub><strong>Note:</stron... | 2019/02/15 | [
"https://webapps.stackexchange.com/questions/125365",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/197046/"
] | I have a list of 2019 dates (col A) and holiday dates (col G). Wherever there's a date in col A that matches any date in the range G2:G20, I would like to highlight it in grey. See this [sample spreadsheet](https://docs.google.com/spreadsheets/d/1Iyprfjy4NmbKy-_9_aEN2OD04yDzc5EH5slWRQUsqn0/edit?usp=sharing)
So far I h... | You could use Google Apps Script to reorder the sheets. First you should activate the sheet to move, either manually or by the script, then use the moveActiveSheet(position) method of the Class Spreadsheet.
Example
This moves the active sheet to the position 1
```
function moveSheetToPos1(){
SpreadsheetApp.getActi... |
125,432 | <p>The below query returns <code>#VALUE</code> error when the column H is completely empty:</p>
<pre><code>=QUERY('Input Longo'!A8:S;"SELECT '000', A, B, C, D, E, ' ', F, ' ', ' ', ' ', G, ' ', ' ', ' ', '"&TEXT('Input Longo'!A4;"dd/mm/yyyy")&"', H*"&substitute('Input Longo'!A5;","; ".... | [
{
"answer_id": 125390,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<ul>\n<li>go to: <strong><code>chrome://settings/searchEngines</code></strong></li>\n<li>and set: \n<b><pre><code>... | 2019/02/17 | [
"https://webapps.stackexchange.com/questions/125432",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209643/"
] | The below query returns `#VALUE` error when the column H is completely empty:
```
=QUERY('Input Longo'!A8:S;"SELECT '000', A, B, C, D, E, ' ', F, ' ', ' ', ' ', G, ' ', ' ', ' ', '"&TEXT('Input Longo'!A4;"dd/mm/yyyy")&"', H*"&substitute('Input Longo'!A5;","; ".")&"
WHERE H IS NOT NULL
LABEL '00... | In the end I've decided to [reset Chrome back to its defaults](https://support.google.com/chromebook/answer/3296214?hl=en), when you do that all extensions are automatically disabled. Everything appeared to be fixed but when I enabled them again I was back to the old layout.
Turns out I had an extension called Quick J... |
125,459 | <p>There are some people that love to troll and spam my Google spreadsheet with useless info. Google Sheet lacks granular permission restriction.</p>
<p>I need to prevent duplicate data from being submitted. I can prevent manual duplicate data entry by setting Data Validation with a custom formula:</p>
<pre><code>=co... | [
{
"answer_id": 125461,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<ul>\n<li><p>you can lock down the spreadsheet:</p>\n\n<p><a href=\"https://i.stack.imgur.com/1Bsjp.png\" rel=\"no... | 2019/02/18 | [
"https://webapps.stackexchange.com/questions/125459",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209878/"
] | There are some people that love to troll and spam my Google spreadsheet with useless info. Google Sheet lacks granular permission restriction.
I need to prevent duplicate data from being submitted. I can prevent manual duplicate data entry by setting Data Validation with a custom formula:
```
=countif(A$1:A1,A1)=1
`... | * you can lock down the spreadsheet:
[](https://i.stack.imgur.com/1Bsjp.png)
* you can protect the sheets
[](https://i.stack.imgur.com/GCjV6.png)
* if you need users to be able to make input then create a new spreadsheet for them with som... |
125,485 | <p>Sample <code>Sheet 1</code>:</p>
<pre><code> A B
1 a x
2 a y
3 a z
4 b i
5 b h
6 b w
</code></pre>
<hr>
<p>Formula result, in <code>Sheet 2</code>, I am looking for:</p>
<pre><code> A B C D
1 a x y z
2 b i h w
</code></pre>
| [
{
"answer_id": 125488,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 3,
"selected": true,
"text": "<p><b><pre><code>={UNIQUE(FILTER('Sheet 1'!A1:A, 'Sheet 1'!A1:A<>\"\")),\n ARRAYFORMULA(SPLIT(TRANSPOSE(\n QUE... | 2019/02/19 | [
"https://webapps.stackexchange.com/questions/125485",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/140546/"
] | Sample `Sheet 1`:
```
A B
1 a x
2 a y
3 a z
4 b i
5 b h
6 b w
```
---
Formula result, in `Sheet 2`, I am looking for:
```
A B C D
1 a x y z
2 b i h w
``` | **```
={UNIQUE(FILTER('Sheet 1'!A1:A, 'Sheet 1'!A1:A<>"")),
ARRAYFORMULA(SPLIT(TRANSPOSE(
QUERY(TRANSPOSE(IF(TRANSPOSE(
QUERY(TRANSPOSE(
QUERY({'Sheet 1'!A1:B}, "select count(Col1)
where Col1 !=''
group by Col1
pivot Col2", 0)),... |
125,491 | <p>I have an assortment of cryptocurrency transactions over time. Various currency pairs at various prices. I need to figure out what the price of those currencies was, in Bitcoin, at the time that I purchased them.</p>
<p>The manual solution is to look up a historical price chart of each pair (ETH/BTC, LTC/BTC, XRP... | [
{
"answer_id": 125488,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 3,
"selected": true,
"text": "<p><b><pre><code>={UNIQUE(FILTER('Sheet 1'!A1:A, 'Sheet 1'!A1:A<>\"\")),\n ARRAYFORMULA(SPLIT(TRANSPOSE(\n QUE... | 2019/02/19 | [
"https://webapps.stackexchange.com/questions/125491",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/131801/"
] | I have an assortment of cryptocurrency transactions over time. Various currency pairs at various prices. I need to figure out what the price of those currencies was, in Bitcoin, at the time that I purchased them.
The manual solution is to look up a historical price chart of each pair (ETH/BTC, LTC/BTC, XRP/BTC, etc.) ... | **```
={UNIQUE(FILTER('Sheet 1'!A1:A, 'Sheet 1'!A1:A<>"")),
ARRAYFORMULA(SPLIT(TRANSPOSE(
QUERY(TRANSPOSE(IF(TRANSPOSE(
QUERY(TRANSPOSE(
QUERY({'Sheet 1'!A1:B}, "select count(Col1)
where Col1 !=''
group by Col1
pivot Col2", 0)),... |
125,496 | <p>It seems to me that GitHub analytics is not very accurate. </p>
<p>I have some repositories with 1-3 visits in 14 days, and one that gets 5-20 visitors a day.</p>
<p>Even for repositories that get little to no outside traffic, I might visit them a few times a week and still, analytics says 0 visits for those days.... | [
{
"answer_id": 125488,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 3,
"selected": true,
"text": "<p><b><pre><code>={UNIQUE(FILTER('Sheet 1'!A1:A, 'Sheet 1'!A1:A<>\"\")),\n ARRAYFORMULA(SPLIT(TRANSPOSE(\n QUE... | 2019/02/19 | [
"https://webapps.stackexchange.com/questions/125496",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209980/"
] | It seems to me that GitHub analytics is not very accurate.
I have some repositories with 1-3 visits in 14 days, and one that gets 5-20 visitors a day.
Even for repositories that get little to no outside traffic, I might visit them a few times a week and still, analytics says 0 visits for those days.
I'm questionin... | **```
={UNIQUE(FILTER('Sheet 1'!A1:A, 'Sheet 1'!A1:A<>"")),
ARRAYFORMULA(SPLIT(TRANSPOSE(
QUERY(TRANSPOSE(IF(TRANSPOSE(
QUERY(TRANSPOSE(
QUERY({'Sheet 1'!A1:B}, "select count(Col1)
where Col1 !=''
group by Col1
pivot Col2", 0)),... |
125,515 | <p>Sample data:</p>
<pre><code> A B C D E F
1 name handed in students assignments name missing
2 a 1 a 1 b 2
3 b 1 b 2 b 3
4 c 1 c 3 c 2
5 a 2
6 c 3
7 a 3 ... | [
{
"answer_id": 125528,
"author": "Francisco Luz",
"author_id": 140546,
"author_profile": "https://webapps.stackexchange.com/users/140546",
"pm_score": -1,
"selected": true,
"text": "<p><a href=\"https://docs.google.com/spreadsheets/d/1vHou_m7m5B5d0Fg_QRg2hgPU1ADxZ9RICEAnxL6aWjY/edit#gid=... | 2019/02/19 | [
"https://webapps.stackexchange.com/questions/125515",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/140546/"
] | Sample data:
```
A B C D E F
1 name handed in students assignments name missing
2 a 1 a 1 b 2
3 b 1 b 2 b 3
4 c 1 c 3 c 2
5 a 2
6 c 3
7 a 3
... | [Click here](https://docs.google.com/spreadsheets/d/1vHou_m7m5B5d0Fg_QRg2hgPU1ADxZ9RICEAnxL6aWjY/edit#gid=0) to see a demo.
Explanation:
* G and H shows all the possible combinations of C and D;
* "I" tell us which combination in G and H are not present in A and B;
* E2 queries G through I and returns the rows where ... |
125,540 | <p>For most orders, I have multiple deliveries under the same recipient ID and I need to compare <strong>whether everything ordered is really delivered</strong>. All products are divided by a comma and have always the same format. Only thing is there are 4 main types of products divided into 4 columns</p>
<p>The result... | [
{
"answer_id": 125561,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<h1><code>NOTE: This solution works only with unique items</code></h1>\n<h1>US syntax:</h1>\n<pre><code>=IF(ARRAYF... | 2019/02/20 | [
"https://webapps.stackexchange.com/questions/125540",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209920/"
] | For most orders, I have multiple deliveries under the same recipient ID and I need to compare **whether everything ordered is really delivered**. All products are divided by a comma and have always the same format. Only thing is there are 4 main types of products divided into 4 columns
The result should either be an `... | EU syntax:
==========
**```
=ARRAYFORMULA(IFERROR(TEXTJOIN(", "&CHAR(10); 1; CONCAT(CONCAT(
INDEX(QUERY({QUERY(QUERY(IFERROR({REGEXEXTRACT(
TRANSPOSE(SPLIT(TEXTJOIN(","; 1; SUBSTITUTE(B2:E2; ", "; ",")); ",")); "x(.+)")\
VALUE(REGEXEXTRACT(
TRANSPOSE(SPLIT(TEXTJOIN(","; 1; SUBSTITUTE(B2:E2; ", "; ",")); ",")); "\d... |
125,602 | <p>I mean to concatenate several columns, so use of <code>CONCATENATE</code> is preferred over <code>&</code> (here I post an example with only 3 columns).
For instance, D1 would contain <code>=CONCATENATE(A1:C1)</code>.
Then I would copy the formula down to D20 (e.g.)</p>
<pre><code> col A col B col C ... | [
{
"answer_id": 125604,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": -1,
"selected": false,
"text": "<p><b><pre><code>=ARRAYFORMULA(CONCAT(CONCAT(A1:A, B1:B), C1:C))</code></pre></b></p>\n\n<p><a href=\"https://i.s... | 2019/02/22 | [
"https://webapps.stackexchange.com/questions/125602",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/53294/"
] | I mean to concatenate several columns, so use of `CONCATENATE` is preferred over `&` (here I post an example with only 3 columns).
For instance, D1 would contain `=CONCATENATE(A1:C1)`.
Then I would copy the formula down to D20 (e.g.)
```
col A col B col C col D
row 1 ad fg re adfgre
row ... | **```
=ARRAYFORMULA(REGEXREPLACE(
TRANSPOSE(QUERY(TRANSPOSE({A3:F10;"","","","","",0}),"where Col1!=0"))," ",""))
```**
[](https://i.stack.imgur.com/UKmi8.png)
* this solution exploits the broken logic of **`QUERY`**. it can take a rectangular range as an argument and doesn't... |
125,614 | <p>New to scripting. Have a planner in Google sheets which is displayed on a monitor in the office.
I have a script to make it jump to today's date on open (found here). The planner is organized with 1st of January on top, 31st of December bottom. </p>
<p>I want to make the sheet open to today's date +10 (row), like ... | [
{
"answer_id": 125616,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 0,
"selected": false,
"text": "<p>try: <code>sheet.setActiveRange(range.offset(i,10,1,1))</code></p>\n\n<p>or: <code>sheet.setActiveRange(range.o... | 2019/02/22 | [
"https://webapps.stackexchange.com/questions/125614",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/210303/"
] | New to scripting. Have a planner in Google sheets which is displayed on a monitor in the office.
I have a script to make it jump to today's date on open (found here). The planner is organized with 1st of January on top, 31st of December bottom.
I want to make the sheet open to today's date +10 (row), like an offset ... | I think what you were looking for was:
```
sheet.setActiveRange(range.offset(i+10,0,1,1));
``` |
125,734 | <p>How can I see the number of comments made on a Google Doc?
Apart from manually counting them, of course...</p>
| [
{
"answer_id": 125746,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<ol>\n<li><p>Go to your document</p></li>\n<li><p>In the address/url/search box of your web browser replace the <code>e... | 2019/02/26 | [
"https://webapps.stackexchange.com/questions/125734",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/210619/"
] | How can I see the number of comments made on a Google Doc?
Apart from manually counting them, of course... | 1. Go to your document
2. In the address/url/search box of your web browser replace the `edit` from the document URL with `mobilebasic`
3. The comments will be numbered with letters.
Let a = 1, b = 2 and so on...
4. Go to the last comment.
If it has two letters:
Multiply the first number by 26 then add the second n... |
125,751 | <p>I have a formula that does exactly what I need except for that, for now, I need to manually expand the range for which it applies.<br>
What do I need to add so I only have this in one cell and it automatically applies for an infinite amount of rows?</p>
<pre><code>=AND(D3:D=TRUE;E3:E>0;F3:F>0)
</code></pre>
| [
{
"answer_id": 125746,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<ol>\n<li><p>Go to your document</p></li>\n<li><p>In the address/url/search box of your web browser replace the <code>e... | 2019/02/26 | [
"https://webapps.stackexchange.com/questions/125751",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/209920/"
] | I have a formula that does exactly what I need except for that, for now, I need to manually expand the range for which it applies.
What do I need to add so I only have this in one cell and it automatically applies for an infinite amount of rows?
```
=AND(D3:D=TRUE;E3:E>0;F3:F>0)
``` | 1. Go to your document
2. In the address/url/search box of your web browser replace the `edit` from the document URL with `mobilebasic`
3. The comments will be numbered with letters.
Let a = 1, b = 2 and so on...
4. Go to the last comment.
If it has two letters:
Multiply the first number by 26 then add the second n... |
125,753 | <p>I have a very overwhelming and large attendance sheet of 350+ people that I need to keep track of. I have a very simple attendance record of 0 if you weren't there and 1 if you were. For one of our events, in particular, people sign in through a Google sheet document. I would like to be able to take the names of the... | [
{
"answer_id": 125746,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<ol>\n<li><p>Go to your document</p></li>\n<li><p>In the address/url/search box of your web browser replace the <code>e... | 2019/02/26 | [
"https://webapps.stackexchange.com/questions/125753",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/210656/"
] | I have a very overwhelming and large attendance sheet of 350+ people that I need to keep track of. I have a very simple attendance record of 0 if you weren't there and 1 if you were. For one of our events, in particular, people sign in through a Google sheet document. I would like to be able to take the names of the pe... | 1. Go to your document
2. In the address/url/search box of your web browser replace the `edit` from the document URL with `mobilebasic`
3. The comments will be numbered with letters.
Let a = 1, b = 2 and so on...
4. Go to the last comment.
If it has two letters:
Multiply the first number by 26 then add the second n... |
125,762 | <p>I've been trying to grab some data from this webpage: <a href="https://seekingalpha.com/symbol/BZUN" rel="nofollow noreferrer">https://seekingalpha.com/symbol/BZUN</a>. I want to import the follower count (under the add to portfolio button) into a cell on google sheets. For example, the data I'd try to import under ... | [
{
"answer_id": 125746,
"author": "Community",
"author_id": -1,
"author_profile": "https://webapps.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<ol>\n<li><p>Go to your document</p></li>\n<li><p>In the address/url/search box of your web browser replace the <code>e... | 2019/02/26 | [
"https://webapps.stackexchange.com/questions/125762",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/210680/"
] | I've been trying to grab some data from this webpage: <https://seekingalpha.com/symbol/BZUN>. I want to import the follower count (under the add to portfolio button) into a cell on google sheets. For example, the data I'd try to import under this page would be the (**22,201** followers).
I think that I need to use `=... | 1. Go to your document
2. In the address/url/search box of your web browser replace the `edit` from the document URL with `mobilebasic`
3. The comments will be numbered with letters.
Let a = 1, b = 2 and so on...
4. Go to the last comment.
If it has two letters:
Multiply the first number by 26 then add the second n... |
125,939 | <p>I'm on a list-serv that gets emails from crons for several hundred servers. The volume of emails is about 1G/week, so to keep from bumping up against my 15G disk quota, I have to delete messages periodically. I have a filter in Gmail that adds the label 'label:inbox-zbark' to these.</p>
<p>I use a search like this ... | [
{
"answer_id": 127618,
"author": "granto",
"author_id": 215092,
"author_profile": "https://webapps.stackexchange.com/users/215092",
"pm_score": 0,
"selected": false,
"text": "<p>I don't know if you fixed this or not, but I was running into the same problem. If I choose to \"move\" the c... | 2019/03/03 | [
"https://webapps.stackexchange.com/questions/125939",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/211157/"
] | I'm on a list-serv that gets emails from crons for several hundred servers. The volume of emails is about 1G/week, so to keep from bumping up against my 15G disk quota, I have to delete messages periodically. I have a filter in Gmail that adds the label 'label:inbox-zbark' to these.
I use a search like this to find a ... | 1. Go to <https://script.google.com>
2. Create a new script
```
function deleteOldEmail() {
var batchSize = 100
while (true) {
var threads = GmailApp.search('before:2018/10/12');
for (j = 0; j < threads.length; j+=batchSize) {
GmailApp.moveThreadsToTrash(threads.slice(j, j+batchSize));
}
}
}
... |
125,946 | <p>When Startpage opens a page with search results the tab for the new page is labeled beginning with "Search results - Startpage" where the label fades out on the right hand side.</p>
<p>Whereas when I open search with DuckDuckGo or Google the search terms are listed in the tab label first.</p>
<p>After several sear... | [
{
"answer_id": 127618,
"author": "granto",
"author_id": 215092,
"author_profile": "https://webapps.stackexchange.com/users/215092",
"pm_score": 0,
"selected": false,
"text": "<p>I don't know if you fixed this or not, but I was running into the same problem. If I choose to \"move\" the c... | 2019/03/04 | [
"https://webapps.stackexchange.com/questions/125946",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/211197/"
] | When Startpage opens a page with search results the tab for the new page is labeled beginning with "Search results - Startpage" where the label fades out on the right hand side.
Whereas when I open search with DuckDuckGo or Google the search terms are listed in the tab label first.
After several search in Startpage I... | 1. Go to <https://script.google.com>
2. Create a new script
```
function deleteOldEmail() {
var batchSize = 100
while (true) {
var threads = GmailApp.search('before:2018/10/12');
for (j = 0; j < threads.length; j+=batchSize) {
GmailApp.moveThreadsToTrash(threads.slice(j, j+batchSize));
}
}
}
... |
125,982 | <p>I have a pivot table below that I am trying to filter dynamically based on a separate list and am trying to figure out how to do this by referencing the relevant field. In the below example I have the same data set and I would like to filter column B (referral) by G3:G4 (12.com and ab.com). Ideally, the final resu... | [
{
"answer_id": 127618,
"author": "granto",
"author_id": 215092,
"author_profile": "https://webapps.stackexchange.com/users/215092",
"pm_score": 0,
"selected": false,
"text": "<p>I don't know if you fixed this or not, but I was running into the same problem. If I choose to \"move\" the c... | 2019/03/05 | [
"https://webapps.stackexchange.com/questions/125982",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/211310/"
] | I have a pivot table below that I am trying to filter dynamically based on a separate list and am trying to figure out how to do this by referencing the relevant field. In the below example I have the same data set and I would like to filter column B (referral) by G3:G4 (12.com and ab.com). Ideally, the final result wo... | 1. Go to <https://script.google.com>
2. Create a new script
```
function deleteOldEmail() {
var batchSize = 100
while (true) {
var threads = GmailApp.search('before:2018/10/12');
for (j = 0; j < threads.length; j+=batchSize) {
GmailApp.moveThreadsToTrash(threads.slice(j, j+batchSize));
}
}
}
... |
125,993 | <p>Is there an "Archives" file? On my old email on my phone, when you swiped left, you deleted it, on Gmail, apparently you are sending it to Archives. While trying to search for the folder, and follow the instructions I found, I ended up archiving active email I need. I found it in "All Mail", but why ca I find JUS... | [
{
"answer_id": 125996,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 0,
"selected": false,
"text": "<p>On Gmail archiving an email means removing from Inbox, there isn't an \"Archives\" view/folder other than All Mai... | 2019/03/05 | [
"https://webapps.stackexchange.com/questions/125993",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/211340/"
] | Is there an "Archives" file? On my old email on my phone, when you swiped left, you deleted it, on Gmail, apparently you are sending it to Archives. While trying to search for the folder, and follow the instructions I found, I ended up archiving active email I need. I found it in "All Mail", but why ca I find JUST a li... | While there is no way to access a label or folder specifically for "Archived" email, you could do the following search in Gmail:
```
-in:inbox
```
This search basically means search for email that is currently "Not in Inbox." |
125,999 | <p>The Wayback Machine (<a href="https://web.archive.org" rel="nofollow noreferrer">https://web.archive.org</a>) is very useful for finding old versions of websites. Unfortunately, its front page has a bar of horizontally moving images that take a long time to load. Even worse, I can't use the Wayback Machine over the ... | [
{
"answer_id": 125996,
"author": "Rubén",
"author_id": 88163,
"author_profile": "https://webapps.stackexchange.com/users/88163",
"pm_score": 0,
"selected": false,
"text": "<p>On Gmail archiving an email means removing from Inbox, there isn't an \"Archives\" view/folder other than All Mai... | 2019/03/05 | [
"https://webapps.stackexchange.com/questions/125999",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/35251/"
] | The Wayback Machine (<https://web.archive.org>) is very useful for finding old versions of websites. Unfortunately, its front page has a bar of horizontally moving images that take a long time to load. Even worse, I can't use the Wayback Machine over the remote desktop because the horizontally moving images take too mu... | While there is no way to access a label or folder specifically for "Archived" email, you could do the following search in Gmail:
```
-in:inbox
```
This search basically means search for email that is currently "Not in Inbox." |
126,013 | <p>G Suite admins have the ability to make G Suite go harder on phishing attacks in an organization by ticking some checkboxes here and there, but there doesn't seem to be an ability to check incoming phishing emails and set specific rules for them based on content.</p>
<p>The issue is that phishers are targeting my c... | [
{
"answer_id": 127339,
"author": "Jesse Morehouse",
"author_id": 213863,
"author_profile": "https://webapps.stackexchange.com/users/213863",
"pm_score": 0,
"selected": false,
"text": "<p>The only solution I have found is to add a third party Google approved app such as Managed Methods or... | 2019/03/05 | [
"https://webapps.stackexchange.com/questions/126013",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/211375/"
] | G Suite admins have the ability to make G Suite go harder on phishing attacks in an organization by ticking some checkboxes here and there, but there doesn't seem to be an ability to check incoming phishing emails and set specific rules for them based on content.
The issue is that phishers are targeting my client's or... | The issue with your Content Compliance rule is you were picking the wrong locations. I also needed to accomplish this, and tried exactly what you did and got the same results - it didn't work. So I checked out Google's [Content Compliance](https://support.google.com/a/answer/1346934?hl=en&ref_topic=2683824) doc, and no... |
126,021 | <p>There are 3 columns in my google sheet with heading Start time (col C), End Time (col D) and time taken (col E). Column E is arrived by finding the difference between col D and col C. Now when I try to convert col E into seconds, I am not getting the required output. Pls help me in solving this query by having the c... | [
{
"answer_id": 126030,
"author": "knilkantha",
"author_id": 209274,
"author_profile": "https://webapps.stackexchange.com/users/209274",
"pm_score": 2,
"selected": true,
"text": "<p>Set your start and end fields to time format <code>(Format -> Number -> Time)</code> and your time di... | 2019/03/06 | [
"https://webapps.stackexchange.com/questions/126021",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/207909/"
] | There are 3 columns in my google sheet with heading Start time (col C), End Time (col D) and time taken (col E). Column E is arrived by finding the difference between col D and col C. Now when I try to convert col E into seconds, I am not getting the required output. Pls help me in solving this query by having the corr... | Set your start and end fields to time format `(Format -> Number -> Time)` and your time difference calculation field to duration format `(Format -> Number -> Duration)`.
Once you have done that you can just add and subtract times like normal number to get the time difference. However, you will get a negative time if o... |
126,247 | <p>I have a large dataset in Sheets and I'm grouping together the data in a pivot table and have a hard time figuring out how to avoid counting every instance of a name instead of counting the name as one value. Example:</p>
<pre><code>Name | Genre
ACDC | rock
ACDC | rock
Metallica | rock
</code></pr... | [
{
"answer_id": 126248,
"author": "user0",
"author_id": 186471,
"author_profile": "https://webapps.stackexchange.com/users/186471",
"pm_score": 1,
"selected": false,
"text": "<p><b><pre><code>=TRANSPOSE(QUERY(QUERY({A20:B}, \n \"select Col1,Col2,count(Col1) \n group by Col1,Col2\"), \n \... | 2019/03/11 | [
"https://webapps.stackexchange.com/questions/126247",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/211962/"
] | I have a large dataset in Sheets and I'm grouping together the data in a pivot table and have a hard time figuring out how to avoid counting every instance of a name instead of counting the name as one value. Example:
```
Name | Genre
ACDC | rock
ACDC | rock
Metallica | rock
```
In the pivot table,... | **```
=TRANSPOSE(QUERY(QUERY({A20:B},
"select Col1,Col2,count(Col1)
group by Col1,Col2"),
"select count(Col1)
where Col2 = 'rock'
label count(Col1)'Rock Count:'"))
```**
[](https://i.stack.imgur.com/XGOkb.png)
---
**```
=COUNTA(UNIQUE(FILTER(A20:A, B20:B="rock"))... |