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
104,273
<p>I need to use FILTER() to sum some cells only if two conditions are TRUE. This code works for one condition <code>=sum(filter(H4:H, regexmatch(G4:G, "TextA"))</code> but I can't get it to work on two condition:<code>=sum(filter(H4:H, regexmatch(I4:I, "TextA") + regexmathch(J4:J, "TextB")))</code></p> <p>My code sh...
[ { "answer_id": 104275, "author": "SQB", "author_id": 95759, "author_profile": "https://webapps.stackexchange.com/users/95759", "pm_score": 1, "selected": false, "text": "<p>How about using <code>AND</code>?</p>\n\n<pre><code>=sum(filter(H4:H, AND(regexmatch(I4:I, \"TextA\"), regexmatch(J...
2017/03/19
[ "https://webapps.stackexchange.com/questions/104273", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/109609/" ]
I need to use FILTER() to sum some cells only if two conditions are TRUE. This code works for one condition `=sum(filter(H4:H, regexmatch(G4:G, "TextA"))` but I can't get it to work on two condition:`=sum(filter(H4:H, regexmatch(I4:I, "TextA") + regexmathch(J4:J, "TextB")))` My code should sum all the cells from H(sta...
You don't need to use FILTER(), this looks like the perfect case for SUMIFS(). ``` =sumifs(H1:H6, I1:I6, "TextA", J1:J6, "TextB") ``` [![enter image description here](https://i.stack.imgur.com/4UiOS.png)](https://i.stack.imgur.com/4UiOS.png)
104,287
<p>How can I filter all the messages sent to <code>*@domain.com</code> except for those sent <strong>exclusively</strong> to <code>user@domain.com</code>?</p> <p>I tried <code>to:domain.com AND -to:user@domain.com</code> and <code>to:(domain.com -user@domain.com)</code> but it shows all the messages sent to <code>*@do...
[ { "answer_id": 105403, "author": "tyelford", "author_id": 113928, "author_profile": "https://webapps.stackexchange.com/users/113928", "pm_score": 0, "selected": false, "text": "<p>I was able to do this by first creating a Label and a Filter for the user in which you do not want to see em...
2017/03/19
[ "https://webapps.stackexchange.com/questions/104287", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/21543/" ]
How can I filter all the messages sent to `*@domain.com` except for those sent **exclusively** to `user@domain.com`? I tried `to:domain.com AND -to:user@domain.com` and `to:(domain.com -user@domain.com)` but it shows all the messages sent to `*@domain.com` that do not have `user@domain.com` as the recipient.
Was playing around with Gmail search. The syntax for what you want is as follows: ``` to:*@domain.com -to:user@domain.com ``` This also works for the "from" section as well, so it's good if you want to filter out unwanted sales and promo emails.
104,300
<p>I belong to a WhatsApp group, but the group members post unwanted messages every minute. I want to be a member of this group and receive only some important messages.</p> <ol> <li>How can I be a member of this group still and block all the messages?</li> <li>How can I filter out messages like "IMPORTANT" and read o...
[ { "answer_id": 105403, "author": "tyelford", "author_id": 113928, "author_profile": "https://webapps.stackexchange.com/users/113928", "pm_score": 0, "selected": false, "text": "<p>I was able to do this by first creating a Label and a Filter for the user in which you do not want to see em...
2017/03/20
[ "https://webapps.stackexchange.com/questions/104300", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/150367/" ]
I belong to a WhatsApp group, but the group members post unwanted messages every minute. I want to be a member of this group and receive only some important messages. 1. How can I be a member of this group still and block all the messages? 2. How can I filter out messages like "IMPORTANT" and read only those?
Was playing around with Gmail search. The syntax for what you want is as follows: ``` to:*@domain.com -to:user@domain.com ``` This also works for the "from" section as well, so it's good if you want to filter out unwanted sales and promo emails.
104,301
<p>I have a caselist filter that is taking a long time to execute and am wondering if I can do anything with the if/and/or &lt;= >= statements to help things run more efficiently ("faster"). The formula is essenstially:</p> <p><code>((((today() - resident_under2_dob) &gt; 6) and ((today() - resident_under2_dob) &lt; 4...
[ { "answer_id": 105403, "author": "tyelford", "author_id": 113928, "author_profile": "https://webapps.stackexchange.com/users/113928", "pm_score": 0, "selected": false, "text": "<p>I was able to do this by first creating a Label and a Filter for the user in which you do not want to see em...
2017/03/20
[ "https://webapps.stackexchange.com/questions/104301", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/147055/" ]
I have a caselist filter that is taking a long time to execute and am wondering if I can do anything with the if/and/or <= >= statements to help things run more efficiently ("faster"). The formula is essenstially: `((((today() - resident_under2_dob) > 6) and ((today() - resident_under2_dob) < 46) and (hhcl1_satisfied ...
Was playing around with Gmail search. The syntax for what you want is as follows: ``` to:*@domain.com -to:user@domain.com ``` This also works for the "from" section as well, so it's good if you want to filter out unwanted sales and promo emails.
104,305
<p>I want to remove the extra indentation that appears on a list after the 10th item:</p> <pre><code>8. This is a line 9. This is a long line that gets wrapped to the next line because it has a lot of characters 10. This is a line that gets wrapped too, but has a weird indentation at the beginning. </code></...
[ { "answer_id": 104306, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 4, "selected": true, "text": "<p>You'll need to move the left indent over a bit so that the two-digit numbers don't overflow.</p>\n\n<p><a href=\"https:/...
2017/03/20
[ "https://webapps.stackexchange.com/questions/104305", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/143430/" ]
I want to remove the extra indentation that appears on a list after the 10th item: ``` 8. This is a line 9. This is a long line that gets wrapped to the next line because it has a lot of characters 10. This is a line that gets wrapped too, but has a weird indentation at the beginning. ``` I want them to ha...
You'll need to move the left indent over a bit so that the two-digit numbers don't overflow. [![snippet of Google Doc](https://i.stack.imgur.com/SfrRR.png)](https://i.stack.imgur.com/SfrRR.png) Do you notice in the ruler, the small rectangle and the down-pointing triangle? [!["First Line Indent" and "Left Indent"](h...
104,500
<p>I have a table of data in a Google spreadsheet that we want to use to create multiple charts. The issue we are facing is that some of these charts omit certain columns. We don't want to remake the table multiple times. Example:</p> <ul> <li>Row 1 = Labels for Items 1, 2 and 3</li> <li>Column A = Dates</li> <li>Colu...
[ { "answer_id": 104503, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<p>The easier way, is to have a specific table for the third chart.</p>\n\n<p>Use a custom array to keep it up to da...
2017/03/24
[ "https://webapps.stackexchange.com/questions/104500", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/150759/" ]
I have a table of data in a Google spreadsheet that we want to use to create multiple charts. The issue we are facing is that some of these charts omit certain columns. We don't want to remake the table multiple times. Example: * Row 1 = Labels for Items 1, 2 and 3 * Column A = Dates * Column B = Item 1 * Column C = I...
In the chart's menu, go to Advanced Edit..., then in the Chart types tab you can enter the range. If you need to skip some columns, enter 2 ranges separated by a comma, one to left of the column you need to skip, and one to the right. This is how it looks like in a chart I maintain - skipping columns E to G and M to O:...
104,708
<p>Basically, I just want to automatically increase the week number (on column A), and have it correspond with every new Monday (in Column B). I have been trying to click and drag, hoping it would somehow automatically adjust the increment every 7 rows but it doesn't seem to work.</p> <p>How would I be able to do this...
[ { "answer_id": 104810, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 1, "selected": false, "text": "<h1>Formula</h1>\n\n<pre><code>=ArrayFormula(IF(WEEKDAY(FILTER(C:C,C:C&gt;0),2)=1,WEEKNUM(C:C,1),))\n</code></pre>\n...
2017/03/30
[ "https://webapps.stackexchange.com/questions/104708", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/151243/" ]
Basically, I just want to automatically increase the week number (on column A), and have it correspond with every new Monday (in Column B). I have been trying to click and drag, hoping it would somehow automatically adjust the increment every 7 rows but it doesn't seem to work. How would I be able to do this without h...
Formula ======= ``` =ArrayFormula(IF(WEEKDAY(FILTER(C:C,C:C>0),2)=1,WEEKNUM(C:C,1),)) ``` Explanation =========== `WEEKNUM(C:C,1)` returns the number of the week for all the values column C. To to fill only the cells that corresponds to mondays and that row is not empty, it was included as the TRUE result of an IF ...
104,715
<p>I want to show only not done reminders.</p> <p>For now, I figured out </p> <ul> <li><code>is:reminder is:done</code>, which show only done reminders</li> <li><code>is:reminder is:snoozed</code>, which show only done snoozed reminders</li> </ul> <p>How can I show pending reminders ?</p>
[ { "answer_id": 104769, "author": "Dan Chaltiel", "author_id": 151265, "author_profile": "https://webapps.stackexchange.com/users/151265", "pm_score": 1, "selected": false, "text": "<p>OK, I found out that by default all pending reminders are pinned. So this will do the trick :</p>\n\n<pr...
2017/03/30
[ "https://webapps.stackexchange.com/questions/104715", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/151265/" ]
I want to show only not done reminders. For now, I figured out * `is:reminder is:done`, which show only done reminders * `is:reminder is:snoozed`, which show only done snoozed reminders How can I show pending reminders ?
Try this: ``` is:reminder -is:done ```
104,718
<p>I'm trying to get an array into the criteria of a COUNTIFS function.</p> <p>Here is a sample of the data:</p> <pre><code>Name Type Location Progress Name_1 Type_1 Location_1 Stage_1 Name_2 Type_1 Location_3 Stage_2 Name_3 Type_2 Location_1 Stage_4 Name_4 Type_3 Location_2 Stage_4 </code></...
[ { "answer_id": 104747, "author": "ttarchala", "author_id": 107464, "author_profile": "https://webapps.stackexchange.com/users/107464", "pm_score": 2, "selected": false, "text": "<p>Assuming your data is in N2:Q5, and the list of acceptable Stages in S2:S3, the formula below will return w...
2017/03/30
[ "https://webapps.stackexchange.com/questions/104718", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/151271/" ]
I'm trying to get an array into the criteria of a COUNTIFS function. Here is a sample of the data: ``` Name Type Location Progress Name_1 Type_1 Location_1 Stage_1 Name_2 Type_1 Location_3 Stage_2 Name_3 Type_2 Location_1 Stage_4 Name_4 Type_3 Location_2 Stage_4 ``` I'd like a COUNT of how ...
Assuming your data is in N2:Q5, and the list of acceptable Stages in S2:S3, the formula below will return what you want. ``` =rows(filter(N2:Q5, not(isna(match(Q2:Q5, S2:S3, 0))))) ``` [![enter image description here](https://i.stack.imgur.com/Yu408.png)](https://i.stack.imgur.com/Yu408.png)
104,736
<p>Is it possible to quote a text in Gmail while preserving newlines?</p> <p>When I try to quote a text with the quote button, some newlines get removed:</p> <p><a href="https://i.stack.imgur.com/VOmWy.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VOmWy.gif" alt="enter image description here"></a...
[ { "answer_id": 109316, "author": "Franck Dernoncourt", "author_id": 18147, "author_profile": "https://webapps.stackexchange.com/users/18147", "pm_score": 1, "selected": true, "text": "<p>It isn't yet possible to quote a text in Gmail while preserving newlines. You have to wait for Google...
2017/03/30
[ "https://webapps.stackexchange.com/questions/104736", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/18147/" ]
Is it possible to quote a text in Gmail while preserving newlines? When I try to quote a text with the quote button, some newlines get removed: [![enter image description here](https://i.stack.imgur.com/VOmWy.gif)](https://i.stack.imgur.com/VOmWy.gif) If you want to try, here is the text I used in the animation abov...
It isn't yet possible to quote a text in Gmail while preserving newlines. You have to wait for Google to fix the issue, amongst many other formatting issues in that compose box.
104,933
<p>I'm using importxml to pull data from websites. So far this portion is working just fine. However, I need to join the text in these cells into one cell in HTML text that I can upload to my website. I've attached the screenshot, I know the formula/coding is absolutely wrong! But it's ideally what I'm going for. How c...
[ { "answer_id": 104950, "author": "Aurielle Perlmann", "author_id": 109556, "author_profile": "https://webapps.stackexchange.com/users/109556", "pm_score": 2, "selected": false, "text": "<p>So to start, you want to double each of the quotes inside of your HTML tags for it to show up prope...
2017/04/06
[ "https://webapps.stackexchange.com/questions/104933", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/151801/" ]
I'm using importxml to pull data from websites. So far this portion is working just fine. However, I need to join the text in these cells into one cell in HTML text that I can upload to my website. I've attached the screenshot, I know the formula/coding is absolutely wrong! But it's ideally what I'm going for. How coul...
I see what the Asker is getting at, and I have an answer and some advice: First, I should warn you, that *down this path lies madness.* ------------------------------------------------------------- It may seem like something obvious to do, and it doesn't look that hard, but generating HTML using a spreadsheet (be it ...
105,106
<p>I'm importing a range from another spreadsheet using <code>=IMPORTRANGE()</code> which results in the following:</p> <p><a href="https://i.stack.imgur.com/8vRTv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8vRTv.png" alt="enter image description here"></a></p> <p>I need to <code>sum()</code> ...
[ { "answer_id": 105140, "author": "Jack Brown", "author_id": 152068, "author_profile": "https://webapps.stackexchange.com/users/152068", "pm_score": 2, "selected": false, "text": "<p>Assuming your data starts at col A and row 5 and extends to row 7 paste the below formula in column A and ...
2017/04/11
[ "https://webapps.stackexchange.com/questions/105106", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/137813/" ]
I'm importing a range from another spreadsheet using `=IMPORTRANGE()` which results in the following: [![enter image description here](https://i.stack.imgur.com/8vRTv.png)](https://i.stack.imgur.com/8vRTv.png) I need to `sum()` for groups of three month (every quarter), i.e., sum Jan, Feb, Mar in column 1, Apr, May, ...
Assuming your data starts at col A and row 5 and extends to row 7 paste the below formula in column A and drag and autofill the formula across in the same row. ``` =sum(INDEX(transpose($A$5:$L$7),(column()-1)*3+1))+sum(INDEX(transpose($A$5:$L$7),(column()-1)*3+2))+sum(INDEX(transpose($A$5:$L$7),(column()-1)*3+3)) ``...
105,134
<p>As I understand it, under the main page of the repository there should be a button to create/upload new file to the left of "Username / Repository Name" in the GitHub web interface. There is not.</p> <p>According to <a href="https://stackoverflow.com/questions/10318403/uploading-new-files-to-a-git-repository-direct...
[ { "answer_id": 105218, "author": "Stevoisiak", "author_id": 60818, "author_profile": "https://webapps.stackexchange.com/users/60818", "pm_score": 3, "selected": true, "text": "<p>GitHub's web interface will not show the <strong>File Upload</strong> button until you've made your first com...
2017/04/12
[ "https://webapps.stackexchange.com/questions/105134", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/152341/" ]
As I understand it, under the main page of the repository there should be a button to create/upload new file to the left of "Username / Repository Name" in the GitHub web interface. There is not. According to [this question](https://stackoverflow.com/questions/10318403/uploading-new-files-to-a-git-repository-directly-...
GitHub's web interface will not show the **File Upload** button until you've made your first commit. When working with Git, every repository needs to be initialized with a starting set of files to work from, typically, in the form of a README file. Strangely, GitHub does not allow you to make this first commit by uplo...
105,180
<p>My spreadsheet is as follows (sorry about the crude setup).</p> <pre><code> A B C D E F G 1 Order FB? TW G+ YT LI Frequency? 2 1 x - x - x daily 3 2 - - - x x monthly 4 3 ...
[ { "answer_id": 105192, "author": "freginold", "author_id": 142456, "author_profile": "https://webapps.stackexchange.com/users/142456", "pm_score": 1, "selected": false, "text": "<p>Commits will only count as contributions (which show up as the shaded green squares on your profile) if the...
2017/04/14
[ "https://webapps.stackexchange.com/questions/105180", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/133629/" ]
My spreadsheet is as follows (sorry about the crude setup). ``` A B C D E F G 1 Order FB? TW G+ YT LI Frequency? 2 1 x - x - x daily 3 2 - - - x x monthly 4 3 - - ...
> > Does contributions section on my profile page update itself with changes in varying shades of green? > > > Yes. However, there are [exceptions to how contributions are tracked](https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/#common-reasons-that-contributions-are-not-coun...
105,243
<p>What's the shortcut for</p> <pre><code>=QUERY($A:$K, "select A where B contains '"&amp;N1&amp;"' or C contains '"&amp;N1&amp;"' or D contains'"&amp;N1&amp;"' or E contains '"&amp;N1&amp;"' or F contains '"&amp;N1&amp;"' or G contains '"&amp;N1&amp;"' or H contains '"&amp;N1&amp;"' or I contains '"&amp;N1&amp;"' or ...
[ { "answer_id": 105244, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 1, "selected": false, "text": "<p>There are no mention of shortcuts on <a href=\"https://developers.google.com/chart/interactive/docs/querylanguage...
2017/04/17
[ "https://webapps.stackexchange.com/questions/105243", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/99376/" ]
What's the shortcut for ``` =QUERY($A:$K, "select A where B contains '"&N1&"' or C contains '"&N1&"' or D contains'"&N1&"' or E contains '"&N1&"' or F contains '"&N1&"' or G contains '"&N1&"' or H contains '"&N1&"' or I contains '"&N1&"' or J contains '"&N1&"' or K contains '"&N1&"'",3) ``` ? I'm hoping for somethi...
Add a column (L for example) to count whether "N1" features in any of the columns of interest, say with: ``` =countif(B4:K4,"*"&N$1&"*") ``` copied down to suit and use that in the query: ``` =query(A:L,"select A where L>0",3) ```
105,349
<p>I created a user case property in my app, and now I'd like to reference the value of that user case property in a concat function. It is being referenced in a Report Module to indicate at which y_value I want my 'Y Label' to appear. The syntax for y-labels is: <code>'{ "y_value": "Y Label" }'</code> </p> <p>Because...
[ { "answer_id": 105350, "author": "Clayton Sims", "author_id": 147251, "author_profile": "https://webapps.stackexchange.com/users/147251", "pm_score": 0, "selected": false, "text": "<p>Your question references both Custom User Data as well as the User Case, can you clarify which of the tw...
2017/04/19
[ "https://webapps.stackexchange.com/questions/105349", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/147056/" ]
I created a user case property in my app, and now I'd like to reference the value of that user case property in a concat function. It is being referenced in a Report Module to indicate at which y\_value I want my 'Y Label' to appear. The syntax for y-labels is: `'{ "y_value": "Y Label" }'` Because my y\_value is depe...
The form builder references the user case like this (broken onto multiple lines for readability): ``` instance('casedb')/casedb/case[@case_type = 'commcare-user'][ hq_user_id = instance('commcaresession')/session/context/userid ]/y_value ``` If you have the "Easy-reference user properties in the form builder" fe...
105,425
<p>I'm trying to write an <code>onEdit</code> script where I modify values on rows in Column C, and have corresponding rows in Column D &amp; E updated with the last non empty values from Columns A &amp; B, see screenshot: </p> <p><img src="https://i.imgur.com/kRK3zEj.jpg" alt="exmaple"></p> <p>I'm mainly having prob...
[ { "answer_id": 105430, "author": "Jacob Jan Tuinstra", "author_id": 29140, "author_profile": "https://webapps.stackexchange.com/users/29140", "pm_score": 1, "selected": false, "text": "<p>The following piece of code does what you want.</p>\n\n<h2>Code</h2>\n\n<pre><code>function onEdit(e...
2017/04/21
[ "https://webapps.stackexchange.com/questions/105425", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/153126/" ]
I'm trying to write an `onEdit` script where I modify values on rows in Column C, and have corresponding rows in Column D & E updated with the last non empty values from Columns A & B, see screenshot: ![exmaple](https://i.imgur.com/kRK3zEj.jpg) I'm mainly having problems trying to figure the last non empty value, I ...
The following piece of code does what you want. Code ---- ``` function onEdit(e) { if(e.range.columnStart === 3) { e.range.offset(0,1).setValue(getLastValue("A:A", e)); e.range.offset(0,2).setValue(getLastValue("B:B", e)); } } function getLastValue(range, e) { var val = e.source.getActiveSheet().getRa...
105,479
<p>I'm building an exercise tracker with DATE, EXERCISE, VALUE column. I'm racking my brain to come up with a formula that could populate a new column with the last maximum value of each exercise according to date. i.e.</p> <p><img src="https://i.imgur.com/tQjrPjk.jpg" alt="image"></p> <p>So in this case, my performa...
[ { "answer_id": 105430, "author": "Jacob Jan Tuinstra", "author_id": 29140, "author_profile": "https://webapps.stackexchange.com/users/29140", "pm_score": 1, "selected": false, "text": "<p>The following piece of code does what you want.</p>\n\n<h2>Code</h2>\n\n<pre><code>function onEdit(e...
2017/04/24
[ "https://webapps.stackexchange.com/questions/105479", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/153311/" ]
I'm building an exercise tracker with DATE, EXERCISE, VALUE column. I'm racking my brain to come up with a formula that could populate a new column with the last maximum value of each exercise according to date. i.e. ![image](https://i.imgur.com/tQjrPjk.jpg) So in this case, my performance history for exercise A is: ...
The following piece of code does what you want. Code ---- ``` function onEdit(e) { if(e.range.columnStart === 3) { e.range.offset(0,1).setValue(getLastValue("A:A", e)); e.range.offset(0,2).setValue(getLastValue("B:B", e)); } } function getLastValue(range, e) { var val = e.source.getActiveSheet().getRa...
105,507
<p>This works:</p> <pre><code>=sumproduct($J$6:$J,($A$6:$A="Order")*($G$6:$G="T8")) </code></pre> <p>This does not.</p> <pre><code>=sumproduct($J$6:$J,($A$6:$A="Order")*(Regexmatch($G$6:$G,"T8")) </code></pre> <p>produces formula parse error.</p> <p>This</p> <pre><code>=regexmatch(G22:G30,"P") </code></pre> <p...
[ { "answer_id": 105509, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p>Please try:</p>\n\n<pre><code>=sumproduct(($J$6:$J)*($A$6:$A=\"Order\")*(regexmatch($G$6:$G,\"T8\")))\n</code></p...
2017/04/24
[ "https://webapps.stackexchange.com/questions/105507", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/65339/" ]
This works: ``` =sumproduct($J$6:$J,($A$6:$A="Order")*($G$6:$G="T8")) ``` This does not. ``` =sumproduct($J$6:$J,($A$6:$A="Order")*(Regexmatch($G$6:$G,"T8")) ``` produces formula parse error. This ``` =regexmatch(G22:G30,"P") ``` Produces a single value. -- it's searching the entire range for a match, and o...
My first error was due to unmatched ()'s [pnuts answer](https://webapps.stackexchange.com/a/105509/354) works — but is dependent on only having numbers in all fields. Since there are periodic column labels this breaks. Converting pnut's answer to fields by changing stars to commas works: ``` =sumproduct(($J$6:$J),(...
105,555
<p>So, this is rather difficult to explain, but I will attempt. Lets say I am starting the body of an email</p> <pre><code>Hello, </code></pre> <p>this is what I type into my keyboard.</p> <pre><code>ello,H </code></pre> <p>This is what shows up.</p> <p>Another example being</p> <p>Expected</p> <pre><code>Hi </c...
[ { "answer_id": 105601, "author": "greg", "author_id": 153584, "author_profile": "https://webapps.stackexchange.com/users/153584", "pm_score": 1, "selected": false, "text": "<p>I experienced this issue too. I tested it out in another browser (Edge) and didn't see the same behaviour. I del...
2017/04/26
[ "https://webapps.stackexchange.com/questions/105555", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/153483/" ]
So, this is rather difficult to explain, but I will attempt. Lets say I am starting the body of an email ``` Hello, ``` this is what I type into my keyboard. ``` ello,H ``` This is what shows up. Another example being Expected ``` Hi ``` Actual ``` iH ``` After typing the first letter, the cursor jumps le...
I was having this same issue and it was driving me nuts. Turned out to be the "Millennials to Snake People" Chrome extension. I disabled it (didn't have to uninstall) and the problem seems to be fixed. The developer knows about the issue as of a couple weeks ago and is working on it.
105,626
<p>How can I apply a <code>monospace</code> font to a Google Spreadsheet cell or column? This capability is easy in Excel, Gnumeric, Libreoffice or other desktop spreadsheeets. As of this writing, there's no font setting menu for cells in Google Sheets, and nothing on any context menu.</p> <p>Why? I've got a series ...
[ { "answer_id": 105630, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 3, "selected": false, "text": "<p>There's a font selector right there in the default toolbar. Simply select your cell(s) (or a whole row or column) and t...
2017/04/27
[ "https://webapps.stackexchange.com/questions/105626", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/17204/" ]
How can I apply a `monospace` font to a Google Spreadsheet cell or column? This capability is easy in Excel, Gnumeric, Libreoffice or other desktop spreadsheeets. As of this writing, there's no font setting menu for cells in Google Sheets, and nothing on any context menu. Why? I've got a series of part numbers to line...
There's a font selector right there in the default toolbar. Simply select your cell(s) (or a whole row or column) and then choose your font. "Courier New" and "Consolas" are both monospace fonts (I prefer the latter). [![Font selector](https://i.stack.imgur.com/G684q.png)](https://i.stack.imgur.com/G684q.png)
105,647
<p>Suppose I have the following Google Spreadsheet:</p> <pre><code>id1 mkdmc cdjnc id2 cn39 cncn id3 cndc cncn id1 3mc cm </code></pre> <p>And I want to transform it into:</p> <pre><code>id1 mkdmc cdjnc id2 cn39 cncn id3 cndc cncn </code></pre> <p>So to remove the row that has a duplicated id1 i...
[ { "answer_id": 105651, "author": "ttarchala", "author_id": 107464, "author_profile": "https://webapps.stackexchange.com/users/107464", "pm_score": 1, "selected": false, "text": "<pre><code>={unique(A:A), arrayformula(vlookup(unique(A:A), A:B, 2, false))}\n</code></pre>\n\n<p>Explanation:...
2017/04/28
[ "https://webapps.stackexchange.com/questions/105647", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/-1/" ]
Suppose I have the following Google Spreadsheet: ``` id1 mkdmc cdjnc id2 cn39 cncn id3 cndc cncn id1 3mc cm ``` And I want to transform it into: ``` id1 mkdmc cdjnc id2 cn39 cncn id3 cndc cncn ``` So to remove the row that has a duplicated id1 in column A. Note that the row isn't fully duplica...
This could be simplified by using curly brackets {} within the vlookup to indicate which columns we would like to return. For example - 2 columns: ``` =arrayformula(vlookup(unique(A:A), A:B, {1,2}, false) ``` 3 columns: ``` =arrayformula(vlookup(unique(A:A), A:C, {1,2,3}, false) ``` This can then be easily expand...
105,731
<p>I've created a script that inserts a timestamp based on any update to a specific cell; however I'm trying to insert a timestamp on a specific condition: 'Complete'.</p> <p>Would anyone know how to modify this script?</p> <pre><code>function onEdit() { var s = SpreadsheetApp.getActiveSheet(); if( s.getName() ==...
[ { "answer_id": 105734, "author": "Alan Wells", "author_id": 69407, "author_profile": "https://webapps.stackexchange.com/users/69407", "pm_score": 2, "selected": false, "text": "<p>This line:</p>\n\n<pre><code>if( nextCell.getValue() !== '' ) //is empty?\n</code></pre>\n\n<p>Should be:</p...
2017/05/02
[ "https://webapps.stackexchange.com/questions/105731", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/153984/" ]
I've created a script that inserts a timestamp based on any update to a specific cell; however I'm trying to insert a timestamp on a specific condition: 'Complete'. Would anyone know how to modify this script? ``` function onEdit() { var s = SpreadsheetApp.getActiveSheet(); if( s.getName() == "Sheet1" ) { //check...
This line: ``` if( nextCell.getValue() !== '' ) //is empty? ``` Should be: ``` if (nextCell.getValue() === 'Complete') { nextCell.setValue(new Date()).setNumberFormat('dd-MM-yyyy HH:mm:ss'); } ```
105,808
<p>So I have a script that updates one cell, the function is triggered weekly:</p> <pre><code>function updateCell() { SpreadsheetApp.getActiveSheet().getRange('a2').setValue('=Index(ImportData("URL HERE"),1,1)'); } </code></pre> <p>The thing is, this function only updates A2 (as it is set). What I want to do is upda...
[ { "answer_id": 105812, "author": "user7401478", "author_id": 154091, "author_profile": "https://webapps.stackexchange.com/users/154091", "pm_score": 1, "selected": false, "text": "<p>According to the linked answer, if you can avoid self posts in Enhancement Suite by using domain <code>se...
2017/05/05
[ "https://webapps.stackexchange.com/questions/105808", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/154200/" ]
So I have a script that updates one cell, the function is triggered weekly: ``` function updateCell() { SpreadsheetApp.getActiveSheet().getRange('a2').setValue('=Index(ImportData("URL HERE"),1,1)'); } ``` The thing is, this function only updates A2 (as it is set). What I want to do is update 3 cells and then go to ...
Create a filteReddit filter in settings ([direct link](https://www.reddit.com/#res:settings/filteReddit)). Under "custom filters", select "add a custom filter" > "add a condition" > "post type" > "post is a link post". Press "save options" on the top-right corner. [![options screenshot](https://i.stack.imgur.com/fMUdF...
105,853
<p>In my form, I would like to do the following: <strong><a href="https://www.cognitoforms.com/NMA3/Intitulado" rel="nofollow noreferrer">https://www.cognitoforms.com/NMA3/Intitulado</a></strong></p> <p>In the field "ALIMENTOS Y BEBIDAS" (ALIMYBEB) I have several products, each with a value (1 or 2) and a price.</p> ...
[ { "answer_id": 105812, "author": "user7401478", "author_id": 154091, "author_profile": "https://webapps.stackexchange.com/users/154091", "pm_score": 1, "selected": false, "text": "<p>According to the linked answer, if you can avoid self posts in Enhancement Suite by using domain <code>se...
2017/05/07
[ "https://webapps.stackexchange.com/questions/105853", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/117661/" ]
In my form, I would like to do the following: **<https://www.cognitoforms.com/NMA3/Intitulado>** In the field "ALIMENTOS Y BEBIDAS" (ALIMYBEB) I have several products, each with a value (1 or 2) and a price. Now, what I want to do is to calculate and to show the cost of the selected products according to the followin...
Create a filteReddit filter in settings ([direct link](https://www.reddit.com/#res:settings/filteReddit)). Under "custom filters", select "add a custom filter" > "add a condition" > "post type" > "post is a link post". Press "save options" on the top-right corner. [![options screenshot](https://i.stack.imgur.com/fMUdF...
105,934
<p>I have a selection of values in Column A, some of which are repeated X (where X varies) times, like this:</p> <pre><code>Apples Apples Oranges Pears Pears Bananas </code></pre> <p>I want to end up with a list in another column where each unique value is repeated N times (where in this case N is 3). So the ...
[ { "answer_id": 105947, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 1, "selected": false, "text": "<p>You might create a pivot table (to extract uniques in alphabetical order) and then in Row1 of your sheet:</p>\n\n...
2017/05/10
[ "https://webapps.stackexchange.com/questions/105934", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/140141/" ]
I have a selection of values in Column A, some of which are repeated X (where X varies) times, like this: ``` Apples Apples Oranges Pears Pears Bananas ``` I want to end up with a list in another column where each unique value is repeated N times (where in this case N is 3). So the above would look like this...
A solution as a single formula: ``` =transpose( split( concatenate( arrayformula( split( rept(unique(A:A) & "\|", 3), "|"))), "\")) ```
106,051
<p>Is there a function where if you modify a certain cell, the contents of another cell will be cleared?</p> <p>E.g. If A1 is modified the content of B1 will be cleared.</p>
[ { "answer_id": 106057, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 2, "selected": false, "text": "<p>To automatically clear a cell (deleting it's value or formula, background color settings, etc.) when another cell...
2017/05/13
[ "https://webapps.stackexchange.com/questions/106051", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/154880/" ]
Is there a function where if you modify a certain cell, the contents of another cell will be cleared? E.g. If A1 is modified the content of B1 will be cleared.
To automatically clear a cell (deleting it's value or formula, background color settings, etc.) when another cell changes, we should use a [Google Apps Script](http://www.google.com/script/start) triggered by a simple or installable on edit [trigger](https://developers.google.com/apps-script/guides/triggers/) taking ad...
106,087
<p>The Bitmoji platform now supports "Friendmoji's" – the ability to show 2 people within the same image. </p> <p>Here's an example:</p> <p><img src="https://i.stack.imgur.com/Im25R.png" width="260"></p> <p>What are the various ways I can generate these images?</p>
[ { "answer_id": 106088, "author": "Simon East", "author_id": 20364, "author_profile": "https://webapps.stackexchange.com/users/20364", "pm_score": 2, "selected": false, "text": "<p>There are several ways to create Bitmoji's, although only a few of them appear to support <em>Friendmoji's</...
2017/05/15
[ "https://webapps.stackexchange.com/questions/106087", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/20364/" ]
The Bitmoji platform now supports "Friendmoji's" – the ability to show 2 people within the same image. Here's an example: ![](https://i.stack.imgur.com/Im25R.png) What are the various ways I can generate these images?
There are several ways to create Bitmoji's, although only a few of them appear to support *Friendmoji's* to date (and they are not well-documented). Both users will likely need to have created a Bitmoji account and setup their avatar for this to work. That is, you cannot create a custom *Friendmoji* without setting u...
106,169
<p>I'd like to calculate the average spending on given categories but not all. I use <code>AVERAGEIFS</code> for this. But it doesn't seem to work.</p> <p><strong>My sheet</strong> <em>(just relevant columns)<strong></em>:</strong></p> <pre><code> B | D Spent|Category -----|--------- 10 |Category1 11 |Catego...
[ { "answer_id": 106173, "author": "ttarchala", "author_id": 107464, "author_profile": "https://webapps.stackexchange.com/users/107464", "pm_score": 3, "selected": true, "text": "<p>Like @pnuts said in his comment, all AVERAGEIFS criteria must match. You seem to need all these values where...
2017/05/18
[ "https://webapps.stackexchange.com/questions/106169", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/76795/" ]
I'd like to calculate the average spending on given categories but not all. I use `AVERAGEIFS` for this. But it doesn't seem to work. **My sheet** *(just relevant columns)*: ``` B | D Spent|Category -----|--------- 10 |Category1 11 |Category1 9 |Category6 30 |Category3 22 |Category4 15 |Category5 `...
Like @pnuts said in his comment, all AVERAGEIFS criteria must match. You seem to need all these values where one or more of the criteria is matching. This formula should give you what you want: ``` =AVERAGE(FILTER(B2:B,MATCH(D2:D, {"Category1","Category2","Category4"}, 0))) ```
106,174
<p>I have a custom bundle set up based on a "to" address. However, there are certain emails sent to this address that I want to <em>exclude</em> from the bundle (since they get bundled to another, lower-priority bundle). Is there a way to do that? I tried <a href="https://productforums.google.com/forum/#!topic/inbox...
[ { "answer_id": 114630, "author": "DrTech", "author_id": 178661, "author_profile": "https://webapps.stackexchange.com/users/178661", "pm_score": 0, "selected": false, "text": "<p>Try changing <code>-service@paypal.com</code> to <code>!service@paypal.com</code></p>\n" }, { "answer_...
2017/05/18
[ "https://webapps.stackexchange.com/questions/106174", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/12282/" ]
I have a custom bundle set up based on a "to" address. However, there are certain emails sent to this address that I want to *exclude* from the bundle (since they get bundled to another, lower-priority bundle). Is there a way to do that? I tried [this](https://productforums.google.com/forum/#!topic/inbox/UEkbumq2WBg) s...
You are adding them as two separate rules, they need to be combined into one rule. The behavior you want is AND. 1) Click "ADD" [![start](https://i.stack.imgur.com/ucKKkm.png)](https://i.stack.imgur.com/ucKKkm.png) 2) Note the second box, labeled "And..." [![enter image description here](https://i.stack.imgur.com/3...
106,182
<p>I moved a Google Drive folder and I want to undo that action. A popup came up briefly as shown, but then it hid itself before I realized that I needed to Undo it. How can I bring it back up again or otherwise Undo the action now?</p> <p><a href="https://i.stack.imgur.com/HH6YU.png" rel="nofollow noreferrer"><img sr...
[ { "answer_id": 106186, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 1, "selected": false, "text": "<p>To 'undo' now find what it was you moved, where it is now, and move it back (<em>in</em>) to where it use to be, ...
2017/05/18
[ "https://webapps.stackexchange.com/questions/106182", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/31876/" ]
I moved a Google Drive folder and I want to undo that action. A popup came up briefly as shown, but then it hid itself before I realized that I needed to Undo it. How can I bring it back up again or otherwise Undo the action now? [![enter image description here](https://i.stack.imgur.com/HH6YU.png)](https://i.stack.im...
Alternatively, the Google Drive Help page [Keyboard shortcuts for Google Drive on the web](https://support.google.com/drive/answer/2563044?hl=en) gives the shortcut: ``` Undo last action Ctrl + z (Chrome OS, Windows) ⌘ + z (Mac) ``` This will work after the *Undo* option has disappeared an...
106,334
<p>I need to sort cells randomly, but not only values but their formats too (for example cells with data validation).<br> This code can shuffle values but not formats.<br> Actually, the main question is how to swap cells.<br></p> <pre><code>function shuffleRange(range) { range.setValues(shuffleArray(range.getValues(...
[ { "answer_id": 106364, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 1, "selected": true, "text": "<p>You can use <code>get*</code> methods to get the attributes and formats for the cells you wish to shuffle, then reor...
2017/05/24
[ "https://webapps.stackexchange.com/questions/106334", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/155671/" ]
I need to sort cells randomly, but not only values but their formats too (for example cells with data validation). This code can shuffle values but not formats. Actually, the main question is how to swap cells. ``` function shuffleRange(range) { range.setValues(shuffleArray(range.getValues())); } fu...
You can use `get*` methods to get the attributes and formats for the cells you wish to shuffle, then reorder the cells all in a consistent random way, and then use the `set*` method to assign after reordering. There are a lot of [get\* methods](https://developers.google.com/apps-script/reference/spreadsheet/range): va...
106,348
<p>Can you use a URL to create a new Google Document/Spreadsheet/Presentation from a template?</p> <p>Related questions (but don't answer this specific problem):</p> <ul> <li><a href="https://webapps.stackexchange.com/questions/26304/url-to-create-a-new-google-document">URL to create a new Google document</a></li> <l...
[ { "answer_id": 107580, "author": "simesy", "author_id": 159286, "author_profile": "https://webapps.stackexchange.com/users/159286", "pm_score": 4, "selected": true, "text": "<p>I don't use a template, because more likely I just want a consistent way to create a new document from an exist...
2017/05/24
[ "https://webapps.stackexchange.com/questions/106348", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/155706/" ]
Can you use a URL to create a new Google Document/Spreadsheet/Presentation from a template? Related questions (but don't answer this specific problem): * [URL to create a new Google document](https://webapps.stackexchange.com/questions/26304/url-to-create-a-new-google-document) * [Craft URL to create Google Doc in sp...
I don't use a template, because more likely I just want a consistent way to create a new document from an existing document - *without* accidentally editing the original document. I first create an ideal version of a file. From the menu, I then choose "Make a copy...", which then allows me to select the target Google ...
106,353
<p>I'm using Google Sheets to help prepare posts for various social media sites. For some of the sites, I need to cut-and-paste HTML because my posts contain YouTube videos, and the only way to avoid using the site's UI is to post HTML directly.</p> <p>So, in my sheet, I have a column <strong>main text</strong> with c...
[ { "answer_id": 106359, "author": "Silencer310", "author_id": 155730, "author_profile": "https://webapps.stackexchange.com/users/155730", "pm_score": -1, "selected": false, "text": "<p>Add them to a shared album and share the link</p>\n" }, { "answer_id": 106362, "author": "al...
2017/05/24
[ "https://webapps.stackexchange.com/questions/106353", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/154508/" ]
I'm using Google Sheets to help prepare posts for various social media sites. For some of the sites, I need to cut-and-paste HTML because my posts contain YouTube videos, and the only way to avoid using the site's UI is to post HTML directly. So, in my sheet, I have a column **main text** with content such as this: >...
You can't share your entire collection. You can share individual photos (movies, animations) or albums. You'd need to put all of your photos into one album and share that. (Drive is similar. You can't share your root directory; you have to pick a subfolder.)
106,404
<p>To remove distractions from Facebook, I can use F.B. Purity or uBlock Origin with element picker to block individual element. But how can I remove the notification count appears in title bar of the browser?</p> <p><img src="https://cms-assets.tutsplus.com/uploads/users/69/posts/23458/image/notification-example.jpg"...
[ { "answer_id": 106602, "author": "Zach Saucier", "author_id": 140514, "author_profile": "https://webapps.stackexchange.com/users/140514", "pm_score": 4, "selected": true, "text": "<p>You can write a userscript (using something like <a href=\"https://chrome.google.com/webstore/detail/tamp...
2017/05/25
[ "https://webapps.stackexchange.com/questions/106404", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/63572/" ]
To remove distractions from Facebook, I can use F.B. Purity or uBlock Origin with element picker to block individual element. But how can I remove the notification count appears in title bar of the browser? ![](https://cms-assets.tutsplus.com/uploads/users/69/posts/23458/image/notification-example.jpg) To block an in...
You can write a userscript (using something like [Tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en)) and do something like this: ``` // ==UserScript== // @name Title notification remover // @namespace https://zachsaucier.com/ // @version 0.1 //...
106,469
<p>It's no longer enough to "just subscribe" to actually see all new videos in one's YouTube feed. One has to go to its <a href="https://www.youtube.com/subscription_manager" rel="nofollow noreferrer">YouTube subscription manager</a> and hit the bell.</p> <p>I subscribe to 100+ channels. (Most are small channels, with...
[ { "answer_id": 106481, "author": "Leo Wattenberg", "author_id": 145802, "author_profile": "https://webapps.stackexchange.com/users/145802", "pm_score": -1, "selected": false, "text": "<blockquote>\n <p>It's no longer enough to \"just subscribe\" to actually see all new videos in one's Y...
2017/05/27
[ "https://webapps.stackexchange.com/questions/106469", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/57156/" ]
It's no longer enough to "just subscribe" to actually see all new videos in one's YouTube feed. One has to go to its [YouTube subscription manager](https://www.youtube.com/subscription_manager) and hit the bell. I subscribe to 100+ channels. (Most are small channels, with very few videos per year.) It would be tedious...
The only answer as of Aug2 2021 discusses if the YouTube bell has an effect or not. I feel this doesn't help the OP concretely. I was in the same boat, wanting to ring the bell on something like 500 subscriptions so I stop missing videos. I ended up going to the [subscriptions page](https://www.youtube.com/feed/channe...
106,480
<p>Is there any way in Gmail to search for invitations (calendar invites) I have received where I have not responded / RSVP'd?</p>
[ { "answer_id": 106481, "author": "Leo Wattenberg", "author_id": 145802, "author_profile": "https://webapps.stackexchange.com/users/145802", "pm_score": -1, "selected": false, "text": "<blockquote>\n <p>It's no longer enough to \"just subscribe\" to actually see all new videos in one's Y...
2017/05/28
[ "https://webapps.stackexchange.com/questions/106480", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/155993/" ]
Is there any way in Gmail to search for invitations (calendar invites) I have received where I have not responded / RSVP'd?
The only answer as of Aug2 2021 discusses if the YouTube bell has an effect or not. I feel this doesn't help the OP concretely. I was in the same boat, wanting to ring the bell on something like 500 subscriptions so I stop missing videos. I ended up going to the [subscriptions page](https://www.youtube.com/feed/channe...
106,485
<p>I'm new here in this site and also new in Google Apps Script. </p> <p>I'm trying to find an example to create a Pushbutton inside Google sheets. </p> <p>I've found <a href="https://developers.google.com/apps-script/reference/ui/push-button" rel="nofollow noreferrer">something</a> saying it is "deprecated".</p> <p...
[ { "answer_id": 106486, "author": "Vidar S. Ramdal", "author_id": 21583, "author_profile": "https://webapps.stackexchange.com/users/21583", "pm_score": 3, "selected": true, "text": "<p>As said in the deprecation message you found, user interfaces can be created with the <a href=\"https://...
2017/05/28
[ "https://webapps.stackexchange.com/questions/106485", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/155999/" ]
I'm new here in this site and also new in Google Apps Script. I'm trying to find an example to create a Pushbutton inside Google sheets. I've found [something](https://developers.google.com/apps-script/reference/ui/push-button) saying it is "deprecated". What I expect to do is putting a button called "Move to Sent...
As said in the deprecation message you found, user interfaces can be created with the [HTML Service](https://developers.google.com/apps-script/guides/html/). But if you just want to create a button that is displayed *in your sheet*, there is an easier way. Click *Insert → Drawing* and draw a text box. Give it a backg...
106,503
<p>I'm new here (second post) and also new in Google Apps Script.</p> <p>I'm trying to find out how to write data to a single range in a <strong>spreadsheet</strong> using Google Apps Script.</p> <p>Looks like Google Help in the section <a href="https://developers.google.com/apps-script/guides/sheets#writing_data" re...
[ { "answer_id": 106504, "author": "Vidar S. Ramdal", "author_id": 21583, "author_profile": "https://webapps.stackexchange.com/users/21583", "pm_score": 5, "selected": true, "text": "<p>You start by getting a reference to a Range with the <a href=\"https://developers.google.com/apps-script...
2017/05/29
[ "https://webapps.stackexchange.com/questions/106503", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/155999/" ]
I'm new here (second post) and also new in Google Apps Script. I'm trying to find out how to write data to a single range in a **spreadsheet** using Google Apps Script. Looks like Google Help in the section [Writing data](https://developers.google.com/apps-script/guides/sheets#writing_data) is not good enough to e...
You start by getting a reference to a Range with the [`getRange`](https://developers.google.com/apps-script/reference/spreadsheet/spreadsheet#getRange(String)) function. Once we have that, and since this range consists of a single cell, we can use the [`setValue`](https://developers.google.com/apps-script/reference/spr...
106,506
<p>I have 137 columns (EG). I cannot scroll to the right of column EG. I have many rows, but only 37 used rows. </p> <p>Reading what I can find via searches, it seems I should not be facing this restriction. Does anyone have a suggested workaround?</p>
[ { "answer_id": 106508, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 3, "selected": false, "text": "<h1>Short answer</h1>\n<p>The limit of columns is 18278, the last possible column is column ZZZ:ZZZ. It's very likel...
2017/05/29
[ "https://webapps.stackexchange.com/questions/106506", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/156057/" ]
I have 137 columns (EG). I cannot scroll to the right of column EG. I have many rows, but only 37 used rows. Reading what I can find via searches, it seems I should not be facing this restriction. Does anyone have a suggested workaround?
Short answer ============ The limit of columns is 18278, the last possible column is column ZZZ:ZZZ. It's very likely that the OP issue isn't directly related to the number of columns but something else that if affecting the web browser or computer like an extension, the lack of enough resources to handle the spreadsh...
106,582
<p>What's worse is that in some cases it behaves as if it gets rid of the 4 spaces instead of replacing with a tab. This does horrible things to any ASCII diagrams appearing in code.</p> <p>Ex: take the following and paste it into a text editor like notepad++ then copy/paste into google docs (it will be formatted corr...
[ { "answer_id": 120488, "author": "Terran Melconian", "author_id": 194870, "author_profile": "https://webapps.stackexchange.com/users/194870", "pm_score": 4, "selected": false, "text": "<p>Neither <kbd>ctrl</kbd>+<kbd>V</kbd> nor <kbd>control</kbd>+<kbd>shift</kbd>+<kbd>V</kbd> worked for...
2017/06/01
[ "https://webapps.stackexchange.com/questions/106582", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/156260/" ]
What's worse is that in some cases it behaves as if it gets rid of the 4 spaces instead of replacing with a tab. This does horrible things to any ASCII diagrams appearing in code. Ex: take the following and paste it into a text editor like notepad++ then copy/paste into google docs (it will be formatted correctly if y...
Neither `ctrl`+`V` nor `control`+`shift`+`V` worked for me - both pasted spaces as tabs. However, I tried **find and replace**, checked **with regular expressions**, and changed `\t` into four spaces. My example then lined up correctly.
106,638
<p>I have a cell in a spreadsheet that can have virtually any value. However, if that cell has one of <em>four</em> different values, I want a different cell to display certain text.</p> <p>Right now I have this:</p> <pre><code>=IF(OR(A1="Cyan",A1="Magenta",A1="Yello",A1="Key"),"CMYK","Other") </code></pre> <p>Is th...
[ { "answer_id": 106642, "author": "ttarchala", "author_id": 107464, "author_profile": "https://webapps.stackexchange.com/users/107464", "pm_score": 0, "selected": false, "text": "<pre><code>=if(isna(match(A1, {\"Cyan\", \"Magenta\", \"Yello\", \"Key\"})), \"Other\", \"CMYK\")\n</code></pr...
2017/06/02
[ "https://webapps.stackexchange.com/questions/106638", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/354/" ]
I have a cell in a spreadsheet that can have virtually any value. However, if that cell has one of *four* different values, I want a different cell to display certain text. Right now I have this: ``` =IF(OR(A1="Cyan",A1="Magenta",A1="Yello",A1="Key"),"CMYK","Other") ``` Is there a simpler (less verbose) way to comp...
For the specific case on the question it looks to me that the formula included already has the simpler formula ``` =IF(OR(A1="Cyan",A1="Magenta",A1="Yello",A1="Key"),"CMYK","Other") ``` as the alternatives are more complex in one or another way. IFS and SWITCH are pretty new Google Sheets built-in functions. Side-n...
106,639
<p>I'm attempting to sum unknown quantities of data that is contained in several sheets. The amount of sheets isn't known either. Thus far, I've simply been using the indirect command on a column with an ever-growing list of sheet names, and that's been working fine with referencing them individually: </p> <pre><code>...
[ { "answer_id": 106642, "author": "ttarchala", "author_id": 107464, "author_profile": "https://webapps.stackexchange.com/users/107464", "pm_score": 0, "selected": false, "text": "<pre><code>=if(isna(match(A1, {\"Cyan\", \"Magenta\", \"Yello\", \"Key\"})), \"Other\", \"CMYK\")\n</code></pr...
2017/06/02
[ "https://webapps.stackexchange.com/questions/106639", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/155897/" ]
I'm attempting to sum unknown quantities of data that is contained in several sheets. The amount of sheets isn't known either. Thus far, I've simply been using the indirect command on a column with an ever-growing list of sheet names, and that's been working fine with referencing them individually: ``` A 1 ...
For the specific case on the question it looks to me that the formula included already has the simpler formula ``` =IF(OR(A1="Cyan",A1="Magenta",A1="Yello",A1="Key"),"CMYK","Other") ``` as the alternatives are more complex in one or another way. IFS and SWITCH are pretty new Google Sheets built-in functions. Side-n...
106,646
<p>I have a Google Spreadsheets where I log some data with time stamps. It's getting really long. Every time I open it up, I have to scroll all the way to the bottom and find where I left off. I tried <a href="https://webapps.stackexchange.com/questions/46029/how-to-move-to-the-last-active-row-in-a-google-spreadsheets"...
[ { "answer_id": 106649, "author": "ttarchala", "author_id": 107464, "author_profile": "https://webapps.stackexchange.com/users/107464", "pm_score": 0, "selected": false, "text": "<p>One solution would be to use <em>Filter by condition</em>. You probably have a date column in this spreadsh...
2017/06/03
[ "https://webapps.stackexchange.com/questions/106646", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/127685/" ]
I have a Google Spreadsheets where I log some data with time stamps. It's getting really long. Every time I open it up, I have to scroll all the way to the bottom and find where I left off. I tried [How to move to the last active row in a Google Spreadsheets](https://webapps.stackexchange.com/questions/46029/how-to-mov...
There are shortcut navigation keys [here](https://support.google.com/docs/answer/181110?hl=en) including navigation keys for a Mac: ``` Move to beginning of row Fn + Left arrow Move to beginning of sheet ⌘ + Fn + Left arrow Move to end of row Fn + Right arrow Move...
106,654
<p>I want to drag a formula to copy it down a column, but the formula includes a reference to a box on a different page in the document i.e. '1' etc. I want the page number to increase by 1 for each new box I drag to. </p> <p>When I drag, the page number stays the same, instead of changing/ increasing by 1.</p>
[ { "answer_id": 106655, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p>Use <code>Row(1:1)</code> instead of <code>1</code>. For example try inserting and dragging down:</p>\n\n<pre><co...
2017/06/03
[ "https://webapps.stackexchange.com/questions/106654", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/-1/" ]
I want to drag a formula to copy it down a column, but the formula includes a reference to a box on a different page in the document i.e. '1' etc. I want the page number to increase by 1 for each new box I drag to. When I drag, the page number stays the same, instead of changing/ increasing by 1.
Use `Row(1:1)` instead of `1`. For example try inserting and dragging down: ``` ="see Page "&Row(1:1) ``` This could be extended to say: ``` ="see Page "&Row(1:1)&" and Reference 33" ``` where autofill may not give the desired results.
106,707
<p>I've got a tweet out in the wild that had thousands of retweets in a short amount of time. I want to know how to search through the tweet's retweets to find the ones made by verified accounts. Is there a way to do this?</p>
[ { "answer_id": 106800, "author": "Peter", "author_id": 156903, "author_profile": "https://webapps.stackexchange.com/users/156903", "pm_score": 1, "selected": false, "text": "<p>There is, but you will have to use TweetDeck (or some analogous Twitter service). These instructions are for Tw...
2017/06/05
[ "https://webapps.stackexchange.com/questions/106707", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/156611/" ]
I've got a tweet out in the wild that had thousands of retweets in a short amount of time. I want to know how to search through the tweet's retweets to find the ones made by verified accounts. Is there a way to do this?
You can do this on the Twitter web client by typing the following search query in the search field: ``` @{yourUsername} -from:{yourUsername} filter:nativeretweets filter:verified ``` On the search results, be sure to click the "Latest" tab. What you'll get is a scrollable chronological list of all the verified accou...
106,787
<p>I have a Google sheet with values like:</p> <pre><code>Column 1 Column 2 ----------|-------------- A 256 A 271 B 270 C 262 A 266 C 258 D 257 </code></pre> <p>I want to transform the data into the following:</p> <pre><code>Column 1 Col...
[ { "answer_id": 106798, "author": "Peter", "author_id": 156903, "author_profile": "https://webapps.stackexchange.com/users/156903", "pm_score": 3, "selected": true, "text": "<p>You can accomplish this in two steps:</p>\n\n<ol>\n<li><p>Create a new sheet <code>Sheet2</code> and use the fol...
2017/06/08
[ "https://webapps.stackexchange.com/questions/106787", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/156802/" ]
I have a Google sheet with values like: ``` Column 1 Column 2 ----------|-------------- A 256 A 271 B 270 C 262 A 266 C 258 D 257 ``` I want to transform the data into the following: ``` Column 1 Column 2 Column 3 Column 4 ...
You can accomplish this in two steps: 1. Create a new sheet `Sheet2` and use the following formula for A1 (or wherever you want the column to begin): `=unique(Sheet1!A:A)`. This will give you a vertical column of simply A, B, C, and D as the unique values in `Sheet1`'s A column. 2. Combine transpose and filter in the ...
106,895
<p>In Google Calendar is there a way to set a daily reminder without it cluttering up my Calendar?</p> <p>e.g. Say I need to take my vitamin pills every morning at 7 am (just a hypothetical example I made up). I need a reminder that I can address with some flexibility (i.e. Not an alarm that keeps ringing) and this al...
[ { "answer_id": 106910, "author": "Frank M Sheldon", "author_id": 157283, "author_profile": "https://webapps.stackexchange.com/users/157283", "pm_score": 0, "selected": false, "text": "<ol>\n<li>Make a new Google calendar just for these reminders. It will, of course, show up with all your...
2017/06/13
[ "https://webapps.stackexchange.com/questions/106895", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/52946/" ]
In Google Calendar is there a way to set a daily reminder without it cluttering up my Calendar? e.g. Say I need to take my vitamin pills every morning at 7 am (just a hypothetical example I made up). I need a reminder that I can address with some flexibility (i.e. Not an alarm that keeps ringing) and this also makes s...
I don't know of a way to do this on your phone, but on your computer you can at least hide the event on the calendar (although using this approach other events are still sized by the event) using a userscript. Essentially the approach is to find all calendar events of the type specified when the page loads and when th...
106,934
<p>Google Apps for Domains used to have a catch-all feature. Now the docs <a href="https://support.google.com/a/answer/33962?hl=en" rel="noreferrer">say</a>:</p> <blockquote> <p>If you’re using another G Suite edition, the Email routing setting with the Route to catch-all address control is no longer supported. Inst...
[ { "answer_id": 106935, "author": "gman", "author_id": 44397, "author_profile": "https://webapps.stackexchange.com/users/44397", "pm_score": 4, "selected": false, "text": "<p>This is just a guess but,</p>\n\n<p>Under Apps > G Suite > Settings for GMail > Advanced Settings I added picked \...
2017/06/15
[ "https://webapps.stackexchange.com/questions/106934", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/44397/" ]
Google Apps for Domains used to have a catch-all feature. Now the docs [say](https://support.google.com/a/answer/33962?hl=en): > > If you’re using another G Suite edition, the Email routing setting with the Route to catch-all address control is no longer supported. Instead, you use the Routing setting to configure ca...
This is just a guess but, Under Apps > G Suite > Settings for GMail > Advanced Settings I added picked "Add Setting" with the following settings > > 1. Specify envelope recipients to match: All Recipients > 2. If the envelope recipient matches the above, do the following > > > * Modify message > > Headers > *...
107,133
<p>I have 10,000 rows in my Google Sheet and I want the following sequence to repeat (<strong>without using formula</strong>):</p> <pre><code> A B 1 Q_1 R_1 2 Q_2 R_2 3 Q_3 R_3 . . . . . . 10000 Q_10000 R_10000 </code></pre> <p>I went...
[ { "answer_id": 107091, "author": "Zach Saucier", "author_id": 140514, "author_profile": "https://webapps.stackexchange.com/users/140514", "pm_score": 4, "selected": true, "text": "<p>No, there's no way to change the default Gmail trash behavior. That includes making the duration shorter ...
2017/06/22
[ "https://webapps.stackexchange.com/questions/107133", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/155044/" ]
I have 10,000 rows in my Google Sheet and I want the following sequence to repeat (**without using formula**): ``` A B 1 Q_1 R_1 2 Q_2 R_2 3 Q_3 R_3 . . . . . . 10000 Q_10000 R_10000 ``` I went through [THIS](https://support.google....
No, there's no way to change the default Gmail trash behavior. That includes making the duration shorter or longer. --- You can create your own trash bin that does something similar, but it's kind of a pain and doesn't really do what you want. You'd have to add a custom label other than clicking the delete button ev...
107,236
<p>When you sync CommCare on mobile, what data is included in that restore file? Is this data dependent on what user I'm logged in as? On what app I'm using? On what build of that app the user has deployed? How can I view this file (assuming I know the username, app, and build being used)?</p>
[ { "answer_id": 107237, "author": "Simon", "author_id": 42768, "author_profile": "https://webapps.stackexchange.com/users/42768", "pm_score": 1, "selected": false, "text": "<p>The restore payload includes:</p>\n\n<ul>\n<li>ID of the sync</li>\n<li>User registration data</li>\n<li>Fixtures...
2017/06/26
[ "https://webapps.stackexchange.com/questions/107236", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/147168/" ]
When you sync CommCare on mobile, what data is included in that restore file? Is this data dependent on what user I'm logged in as? On what app I'm using? On what build of that app the user has deployed? How can I view this file (assuming I know the username, app, and build being used)?
The restore payload includes: * ID of the sync * User registration data * Fixtures + Groups + Lookup tables (can be user dependent) + Products + Programs + Mobile reports (application / application build dependent) + Organizations (user dependent) * Cases You can view the data at the following URL: ``` https:...
107,243
<p>I want to download the avatar photo from my <a href="https://en.gravatar.com/stevoisiak" rel="noreferrer">personal Gravatar profile</a>.</p> <p>I've unsuccessfully tried:</p> <ul> <li>Clicking the photo on my profile. (<em>Leads to resized <a href="https://secure.gravatar.com/avatar/914d117c8b8f6aca515e05ef658b9a9...
[ { "answer_id": 114499, "author": "Jim Stewart", "author_id": 33416, "author_profile": "https://webapps.stackexchange.com/users/33416", "pm_score": 4, "selected": false, "text": "<p>You can request anyone's avatar with <code>curl</code> like this on MacOS X:</p>\n<pre><code>curl &quot;htt...
2017/06/26
[ "https://webapps.stackexchange.com/questions/107243", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/60818/" ]
I want to download the avatar photo from my [personal Gravatar profile](https://en.gravatar.com/stevoisiak). I've unsuccessfully tried: * Clicking the photo on my profile. (*Leads to resized [80x80 image](https://secure.gravatar.com/avatar/914d117c8b8f6aca515e05ef658b9a99)*) * Right-clicking my profile's photo and se...
You can request anyone's avatar with `curl` like this on MacOS X: ``` curl "http://gravatar.com/avatar/$(md5 -q -s nobody@example.com)?s=300" > avatar.jpeg ``` Or like this on Linux: ``` curl "http://gravatar.com/avatar/$(echo -n "nobody@example.com" | md5sum - | cut -d' ' -f1)?s=300" > avatar.jpeg ``` Replacing ...
107,284
<p>I want the cell to be formatted if the cell contains any of the following words: blue, orange, red, green, and white. I also want to not make 5 different commands for each (this is because I have a loooong list in my actual file). </p> <p>The entry <code>blue|orange|red|green|white</code> does not seem to work; no...
[ { "answer_id": 107297, "author": "ttarchala", "author_id": 107464, "author_profile": "https://webapps.stackexchange.com/users/107464", "pm_score": 1, "selected": false, "text": "<p>Use a formula for conditional formatting, like</p>\n\n<pre><code> =MATCH(&lt;cell&gt;, {\"blue\", \"orange\...
2017/06/28
[ "https://webapps.stackexchange.com/questions/107284", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/158252/" ]
I want the cell to be formatted if the cell contains any of the following words: blue, orange, red, green, and white. I also want to not make 5 different commands for each (this is because I have a loooong list in my actual file). The entry `blue|orange|red|green|white` does not seem to work; nor does the entry `blue...
IMO better without "Text contains". To avoid the possibility of conflicting rules, clear all conditional formatting from ColumnA (**assumed** because OP does not say where the data is), select it and apply a **Custom formula is** of: ``` =regexmatch(A1,"blue|green|orange|red|white") ``` Select your formatting and `...
107,470
<p>I want to copy everything from the range "Start" to "End" to the top row of another sheet (Sheet2).</p> <p>Sheet1:</p> <p><a href="https://i.stack.imgur.com/nrbBW.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/nrbBW.jpg" alt="enter image description here"></a></p> <p>The data between "Start" to "End" c...
[ { "answer_id": 107440, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 1, "selected": false, "text": "<p>I think (but am not sure!) what you want is: </p>\n\n<p><a href=\"https://i.stack.imgur.com/BxD3j.jpg\" rel=\"nof...
2017/07/04
[ "https://webapps.stackexchange.com/questions/107470", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/158905/" ]
I want to copy everything from the range "Start" to "End" to the top row of another sheet (Sheet2). Sheet1: [![enter image description here](https://i.stack.imgur.com/nrbBW.jpg)](https://i.stack.imgur.com/nrbBW.jpg) The data between "Start" to "End" can be any number of rows. This is my current code. It copies ever...
If you're removing many friends at the same time, it's likely more convenient to use your friends list: Go to your profile then click on the "Friends" tab under your banner. Here you can see all of the friends that you have on Facebook. To remove a friend, hover over the "✓ Friends" button next to their name. In the d...
107,668
<p>I have come across this SUMIF formula, I can't find any help doing a Google search.</p> <pre><code>=sumif(N:N,"Cat",C:C) </code></pre> <p>So, from what I understand of SUMIF, as per the documentation:</p> <pre><code>SUMIF(range, criterion, [sum_range]) </code></pre> <p>But I don't understand fully the <code>N:N<...
[ { "answer_id": 107669, "author": "Mike Scott", "author_id": 7338, "author_profile": "https://webapps.stackexchange.com/users/7338", "pm_score": 2, "selected": false, "text": "<p>N:N just means the whole of column N, and likewise for A:A.</p>\n" }, { "answer_id": 108653, "auth...
2017/07/13
[ "https://webapps.stackexchange.com/questions/107668", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/15760/" ]
I have come across this SUMIF formula, I can't find any help doing a Google search. ``` =sumif(N:N,"Cat",C:C) ``` So, from what I understand of SUMIF, as per the documentation: ``` SUMIF(range, criterion, [sum_range]) ``` But I don't understand fully the `N:N`. Can someone provide an official explanation or poin...
In this context the `!` means nothing (is meaningless) in isolation. Try: ``` =sumif(!N:N,"Cat",C:C) ``` and this will return a formula parse error. However when referring to ColumnN (as with `N:N`) in a different sheet the exclamation mark is required. So in say Sheet2 the following is valid: ``` =sumif(Sheet1!N:...
107,671
<p>This is pretty basic I'm assuming, but I'm rather inexperienced.</p> <p>So I have a dropdown list of categories. On every row I also have a column of numbers. I want to have totals of each category's number.</p> <p>Example:</p> <ul> <li>Dog 2</li> <li>Cat 1</li> <li>Duck 3</li> <li>Dog 4</li> <li>Cat 6</li> </ul>...
[ { "answer_id": 107669, "author": "Mike Scott", "author_id": 7338, "author_profile": "https://webapps.stackexchange.com/users/7338", "pm_score": 2, "selected": false, "text": "<p>N:N just means the whole of column N, and likewise for A:A.</p>\n" }, { "answer_id": 108653, "auth...
2017/07/13
[ "https://webapps.stackexchange.com/questions/107671", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/159625/" ]
This is pretty basic I'm assuming, but I'm rather inexperienced. So I have a dropdown list of categories. On every row I also have a column of numbers. I want to have totals of each category's number. Example: * Dog 2 * Cat 1 * Duck 3 * Dog 4 * Cat 6 Total Dog: 6 Total Cat: 7 Total Duck: 3
In this context the `!` means nothing (is meaningless) in isolation. Try: ``` =sumif(!N:N,"Cat",C:C) ``` and this will return a formula parse error. However when referring to ColumnN (as with `N:N`) in a different sheet the exclamation mark is required. So in say Sheet2 the following is valid: ``` =sumif(Sheet1!N:...
107,687
<p>Currently I schedule my instance shutdown in <strong><a href="https://cloud.google.com/" rel="nofollow noreferrer">Google Cloud Platform (GCP)</a></strong> the following way via <code>/etc/crontab</code>:</p> <pre><code>30 23 * * * sudo poweroff </code></pre> <p>This is done inside GCP instance. </p> <p>Is there ...
[ { "answer_id": 115851, "author": "Groot", "author_id": 183218, "author_profile": "https://webapps.stackexchange.com/users/183218", "pm_score": 1, "selected": false, "text": "<p>You can start and stop instances via the command line with the Google Cloud Platform gcloud command line utilit...
2017/07/14
[ "https://webapps.stackexchange.com/questions/107687", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/159686/" ]
Currently I schedule my instance shutdown in **[Google Cloud Platform (GCP)](https://cloud.google.com/)** the following way via `/etc/crontab`: ``` 30 23 * * * sudo poweroff ``` This is done inside GCP instance. Is there better way to do it using GCP-API? And how can I schedule the instance starting? I can't seem ...
There is a great tutorial in the Google Cloud Site. The address is <https://cloud.google.com/scheduler/docs/start-and-stop-compute-engine-instances-on-a-schedule> Extra note to help with the tutorial: When you get to the part where you are setting up the Functions. You may need to do base64 conversion if you are us...
107,845
<p>I am trying to make an Overwatch team randomizer using Google Sheets. <a href="https://docs.google.com/spreadsheets/d/1hA9lh5icO_ec12eUX60Knxk4n6XsCeHKNNfoRaHigBQ/edit?usp=sharing" rel="nofollow noreferrer">Here</a> is my spreadsheet so far. I want to use this with five other people at once. Every player has their o...
[ { "answer_id": 107824, "author": "Joshua Dance", "author_id": 43937, "author_profile": "https://webapps.stackexchange.com/users/43937", "pm_score": 2, "selected": false, "text": "<p>Welp found it. Read the docs. </p>\n\n<p>The formulas are </p>\n\n<p><code>=upper()</code>\n<code>=lower()...
2017/07/19
[ "https://webapps.stackexchange.com/questions/107845", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/159861/" ]
I am trying to make an Overwatch team randomizer using Google Sheets. [Here](https://docs.google.com/spreadsheets/d/1hA9lh5icO_ec12eUX60Knxk4n6XsCeHKNNfoRaHigBQ/edit?usp=sharing) is my spreadsheet so far. I want to use this with five other people at once. Every player has their own sheet, they click the button, and a c...
Welp found it. Read the docs. The formulas are `=upper()` `=lower()` `=proper()` There is also this answer if you need something fancy because the cells will be overwritten. [Convert all text to UPPERCASE in a Google Spreadsheet](https://webapps.stackexchange.com/questions/86751/convert-all-text-to-uppercase-in-a-...
107,934
<p>To delete multiple events, I used the script in this answer - <a href="https://webapps.stackexchange.com/questions/19513/how-to-delete-all-events-on-many-dates-all-at-once-but-not-the-whole-calendar-in/47768#47768">How to delete all events on many dates all at once but not the whole Calendar in Google Calendar?</a>...
[ { "answer_id": 110412, "author": "Luke", "author_id": 122781, "author_profile": "https://webapps.stackexchange.com/users/122781", "pm_score": 4, "selected": true, "text": "<p>Judging by <a href=\"https://forums.lastpass.com/viewtopic.php?f=12&amp;t=224775&amp;p=756325&amp;hilit=avatar#p7...
2017/07/22
[ "https://webapps.stackexchange.com/questions/107934", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/161321/" ]
To delete multiple events, I used the script in this answer - [How to delete all events on many dates all at once but not the whole Calendar in Google Calendar?](https://webapps.stackexchange.com/questions/19513/how-to-delete-all-events-on-many-dates-all-at-once-but-not-the-whole-calendar-in/47768#47768) ``` var from...
Judging by [this LastPass forum thread](https://forums.lastpass.com/viewtopic.php?f=12&t=224775&p=756325&hilit=avatar#p756325) from February 2017, as well as having personally scoured every inch of the LastPass Account Settings, I don't believe so. I'll let you know if and when I see this feature become available.
108,068
<p>I have two sheets, one is a dump sheet of values like below: <a href="https://i.stack.imgur.com/W5HYy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W5HYy.png" alt="enter image description here"></a></p> <p>and the second sheet is using values from this to the total. <a href="https://i.stack.img...
[ { "answer_id": 108077, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 4, "selected": false, "text": "<h3>countifs</h3>\n\n<p>One way is to use <code>countifs(..., D:D, \"New\") + countifs(..., D:D, \"Active\")</code> --...
2017/07/26
[ "https://webapps.stackexchange.com/questions/108068", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/161675/" ]
I have two sheets, one is a dump sheet of values like below: [![enter image description here](https://i.stack.imgur.com/W5HYy.png)](https://i.stack.imgur.com/W5HYy.png) and the second sheet is using values from this to the total. [![enter image description here](https://i.stack.imgur.com/sQU5G.png)](https://i.stack.im...
### countifs One way is to use `countifs(..., D:D, "New") + countifs(..., D:D, "Active")` -- addition works as long as the options in OR are mutually exclusive. ### filter More generally, the combination `counta(filter(...))`, which is more powerful than `countifs`, can express OR logic by addition: ``` =counta(fi...
108,115
<p>As the title says, I have Unix Timestamps on a sheet and I need to convert them to normal human-readable dates. So far I'm striking out, Google searches have turned up a few suggestions but none have worked for me at all. Does anyone have a formula that works for converting these?</p>
[ { "answer_id": 108119, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 4, "selected": false, "text": "<p>Google Sheets measure date-time in days, with 0 mark being 1899-12-30 0:00:00. This being before 1970, the Unix tim...
2017/07/27
[ "https://webapps.stackexchange.com/questions/108115", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/131801/" ]
As the title says, I have Unix Timestamps on a sheet and I need to convert them to normal human-readable dates. So far I'm striking out, Google searches have turned up a few suggestions but none have worked for me at all. Does anyone have a formula that works for converting these?
I prefer a formula that is more transparent, with fewer magic numbers. It makes it easier to see what's going on and also avoids the likelihood of having a bug (like the current top answer to this question which is off by 1 day): ``` =A1/60/60/24 + DATE(1970,1,1) ``` And if you want to shift it from UTC to a timesta...
108,216
<p>In Google Sheets, I am using the filter formula to obtain a subset of my data, but I would like to reorder the columns of the output.</p> <p>Here is a <a href="https://docs.google.com/spreadsheets/d/1z6HOCyFX_yvPVwbFJ1AWMiC1I8VFgzKULKKzwZGQ-OU/edit?usp=sharing" rel="nofollow noreferrer">sample dataset</a>, and belo...
[ { "answer_id": 108221, "author": "ttarchala", "author_id": 107464, "author_profile": "https://webapps.stackexchange.com/users/107464", "pm_score": 2, "selected": false, "text": "<p>You can reorder the columns by specifying the columns in an array expression directly. In your case, to swa...
2017/07/31
[ "https://webapps.stackexchange.com/questions/108216", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/162146/" ]
In Google Sheets, I am using the filter formula to obtain a subset of my data, but I would like to reorder the columns of the output. Here is a [sample dataset](https://docs.google.com/spreadsheets/d/1z6HOCyFX_yvPVwbFJ1AWMiC1I8VFgzKULKKzwZGQ-OU/edit?usp=sharing), and below is the filter formula I'm using. ``` =FILTER...
A query may be more straightforward: ``` =query(data!A:F,"select A,C,D,E,F,B where A>=date'2017-06-01' AND A<date'2017-07-01'") ``` since selection is by letter rather than sheet+column and it is quite easy to include or exclude headers, limit the output, change the order etc all at the same time.
108,234
<p>I can't see what I'm doing wrong with this. </p> <p><strong>This Doesn't Work</strong></p> <pre><code>=Vlookup(L2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1_Le0cMfbHRSgXqhCdzjQrBscFNm6p1sL-DowWdCZ0Fs/edit#gid=1761671943","responses!B2:R8"),4,0) </code></pre> <p>I get this error:</p> <pre><code>Did not...
[ { "answer_id": 109166, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p>VLOOKUP is format sensitive. It neither 'matches' text to number nor number to text, even where on screen the <em...
2017/08/01
[ "https://webapps.stackexchange.com/questions/108234", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/51806/" ]
I can't see what I'm doing wrong with this. **This Doesn't Work** ``` =Vlookup(L2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1_Le0cMfbHRSgXqhCdzjQrBscFNm6p1sL-DowWdCZ0Fs/edit#gid=1761671943","responses!B2:R8"),4,0) ``` I get this error: ``` Did not find value '102' in VLOOKUP evaluation. ``` [![Error i...
VLOOKUP is format sensitive. It neither 'matches' text to number nor number to text, even where on screen the *appearance* is identical. This is a standard [gotcha](https://en.wiktionary.org/wiki/gotcha), though unfortunately not mentioned [here](https://support.google.com/docs/answer/3093318). (Another is 'trailing sp...
108,273
<p>I read the post <a href="https://webapps.stackexchange.com/questions/100820/how-do-i-invite-all-team-members-to-a-new-slack-channel">here</a> to invite all team members to a channel.</p> <p>On the reverse side, I now need to invite a single team member to all my Slack channels.</p> <p>Does anyone knows how I can d...
[ { "answer_id": 113582, "author": "leonardmaguin", "author_id": 162303, "author_profile": "https://webapps.stackexchange.com/users/162303", "pm_score": 2, "selected": false, "text": "<p>Found ! \nThe code requires 2 parameters.\nYou need a user that is already invited to all the channels ...
2017/08/02
[ "https://webapps.stackexchange.com/questions/108273", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/162303/" ]
I read the post [here](https://webapps.stackexchange.com/questions/100820/how-do-i-invite-all-team-members-to-a-new-slack-channel) to invite all team members to a channel. On the reverse side, I now need to invite a single team member to all my Slack channels. Does anyone knows how I can do this?
Found ! The code requires 2 parameters. You need a user that is already invited to all the channels in which you want to invite the new team member (in my case, any collaborator of my team is invited to all channels). You need the user ID of the new team member, and you need the connection token of the previous user w...
108,499
<p>I tried the solutions from <a href="https://superuser.com/questions/206623/how-do-i-get-a-reference-to-the-last-occurrence-of-a-value-in-an-array-in-excel">this question</a> but couldn't get it to work.</p> <p>If C1:C5 = { 1, 1, 1, 2, 3 }</p> <p>And B1 = 1</p> <p>How can I return a reference to the last value of ...
[ { "answer_id": 108500, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 3, "selected": true, "text": "<p>This returns the row number of the last occurance:</p>\n\n<pre><code>=ArrayFormula(max(if(C1:C5=B1, Row(C1:C5))))\n<...
2017/08/08
[ "https://webapps.stackexchange.com/questions/108499", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/167642/" ]
I tried the solutions from [this question](https://superuser.com/questions/206623/how-do-i-get-a-reference-to-the-last-occurrence-of-a-value-in-an-array-in-excel) but couldn't get it to work. If C1:C5 = { 1, 1, 1, 2, 3 } And B1 = 1 How can I return a reference to the last value of B1 (`1`), in this case, "C3" on Goo...
This returns the row number of the last occurance: ``` =ArrayFormula(max(if(C1:C5=B1, Row(C1:C5)))) ``` [![enter image description here](https://i.stack.imgur.com/xX2Lm.png)](https://i.stack.imgur.com/xX2Lm.png)
108,632
<p>I'm trying to work out how to AutoFill the following data into Google Sheets.</p> <pre><code>| =A1 | | =B1 | | =C1 | | =A2 | | =B2 | | =C2 | | =A3 | | =B3 | | =C3 | </code></pre> <p>Any help much appreciated!</p>
[ { "answer_id": 108633, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 1, "selected": false, "text": "<p><a href=\"https://en.wikipedia.org/wiki/Modular_arithmetic\" rel=\"nofollow noreferrer\">Modular arithmetic</a> hel...
2017/08/13
[ "https://webapps.stackexchange.com/questions/108632", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/163229/" ]
I'm trying to work out how to AutoFill the following data into Google Sheets. ``` | =A1 | | =B1 | | =C1 | | =A2 | | =B2 | | =C2 | | =A3 | | =B3 | | =C3 | ``` Any help much appreciated!
[Modular arithmetic](https://en.wikipedia.org/wiki/Modular_arithmetic) helps, together with the [`offset`](https://support.google.com/docs/answer/3093379?hl=en) function: ``` =offset($A$1, (row(A1)-1)/3, mod(row(A1)-1, 3)) ``` As written above, this formula is equivalent to `=A1` because both offset values are 0. B...
108,825
<p>If the formula: </p> <pre><code>=REGEXREPLACE("" &amp; A1, "(\d)", "$1 ") </code></pre> <p>separates a number string with spaces (Ex.: 1234 => 1 2 3 4), how can I change it to do the same to letters (Ex.: ABCD => a b c d)?</p>
[ { "answer_id": 116730, "author": "derekantrican", "author_id": 86489, "author_profile": "https://webapps.stackexchange.com/users/86489", "pm_score": 1, "selected": false, "text": "<p>I wrote a script that does something like this: <a href=\"https://script.google.com/d/1BOk8MDLbLaHh6SwG1M...
2017/08/19
[ "https://webapps.stackexchange.com/questions/108825", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/163747/" ]
If the formula: ``` =REGEXREPLACE("" & A1, "(\d)", "$1 ") ``` separates a number string with spaces (Ex.: 1234 => 1 2 3 4), how can I change it to do the same to letters (Ex.: ABCD => a b c d)?
I wrote a script that does something like this: <https://script.google.com/d/1BOk8MDLbLaHh6SwG1M1tsgNXjkcC-79LE0QoipRuTDxbO3fMVvqoROQD/edit?usp=sharing> Currently it only adds events (so it doesn't update/delete events that have been changed) but you can contribute to it here: <https://github.com/derekantrican/GAS-ICS...
109,019
<p>If I merge two pages:</p> <p>Page a = 100 likes and page b = 200 likes</p> <p>will the resultant page have a total of 300 likes?</p> <p>Does merging two pages notify the users who already liked any of those two pages about the merger of those pages?</p>
[ { "answer_id": 109021, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 1, "selected": false, "text": "<p>From<a href=\"https://www.facebook.com/help/249601088403018\" rel=\"nofollow noreferrer\">Can I merge 2 Facebook ...
2017/08/23
[ "https://webapps.stackexchange.com/questions/109019", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/164144/" ]
If I merge two pages: Page a = 100 likes and page b = 200 likes will the resultant page have a total of 300 likes? Does merging two pages notify the users who already liked any of those two pages about the merger of those pages?
From[Can I merge 2 Facebook Pages?](https://www.facebook.com/help/249601088403018): > > If you have 2 Facebook Pages for the same thing, you may be able to merge them if: > > > ``` You're an admin of both Pages Your Pages have similar names and represent the same thing Your Pages have the same address, if they ha...
109,054
<p>I'm using a custom function to read the sheet name (shown in the tab) and then return the name to the cell in the summary page. The script works, however it doesn't update when I change the name of the tab. It updates seemingly randomly. I'd really like to know how to force it to update or have it update immediate...
[ { "answer_id": 109072, "author": "Y Davis", "author_id": 164311, "author_profile": "https://webapps.stackexchange.com/users/164311", "pm_score": 0, "selected": false, "text": "<p>I assume you are using this as a function in a cell in the spreadsheet. Presumably, you would like it to upda...
2017/08/24
[ "https://webapps.stackexchange.com/questions/109054", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/164282/" ]
I'm using a custom function to read the sheet name (shown in the tab) and then return the name to the cell in the summary page. The script works, however it doesn't update when I change the name of the tab. It updates seemingly randomly. I'd really like to know how to force it to update or have it update immediately. ...
Contrary as occurs with built-in functions like `=NOW()` that return an new value every time that the spreadsheet is recalculated, **custom functions** are recalculated only when their arguments change. So if we have a sheet which ID is `503917557`, then the resulting formula is ``` =SheetName("503917557") ``` if th...
109,080
<p>I have two sheets in Google Sheets. In one I have two columns with values I need to find in two columns of the second one and return number of matches for each row in the first one. </p> <pre><code>=Iferror(INDEX ( Leads!$C$2:C$1000, ( MATCH ( $A2 &amp; $B2,Leads!$A$2:$A$1000 &amp; Leads!$B$2:$B$100, 0 ))),0) </cod...
[ { "answer_id": 109083, "author": "abbood", "author_id": 91362, "author_profile": "https://webapps.stackexchange.com/users/91362", "pm_score": 2, "selected": true, "text": "<p>Pretty easy, I simply had to <em>star</em> the folder in question, and then as soon as I wanted to move the file ...
2017/08/25
[ "https://webapps.stackexchange.com/questions/109080", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/164323/" ]
I have two sheets in Google Sheets. In one I have two columns with values I need to find in two columns of the second one and return number of matches for each row in the first one. ``` =Iferror(INDEX ( Leads!$C$2:C$1000, ( MATCH ( $A2 & $B2,Leads!$A$2:$A$1000 & Leads!$B$2:$B$100, 0 ))),0) ``` I've been using this ...
Pretty easy, I simply had to *star* the folder in question, and then as soon as I wanted to move the file around, the starred folders immediately appeared.
109,121
<p>I'm tired of Google Sheets re-triggering my importHTML functions every time I make a change to my sheet, so I would like to make that function happen manually, and store the returned data until the next time the function is manually called.</p> <p><a href="https://webapps.stackexchange.com/questions/108818/how-to-m...
[ { "answer_id": 109124, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 2, "selected": false, "text": "<p>The error occurs because spreadsheet functions like importHTML can't be calculated by Google Apps Script.</p>\n\n...
2017/08/26
[ "https://webapps.stackexchange.com/questions/109121", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/131801/" ]
I'm tired of Google Sheets re-triggering my importHTML functions every time I make a change to my sheet, so I would like to make that function happen manually, and store the returned data until the next time the function is manually called. [I previously asked about how to do this with `importJSON()`](https://webapps....
The error occurs because spreadsheet functions like importHTML can't be calculated by Google Apps Script. The [Class UrlFetchApp](https://developers.google.com/apps-script/reference/url-fetch/url-fetch-app) it's able to get content from a URL. Once the script got the content, it should parse it, but there is a problem...
109,207
<h1>Background</h1> <p>I'm making a spreadsheet that will plan out attendees for a wedding. There will be separate halls for men and women, and we are debating which age groups should be invited. Right now I have a tab in my sheet called <code>age range</code> and it has the following age ranges:</p> <ul> <li>0 - 3</...
[ { "answer_id": 109213, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 0, "selected": false, "text": "<p>Add a column with flags, say <code>0</code>, for baby, <code>1</code> for child, <code>2</code> for teenager, <co...
2017/08/29
[ "https://webapps.stackexchange.com/questions/109207", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/91362/" ]
Background ========== I'm making a spreadsheet that will plan out attendees for a wedding. There will be separate halls for men and women, and we are debating which age groups should be invited. Right now I have a tab in my sheet called `age range` and it has the following age ranges: * 0 - 3 * 4 - 12 * 12 - 18 * 18+...
The use of `MATCH` was, indeed, was the way to go, adding that inside the `COUNTIFS` that you started with. (Corrected for the first row of the ranges.) ``` COUNTIFS(heba_immediate_family!C2:C, B11, heba_immediate_family!D2:D, C11) ``` As it is in the screen shot, the first criteria in your `COUNTIFS` is okay, so we...
109,225
<p>After exporting a Trello board as JSON or CSV, is it possible to import it again? (to the same/new account)</p>
[ { "answer_id": 109213, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 0, "selected": false, "text": "<p>Add a column with flags, say <code>0</code>, for baby, <code>1</code> for child, <code>2</code> for teenager, <co...
2017/08/30
[ "https://webapps.stackexchange.com/questions/109225", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/164735/" ]
After exporting a Trello board as JSON or CSV, is it possible to import it again? (to the same/new account)
The use of `MATCH` was, indeed, was the way to go, adding that inside the `COUNTIFS` that you started with. (Corrected for the first row of the ranges.) ``` COUNTIFS(heba_immediate_family!C2:C, B11, heba_immediate_family!D2:D, C11) ``` As it is in the screen shot, the first criteria in your `COUNTIFS` is okay, so we...
109,253
<p>I'm trying to use the entries of this form to make spreadsheets for billing my clients. I'd like to set a custom filter for each client so that on the day I need to bill them I can simply apply the preset filter and it will display a period of entries from, say, last monday through friday. I typically will run thi...
[ { "answer_id": 109262, "author": "Timo", "author_id": 164809, "author_profile": "https://webapps.stackexchange.com/users/164809", "pm_score": 1, "selected": false, "text": "<p>The Advanced Filtering code I figured out approaches it a little backward from how I was thinking. This is the f...
2017/08/30
[ "https://webapps.stackexchange.com/questions/109253", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/164809/" ]
I'm trying to use the entries of this form to make spreadsheets for billing my clients. I'd like to set a custom filter for each client so that on the day I need to bill them I can simply apply the preset filter and it will display a period of entries from, say, last monday through friday. I typically will run this on ...
The Advanced Filtering code I figured out approaches it a little backward from how I was thinking. This is the filter code that worked for me: ``` =Date.AddDays(7) >= "today" ```
109,340
<p>I have log-events with a timestamp like the following in Google Spreadsheets:</p> <pre><code>Date Time Event 8-30-17 8,42 Login 8-30-17 12,31 Logout 8-30-17 14,1 Login 8-30-17 18,54 Logout 8-31-17 6,89 Login 8-31-17 14,01 Logout 9-1-17 8,24 Login 9-1-17 12,57 Logout 9-1-17 13,43 Login...
[ { "answer_id": 109332, "author": "serenesat", "author_id": 87130, "author_profile": "https://webapps.stackexchange.com/users/87130", "pm_score": 0, "selected": false, "text": "<p>There is no way to disable the comments and likes for all friends. You can do it for specific people if want ...
2017/09/01
[ "https://webapps.stackexchange.com/questions/109340", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/165000/" ]
I have log-events with a timestamp like the following in Google Spreadsheets: ``` Date Time Event 8-30-17 8,42 Login 8-30-17 12,31 Logout 8-30-17 14,1 Login 8-30-17 18,54 Logout 8-31-17 6,89 Login 8-31-17 14,01 Logout 9-1-17 8,24 Login 9-1-17 12,57 Logout 9-1-17 13,43 Login 9-1-17 18,03...
What you need to do is change the privacy setting of your profile pic to viewable by "**Only Me**". That means your friends and the general public will only be able to see the thumbnail version of your profile pic, they will not be able to click on it and like it or comment on it. [![enter image description here](http...
109,439
<p>How do you COUNT the number of unique rows in Google Sheets?<br> I have searched the knowledge base here but no luck.</p> <p>My table looks like this :</p> <pre><code>Inst vCPU RAM OS t2.large 2 8 Windows t2.large 2 8 Windows t2.medium 2 4 Windows t2.small 1 2 R...
[ { "answer_id": 109441, "author": "Vidar S. Ramdal", "author_id": 21583, "author_profile": "https://webapps.stackexchange.com/users/21583", "pm_score": 1, "selected": false, "text": "<p>I'm sure there are many ways to accomplish something like this. One suggestion is to use the <a href=\"...
2017/09/05
[ "https://webapps.stackexchange.com/questions/109439", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/165282/" ]
How do you COUNT the number of unique rows in Google Sheets? I have searched the knowledge base here but no luck. My table looks like this : ``` Inst vCPU RAM OS t2.large 2 8 Windows t2.large 2 8 Windows t2.medium 2 4 Windows t2.small 1 2 RHEL t2.micro 1 ...
This will be the easiest method. ``` =QUERY (A1:D7,"Select Count (A),A,avg(B),avg(C), max (D) group by A") ```
109,516
<p>I have Google spreadsheet which contains the names and email addresses of faculty members at my school. I am looking to be able to have the spreadsheet create a list faculty members that I choose. I have created a column with a simple drop down list (Yes or No) and would like to know if there is an IF statement, or ...
[ { "answer_id": 109517, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 0, "selected": false, "text": "<p>In J2 please try:</p>\n\n<pre><code>=if(B2=\"Yes\",F2&amp;\";\",\"\")\n</code></pre>\n" }, { "answer_id":...
2017/09/07
[ "https://webapps.stackexchange.com/questions/109516", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/165519/" ]
I have Google spreadsheet which contains the names and email addresses of faculty members at my school. I am looking to be able to have the spreadsheet create a list faculty members that I choose. I have created a column with a simple drop down list (Yes or No) and would like to know if there is an IF statement, or som...
Try this:H2: ``` =ARRAYFORMULA(CONCATENATE(IF(B2:B10="yes",F2:F10&";",""))) ```
109,688
<p>Is there any way populate a cell in a Google sheet based on the value in the URL?</p> <p>For example: If the hyperlink below was on sheetA and the link was clicked. Is there any way to get <code>?cell=english</code> into a cell in sheetB?</p> <pre><code>=HYPERLINK("#gid=2018939279?cell=english","English") </code><...
[ { "answer_id": 109776, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>The event of someone clicking a hyperlink embedded in a spreadsheet is not visible to the spreadsheet itself. It ca...
2017/09/12
[ "https://webapps.stackexchange.com/questions/109688", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/51806/" ]
Is there any way populate a cell in a Google sheet based on the value in the URL? For example: If the hyperlink below was on sheetA and the link was clicked. Is there any way to get `?cell=english` into a cell in sheetB? ``` =HYPERLINK("#gid=2018939279?cell=english","English") ```
The event of someone clicking a hyperlink embedded in a spreadsheet is not visible to the spreadsheet itself. It cannot trigger any changes. (Unless the link is to some web application which is programmed to modify the spreadsheet). As for extracting the URL from a cell with `=hyperlink` formula - this can't be done ...
109,996
<p>How do I output nothing with an IF function?</p> <p>I have created this nested function that takes the average of three cells. However, if one of those cells is empty, it should only take the average of the other two numbers. For this I have established this function:</p> <pre><code>=AVERAGE((IF(B5="",,SQRT((B3-B5...
[ { "answer_id": 109999, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p><a href=\"https://support.google.com/docs/answer/3093615\" rel=\"nofollow noreferrer\">AVERAGE</a> will take into...
2017/09/20
[ "https://webapps.stackexchange.com/questions/109996", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/166824/" ]
How do I output nothing with an IF function? I have created this nested function that takes the average of three cells. However, if one of those cells is empty, it should only take the average of the other two numbers. For this I have established this function: ``` =AVERAGE((IF(B5="",,SQRT((B3-B5)^2))),(IF(B6="",,SQR...
Try this: ``` =AVERAGEIF({(IF(B5="",,SQRT((B3-B5)^2))),(IF(B6="",,SQRT((B3-B6)^2))),(IF(B7="",,SQRT((B3-B7)^2)))},">0") ``` > > Please note that the parameter for value to return when true is empty > > >
110,013
<p>Let's say I have this data in a spreadsheet</p> <pre><code>+-------+---------+--------+ | Name | Letters | Number | +-------+---------+--------+ | Bob | a,b,c | 1,2,3 | +-------+---------+--------+ | Bob | d | 4 | +-------+---------+--------+ | Bob | b,c | 3,5 | +-------+---------+------...
[ { "answer_id": 109999, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p><a href=\"https://support.google.com/docs/answer/3093615\" rel=\"nofollow noreferrer\">AVERAGE</a> will take into...
2017/09/20
[ "https://webapps.stackexchange.com/questions/110013", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/166867/" ]
Let's say I have this data in a spreadsheet ``` +-------+---------+--------+ | Name | Letters | Number | +-------+---------+--------+ | Bob | a,b,c | 1,2,3 | +-------+---------+--------+ | Bob | d | 4 | +-------+---------+--------+ | Bob | b,c | 3,5 | +-------+---------+--------+ | Alice | ...
Try this: ``` =AVERAGEIF({(IF(B5="",,SQRT((B3-B5)^2))),(IF(B6="",,SQRT((B3-B6)^2))),(IF(B7="",,SQRT((B3-B7)^2)))},">0") ``` > > Please note that the parameter for value to return when true is empty > > >
110,014
<p>I am trying to create a formula that pulls responses from a Google Form and organizes them into rows correlating with a client's name. The name is entered manually in and also appears in a drop-down in the form, so they should always match up.</p> <p>I used <code>=ARRAYFORMULA(IFERROR(VLOOKUP($A$3:$A,'Form Response...
[ { "answer_id": 110022, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>I don't see an arrayformula solution for this. Here is a solution that requires one formula per cell on \"Current L...
2017/09/20
[ "https://webapps.stackexchange.com/questions/110014", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/166864/" ]
I am trying to create a formula that pulls responses from a Google Form and organizes them into rows correlating with a client's name. The name is entered manually in and also appears in a drop-down in the form, so they should always match up. I used `=ARRAYFORMULA(IFERROR(VLOOKUP($A$3:$A,'Form Responses 1'!$B$2:$F, B...
Try this:B3: ``` =ARRAYFORMULA(IFERROR(VLOOKUP($A$3:$A,SORT(FILTER({'Form Responses 1'!$B$2:$F$7,'Form Responses 1'!$A$2:$A$7},'Form Responses 1'!C2:C7<>""),6,0),B2,0))) ``` Drag fill to the right. It looks big only because of the name of your sheet :( Otherwise, It's a simple blank filter and sorting by A( timesta...
110,062
<p>I have a column of un-ordered numbers along with a column of names. In a different sheet I calculate the Max of the numbers column with the formula:</p> <pre><code> =MAX('Form Responses 1'!E:E) </code></pre> <p>Now I would like to find what name belongs to that max value.</p>
[ { "answer_id": 110060, "author": "Joshua Dela Cruz", "author_id": 126894, "author_profile": "https://webapps.stackexchange.com/users/126894", "pm_score": 5, "selected": true, "text": "<p><strong>On Year 2017</strong></p>\n<p>This answer is provided by Slack itself, Admins or even Owner c...
2017/09/22
[ "https://webapps.stackexchange.com/questions/110062", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/166983/" ]
I have a column of un-ordered numbers along with a column of names. In a different sheet I calculate the Max of the numbers column with the formula: ``` =MAX('Form Responses 1'!E:E) ``` Now I would like to find what name belongs to that max value.
**On Year 2017** This answer is provided by Slack itself, Admins or even Owner can't delete the users permanently because of this reason: [![Slack Note](https://i.stack.imgur.com/uohXr.png)](https://i.stack.imgur.com/uohXr.png) **Update: 2022** According to Slack, the **profile information of the user can now be de...
110,132
<pre><code>WHAT | AMNT | CATEGORY | | Cat1 | Cat2 | Cat3 ---------------------------------- Food | 32 | x | | Pants | 19 | | x | Phone | 10 | | x | Pizza | 93 | | | x Car | 20 | x | | --------------------------------...
[ { "answer_id": 110060, "author": "Joshua Dela Cruz", "author_id": 126894, "author_profile": "https://webapps.stackexchange.com/users/126894", "pm_score": 5, "selected": true, "text": "<p><strong>On Year 2017</strong></p>\n<p>This answer is provided by Slack itself, Admins or even Owner c...
2017/09/24
[ "https://webapps.stackexchange.com/questions/110132", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/64761/" ]
``` WHAT | AMNT | CATEGORY | | Cat1 | Cat2 | Cat3 ---------------------------------- Food | 32 | x | | Pants | 19 | | x | Phone | 10 | | x | Pizza | 93 | | | x Car | 20 | x | | ---------------------------------- SUM ...
**On Year 2017** This answer is provided by Slack itself, Admins or even Owner can't delete the users permanently because of this reason: [![Slack Note](https://i.stack.imgur.com/uohXr.png)](https://i.stack.imgur.com/uohXr.png) **Update: 2022** According to Slack, the **profile information of the user can now be de...
110,180
<p>I have a Google Sheets that is updated daily with new inventory data. Currently I have to insert a column, copy and paste the data from A15-50 into C15-50.</p> <p>Is there any way to insert a column where column C is (shifting data to the right), copy A15-A50 to C15-50 so that yesterday's data goes into a different...
[ { "answer_id": 110802, "author": "Maarten Troost", "author_id": 168430, "author_profile": "https://webapps.stackexchange.com/users/168430", "pm_score": 2, "selected": false, "text": "<pre><code>var sourceRange = sourceSheet.getRange(\"A15:A50\");\nvar destRange=sourceSheet.getRange(\"C15...
2017/09/26
[ "https://webapps.stackexchange.com/questions/110180", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/167270/" ]
I have a Google Sheets that is updated daily with new inventory data. Currently I have to insert a column, copy and paste the data from A15-50 into C15-50. Is there any way to insert a column where column C is (shifting data to the right), copy A15-A50 to C15-50 so that yesterday's data goes into a different column (C...
``` var sourceRange = sourceSheet.getRange("A15:A50"); var destRange=sourceSheet.getRange("C15:C50"); sourceRange.copyTo(destRange); sourceRange.clearContent(); ```
110,182
<p>I'm stress testing an application that relies on importing spreadsheets. I can populate those spreadsheets with dummy data, but sometimes I need thousands upon thousands of rows (the only thing that needs to change from one row to another is the email, where it can auto increment like so: user1, user2 etc). </p> <p...
[ { "answer_id": 110802, "author": "Maarten Troost", "author_id": 168430, "author_profile": "https://webapps.stackexchange.com/users/168430", "pm_score": 2, "selected": false, "text": "<pre><code>var sourceRange = sourceSheet.getRange(\"A15:A50\");\nvar destRange=sourceSheet.getRange(\"C15...
2017/09/26
[ "https://webapps.stackexchange.com/questions/110182", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/91362/" ]
I'm stress testing an application that relies on importing spreadsheets. I can populate those spreadsheets with dummy data, but sometimes I need thousands upon thousands of rows (the only thing that needs to change from one row to another is the email, where it can auto increment like so: user1, user2 etc). I don't w...
``` var sourceRange = sourceSheet.getRange("A15:A50"); var destRange=sourceSheet.getRange("C15:C50"); sourceRange.copyTo(destRange); sourceRange.clearContent(); ```
110,241
<p>I want to reflect the the latest updated data from another sheet. One possible solution to that is getting a reference cell from the source sheet. For example:</p> <p><a href="https://i.stack.imgur.com/UxaQK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UxaQK.png" alt="list example 1"></a></p> ...
[ { "answer_id": 110243, "author": "TheMaster", "author_id": 165717, "author_profile": "https://webapps.stackexchange.com/users/165717", "pm_score": 0, "selected": false, "text": "<p>I'm not sure whether this is another worksheet or just another tab in the same worksheet. </p>\n\n<p>If it'...
2017/09/27
[ "https://webapps.stackexchange.com/questions/110241", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/167069/" ]
I want to reflect the the latest updated data from another sheet. One possible solution to that is getting a reference cell from the source sheet. For example: [![list example 1](https://i.stack.imgur.com/UxaQK.png)](https://i.stack.imgur.com/UxaQK.png) I could have created a cell below and I want that the cell that ...
> > My problem now is: I want to find a way to not manually update the V18's formula(=V10) anymore. Ex. if I add one transaction, V18 will then be =V11 > > > Based on the comment, **V18**: ``` =ARRAYFORMULA(LOOKUP(2,1/(V4:V17<>""),V4:V17)) ``` Or ``` =INDIRECT("R[-"&COUNTBLANK(V4:V17)+1&"]C",0) ```
110,277
<p>Say I have the following table (with cells A1 &amp; A2 merged together to have the common value of <code>500</code>):</p> <pre><code> | Col A | Col B | Col C | |-------|-------|--------| 1| 500 | 100 | =A1+B1 | 2| | 200 | =A2+B2 | </code></pre> <p>The Value of C1 is correctly populated to <code>600</...
[ { "answer_id": 110296, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 3, "selected": false, "text": "<blockquote>\n <p>more practical than copying and pasting (and then keeping in sync) the values of A1 and A2?</p>\n</...
2017/09/28
[ "https://webapps.stackexchange.com/questions/110277", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/167475/" ]
Say I have the following table (with cells A1 & A2 merged together to have the common value of `500`): ``` | Col A | Col B | Col C | |-------|-------|--------| 1| 500 | 100 | =A1+B1 | 2| | 200 | =A2+B2 | ``` The Value of C1 is correctly populated to `600` while the value of C2 is populated as `200` in...
> > more practical than copying and pasting (and then keeping in sync) the values of A1 and A2? > > > If you want A2 to have the same value as A1, do not merge them but enter `=A1` in A2. This takes care of keeping them as sync; only A1 should be updated. Spreadsheet formulas have to refer to merged cells by the...
110,306
<p>I have a data set with multiple values that are not adjacent. I wish to make a named range of these values.</p> <p>Simplified example data:</p> <pre><code> A B 1 ABC 536936062976506 2 XYZ 891048446616931 3 ABC 250538612742584 </code></pre> <p>I wish for B1 and B3 to be part of a single...
[ { "answer_id": 110377, "author": "hlecuanda", "author_id": 137783, "author_profile": "https://webapps.stackexchange.com/users/137783", "pm_score": 4, "selected": false, "text": "<p>Sure you can! To define non-contiguous ranges, use an array notation: on the box where you define a range e...
2017/09/29
[ "https://webapps.stackexchange.com/questions/110306", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/131801/" ]
I have a data set with multiple values that are not adjacent. I wish to make a named range of these values. Simplified example data: ``` A B 1 ABC 536936062976506 2 XYZ 891048446616931 3 ABC 250538612742584 ``` I wish for B1 and B3 to be part of a single named range, but I can't find a w...
Sure you can! To define non-contiguous ranges, use an array notation: on the box where you define a range enter: ``` {A:A,C:C,E:E} ``` This should create a discontinuous range that includes columns A, C and E but not B or D. In functions like `vlookup` the named range behaves as if B and D did not exist and A,C ...
110,379
<p>I have a range of percentages in cells A1:A5. I want to calculate how much all of these percentages compound up to and give a final factor.</p> <p>e.g., 1.00 times A1 (10%) times A2 (6.5%) is 1.1715.</p> <p>I can't think of a way to do this dynamically. The best I have is:</p> <pre><code>=(1 + A1) * (1 + A2) ... ...
[ { "answer_id": 110386, "author": "Dina Kaiser", "author_id": 155981, "author_profile": "https://webapps.stackexchange.com/users/155981", "pm_score": -1, "selected": false, "text": "<p>You can also highlight selected cells using click-scroll-shift+click. Perhaps if you deleted a smaller ...
2017/10/01
[ "https://webapps.stackexchange.com/questions/110379", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/167642/" ]
I have a range of percentages in cells A1:A5. I want to calculate how much all of these percentages compound up to and give a final factor. e.g., 1.00 times A1 (10%) times A2 (6.5%) is 1.1715. I can't think of a way to do this dynamically. The best I have is: ``` =(1 + A1) * (1 + A2) ... ``` which is not graceful ...
Try executing the Google Drive REST APIs method Files:emptyTrash from <https://developers.google.com/drive/api/v3/reference/files/emptyTrash> Open the link, click **TRY IT!** and **EXECUTE** and Authorise your account. You will get a 204 response which indicates a success execution. This worked for me, but the files ...
110,398
<p>I have a Google Sheets spreadsheet which has intermittent data. I have a column where I'd like to calculate the difference between the first value in each row, and the last value in that row. The first and last columns aren't always the same.</p> <p><a href="https://i.stack.imgur.com/NCcr1.png" rel="nofollow nore...
[ { "answer_id": 110399, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 3, "selected": true, "text": "<p>For the first value:</p>\n\n<pre><code>=+filter(B2:E2,B2:E2&lt;&gt;\"\")\n</code></pre>\n\n<p>For the last value:<...
2017/10/02
[ "https://webapps.stackexchange.com/questions/110398", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/137398/" ]
I have a Google Sheets spreadsheet which has intermittent data. I have a column where I'd like to calculate the difference between the first value in each row, and the last value in that row. The first and last columns aren't always the same. [![Data example](https://i.stack.imgur.com/NCcr1.png)](https://i.stack.imgur...
For the first value: ``` =+filter(B2:E2,B2:E2<>"") ``` For the last value: ``` =index(B2:E2,match(1E100,B2:E2)) ``` So together for your requirement: ``` =index(B2:E2,match(1E+100,B2:E2))/(+filter(B2:E2,B2:E2<>""))-1 ``` [FILTER](https://support.google.com/docs/answer/3093197) [INDEX](https://support.google...
110,473
<p>Is there a way how to set manual word breaks with a hyphenation character in Google Docs?</p> <p>I do not mean setting a manual <code>-</code> but an invisible character.</p> <p>I searched the help and <a href="https://productforums.google.com/forum/#!topic/docs/si_3oMNhEjs" rel="noreferrer">forums</a> but just foun...
[ { "answer_id": 110474, "author": "Ameer", "author_id": 31835, "author_profile": "https://webapps.stackexchange.com/users/31835", "pm_score": 0, "selected": false, "text": "<ul>\n<li>Open the required Google Doc</li>\n<li>Select <strong>Add-ons</strong> > <strong>Get add-ons</strong></li>...
2017/10/05
[ "https://webapps.stackexchange.com/questions/110473", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/51145/" ]
Is there a way how to set manual word breaks with a hyphenation character in Google Docs? I do not mean setting a manual `-` but an invisible character. I searched the help and [forums](https://productforums.google.com/forum/#!topic/docs/si_3oMNhEjs) but just found old replies saying "do a feature request". Since th...
Edit: As pointed out by [Konrad Rudolph](https://webapps.stackexchange.com/users/8170/konrad-rudolph) in a comment reply here, this solution no longer works. It seems Google broke it. They may restore it in the future, so I'm leaving this answer intact in hopes they fix the bug. Use a zero-width space character. Here'...
110,567
<p>I have a formula: Total Hours:</p> <pre><code>=DSUM(data!A1:B, "Number of Hours", {"Provider Name";A2}) </code></pre> <p>The column A is a dynamic list of all the providers. How do I use an array formula to fill in all the rows that have a provider in column A, using the provider that is in that row in column A?</...
[ { "answer_id": 110562, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p>Assuming (1) your checkbox is character <code>☑</code> (Code 9745) and your entire row runs to ColumnZ, then plea...
2017/10/06
[ "https://webapps.stackexchange.com/questions/110567", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/168178/" ]
I have a formula: Total Hours: ``` =DSUM(data!A1:B, "Number of Hours", {"Provider Name";A2}) ``` The column A is a dynamic list of all the providers. How do I use an array formula to fill in all the rows that have a provider in column A, using the provider that is in that row in column A? I tried doing: Test 1: ``...
**Conditional formatting: If checkbox ticked in cell A1, change color/strikethrough of cells from B1-F1.** 1. Insert a checkbox from "Insert" tab to A1. 2. Select the cells (B1-F1) that needs to be of different color/strikethrough when a checkbox in A1 is ticked/ selected. 3. From tab above, "Format" > "Conditional fo...
110,646
<p>When I take notes on my PC, I usually write everything down in a regular txt file first. Later, I would copy the content of that txt file over to Google Keep.</p> <p>I don't know when they introduced this... "feature", but it's very irritating: whenever I paste the text from the txt file onto Google Keep, it adds a...
[ { "answer_id": 113749, "author": "Oleg Cherr", "author_id": 176056, "author_profile": "https://webapps.stackexchange.com/users/176056", "pm_score": 2, "selected": false, "text": "<p>This is a well known issue of Google Keep (<a href=\"https://productforums.google.com/forum/#!topic/docs/1...
2017/10/10
[ "https://webapps.stackexchange.com/questions/110646", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/-1/" ]
When I take notes on my PC, I usually write everything down in a regular txt file first. Later, I would copy the content of that txt file over to Google Keep. I don't know when they introduced this... "feature", but it's very irritating: whenever I paste the text from the txt file onto Google Keep, it adds another lin...
The problem seems to be fixed now. Copy/paste works ok with Chrome + Google Keep, no extra newlines.
110,677
<p>I have a Google sheet with two worksheets.</p> <ul> <li>Worksheet A contains a big list of people with <code>name</code>, <code>e-mail</code>, <code>age</code>, <code>phone number</code> etc. </li> <li>Worksheet B contains a small list with specific people and only <code>e-mail</code> as an identifier.</li> </ul> ...
[ { "answer_id": 110679, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 0, "selected": false, "text": "<p>Try <kbd>Ctrl</kbd>+<kbd>k</kbd> or click on the link:</p>\n\n<p><a href=\"https://i.stack.imgur.com/78w7V.jpg\" ...
2017/10/11
[ "https://webapps.stackexchange.com/questions/110677", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/168458/" ]
I have a Google sheet with two worksheets. * Worksheet A contains a big list of people with `name`, `e-mail`, `age`, `phone number` etc. * Worksheet B contains a small list with specific people and only `e-mail` as an identifier. I would like to be able to add a link **automatically** for people in Worksheet B which ...
I found a solution here which works for my request: <https://www.quora.com/In-Google-Sheets-how-can-a-cell-be-made-to-hyper-link-to-another-cell/answer/Darren-Mac> The formula I was looking for is this: ``` =CONCAT("https://docs.google.com/spreadsheets/d/.../edit#gid=12967183&range=B";MATCH(B2:B;Sheet2!B:B;0)) ```
110,686
<p>I have a column with the following cell values:</p> <pre><code>ce Km st Ge eS k lm LS lt </code></pre> <p>I would like to count any cell that contains the letter "s", "t", "m", or "g" but I do not want to double count a cell that has a combination of those letters in it. For example, a cell that has "ts" I would l...
[ { "answer_id": 110687, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p>You fail to mention whether case sensitive, but assuming your list is in G4:G12 you might try:</p>\n\n<pre><code>...
2017/10/11
[ "https://webapps.stackexchange.com/questions/110686", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/165356/" ]
I have a column with the following cell values: ``` ce Km st Ge eS k lm LS lt ``` I would like to count any cell that contains the letter "s", "t", "m", or "g" but I do not want to double count a cell that has a combination of those letters in it. For example, a cell that has "ts" I would like to count just once, in...
You fail to mention whether case sensitive, but assuming your list is in G4:G12 you might try: ``` =sum(ArrayFormula(--(len(G4:G12)<>len(regexreplace(G4:G12,"s|t|m|g",""))))) ``` [SUM](https://support.google.com/docs/answer/3093669) [LEN](https://support.google.com/docs/answer/3094081) [REGEXREPLACE](https://s...
110,764
<p>How can I clean out that All Mail folder without removing the items in labels to get space in storage? </p>
[ { "answer_id": 110765, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<p>It's not possible to clean out \"All Mail folder\" without removing messages in labels to get space because the m...
2017/10/13
[ "https://webapps.stackexchange.com/questions/110764", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/168648/" ]
How can I clean out that All Mail folder without removing the items in labels to get space in storage?
In order to remove all email that does not have a label assigned to it, search for any message that does not have a user assigned label. Select all messages that match this search, delete. ``` has:nouserlabels ``` <https://mail.google.com/mail/ca/u/0/#search/has%3Anouserlabels> If you have email that are also in t...
110,784
<p>I need to change the multiple links in a Google Sheets from normal sheet hyperlinks such as:</p> <pre><code>=HYPERLINK("https://traveltractions.com","Travel Tractions") </code></pre> <p>into:</p> <pre><code>&lt;a href="https://traveltractions.com"&gt;Travel Tractions&lt;/a&gt; </code></pre> <p>How can I do thi...
[ { "answer_id": 110790, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": true, "text": "<p>Could be impractical if your links are scattered throughout a sheet, but should be viable if say all in a column (...
2017/10/14
[ "https://webapps.stackexchange.com/questions/110784", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/168714/" ]
I need to change the multiple links in a Google Sheets from normal sheet hyperlinks such as: ``` =HYPERLINK("https://traveltractions.com","Travel Tractions") ``` into: ``` <a href="https://traveltractions.com">Travel Tractions</a> ``` How can I do this in bulk?
Could be impractical if your links are scattered throughout a sheet, but should be viable if say all in a column (assumed `A`): * Replace all `=` in ColumnA with say `#` with `Also search within formulae` * Enter, say in B1, and copy down to suit: ``` =substitute(trim("<a href="&mid(A1,12,find(",",A1,12)-12)&">"&mid...
110,793
<p>I'd like to have a medium black top border across each row whose A column cell contains text in a Google Spreadsheet.</p> <p>I'd also like to have the same top border across each row whose whole row is blank.</p> <p>I understand Conditional Formatting doesn't include border formatting as it does in Excel, and I am...
[ { "answer_id": 110805, "author": "Maarten Troost", "author_id": 168430, "author_profile": "https://webapps.stackexchange.com/users/168430", "pm_score": 3, "selected": true, "text": "<p>The process that would generate a script that makes mentioned conditional formatting includes of course...
2017/10/15
[ "https://webapps.stackexchange.com/questions/110793", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/168744/" ]
I'd like to have a medium black top border across each row whose A column cell contains text in a Google Spreadsheet. I'd also like to have the same top border across each row whose whole row is blank. I understand Conditional Formatting doesn't include border formatting as it does in Excel, and I am as of yet unfami...
The process that would generate a script that makes mentioned conditional formatting includes of course what you mentioned you are unfamiliar with: scripting. A) Learn the basics of google apps script bound to google sheets. This is just a small part of apps script and this is [good starting point](https://developers....
110,800
<p>It seems to end up in their iCloud calendar instead of their Google Calendar.</p> <p>I use Google Calendar and have had some problems receiving invitations from people using iCloud calendar (I have an iCloud account but I don't use the calendar). I therefore did some experimenting to try to nail down what was going...
[ { "answer_id": 110805, "author": "Maarten Troost", "author_id": 168430, "author_profile": "https://webapps.stackexchange.com/users/168430", "pm_score": 3, "selected": true, "text": "<p>The process that would generate a script that makes mentioned conditional formatting includes of course...
2017/10/15
[ "https://webapps.stackexchange.com/questions/110800", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/23122/" ]
It seems to end up in their iCloud calendar instead of their Google Calendar. I use Google Calendar and have had some problems receiving invitations from people using iCloud calendar (I have an iCloud account but I don't use the calendar). I therefore did some experimenting to try to nail down what was going on: 1. I...
The process that would generate a script that makes mentioned conditional formatting includes of course what you mentioned you are unfamiliar with: scripting. A) Learn the basics of google apps script bound to google sheets. This is just a small part of apps script and this is [good starting point](https://developers....
110,831
<p>I've got a range of cells in Google Sheets that contain a mixture of text and numbers, or just text, or even blank cells. For example:</p> <ul> <li>Yes 32</li> <li>Yes 46</li> <li>Yes</li> <li>No 1</li> <li>No </li> <li>Apologies 23</li> <li>Apologies</li> <li>n/a</li> <li>(and blank cells)</li> </ul> <p>I want th...
[ { "answer_id": 110843, "author": "ttarchala", "author_id": 107464, "author_profile": "https://webapps.stackexchange.com/users/107464", "pm_score": 1, "selected": false, "text": "<p>Guarding your regexextract() with a regexmatch() should help:</p>\n\n<pre><code>=ARRAYFORMULA(\n IF(REGEXM...
2017/10/16
[ "https://webapps.stackexchange.com/questions/110831", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/166646/" ]
I've got a range of cells in Google Sheets that contain a mixture of text and numbers, or just text, or even blank cells. For example: * Yes 32 * Yes 46 * Yes * No 1 * No * Apologies 23 * Apologies * n/a * (and blank cells) I want the sum of just the numbers in cells that contain the word 'Yes' as well as a number. S...
Guarding your regexextract() with a regexmatch() should help: ``` =ARRAYFORMULA( IF(REGEXMATCH(P4:ZZ4, "(\d+)"), SUM(--REGEXEXTRACT(P4:ZZ4,"(\d+)")), "" ) ) ``` If it doesn't, please provide a link to an example spreadsheet.