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
99,606
<p>I have a sheet on which there are students' birth dates. What I would like to do is to put a number on top of a column, and if any birth date is between the range of today() and today+the number, for them to show up under this column. Something like this:</p> <p><a href="https://i.stack.imgur.com/wS67p.png" rel="no...
[ { "answer_id": 99609, "author": "Robin Gertenbach", "author_id": 106713, "author_profile": "https://webapps.stackexchange.com/users/106713", "pm_score": 1, "selected": true, "text": "<p>Does this work?</p>\n\n<p><code>C2</code>: <code>=FILTER(A2:A7, B2:B7 = TODAY())</code><br>\n<code>D2<...
2016/10/20
[ "https://webapps.stackexchange.com/questions/99606", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/137311/" ]
I have a sheet on which there are students' birth dates. What I would like to do is to put a number on top of a column, and if any birth date is between the range of today() and today+the number, for them to show up under this column. Something like this: [![Google Spreadsheets Birth date sort](https://i.stack.imgur.c...
Does this work? `C2`: `=FILTER(A2:A7, B2:B7 = TODAY())` `D2`: `=FILTER(A2:A7, B2:B7 = TODAY() + 1)` `E2`: `=FILTER(A2:A7, B2:B7 >= TODAY() + 2, B2:B7 <= TODAY() + 7)` `F2`: `=FILTER(A2:A7, B2:B7 >= TODAY() + 8, B2:B7 <= TODAY() + 14)` `G2`: `=FILTER(A2:A7, B2:B7 >= TODAY() + 15, B2:B7 <= TODAY() + 30)`
99,745
<p>I'm using a free text field in a Google Form. Users should be able to enter the name of a product followed by its price, then start a next line for the next product. To validate their entry I want to use regular expressions. </p> <p>Example entries:</p> <pre><code>Coke .25 2.50 Beer 0,33 3.30 Chai Latte Soy 4.50 ...
[ { "answer_id": 99738, "author": "Pandashire", "author_id": 137742, "author_profile": "https://webapps.stackexchange.com/users/137742", "pm_score": 2, "selected": false, "text": "<p>Unfortunately once you create your Google Account using the dots in the username you will not be able to co...
2016/10/26
[ "https://webapps.stackexchange.com/questions/99745", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/136467/" ]
I'm using a free text field in a Google Form. Users should be able to enter the name of a product followed by its price, then start a next line for the next product. To validate their entry I want to use regular expressions. Example entries: ``` Coke .25 2.50 Beer 0,33 3.30 Chai Latte Soy 4.50 ... and so on ``` ...
Unfortunately once you create your Google Account using the dots in the username you will not be able to convert it to an account without the dots. However, you should still be able to log in with or without the dots in your email as well as send and receive mail to both addresses. > > Remove dots from my email addre...
99,764
<p>Please consider the following Google Spreadsheet Formula: </p> <pre><code>=QUERY( ARRAYFORMULA({ IMPORTRANGE("f333fHFF5sf6YxO4342Y4BIV3242KJTaarqU","Sample!A1:A"), IMPORTRANGE("f333fHFF5sf6YxO4342Y4BIV3242KJTaarqU","Sample!SB1:SB"), IMPORTRANGE("f333fHFF5sf6YxO4342Y4BIV3242KJ...
[ { "answer_id": 99765, "author": "Comfort Eagle", "author_id": 137813, "author_profile": "https://webapps.stackexchange.com/users/137813", "pm_score": 3, "selected": true, "text": "<p>Ok, so I've figured it out somehow by adding an extra array <code>{}</code>. No idea why this is working,...
2016/10/26
[ "https://webapps.stackexchange.com/questions/99764", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/137813/" ]
Please consider the following Google Spreadsheet Formula: ``` =QUERY( ARRAYFORMULA({ IMPORTRANGE("f333fHFF5sf6YxO4342Y4BIV3242KJTaarqU","Sample!A1:A"), IMPORTRANGE("f333fHFF5sf6YxO4342Y4BIV3242KJTaarqU","Sample!SB1:SB"), IMPORTRANGE("f333fHFF5sf6YxO4342Y4BIV3242KJTaarqU","Sampl...
Ok, so I've figured it out somehow by adding an extra array `{}`. No idea why this is working, but hey... ``` =QUERY({ ARRAYFORMULA({ IMPORTRANGE("f333fHFF5sf6YxO4342Y4BIV3242KJTaarqU","Sample!A1:A"), IMPORTRANGE("f333fHFF5sf6YxO4342Y4BIV3242KJTaarqU","Sample!SB1:SB"), IMPORTRA...
99,922
<p>I'm trying to match certain text and then replace with the text plus some extra characters. Minimal example text:</p> <p><code>#10 Oranges. These are citrus fruits</code></p> <p>Desired output:</p> <p><code>#10 Oranges. These are citrus fruits </code></p> <p>Regex: <code>(#\d{1,2}[^.]*\.)\s*</code></p> <p>Repla...
[ { "answer_id": 99923, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 3, "selected": false, "text": "<h1>Short answer</h1>\n\n<p>Instead of using the built-in find and replace function use <a href=\"http://www.google.c...
2016/11/01
[ "https://webapps.stackexchange.com/questions/99922", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/12334/" ]
I'm trying to match certain text and then replace with the text plus some extra characters. Minimal example text: `#10 Oranges. These are citrus fruits` Desired output: `#10 Oranges. These are citrus fruits` Regex: `(#\d{1,2}[^.]*\.)\s*` Replace with: `$1\n` (I have `Match using regular expressions` checked) The...
Short answer ============ Instead of using the built-in find and replace function use [Google Apps Script](http://www.google.com/script/start) or an add-on. Explanation =========== On the Find and Replace feature of Google Documents, the Replace part doesn't work with regular expressions and it doesn't work either w...
99,938
<p>Why is it Google Sheets function documentation uses commas instead of semicolons to separate parameters? </p> <p>For example, the <a href="https://support.google.com/docs/answer/3093150" rel="noreferrer">documentation for <code>=SORT</code></a> gives the usage example: </p> <pre><code>=SORT(A2:B26, 1, TRUE) </code...
[ { "answer_id": 99940, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 4, "selected": true, "text": "<p>Because for most of Google's users in the U.S., commas <em>are</em> the correct parameter separators. It's only for place...
2016/11/01
[ "https://webapps.stackexchange.com/questions/99938", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/138313/" ]
Why is it Google Sheets function documentation uses commas instead of semicolons to separate parameters? For example, the [documentation for `=SORT`](https://support.google.com/docs/answer/3093150) gives the usage example: ``` =SORT(A2:B26, 1, TRUE) ``` whereas I need to replace the commas with semicolons for the...
Because for most of Google's users in the U.S., commas *are* the correct parameter separators. It's only for places like the EU where you need to use semi-colons instead. (I expect that it's because a comma is a decimal separator in those places, but I'm really just guessing.) Google seems a bit inconsistent in their...
99,970
<p>I have a column with comma delimited values which look like this:</p> <pre><code>Thursday 9-10 Thursday 7-8 Thursday 8-9, Thursday 9-10 Thursday 8-9, Thursday 9-10, Thursday 7-8 ... </code></pre> <p>(<em>edited</em> added one more example)</p> <p>I wanted to get each of the values so I decided to use <code...
[ { "answer_id": 99958, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 4, "selected": true, "text": "<p>I'm afraid not. (At least, not at this time.) All you can do with the categories (beyond \"Primary\") is turn them on or ...
2016/11/02
[ "https://webapps.stackexchange.com/questions/99970", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/138416/" ]
I have a column with comma delimited values which look like this: ``` Thursday 9-10 Thursday 7-8 Thursday 8-9, Thursday 9-10 Thursday 8-9, Thursday 9-10, Thursday 7-8 ... ``` (*edited* added one more example) I wanted to get each of the values so I decided to use `split` like so: `=if(iserror(find(",",A1)),...
I'm afraid not. (At least, not at this time.) All you can do with the categories (beyond "Primary") is turn them on or off. An option for you is to create a custom label for your work email and have those messages drop into "Primary". Easy enough to do with a filter.
99,979
<p>I'm trying to find a solution to compare two separate lists (invited - attended) and create a 3rd list (absent). </p> <p>The function must look at the key in "Attended List (D,E,F)" and compare it with the key in "Invited List (A,B,C)" and then display missing values in "Absent List (G,H,I)". </p> <p><strong>About...
[ { "answer_id": 100035, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 4, "selected": true, "text": "<p>You could try something like this: </p>\n\n<pre><code>=if(countif(D:D,A2)=0,A2,\"\") \n</code></pre>\n\n<p>then ...
2016/11/02
[ "https://webapps.stackexchange.com/questions/99979", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/51806/" ]
I'm trying to find a solution to compare two separate lists (invited - attended) and create a 3rd list (absent). The function must look at the key in "Attended List (D,E,F)" and compare it with the key in "Invited List (A,B,C)" and then display missing values in "Absent List (G,H,I)". **About the data** * Key is a...
You could try something like this: ``` =if(countif(D:D,A2)=0,A2,"") ``` then copy across and down to suit. [COUNTIF](https://support.google.com/docs/answer/3093480)
99,994
<p>I have a Google Spreadsheet with 10 sheets. All of them with ~1000 rows.</p> <p>I need to go to the end on every tab, not just first sheet.</p> <p>How can I do that?</p> <p>Imagine 100 sheets (tabs) in one spreadsheet. All 1000 lines or more. Every time I go to new sheet(tab) I have to scroll down to the end of i...
[ { "answer_id": 99999, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<h1>Short answer</h1>\n<p>There is not built-in one step way to go to the last edited cell or the last cell of data r...
2016/11/03
[ "https://webapps.stackexchange.com/questions/99994", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/138474/" ]
I have a Google Spreadsheet with 10 sheets. All of them with ~1000 rows. I need to go to the end on every tab, not just first sheet. How can I do that? Imagine 100 sheets (tabs) in one spreadsheet. All 1000 lines or more. Every time I go to new sheet(tab) I have to scroll down to the end of it. What can be done to a...
I needed something like that: ``` function onOpen() { var sheet = SpreadsheetApp.getActiveSpreadsheet(); var entries = [{name:"goto_last", functionName:"goto_last"}]; sheet.addMenu("Scripts", entries); myFunction(); }; function goto_last() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var mysheet = s...
100,029
<p>I have this query </p> <pre><code>=QUERY( 'Monitor'!$A$4:$AB, "select * WHERE " &amp; IF(C2="Yes","A=1 ",IF(C2="No","A=0 ","(A=0 OR A=1) ")) &amp; "AND " &amp; IF(ISBLANK(C3),,"D="&amp;C3&amp;" ") &amp; "AND "&amp; IF(ISBLANK(C4),"B IS NOT NULL ", "B="&amp;C4&amp;" ") &amp; "AND " &amp; IF(ISBLANK(C5),"F IS NOT N...
[ { "answer_id": 100030, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<h1>Partial answer</h1>\n<ul>\n<li>The values in the where clause should be enclosed by single quotes <code>'</code>...
2016/11/04
[ "https://webapps.stackexchange.com/questions/100029", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/137029/" ]
I have this query ``` =QUERY( 'Monitor'!$A$4:$AB, "select * WHERE " & IF(C2="Yes","A=1 ",IF(C2="No","A=0 ","(A=0 OR A=1) ")) & "AND " & IF(ISBLANK(C3),,"D="&C3&" ") & "AND "& IF(ISBLANK(C4),"B IS NOT NULL ", "B="&C4&" ") & "AND " & IF(ISBLANK(C5),"F IS NOT NULL ","F> "&C5&" ") ) ``` The last part refers to dates ...
Worked like this ``` =QUERY('Monitor'!$A$4:$AB, "select * WHERE " & IF(C2="Yes","A=1 ",IF(C2="No","A=0 ","(A=0 OR A=1) ")) & "AND " & IF(ISBLANK(C3),,"D="&C3&" ") & "AND "& IF(ISBLANK(C4),"B IS NOT NULL ", "B="&C4&" ") & "AND " & IF(ISBLANK(C5),"F IS NOT NULL ","F> date'"& TEXT(C5,"yyyy-MM-dd")&"' ")) ```
100,069
<p>I am migrating documents to Google Docs that contain many URLs. If I hit Enter after each one, the link becomes clickable. But I'm looking for a way to convert all URLs (text starting with http:// or https://) to be clickable.</p> <p>Is there a macro, add-on or script I could run?</p>
[ { "answer_id": 100070, "author": "Dan H", "author_id": 10479, "author_profile": "https://webapps.stackexchange.com/users/10479", "pm_score": 5, "selected": true, "text": "<p>I did some research on using <a href=\"https://www.google.com/script/start/\" rel=\"noreferrer\">Google Apps Scrip...
2016/11/05
[ "https://webapps.stackexchange.com/questions/100069", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/10479/" ]
I am migrating documents to Google Docs that contain many URLs. If I hit Enter after each one, the link becomes clickable. But I'm looking for a way to convert all URLs (text starting with http:// or https://) to be clickable. Is there a macro, add-on or script I could run?
I did some research on using [Google Apps Scripts](https://www.google.com/script/start/) and I came up with this script that works for my needs. I hope it's useful for someone else too. ```js function onOpen() { DocumentApp.getUi().createAddonMenu() .addItem('Make URLs Clickable', 'makeUrlsClickable') .addTo...
100,166
<p>I have a Google spreadsheet that lists ratings (1-10) that various participants gave for various topics:</p> <pre> Person Topic A Topic B ------------------------ Claire 4 5 Diane 6 8 Janet 3 1 Kris 6 3 Susan 8 2 Julie 2 10 LeAnne 3 4 </pre> <p>...
[ { "answer_id": 100170, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 1, "selected": false, "text": "<p>Sort the source data as shown in the following snapshot:</p>\n\n<p><a href=\"https://i.stack.imgur.com/RhNzi.png\...
2016/11/09
[ "https://webapps.stackexchange.com/questions/100166", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/12442/" ]
I have a Google spreadsheet that lists ratings (1-10) that various participants gave for various topics: ``` Person Topic A Topic B ------------------------ Claire 4 5 Diane 6 8 Janet 3 1 Kris 6 3 Susan 8 2 Julie 2 10 LeAnne 3 4 ``` I want to dis...
Sort the source data as shown in the following snapshot: [![](https://i.stack.imgur.com/RhNzi.png)](https://i.stack.imgur.com/RhNzi.png)
100,180
<p>I have a situation that needs to be handled. I have values in a column that are values of that particular instance in time I need the difference between each instant. </p> <p>Input and output will be something like this</p> <pre><code>12760 12760 (Subtract with 0) 15464 2704 (15464 - 12760) 17162 1698 19808 2...
[ { "answer_id": 100186, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 2, "selected": false, "text": "<p>It's not entirely clear what you're after, but I think I have the idea.</p>\n\n<p>You have this data:</p>\n\n<pre><code...
2016/11/10
[ "https://webapps.stackexchange.com/questions/100180", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/139144/" ]
I have a situation that needs to be handled. I have values in a column that are values of that particular instance in time I need the difference between each instant. Input and output will be something like this ``` 12760 12760 (Subtract with 0) 15464 2704 (15464 - 12760) 17162 1698 19808 2646 22757 2949 25450...
It's not entirely clear what you're after, but I think I have the idea. You have this data: ``` | A | B ---------------------------------------------------- 1 | 12760 2 | 15464 3 | 17162 4 | 19808 5 | 22757 6 | 25450 ``` And you want column B to show the difference between the value in column A and...
100,224
<p>I have a spreadsheet where I am amassing metadata and statistics based on filters. For each row of my summary spreadsheet, I want the full statistics of all of the data in my spreadsheet that is relevant to that filter.</p> <p>Example Formatting</p> <pre><code>Datatype |Filter |Mean |Median... All ...
[ { "answer_id": 100186, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 2, "selected": false, "text": "<p>It's not entirely clear what you're after, but I think I have the idea.</p>\n\n<p>You have this data:</p>\n\n<pre><code...
2016/11/11
[ "https://webapps.stackexchange.com/questions/100224", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/139258/" ]
I have a spreadsheet where I am amassing metadata and statistics based on filters. For each row of my summary spreadsheet, I want the full statistics of all of the data in my spreadsheet that is relevant to that filter. Example Formatting ``` Datatype |Filter |Mean |Median... All |None ...
It's not entirely clear what you're after, but I think I have the idea. You have this data: ``` | A | B ---------------------------------------------------- 1 | 12760 2 | 15464 3 | 17162 4 | 19808 5 | 22757 6 | 25450 ``` And you want column B to show the difference between the value in column A and...
100,252
<p>I have a Google Spreadsheet with a long list of names and numbers. Many of the names are duplicates but with different numbers in front of them. For example:</p> <p><a href="https://i.stack.imgur.com/BcQmV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BcQmV.png" alt="sample data"></a></p> <p>W...
[ { "answer_id": 100256, "author": "Jacob Jan Tuinstra", "author_id": 29140, "author_profile": "https://webapps.stackexchange.com/users/29140", "pm_score": 2, "selected": false, "text": "<p>You can do that by using the following formula:</p>\n\n<pre><code>=QUERY({B1:C5;D1:E5;F1:G5}, \"SELE...
2016/11/12
[ "https://webapps.stackexchange.com/questions/100252", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/139320/" ]
I have a Google Spreadsheet with a long list of names and numbers. Many of the names are duplicates but with different numbers in front of them. For example: [![sample data](https://i.stack.imgur.com/BcQmV.png)](https://i.stack.imgur.com/BcQmV.png) What will be the formula which will sum numbers of A, B, C, D and E? ...
You can do that by using the following formula: ``` =QUERY({B1:C5;D1:E5;F1:G5}, "SELECT Col1, SUM(Col2) GROUP BY Col1 LABEL SUM(Col2) ''") ``` or ``` =QUERY({B:C;D:E;F:G}, "SELECT Col1, SUM(Col2) WHERE Col1 <> '' GROUP BY Col1 LABEL SUM(Col2) ''") ``` See screenshot: [![enter image description here](https://i.sta...
100,292
<p>I don't look for <a href="https://support.google.com/docs/answer/3093340?hl=en" rel="noreferrer">ImportRange</a> because I want to stay within the same Google Sheets spreadsheet. Instead, I want to import a column from one sheet into a column of another sheet within the same spreadsheet.</p>
[ { "answer_id": 100301, "author": "Robert Hickman", "author_id": 111648, "author_profile": "https://webapps.stackexchange.com/users/111648", "pm_score": 6, "selected": true, "text": "<p>One way to do this is with <a href=\"https://support.google.com/docs/answer/3093275\" rel=\"noreferrer\...
2016/11/14
[ "https://webapps.stackexchange.com/questions/100292", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/35393/" ]
I don't look for [ImportRange](https://support.google.com/docs/answer/3093340?hl=en) because I want to stay within the same Google Sheets spreadsheet. Instead, I want to import a column from one sheet into a column of another sheet within the same spreadsheet.
One way to do this is with [ArrayFormula](https://support.google.com/docs/answer/3093275). If the sheet you want to import from is named `Sheet1` and you want to select the entirety of `column A`, you can do the following: ``` =ArrayFormula('Sheet1'!A:A) ``` You can see an example of this in action here: <https://do...
100,379
<p>I am pretty sure I need to use MATCH but can't quite get it working.</p> <p>For Example</p> <p>Sheet1</p> <pre><code>a b c d </code></pre> <p>Sheet2</p> <pre><code>a 1 d 4 </code></pre> <p>Desired sheet1</p> <pre><code>a 1 b (blank/empty) c (blank/empty) d 4 </code></pre>
[ { "answer_id": 100389, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 1, "selected": false, "text": "<p>Assuming it is not the text <code>(blank/empty)</code> that you want but rather a seemingly empty cell and that <...
2016/11/16
[ "https://webapps.stackexchange.com/questions/100379", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/139657/" ]
I am pretty sure I need to use MATCH but can't quite get it working. For Example Sheet1 ``` a b c d ``` Sheet2 ``` a 1 d 4 ``` Desired sheet1 ``` a 1 b (blank/empty) c (blank/empty) d 4 ```
Assuming it is not the text `(blank/empty)` that you want but rather a seemingly empty cell and that `a` in both sheets is in cell A1, please try in Sheet1 B1: ``` =iferror(vlookup(A1,Sheet2!A$1:B$4,2,0),"") ``` and copy down to suit. [VLOOKUP](https://support.google.com/docs/answer/3093318) `IFERROR` tests the ...
100,407
<p>I have a Google Spreadsheets with a list of names in Column A of Sheet 4. The names are automatically pulled from sheet 5 with the following formula:</p> <pre><code>=IMPORTRANGE("url", "Setup!b2:b1000") </code></pre> <p><img src="https://i.stack.imgur.com/SsSy5.png" alt="Example"></p> <p>I would like to automatic...
[ { "answer_id": 100389, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 1, "selected": false, "text": "<p>Assuming it is not the text <code>(blank/empty)</code> that you want but rather a seemingly empty cell and that <...
2016/11/10
[ "https://webapps.stackexchange.com/questions/100407", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/-1/" ]
I have a Google Spreadsheets with a list of names in Column A of Sheet 4. The names are automatically pulled from sheet 5 with the following formula: ``` =IMPORTRANGE("url", "Setup!b2:b1000") ``` ![Example](https://i.stack.imgur.com/SsSy5.png) I would like to automatically populate the formulas in columns B - F to ...
Assuming it is not the text `(blank/empty)` that you want but rather a seemingly empty cell and that `a` in both sheets is in cell A1, please try in Sheet1 B1: ``` =iferror(vlookup(A1,Sheet2!A$1:B$4,2,0),"") ``` and copy down to suit. [VLOOKUP](https://support.google.com/docs/answer/3093318) `IFERROR` tests the ...
100,411
<p>I have a Google Sheet with a variable number of data rows. I would like to sum the three highest values from a certain column, but they won't necessarily be in the top three cells. An empty cell should be treated as zero, if there are only one or two rows with data so far.</p> <p>How can I achieve this? The closest...
[ { "answer_id": 100463, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 2, "selected": false, "text": "<p>You probably want to look at <a href=\"https://support.google.com/docs/answer/3094008\" rel=\"nofollow noreferrer\">LAR...
2016/11/17
[ "https://webapps.stackexchange.com/questions/100411", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/256/" ]
I have a Google Sheet with a variable number of data rows. I would like to sum the three highest values from a certain column, but they won't necessarily be in the top three cells. An empty cell should be treated as zero, if there are only one or two rows with data so far. How can I achieve this? The closest thing I c...
Formula ======= ``` =ArrayFormula(SUM(IFERROR(LARGE(A1:A2000,{1,2,3}),0))) ``` Explanation =========== * [LARGE](https://support.google.com/docs/answer/3094008?hl=en) returns the nth greater element. * IFERROR if the first argument returns an error, returns the second argument. * {1,2,3} is an array of literals. Se...
100,415
<p>I am trying to get a table into a sheet. The table contains data that looks like this:</p> <pre><code>4-0-2 </code></pre> <p>This is wins-losses-ties. It comes in as a date. This is the command I use:</p> <pre><code>IMPORTHTML("http://www.sportsnet.ca/hockey/nhl/standings/", "table") </code></pre> <p>This is the...
[ { "answer_id": 100463, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 2, "selected": false, "text": "<p>You probably want to look at <a href=\"https://support.google.com/docs/answer/3094008\" rel=\"nofollow noreferrer\">LAR...
2016/11/17
[ "https://webapps.stackexchange.com/questions/100415", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/139723/" ]
I am trying to get a table into a sheet. The table contains data that looks like this: ``` 4-0-2 ``` This is wins-losses-ties. It comes in as a date. This is the command I use: ``` IMPORTHTML("http://www.sportsnet.ca/hockey/nhl/standings/", "table") ``` This is the site: <http://www.sportsnet.ca/hockey/nhl/stan...
Formula ======= ``` =ArrayFormula(SUM(IFERROR(LARGE(A1:A2000,{1,2,3}),0))) ``` Explanation =========== * [LARGE](https://support.google.com/docs/answer/3094008?hl=en) returns the nth greater element. * IFERROR if the first argument returns an error, returns the second argument. * {1,2,3} is an array of literals. Se...
100,459
<p>I've been struggling with this for a few weeks and have gone as far as I can with my limited knowledge of formulas (and my totally absent knowledge of scripts).</p> <ol> <li>I'm trying to create a prefilled link to a Google Form filled with data contained in a Google Sheet (done).</li> <li>The prefilled link should...
[ { "answer_id": 100430, "author": "Vidar S. Ramdal", "author_id": 21583, "author_profile": "https://webapps.stackexchange.com/users/21583", "pm_score": 5, "selected": true, "text": "<p>I just learned that by holding down <kbd>Shift</kbd> while clicking the <em>Reply</em> button, you get t...
2016/11/19
[ "https://webapps.stackexchange.com/questions/100459", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/139886/" ]
I've been struggling with this for a few weeks and have gone as far as I can with my limited knowledge of formulas (and my totally absent knowledge of scripts). 1. I'm trying to create a prefilled link to a Google Form filled with data contained in a Google Sheet (done). 2. The prefilled link should be easy to replica...
I just learned that by holding down `Shift` while clicking the *Reply* button, you get the pop-out window you want. Also, keyboard shortcuts let you easily open a pop-out menu for replies. (If you haven't yet enabled Gmail keyboard shortcuts, click the *Settings* cogwheel, select *Settings* from the menu, scroll do...
100,506
<p>My spreadsheet has many notes added to its cells. I would like to find the cells containing a certain word, phrase or number. How to do this? </p>
[ { "answer_id": 100507, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 5, "selected": true, "text": "<p>It appears that built-in search does not cover notes (or comments) added to spreadsheet. So I wrote a script that se...
2016/11/21
[ "https://webapps.stackexchange.com/questions/100506", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/-1/" ]
My spreadsheet has many notes added to its cells. I would like to find the cells containing a certain word, phrase or number. How to do this?
It appears that built-in search does not cover notes (or comments) added to spreadsheet. So I wrote a script that searches all notes within the active sheet. (It does not search comments, since scripts are currently unable to access comments at all.) After entering the script (Tools > Script Editor), you will see a ne...
100,575
<p>Where can I find the official documentation of the limits of Google Custom Search Engine including for example the maximum number of synonyms? </p> <p>I know I once saw a page listing various maxima, but now I (via Google) can't find it e.g. at </p> <ul> <li><a href="https://cse.google.com/cse/docs/all" rel="nofol...
[ { "answer_id": 100587, "author": "ChrisJJ", "author_id": 55579, "author_profile": "https://webapps.stackexchange.com/users/55579", "pm_score": 0, "selected": false, "text": "<p>Some found here: </p>\n\n<p><a href=\"https://i.stack.imgur.com/upxmr.png\" rel=\"nofollow noreferrer\"><img sr...
2016/11/23
[ "https://webapps.stackexchange.com/questions/100575", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/55579/" ]
Where can I find the official documentation of the limits of Google Custom Search Engine including for example the maximum number of synonyms? I know I once saw a page listing various maxima, but now I (via Google) can't find it e.g. at * <https://cse.google.com/cse/docs/all> * <https://www.google.co.uk/search?q=go...
The offical documentation is on <https://developers.google.com/custom-search/docs/queries#limits> From the above link: ``` +----------------------------------+---------------------------------+ | Item | Maximum allowed | +----------------------------------+-----------------...
100,589
<p>I added the following constants</p> <pre><code>+---+---+---+ | | A | B | +---+---+---+ | 1 | 1 | 1 | | 2 | 2 | 2 | | 3 | 3 | 2 | +---+---+---+ </code></pre> <p>Then on C1 I wrote the following formula</p> <pre><code>=A1:A3+B1:B3 </code></pre> <p>The result was</p> <blockquote> <p>Formula results in range value: A1...
[ { "answer_id": 100587, "author": "ChrisJJ", "author_id": 55579, "author_profile": "https://webapps.stackexchange.com/users/55579", "pm_score": 0, "selected": false, "text": "<p>Some found here: </p>\n\n<p><a href=\"https://i.stack.imgur.com/upxmr.png\" rel=\"nofollow noreferrer\"><img sr...
2016/11/24
[ "https://webapps.stackexchange.com/questions/100589", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/88163/" ]
I added the following constants ``` +---+---+---+ | | A | B | +---+---+---+ | 1 | 1 | 1 | | 2 | 2 | 2 | | 3 | 3 | 2 | +---+---+---+ ``` Then on C1 I wrote the following formula ``` =A1:A3+B1:B3 ``` The result was > > Formula results in range value: A1:A3 > > > On Google Sheets I could press `Ctrl`+`Shift`...
The offical documentation is on <https://developers.google.com/custom-search/docs/queries#limits> From the above link: ``` +----------------------------------+---------------------------------+ | Item | Maximum allowed | +----------------------------------+-----------------...
100,606
<p>I have been using Google Drive for several years. At this moment, I have a very robust folder structure there, with many files of various types, altogether more than 13 GB. Now I need to search my Drive for all .gdoc and .gsheet files. With so many files on my Drive, it is almost impossible to do it manually. I know...
[ { "answer_id": 109721, "author": "Jack Wallis", "author_id": 166125, "author_profile": "https://webapps.stackexchange.com/users/166125", "pm_score": 3, "selected": false, "text": "<p>There's an updated version of this now. You can search by apps, so you can just put:</p>\n\n<pre><code>ap...
2016/11/24
[ "https://webapps.stackexchange.com/questions/100606", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/140282/" ]
I have been using Google Drive for several years. At this moment, I have a very robust folder structure there, with many files of various types, altogether more than 13 GB. Now I need to search my Drive for all .gdoc and .gsheet files. With so many files on my Drive, it is almost impossible to do it manually. I know ho...
There's an updated version of this now. You can search by apps, so you can just put: ``` app:"Google Sheets" ``` And ``` app:"Google Docs" ```
100,665
<p>I am tired of meaningless spreadsheets. I want to use range names more often. It's a pain to make them by hand. My thought if each column on each sheet is given a range, then most of the pain of range creation is done. In the bulk of cases range would be defined as the rest of the column. E.g.</p> <pre><code>|...
[ { "answer_id": 100677, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 2, "selected": false, "text": "<h1>Partial answer</h1>\n\n<p>See <a href=\"https://developers.google.com/apps-script/guides/sheets\" rel=\"nofollow...
2016/11/26
[ "https://webapps.stackexchange.com/questions/100665", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/65339/" ]
I am tired of meaningless spreadsheets. I want to use range names more often. It's a pain to make them by hand. My thought if each column on each sheet is given a range, then most of the pain of range creation is done. In the bulk of cases range would be defined as the rest of the column. E.g. ``` | C | Cost 2...
Partial answer ============== See [Extending Google Sheets using Apps Script](https://developers.google.com/apps-script/guides/sheets) and [Class namedRange](https://developers.google.com/apps-script/reference/spreadsheet/named-range) See also ======== Named Ranges ------------ * [Google spreadsheet: named range bu...
100,812
<p>I want cells in Column M to get a color if date (in that cell) has reached 90 days and if Column A has the value "Onvoltooid"</p> <p>I selected the column range and clicked on the item: Conditional Formatting. Here I set:</p> <pre><code>Format Cells if... Date is exact date.. </code></pre> <p>then I wrote: <code>...
[ { "answer_id": 100862, "author": "Ashar", "author_id": 141072, "author_profile": "https://webapps.stackexchange.com/users/141072", "pm_score": 2, "selected": false, "text": "<p>This is not a definitive answer, but I feel the reason they would would give is: </p>\n\n<p>When you are sharin...
2016/12/02
[ "https://webapps.stackexchange.com/questions/100812", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/138340/" ]
I want cells in Column M to get a color if date (in that cell) has reached 90 days and if Column A has the value "Onvoltooid" I selected the column range and clicked on the item: Conditional Formatting. Here I set: ``` Format Cells if... Date is exact date.. ``` then I wrote: `TODAY() - DATE() > x` //x = 90 days fo...
There is an official version (for Android) [here](https://www.dropbox.com/help/mobile/android-access-contacts): > > **Why does the Dropbox Android app request access to my contacts?** > > > The Android app uses your contacts to provide features that make it > easier for you to use Dropbox, including sharing with f...
100,848
<p>I have a giant Google Docs that looks like this:</p> <pre><code>... this is a line with some text, 1 this is a line with some more text, 1 here is another line with some text, 0 here is another line with some text, 1 here is yet another line with text, 0 and finally here is a line with text, 1 ... </code></pre> <p...
[ { "answer_id": 100861, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 1, "selected": false, "text": "<p>The following <a href=\"https://developers.google.com/apps-script/\" rel=\"nofollow noreferrer\">Apps Script</a> ta...
2016/12/04
[ "https://webapps.stackexchange.com/questions/100848", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/141031/" ]
I have a giant Google Docs that looks like this: ``` ... this is a line with some text, 1 this is a line with some more text, 1 here is another line with some text, 0 here is another line with some text, 1 here is yet another line with text, 0 and finally here is a line with text, 1 ... ``` The lines with text can b...
The following [Apps Script](https://developers.google.com/apps-script/) takes the values from the range A1:B4 of the currently active sheet, and uses them to fill a new document (called Test Document) in the specified way. Each entry from column A is added as a paragraph, and aligned according to column B (zero entry =...
100,855
<p>In Google Sheets I have a search box that brings up the information for a person when you type in their id. It works perfectly up until ID 512, which is row 374. The formula I use:</p> <pre><code>=IFERROR(VLOOKUP(C3,'Main Database'!B21:S590,3,True),"") </code></pre>
[ { "answer_id": 100895, "author": "MaryC.fromNZ", "author_id": 2314, "author_profile": "https://webapps.stackexchange.com/users/2314", "pm_score": 1, "selected": false, "text": "<p>Ensure that the material in Main Database is sorted by ascending contents of the first column in it.</p>\n\n...
2016/12/04
[ "https://webapps.stackexchange.com/questions/100855", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/141016/" ]
In Google Sheets I have a search box that brings up the information for a person when you type in their id. It works perfectly up until ID 512, which is row 374. The formula I use: ``` =IFERROR(VLOOKUP(C3,'Main Database'!B21:S590,3,True),"") ```
Ensure that the material in Main Database is sorted by ascending contents of the first column in it. (It's safest to select the whole range manually and then sort it.)
100,992
<p>As an example, suppose I want to search for articles that contain the words "class size" and appear in either <em>The Journal of Political Economy</em> or in the <em>American Economic Review</em>. When I use the advanced search, it works as expected when I search for "class size" and restrict it to <em>The Journal o...
[ { "answer_id": 101077, "author": "Sakib Arifin", "author_id": 139632, "author_profile": "https://webapps.stackexchange.com/users/139632", "pm_score": 0, "selected": false, "text": "<blockquote>\n <p>Does anybody know if this is possible to do, and if so, what the correct syntax is?</p>\...
2016/12/09
[ "https://webapps.stackexchange.com/questions/100992", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/141444/" ]
As an example, suppose I want to search for articles that contain the words "class size" and appear in either *The Journal of Political Economy* or in the *American Economic Review*. When I use the advanced search, it works as expected when I search for "class size" and restrict it to *The Journal of Political Economy*...
Try the advanced search [![Google Scholar advanced search](https://i.stack.imgur.com/Su7KG.png)](https://i.stack.imgur.com/Su7KG.png) or write in the search box ``` "class size" ("The Journal of Political Economy" OR "The American Economic Review") ```
101,026
<p>I have a little function for controlling the values of my script:</p> <pre><code>function onEdit(event) { var rowIndex = event.source.getActiveCell().getRowIndex(); var columnIndex = event.source.getActiveCell().getColumnIndex(); var status = event.source.getActiveCell().getValue(); Browser.msgBox("Spalte: ...
[ { "answer_id": 103719, "author": "Donz", "author_id": 55107, "author_profile": "https://webapps.stackexchange.com/users/55107", "pm_score": 0, "selected": false, "text": "<p>Trelo will, by default, create a heading for each comment with the name of the commenter. </p>\n\n<p>If you need t...
2016/12/10
[ "https://webapps.stackexchange.com/questions/101026", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/141246/" ]
I have a little function for controlling the values of my script: ``` function onEdit(event) { var rowIndex = event.source.getActiveCell().getRowIndex(); var columnIndex = event.source.getActiveCell().getColumnIndex(); var status = event.source.getActiveCell().getValue(); Browser.msgBox("Spalte: "+String(rowIn...
1. Install [Stylish](https://userstyles.org/) 2. Install [this style](https://userstyles.org/styles/150388/trello-hide-comment-names) 3. Done!
101,096
<p>I have several queries. Each week they need to shift one column right, C to D then E...W.</p> <p>I currently manually change C to D in all my queries and I want to simplify.</p> <p>A couple of examples:</p> <pre><code>select B,C,AM,AN,AP,AQ where C = 'Available' order by AM limit 20 </code></pre> <p>and</p> <pr...
[ { "answer_id": 101105, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>Your second version is correct. For example,</p>\n\n<pre><code>=query(B:G, \"select B where \" &amp; H2 &amp; \" = ...
2016/12/12
[ "https://webapps.stackexchange.com/questions/101096", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/141703/" ]
I have several queries. Each week they need to shift one column right, C to D then E...W. I currently manually change C to D in all my queries and I want to simplify. A couple of examples: ``` select B,C,AM,AN,AP,AQ where C = 'Available' order by AM limit 20 ``` and ``` select B,AM,AN where C = 'Available' order ...
Your second version is correct. For example, ``` =query(B:G, "select B where " & H2 & " = 'Available'") ``` works correctly in my spreadsheet when H2 contains a letter such as C or D or E.
101,148
<p>I have data like the following:</p> <pre><code>CategoryA SubA1 SubA2 CategoryB CategoryC SubC1 ... </code></pre> <p>I would like to avoid using scripts and hopefully only use one (albeit complex) formula to get an array like the following:</p> <pre><code>{"CategoryA", "CateogryA-SubA1", "CategoryA-SubA2", "Catego...
[ { "answer_id": 101117, "author": "Trupti Ranpise", "author_id": 141758, "author_profile": "https://webapps.stackexchange.com/users/141758", "pm_score": 2, "selected": false, "text": "<p>You can download the Google Photos app on your phone and create an account on photos.google.com and th...
2016/12/14
[ "https://webapps.stackexchange.com/questions/101148", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/111648/" ]
I have data like the following: ``` CategoryA SubA1 SubA2 CategoryB CategoryC SubC1 ... ``` I would like to avoid using scripts and hopefully only use one (albeit complex) formula to get an array like the following: ``` {"CategoryA", "CateogryA-SubA1", "CategoryA-SubA2", "CategoryB", "CategoryC", "CategoryC-SubC1",...
You can download the Google Photos app on your phone and create an account on photos.google.com and then configure your phone to automatically upload photos and videos to this account.
101,197
<p>I'm using Google Sheets to keep track of inventory. As the year goes on, the sheet gets quite long, so it is a pain to scroll all of the way to the bottom each time we start a new day, end the day or make a shift change.</p> <p>Is there a way to add a script that will automatically scroll to the next available cell...
[ { "answer_id": 101200, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 3, "selected": false, "text": "<p>Here is the script that jumps to the cell in column A that is below the last non-empty cell in that column. You can...
2016/12/15
[ "https://webapps.stackexchange.com/questions/101197", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/141979/" ]
I'm using Google Sheets to keep track of inventory. As the year goes on, the sheet gets quite long, so it is a pain to scroll all of the way to the bottom each time we start a new day, end the day or make a shift change. Is there a way to add a script that will automatically scroll to the next available cell in column...
Here is the script that jumps to the cell in column A that is below the last non-empty cell in that column. You can call it from `onOpen`, or from menu, as you wish. ``` function jump() { var sheet = SpreadsheetApp.getActiveSheet(); var values = sheet.getRange("A:A").getValues(); var maxIndex = values.reduce(fu...
101,268
<p>I have an inventory spreadsheet created in really old Excel (2000!) with two pages; Inventory and Master. Everything looks fine in Google Sheets, until it comes to the ConcatIf argument on my Master page. The second page calls for words from the first page, using a fairly simple concatenation argument. Here is the f...
[ { "answer_id": 101270, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>To my knowledge, <code>ConcatIf</code> is not a standard Excel function but a custom function written by someone in...
2016/12/18
[ "https://webapps.stackexchange.com/questions/101268", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/142173/" ]
I have an inventory spreadsheet created in really old Excel (2000!) with two pages; Inventory and Master. Everything looks fine in Google Sheets, until it comes to the ConcatIf argument on my Master page. The second page calls for words from the first page, using a fairly simple concatenation argument. Here is the form...
This is more dynamic if you also use regex instead of wildcards as the specific way in which you're using the wildcard is different in Google Sheets compared to Excel .... but this works: ``` =join(", ", filter(Inventory!B:B, istext(regexextract(Inventory!A:A,Master!A2)))) ``` [![enter image description here](https:...
101,280
<p>I want to bookmark direct link to GMail compose page in full screen mode. The current link I found <code>https://mail.google.com/mail/u/0/#inbox?compose=new</code> opens it but I have to press full screen button manually.</p> <p>Anyway to get it directly?</p>
[ { "answer_id": 101270, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>To my knowledge, <code>ConcatIf</code> is not a standard Excel function but a custom function written by someone in...
2016/12/19
[ "https://webapps.stackexchange.com/questions/101280", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/-1/" ]
I want to bookmark direct link to GMail compose page in full screen mode. The current link I found `https://mail.google.com/mail/u/0/#inbox?compose=new` opens it but I have to press full screen button manually. Anyway to get it directly?
This is more dynamic if you also use regex instead of wildcards as the specific way in which you're using the wildcard is different in Google Sheets compared to Excel .... but this works: ``` =join(", ", filter(Inventory!B:B, istext(regexextract(Inventory!A:A,Master!A2)))) ``` [![enter image description here](https:...
101,304
<p>I use Google Sheets to track our household financial budget. I've been slowly refining the functionality over the years, but have arrived at a point where I can't figure out how to achieve the next goal.</p> <p>Across the top of the sheet (row 1), starting in column D, I have dates spaced out every two weeks (the ...
[ { "answer_id": 101330, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>When you enter days in column B, there should be also some indication of what <em>month</em> these refer to. Withou...
2016/12/19
[ "https://webapps.stackexchange.com/questions/101304", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/142288/" ]
I use Google Sheets to track our household financial budget. I've been slowly refining the functionality over the years, but have arrived at a point where I can't figure out how to achieve the next goal. Across the top of the sheet (row 1), starting in column D, I have dates spaced out every two weeks (the schedule on...
Figured it out: `=IF(MONTH(E$1)-MONTH(D$1)=0,IF($B2>=DAY(D$1),IF($B2<DAY(E$1),$C2,""),""),IF($B2<DAY(E$1),$C2,IF($B2>=DAY(D$1),$C2,"")))` It's ugly and complicated, but I tested it across not only the example spreadsheet I linked to above, but on my own budget management sheet. Broken down for readability, it looks l...
101,342
<p>I recently received an email from Yahoo!, saying my Yahoo! account is an victim of the (many) hacks. However, I received this email in my Gmail account. I tried to see if my Gmail email address is registered in Yahoo! by going through 'Trouble signing in' in <a href="https://login.yahoo.com" rel="nofollow noreferrer...
[ { "answer_id": 101330, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>When you enter days in column B, there should be also some indication of what <em>month</em> these refer to. Withou...
2016/12/20
[ "https://webapps.stackexchange.com/questions/101342", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/-1/" ]
I recently received an email from Yahoo!, saying my Yahoo! account is an victim of the (many) hacks. However, I received this email in my Gmail account. I tried to see if my Gmail email address is registered in Yahoo! by going through 'Trouble signing in' in <https://login.yahoo.com>. It does't look like its registered...
Figured it out: `=IF(MONTH(E$1)-MONTH(D$1)=0,IF($B2>=DAY(D$1),IF($B2<DAY(E$1),$C2,""),""),IF($B2<DAY(E$1),$C2,IF($B2>=DAY(D$1),$C2,"")))` It's ugly and complicated, but I tested it across not only the example spreadsheet I linked to above, but on my own budget management sheet. Broken down for readability, it looks l...
101,352
<p>How can I access the actual article page from a <a href="https://www.ampproject.org/" rel="nofollow noreferrer">Google AMP</a> results page?</p> <p>I did a Google search for "Lego Investment Telegraph", the first result was an AMP page (<a href="https://i.stack.imgur.com/GyL9W.png" rel="nofollow noreferrer">screens...
[ { "answer_id": 101354, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 4, "selected": true, "text": "<p>The link to full article is present in the markup of the page but is typically not shown. The following bookmarklet ...
2016/12/21
[ "https://webapps.stackexchange.com/questions/101352", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/142408/" ]
How can I access the actual article page from a [Google AMP](https://www.ampproject.org/) results page? I did a Google search for "Lego Investment Telegraph", the first result was an AMP page ([screenshot](https://i.stack.imgur.com/GyL9W.png)). After loading the AMP page, I could not find a link to load the actual art...
The link to full article is present in the markup of the page but is typically not shown. The following bookmarklet extracts it and directs the browser there. ``` javascript:window.location=document.querySelector("link[rel=canonical]").href ``` To put the bookmarklet in the mobile browser, create a bookmark to what...
101,540
<p>I am trying to do a group by operation on the following table using the query language of Google sheet.</p> <pre><code>Type Value Duration A 50 00:50:00 B 5 00:06:00 A 50 00:45:00 C 15 00:30:00 B 5 00:03:00 C 15 00:25:00 </code></pre> <p>I am g...
[ { "answer_id": 101541, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 3, "selected": true, "text": "<p>Indeed, out of the six data types supported by <code>query</code> (string, number, boolean, date, datetime, and time...
2016/12/29
[ "https://webapps.stackexchange.com/questions/101540", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/143004/" ]
I am trying to do a group by operation on the following table using the query language of Google sheet. ``` Type Value Duration A 50 00:50:00 B 5 00:06:00 A 50 00:45:00 C 15 00:30:00 B 5 00:03:00 C 15 00:25:00 ``` I am grouping by the column `T...
Indeed, out of the six data types supported by `query` (string, number, boolean, date, datetime, and timeofday), the `avg` function can be used only on numbers. So you have to convert duration to number (the function `N` does this) and average that: ``` =query({A2:C7, arrayformula(N(C2:C7))}, "select Col1, sum(Col2),...
101,584
<h1>GOAL</h1> <p>A word, like 'class' can have different meaning \ nuances depending on the context of how it is used.</p> <p>I would like to understand how to constrain a Google search on a keyword so that it returns results in a <em>constrained context</em>. What I mean by this is that if search on the word <stron...
[ { "answer_id": 101585, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>I am unable to find any indication that Google supports this in a direct fashion; your best bet is to add additiona...
2016/12/30
[ "https://webapps.stackexchange.com/questions/101584", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/128217/" ]
GOAL ==== A word, like 'class' can have different meaning \ nuances depending on the context of how it is used. I would like to understand how to constrain a Google search on a keyword so that it returns results in a *constrained context*. What I mean by this is that if search on the word **classes**, I would like to...
I am unable to find any indication that Google supports this in a direct fashion; your best bet is to add additional related search terms that will narrow the context - for your example, I might include such additional terms as **inheritance**, **definition**, **"virtual method"** (with the quotes), and so on - you wil...
101,589
<p>I'm trying to highlight the smallest value in <em>each</em> row using conditional formatting (CF), while ignoring zeros and blanks. Also, I don't want the ranges to be continuous (i.e. skipping certain columns).</p> <p>For example, give the following sheet:</p> <pre><code> A B C D E 1 345 0 sk...
[ { "answer_id": 101592, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>In your example, the entire range A2:D can be formatted in the specified way by using the custom formula</p>\n\n<pr...
2016/12/30
[ "https://webapps.stackexchange.com/questions/101589", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/92179/" ]
I'm trying to highlight the smallest value in *each* row using conditional formatting (CF), while ignoring zeros and blanks. Also, I don't want the ranges to be continuous (i.e. skipping certain columns). For example, give the following sheet: ``` A B C D E 1 345 0 skip 123 <empty> 2 0 211 ...
I found another way to do it with a *single* CF formula using ArrayFormula: `=A1=ArrayFormula((MIN(IF({$A1,$B1,$D1,$E1}>0,{A1,$B1,$D1,$E1}))))` The key is to also Apply to Range: `A1:A,B1:B,D1:D,E1:E`
101,654
<p>Problem: When I try to add a credit card on PayPal, I get the error message:</p> <blockquote> <p>Internal Error. We are not able to process your request. Please try again later.</p> </blockquote> <p>On Internet Explorer this happens as soon as I start to add a credit card. On Chrome the same message happens aft...
[ { "answer_id": 101656, "author": "krubo", "author_id": 35251, "author_profile": "https://webapps.stackexchange.com/users/35251", "pm_score": 1, "selected": false, "text": "<p>Answering my own question, in case this helps anyone. I called Paypal for help and they solved the problem by di...
2017/01/03
[ "https://webapps.stackexchange.com/questions/101654", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/35251/" ]
Problem: When I try to add a credit card on PayPal, I get the error message: > > Internal Error. We are not able to process your request. Please try again later. > > > On Internet Explorer this happens as soon as I start to add a credit card. On Chrome the same message happens after entering my credit card detail...
Answering my own question, in case this helps anyone. I called Paypal for help and they solved the problem by directing me to a simpler page, which wasn't affected by whatever technical issue caused the original error: ``` https://paypal.com/creditcard (NOTE: PROCEED WITH CAUTION. At the risk of stating the obvious, ...
101,662
<p>How to remove notification for suggested friend on Facebook?<br /> Example: do you know John? You can add him as your friend. It's giving me notification on the person that I do not know.</p>
[ { "answer_id": 101656, "author": "krubo", "author_id": 35251, "author_profile": "https://webapps.stackexchange.com/users/35251", "pm_score": 1, "selected": false, "text": "<p>Answering my own question, in case this helps anyone. I called Paypal for help and they solved the problem by di...
2017/01/03
[ "https://webapps.stackexchange.com/questions/101662", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/143382/" ]
How to remove notification for suggested friend on Facebook? Example: do you know John? You can add him as your friend. It's giving me notification on the person that I do not know.
Answering my own question, in case this helps anyone. I called Paypal for help and they solved the problem by directing me to a simpler page, which wasn't affected by whatever technical issue caused the original error: ``` https://paypal.com/creditcard (NOTE: PROCEED WITH CAUTION. At the risk of stating the obvious, ...
101,676
<p>A while back I logged into an application using another account from my company. Now whenever I go back to that application, I am routed to the URL:</p> <pre><code>https://accounts.google.com/AccountChooser?{giant query string} </code></pre> <p>and it presents me with this window:</p> <p><a href="https://i.stack...
[ { "answer_id": 101680, "author": "BrettFromLA", "author_id": 143141, "author_profile": "https://webapps.stackexchange.com/users/143141", "pm_score": 4, "selected": true, "text": "<p>If you are signed out of <strong>all</strong> Google Accounts, this \"choose account\" page should show a ...
2017/01/03
[ "https://webapps.stackexchange.com/questions/101676", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/1984/" ]
A while back I logged into an application using another account from my company. Now whenever I go back to that application, I am routed to the URL: ``` https://accounts.google.com/AccountChooser?{giant query string} ``` and it presents me with this window: [![enter image description here](https://i.stack.imgur.com...
If you are signed out of **all** Google Accounts, this "choose account" page should show a button for "Remove" at the bottom (next to the "Add account" button). [![enter image description here](https://i.stack.imgur.com/uMY6l.png)](https://i.stack.imgur.com/uMY6l.png) Click on "Remove", and each account will show an ...
101,681
<p>I've created several small sheets, all with the same number of columns, and I'd like to produce one large sheet consisting of all the rows from the smaller sheets. I don't want to perform any deduplication, since each row contains important data. </p> <p>Is there any way I can do this? The closest thing I've been a...
[ { "answer_id": 101682, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 4, "selected": true, "text": "<p>Give row numbers instead of column letters, and separate the ranges by semicolon <code>;</code> (vertical stacking i...
2017/01/03
[ "https://webapps.stackexchange.com/questions/101681", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/143433/" ]
I've created several small sheets, all with the same number of columns, and I'd like to produce one large sheet consisting of all the rows from the smaller sheets. I don't want to perform any deduplication, since each row contains important data. Is there any way I can do this? The closest thing I've been able to fin...
Give row numbers instead of column letters, and separate the ranges by semicolon `;` (vertical stacking instead of horizontal). ``` ={Sheet1!1:3; Sheet2!2:7} ``` This assumes both sheets 1 and 2 have the same number of columns. If this is not the case, you'll need to specify which columns you want: ``` ={Sheet1!A1:...
101,745
<p>I am trying to categorize my project task in Trello. I created different labels for the different levels of Priority (how quickly this need to be finished) and Importance (how useful is the task).</p> <p>Having those two labels easily seen and identifiable is important to me, so label seemed to be the perfect tool ...
[ { "answer_id": 101979, "author": "Marco", "author_id": 144079, "author_profile": "https://webapps.stackexchange.com/users/144079", "pm_score": 4, "selected": true, "text": "<p>Sorry, but currently custom Label order is not supported.</p>\n" }, { "answer_id": 107356, "author":...
2017/01/05
[ "https://webapps.stackexchange.com/questions/101745", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/89150/" ]
I am trying to categorize my project task in Trello. I created different labels for the different levels of Priority (how quickly this need to be finished) and Importance (how useful is the task). Having those two labels easily seen and identifiable is important to me, so label seemed to be the perfect tool with the c...
Sorry, but currently custom Label order is not supported.
101,774
<p>The following Script grabs all my contacts from specific group into a Google Sheet. Ideally I'd like to have it run as often as possible. Currently, with a trigger set to every 1hr, I receive the following quota limit after about 3 hours. After 12 hours of hitting the quota, it resumes for 3 hours and repeats.</p> ...
[ { "answer_id": 101777, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 3, "selected": true, "text": "<p>I think there is room to reduce the number of <code>get*</code> calls in your script -- these calls are what drains ...
2017/01/05
[ "https://webapps.stackexchange.com/questions/101774", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/140465/" ]
The following Script grabs all my contacts from specific group into a Google Sheet. Ideally I'd like to have it run as often as possible. Currently, with a trigger set to every 1hr, I receive the following quota limit after about 3 hours. After 12 hours of hitting the quota, it resumes for 3 hours and repeats. > > Te...
I think there is room to reduce the number of `get*` calls in your script -- these calls are what drains the Google Services quota. To start with a simple example, ``` for ( var g=0;g<contacts[i].getEmails().length;g++) { Emails += contacts[i].getEmails()[g].getAddress(); if (g + 1 == contacts[i].getEmails().leng...
101,775
<p>I'm using the following query to pull data from one sheet into another.</p> <pre><code>=query(data!B2:CL,"select B, C, D, E, F, G, H, I, J, BB, BZ, CA, BA where J = 'Industry Certification'",false) </code></pre> <p>The above query works perfectly. However, if I change 'BB' to 'BY'. I get the following error. </p> ...
[ { "answer_id": 101782, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 3, "selected": true, "text": "<h1>Short answer</h1>\n\n<p>According <a href=\"https://developers.google.com/chart/interactive/docs/querylanguage#re...
2017/01/05
[ "https://webapps.stackexchange.com/questions/101775", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/51806/" ]
I'm using the following query to pull data from one sheet into another. ``` =query(data!B2:CL,"select B, C, D, E, F, G, H, I, J, BB, BZ, CA, BA where J = 'Industry Certification'",false) ``` The above query works perfectly. However, if I change 'BB' to 'BY'. I get the following error. > > Error > > > Unable to ...
Short answer ============ According [to the documentation](https://developers.google.com/chart/interactive/docs/querylanguage#reserved-words), `BY` is a reserved word, to use it as an [identifier](https://developers.google.com/chart/interactive/docs/querylanguage#Identifiers), it should be back-quoted. Explanation ==...
101,778
<p>I'm not sure what is happening in my Google Sheet query and could really use some help. I have <a href="https://youtu.be/UyxDe4bdSHM" rel="nofollow noreferrer">a quick screencast</a> that demonstrates and explains the issue. </p> <p>Basically, I'm using a query to pull data from a Google Spreadsheet that is populat...
[ { "answer_id": 101780, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 4, "selected": true, "text": "<p>A good place to start is <a href=\"https://support.google.com/docs/answer/3093343?hl=en\" rel=\"noreferrer\">documen...
2017/01/06
[ "https://webapps.stackexchange.com/questions/101778", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/51806/" ]
I'm not sure what is happening in my Google Sheet query and could really use some help. I have [a quick screencast](https://youtu.be/UyxDe4bdSHM) that demonstrates and explains the issue. Basically, I'm using a query to pull data from a Google Spreadsheet that is populated by a Google Form. If the form submits only n...
A good place to start is [documentation](https://support.google.com/docs/answer/3093343?hl=en): > > In case of mixed data types in a single column, the majority data type determines the data type of the column for query purposes. Minority data types are considered null values. > > > In other words, if you have ...
101,925
<p>I would like to (keep) using Google Contacts as my primary hub for contact info. However, I would benefit greatly from the ability to link with a URL to a particular person directly from various other apps. To aid in various "CRM" activities too.</p> <p>There is no immediate way to see a URL when opening a person. ...
[ { "answer_id": 105231, "author": "Adrien Joly", "author_id": 66394, "author_profile": "https://webapps.stackexchange.com/users/66394", "pm_score": -1, "selected": false, "text": "<p>Apparently, in the new version of Google Contacts, you can use the contact id in the URL, like this:</p>\n...
2017/01/09
[ "https://webapps.stackexchange.com/questions/101925", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/143944/" ]
I would like to (keep) using Google Contacts as my primary hub for contact info. However, I would benefit greatly from the ability to link with a URL to a particular person directly from various other apps. To aid in various "CRM" activities too. There is no immediate way to see a URL when opening a person. Does anyon...
In the "old" Contacts, if you click a contact, you'll get a string added to the URL like so: ``` https://www.google.com/contacts/#contact/32a3998f8ee63eb0 ``` That'll bring you directly to the contact record if you put it in a link. With the Contact Preview turned on, the same link will bring you into Contacts with...
101,926
<p>I have a column with dozens and dozens of columns in it that I'm querying data from. I'm using something similar to below to do this, but I'm wondering if there is an easier way? For instance, something like <code>"Select B:Z where K = X"</code> or <code>"Select B through Z where K = X"</code> or <code>"Select * exc...
[ { "answer_id": 101927, "author": "Karl_S", "author_id": 81031, "author_profile": "https://webapps.stackexchange.com/users/81031", "pm_score": 0, "selected": false, "text": "<p>As long as your returned columns are continuous and include the item you are checking on, you can use the select...
2017/01/09
[ "https://webapps.stackexchange.com/questions/101926", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/51806/" ]
I have a column with dozens and dozens of columns in it that I'm querying data from. I'm using something similar to below to do this, but I'm wondering if there is an easier way? For instance, something like `"Select B:Z where K = X"` or `"Select B through Z where K = X"` or `"Select * excluding S where K = X"`? ``` =...
You can generate a comma-separated string of column names with a formula such as ``` =arrayformula(join(",", substitute(address(1, column(C:F), 4), "1", ""))) ``` (here C:F is the example of a range of columns). The above formula returns the string C,D,E,F which is suitable for use in a query. Optionally, the `array...
101,947
<p>I have two Range variables. How can I make sure that they belong to the same Sheet and reference the same set of cells?</p> <p>For example:</p> <pre><code>var mySheet = // ... function onEdit(e) { var range1 = e.range; var range2 = mySheet.getRange(123, 234); if (areEqual(range1, range2)) { // cell (123,...
[ { "answer_id": 101948, "author": "Kinrany", "author_id": 144002, "author_profile": "https://webapps.stackexchange.com/users/144002", "pm_score": 1, "selected": false, "text": "<p>I'm going to use this until I find a better solution:</p>\n\n<pre><code>function areEqual(r1, r2) {\n return...
2017/01/10
[ "https://webapps.stackexchange.com/questions/101947", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144002/" ]
I have two Range variables. How can I make sure that they belong to the same Sheet and reference the same set of cells? For example: ``` var mySheet = // ... function onEdit(e) { var range1 = e.range; var range2 = mySheet.getRange(123, 234); if (areEqual(range1, range2)) { // cell (123, 234) was edited, ...
Instead of checking row, column, width and height, you can just compare the A1 notations (like `A1:B2`), in combination with something that identifies the sheet: ``` function areEqual(r1, r2) { return r1.getGridId() === r2.getGridId() && r1.getA1Notation() === r2.getA1Notation() } ``` [`range.getGridId()`](htt...
102,020
<p>I cannot add more labels to Google Keep because there seems to be a limit to the amount of labels you can use. I cannot find what that limit is. (I don't think I have used that many labels!) Does anybody know what that limit is? I think a limit to the number of labels you can use is not logical for a note-taking app...
[ { "answer_id": 102022, "author": "Vidar S. Ramdal", "author_id": 21583, "author_profile": "https://webapps.stackexchange.com/users/21583", "pm_score": 3, "selected": false, "text": "<h2>The limit seems to be 50.</h2>\n\n<p>I created 49 labels, and after creating the 50th, I received a me...
2017/01/12
[ "https://webapps.stackexchange.com/questions/102020", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144172/" ]
I cannot add more labels to Google Keep because there seems to be a limit to the amount of labels you can use. I cannot find what that limit is. (I don't think I have used that many labels!) Does anybody know what that limit is? I think a limit to the number of labels you can use is not logical for a note-taking applic...
The limit seems to be 50. ------------------------- I created 49 labels, and after creating the 50th, I received a message telling me I had reached the limit. You could find out how many labels you have, by using the browser developer console. In Chrome, you do that by pressing `Ctrl`+`Alt`+`I`, and run the following...
102,095
<p>GitHub allows me to send a pull request entirely online. This is very useful to casually fix typos or grammar errors or broken URLs in a README, for instance.</p> <p>While such pull requests most often get merged without any problem, some other times the maintainer asks me to modify something slightly before they m...
[ { "answer_id": 102098, "author": "nic", "author_id": 1374, "author_profile": "https://webapps.stackexchange.com/users/1374", "pm_score": 1, "selected": false, "text": "<p>First, look at the URL of your pull request, it will be like:</p>\n\n<pre><code>https://github.com/torvalds/linux/pul...
2017/01/16
[ "https://webapps.stackexchange.com/questions/102095", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/1374/" ]
GitHub allows me to send a pull request entirely online. This is very useful to casually fix typos or grammar errors or broken URLs in a README, for instance. While such pull requests most often get merged without any problem, some other times the maintainer asks me to modify something slightly before they merge. In ...
First, look at the URL of your pull request, it will be like: ``` https://github.com/torvalds/linux/pull/1234 ``` 1) On the Github page showing your repositories, find your clone of that repository, if will be something like <https://github.com/nic/linux> and click it. 2) By default the branch is set to `master`, c...
102,120
<p>I need to create a count of data that meets two criteria. Column one consist of dates. For this one, the input to count is today, or TODAY(). The dates will be entered in B2:B100</p> <p>The second column is Status with desired input to count is "To Do". The status will be entered in D2:D100. </p>
[ { "answer_id": 102121, "author": "STowslee", "author_id": 141492, "author_profile": "https://webapps.stackexchange.com/users/141492", "pm_score": 1, "selected": false, "text": "<p>One way you can do this is to do an evaluation in a new column, then check the output value with your counti...
2017/01/16
[ "https://webapps.stackexchange.com/questions/102120", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144492/" ]
I need to create a count of data that meets two criteria. Column one consist of dates. For this one, the input to count is today, or TODAY(). The dates will be entered in B2:B100 The second column is Status with desired input to count is "To Do". The status will be entered in D2:D100.
You can also use the **[COUNTIFS](https://support.google.com/docs/answer/3256550)** formula to do that, like so: ``` =COUNTIFS(B2:B100, TODAY(), D2:D100, "To Do") ```
102,124
<p>I used to see all my flagged emails at the top:</p> <p>Before it was like this: <a href="https://i.stack.imgur.com/4Pg1h.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4Pg1h.jpg" alt="enter image description here"></a></p> <p>But now all the flagged emails disappeared from the top! Even the <a ...
[ { "answer_id": 102121, "author": "STowslee", "author_id": 141492, "author_profile": "https://webapps.stackexchange.com/users/141492", "pm_score": 1, "selected": false, "text": "<p>One way you can do this is to do an evaluation in a new column, then check the output value with your counti...
2017/01/16
[ "https://webapps.stackexchange.com/questions/102124", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/21445/" ]
I used to see all my flagged emails at the top: Before it was like this: [![enter image description here](https://i.stack.imgur.com/4Pg1h.jpg)](https://i.stack.imgur.com/4Pg1h.jpg) But now all the flagged emails disappeared from the top! Even the [advertised search for Flagged items](https://superuser.com/questions/8...
You can also use the **[COUNTIFS](https://support.google.com/docs/answer/3256550)** formula to do that, like so: ``` =COUNTIFS(B2:B100, TODAY(), D2:D100, "To Do") ```
102,136
<p>I just changed my account password. I can log into all other service of Yahoo!. But I just cannot log into the email service. I tried to access with browser it keeps asking for password though I've already logged in. I cannot use pop or imap to access it also. Anyone knows what happened? Do they stop to provide emai...
[ { "answer_id": 102121, "author": "STowslee", "author_id": 141492, "author_profile": "https://webapps.stackexchange.com/users/141492", "pm_score": 1, "selected": false, "text": "<p>One way you can do this is to do an evaluation in a new column, then check the output value with your counti...
2017/01/17
[ "https://webapps.stackexchange.com/questions/102136", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144535/" ]
I just changed my account password. I can log into all other service of Yahoo!. But I just cannot log into the email service. I tried to access with browser it keeps asking for password though I've already logged in. I cannot use pop or imap to access it also. Anyone knows what happened? Do they stop to provide email s...
You can also use the **[COUNTIFS](https://support.google.com/docs/answer/3256550)** formula to do that, like so: ``` =COUNTIFS(B2:B100, TODAY(), D2:D100, "To Do") ```
102,143
<p>I want to close a case in a CommCare application (app built on CommCare opensource platform), and I would like to do so by creating a rule that references the date the case was opened. However when I look at an export of case data, I see two possible case properties, one in the export and one in the case list config...
[ { "answer_id": 102121, "author": "STowslee", "author_id": 141492, "author_profile": "https://webapps.stackexchange.com/users/141492", "pm_score": 1, "selected": false, "text": "<p>One way you can do this is to do an evaluation in a new column, then check the output value with your counti...
2017/01/17
[ "https://webapps.stackexchange.com/questions/102143", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144558/" ]
I want to close a case in a CommCare application (app built on CommCare opensource platform), and I would like to do so by creating a rule that references the date the case was opened. However when I look at an export of case data, I see two possible case properties, one in the export and one in the case list configura...
You can also use the **[COUNTIFS](https://support.google.com/docs/answer/3256550)** formula to do that, like so: ``` =COUNTIFS(B2:B100, TODAY(), D2:D100, "To Do") ```
102,189
<p>I have a Google Spreadsheet where a person will add one name per row in a defined column (B). I need to generate a string like "<code>&lt;p&gt;Adam - Becky - John - Robert&lt;/p&gt;</code>" in <strong>one single</strong> cell with alphabetically ordered names.</p> <p>I can sort the names (in the second sheet) with ...
[ { "answer_id": 102191, "author": "Karl_S", "author_id": 81031, "author_profile": "https://webapps.stackexchange.com/users/81031", "pm_score": 2, "selected": false, "text": "<p>Use the JOIN() function:</p>\n\n<pre><code>=join(\" - \",sort(Sheet1!B:B, 1, TRUE))\n</code></pre>\n\n<p>SORT() ...
2017/01/18
[ "https://webapps.stackexchange.com/questions/102189", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144671/" ]
I have a Google Spreadsheet where a person will add one name per row in a defined column (B). I need to generate a string like "`<p>Adam - Becky - John - Robert</p>`" in **one single** cell with alphabetically ordered names. I can sort the names (in the second sheet) with the formula: ``` =sort(Sheet1!B:B, 1, TRUE) ...
I found another solution thanks to [this post in the Google Support forums](https://support.google.com/docs/forum/AAAABuH1jm0UJPt6S5WFu0). ``` =arrayformula(concatenate(Proper(unique(upper(query(B2:B31,"select B where B!='' order by B asc",0))))&" - ")) ``` which also capitalizes each (unique) name. After this I ge...
102,194
<p>I'm using an online third-party form to collect data, that data gets submitted to Google Sheets. I applied a sum formula to calculate the sum of a column <code>=SUM(A2:A50)</code>. <code>A1</code> is used for header. Now, when the data comes in into Google Sheets, a new row gets created, and Google Sheets updates my...
[ { "answer_id": 102198, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>You can prevent any changes to a range by making it a string within <code>indirect</code>: </p>\n\n<pre><code>=sum(...
2017/01/18
[ "https://webapps.stackexchange.com/questions/102194", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144677/" ]
I'm using an online third-party form to collect data, that data gets submitted to Google Sheets. I applied a sum formula to calculate the sum of a column `=SUM(A2:A50)`. `A1` is used for header. Now, when the data comes in into Google Sheets, a new row gets created, and Google Sheets updates my formula automatically to...
Basically I fixed the problem by simply doing a generic sum formula ``` =SUM(A:A) ``` This way no matter if new rows are created or subtracted the formula stays the same.
102,200
<p><a href="https://i.stack.imgur.com/BBgUg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BBgUg.png" alt="enter image description here"></a></p> <p>The title might sound confusing cause I don't know how to word it. Let start with the example</p> <p>So I have a spreadasheet with data First column ...
[ { "answer_id": 102203, "author": "Karl_S", "author_id": 81031, "author_profile": "https://webapps.stackexchange.com/users/81031", "pm_score": 2, "selected": false, "text": "<p>In the cell where you want to total, place this for the Kinder example:</p>\n\n<pre><code>=SUMIF(A11:A, \"=Kinde...
2017/01/18
[ "https://webapps.stackexchange.com/questions/102200", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144677/" ]
[![enter image description here](https://i.stack.imgur.com/BBgUg.png)](https://i.stack.imgur.com/BBgUg.png) The title might sound confusing cause I don't know how to word it. Let start with the example So I have a spreadasheet with data First column shows Grade levels: Kinder, First, Second, Third.... The other Colum...
In the cell where you want to total, place this for the Kinder example: ``` =SUMIF(A11:A, "=Kinder", B11:B) ``` Since your grades are very limited, you could easily edit this for each case. Another option would be to reference the cell where Grade is defined: ``` =SUMIF($A$11:$A, "=" & D1, $B$11:$B) ``` In this e...
102,214
<p>I'm having a problem with my budget spreadsheet. For simplicity's sake, I can recreate the problem as follows.</p> <p>I have two columns, A with a list of numbers, and B with several cells referencing a block of cells column A. For example:</p> <pre><code> A B ----------------------------...
[ { "answer_id": 105262, "author": "fishybell", "author_id": 144708, "author_profile": "https://webapps.stackexchange.com/users/144708", "pm_score": 0, "selected": false, "text": "<p>I ended up writing a custom script to move the data up and down:</p>\n\n<pre><code>function moveBlock(rowSt...
2017/01/19
[ "https://webapps.stackexchange.com/questions/102214", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144708/" ]
I'm having a problem with my budget spreadsheet. For simplicity's sake, I can recreate the problem as follows. I have two columns, A with a list of numbers, and B with several cells referencing a block of cells column A. For example: ``` A B ---------------------------------------- 1. | ...
You can get round this by using an indirect reference. For example: ``` =sum(indirect("A$3:A$103")) ``` The reference will then always refer to the specified range even when data is moved through drag and drop or cut and paste.
102,216
<p>I have a start date and a payout date which is 70 days from the start date. Throughout the year I need to know when each time 70 days has past and when it does is that date between the start and ending of a given month.</p> <p>For example, if the start date is 1/1/17 then 70 days from then is 3/12/17. On my calen...
[ { "answer_id": 102226, "author": "mhoran_psprep", "author_id": 15682, "author_profile": "https://webapps.stackexchange.com/users/15682", "pm_score": 3, "selected": true, "text": "<p>In cell D3 I owuld put the following formula:</p>\n\n<pre><code>=if(EOMONTH($A1+70,0)=EOMONTH(D2,0),\"Outp...
2017/01/19
[ "https://webapps.stackexchange.com/questions/102216", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144710/" ]
I have a start date and a payout date which is 70 days from the start date. Throughout the year I need to know when each time 70 days has past and when it does is that date between the start and ending of a given month. For example, if the start date is 1/1/17 then 70 days from then is 3/12/17. On my calendar I'm look...
In cell D3 I owuld put the following formula: ``` =if(EOMONTH($A1+70,0)=EOMONTH(D2,0),"Output","No report due") ``` I assumed the $A1 to make sure that it works for all columns. The formula just compares the end of the month in the second row with the end of the month for the date in cell a1 + 70 days. If the date...
102,387
<p>I have column B with different values on different rows and I want to set a rule that , for example cell b3 turns red if the value is smaller than that of B2 and green if it's bigger. I know I need to use conditional formatting, but not sure how?</p> <p>I tried the solution here (<a href="https://webapps.stackexcha...
[ { "answer_id": 102388, "author": "Karl_S", "author_id": 81031, "author_profile": "https://webapps.stackexchange.com/users/81031", "pm_score": 2, "selected": false, "text": "<p><strong>UPDATE FROM COMMENTS:</strong></p>\n\n<p>You need 3 custom format settings, all applide to the range B3:...
2017/01/24
[ "https://webapps.stackexchange.com/questions/102387", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/145172/" ]
I have column B with different values on different rows and I want to set a rule that , for example cell b3 turns red if the value is smaller than that of B2 and green if it's bigger. I know I need to use conditional formatting, but not sure how? I tried the solution here ([How to conditional format in Google sheets b...
**UPDATE FROM COMMENTS:** You need 3 custom format settings, all applide to the range B3:B. The First is set to ``` Format cells if... Cell is empty and the fill is set to None ``` The second and third are Custom Formula where the Formula are: For red: ``` =B4<B3 ``` and for green: ``` =B4>B3 ``` **OLD I...
102,406
<p>I'm not really sure why but for some reason my google drive trash is full of files, and takes up nearly 3 GB.</p> <p>I have the suspect there may be stuff I need in there, but I also really need to free up space on google drive.</p> <p>Before emptying the bin, I'd like to <strong>download backup of my trash folder...
[ { "answer_id": 102388, "author": "Karl_S", "author_id": 81031, "author_profile": "https://webapps.stackexchange.com/users/81031", "pm_score": 2, "selected": false, "text": "<p><strong>UPDATE FROM COMMENTS:</strong></p>\n\n<p>You need 3 custom format settings, all applide to the range B3:...
2017/01/24
[ "https://webapps.stackexchange.com/questions/102406", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/145217/" ]
I'm not really sure why but for some reason my google drive trash is full of files, and takes up nearly 3 GB. I have the suspect there may be stuff I need in there, but I also really need to free up space on google drive. Before emptying the bin, I'd like to **download backup of my trash folder on google drive** (wit...
**UPDATE FROM COMMENTS:** You need 3 custom format settings, all applide to the range B3:B. The First is set to ``` Format cells if... Cell is empty and the fill is set to None ``` The second and third are Custom Formula where the Formula are: For red: ``` =B4<B3 ``` and for green: ``` =B4>B3 ``` **OLD I...
102,458
<p>On Sheet 1, I have data</p> <pre><code>CATEGORY | PATIENT | DATE | AMOUNT Vision | Joe | 1/1/2016 | $100 Vision | Joe | 1/2/2016 | $100 Vision | Joe | 1/3/2016 | $100 </code></pre> <p>On Sheet 2,</p> <pre><code>CATEGORY | PATIENT | TOTAL 2016 | Vision | ...
[ { "answer_id": 105148, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 1, "selected": false, "text": "<p>Because you are using the wrong syntax. Guessing that you want a query to populate a single cell (assumed to be C...
2017/01/24
[ "https://webapps.stackexchange.com/questions/102458", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/38080/" ]
On Sheet 1, I have data ``` CATEGORY | PATIENT | DATE | AMOUNT Vision | Joe | 1/1/2016 | $100 Vision | Joe | 1/2/2016 | $100 Vision | Joe | 1/3/2016 | $100 ``` On Sheet 2, ``` CATEGORY | PATIENT | TOTAL 2016 | Vision | Joe | $300 | ``` Howev...
Because you are using the wrong syntax. Guessing that you want a query to populate a single cell (assumed to be C2), please try: ``` =QUERY(Sheet1!A1:D1000,"SELECT sum(D) WHERE A='"&A2&"' AND B='"&B2&"' and C >= date '2016-01-01' AND C <= date '2016-12-31' label SUM(D) ''") ```
102,470
<p>I am unsure of the use of COUNTIFS with two variables while excluding blank cells from being counted in this scenario, wanted to see if there would be a more viable solution. I am relatively new to Google Sheets, please forgive me if the question seems simple. For context, I have two worksheets:</p> <p>Sheet1 conta...
[ { "answer_id": 102479, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>The condition <code>\"&lt;&gt;\"</code> is a correct form of excluding blank cells in <code>countifs</code>. Exampl...
2017/01/26
[ "https://webapps.stackexchange.com/questions/102470", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/145390/" ]
I am unsure of the use of COUNTIFS with two variables while excluding blank cells from being counted in this scenario, wanted to see if there would be a more viable solution. I am relatively new to Google Sheets, please forgive me if the question seems simple. For context, I have two worksheets: Sheet1 contains Form R...
Try: ``` =COUNTIFS('Form Responses 1'!$B:$B,Sheet2!$A2,'Form Responses 1'!$C:$C,"*"&Sheet2!B$1&"*") ``` (One fewer `$`.) The `Sheet2!` are not required.
102,508
<p>I have a list of hundreds of students that contains the following data. The only two values that will appear in the gender column (col 3) are <code>male</code> or <code>female</code>: </p> <p><strong>Current List</strong></p> <pre><code> fName | lName | Gender | id# ---------------------------------------- ...
[ { "answer_id": 102513, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 3, "selected": true, "text": "<p>I would write a <a href=\"https://developers.google.com/apps-script/guides/sheets/functions\" rel=\"nofollow norefer...
2017/01/27
[ "https://webapps.stackexchange.com/questions/102508", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/51806/" ]
I have a list of hundreds of students that contains the following data. The only two values that will appear in the gender column (col 3) are `male` or `female`: **Current List** ``` fName | lName | Gender | id# ---------------------------------------- Mike | Jones | male | 123456 Todd | Smith | male...
I would write a [custom function](https://developers.google.com/apps-script/guides/sheets/functions) for this, for example the following, which accepts a rectangular range and the column by which to sort in alternating way. In your example if would be `=alternate(A2:D4, 3)` The logic is simple. The rows in which the k...
102,568
<pre><code>ARRAYFORMULA({1,2,3}) </code></pre> <p>Generates three cells with the values 1, 2, 3 in them.</p> <p>A bit more complex:</p> <pre><code>ARRAYFORMULA(VLOOKUP(A2,Sheet1!A:F,{1,2,3,4},false)) </code></pre> <p>Uses columns 1..4 from the vlookup and fills columns with data from those cells.</p> <p>What I rea...
[ { "answer_id": 102589, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 5, "selected": true, "text": "<h1>Short answer</h1>\n\n<p>Use something like <code>ROW(A1:A21)</code> </p>\n\n<h1>Explantation</h1>\n\n<p><a href=\...
2017/01/30
[ "https://webapps.stackexchange.com/questions/102568", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/86883/" ]
``` ARRAYFORMULA({1,2,3}) ``` Generates three cells with the values 1, 2, 3 in them. A bit more complex: ``` ARRAYFORMULA(VLOOKUP(A2,Sheet1!A:F,{1,2,3,4},false)) ``` Uses columns 1..4 from the vlookup and fills columns with data from those cells. What I really want is: ``` ARRAYFORMULA(VLOOKUP(A2,Sheet1!A:F,{1,...
Short answer ============ Use something like `ROW(A1:A21)` Explantation ============ [ROW(cell\_reference)](https://support.google.com/docs/answer/3093316) returns the row number of the specified reference. When the reference is a range and the function is inside of a ARRAYFORMULA it will return a an array of a seq...
102,660
<p><strong>Example:</strong></p> <p>Select two random elements from the list below. A chosen element should not be chosen twice.</p> <p><a href="https://i.stack.imgur.com/lYQru.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lYQru.png" alt="enter image description here"></a></p>
[ { "answer_id": 102666, "author": "Vidar S. Ramdal", "author_id": 21583, "author_profile": "https://webapps.stackexchange.com/users/21583", "pm_score": 3, "selected": true, "text": "<p>There <em>is</em> a <code>RANDOM</code> function in Google Sheets, and it could definitely be used here,...
2017/02/02
[ "https://webapps.stackexchange.com/questions/102660", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/35393/" ]
**Example:** Select two random elements from the list below. A chosen element should not be chosen twice. [![enter image description here](https://i.stack.imgur.com/lYQru.png)](https://i.stack.imgur.com/lYQru.png)
There *is* a `RANDOM` function in Google Sheets, and it could definitely be used here, but it would be a messy formula. I prefer writing these kind of things as scripts. Click *Tools → Script Editor*, and paste this code: ``` function selectRandomElements(fromValueRows, count) { var pickedRows = []; // This will ho...
102,678
<p>I am creating a CRM for my small business. Would like that each time I add a company name it creates a new tab/sheet in the same spreadsheet for that company follow-ups and notes. Is this possible how?</p> <p>Sheet to occur on: CRM Column to take names for tabs from: E1:E (Company)</p>
[ { "answer_id": 102764, "author": "Hink", "author_id": 146319, "author_profile": "https://webapps.stackexchange.com/users/146319", "pm_score": 0, "selected": false, "text": "<p>This script will do it. The trigger is contained in the function name.</p>\n\n<pre><code>function onEdit(e) {\n ...
2017/02/02
[ "https://webapps.stackexchange.com/questions/102678", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/146084/" ]
I am creating a CRM for my small business. Would like that each time I add a company name it creates a new tab/sheet in the same spreadsheet for that company follow-ups and notes. Is this possible how? Sheet to occur on: CRM Column to take names for tabs from: E1:E (Company)
I hope this will work Correctly ``` function onEdit(e) { var range = e.range; //gets cell to edit var companyName = range.getValue(); //gets value of cell var column = range.getColumn(); //gets the column number of the cell var thisSheetNumber = range.getSheet().getIndex(); //make sure this is the corre...
102,899
<p>Google Map's Timeline records where I (or at least my phone) has been throughout the day every day. Given a particular location, I'd like to see a list of times when I've been there. To get tax credit for days not spent working in a municipality I need to prove that I was out of the city on each day.</p>
[ { "answer_id": 102902, "author": "blearyeye", "author_id": 146733, "author_profile": "https://webapps.stackexchange.com/users/146733", "pm_score": 2, "selected": false, "text": "<p><a href=\"https://social.technet.microsoft.com/Forums/en-US/ad13ae2c-d437-4d53-8622-923943938ca4/converting...
2017/02/04
[ "https://webapps.stackexchange.com/questions/102899", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/146733/" ]
Google Map's Timeline records where I (or at least my phone) has been throughout the day every day. Given a particular location, I'd like to see a list of times when I've been there. To get tax credit for days not spent working in a municipality I need to prove that I was out of the city on each day.
No, Google Maps doesn't let you do that. It frustrated me as well, so I've written a python script that does just that. You can find it here: <https://github.com/matthieuheitz/google-data-analyses/blob/master/get_visit_times.py> You give it the point of interest (latitude/longitude), a date range, and you get what yo...
102,909
<p>This is how my table looks:</p> <pre><code>(in column A) (in Column B) (in Column C should be) (in Column D should be) 2016-01-01 08:00:00 80 08:00:00 240 2016-01-01 08:10:00 820 08:10:00 611.15 2016-01-01 08:20:00 85 ...
[ { "answer_id": 103008, "author": "mhoran_psprep", "author_id": 15682, "author_profile": "https://webapps.stackexchange.com/users/15682", "pm_score": -1, "selected": false, "text": "<p>Populating column C with the unique values in column A is easy.</p>\n\n<p>in cell C1 put the formula</p>...
2017/02/09
[ "https://webapps.stackexchange.com/questions/102909", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/190193/" ]
This is how my table looks: ``` (in column A) (in Column B) (in Column C should be) (in Column D should be) 2016-01-01 08:00:00 80 08:00:00 240 2016-01-01 08:10:00 820 08:10:00 611.15 2016-01-01 08:20:00 85 08:20:...
**C1:** **`=ARRAYFORMULA(IF(LEN(A1:A8);RIGHT(A1:A8;8)))`** **D1:** **`=UNIQUE(C1:C8)`** **E1:** **`=IFS( D1 = ""; ""; D1 <> ""; AVERAGEIF($C$1:$C$8;$D$1:$D$8;$B$1:$B$8))`** [![](https://i.stack.imgur.com/gagbM.gif)](https://i.stack.imgur.com/gagbM.gif)
103,045
<p>I am working on the <a href="https://play.google.com/store/apps/details?id=org.commcare.mlabour" rel="nofollow noreferrer">CommCare mLabour app</a>, which tracks women from the onset of labour through delivery via digital partograph. For the contractions graph, I need to write an instance which filters to cases whos...
[ { "answer_id": 103049, "author": "Jenny Schweers", "author_id": 147115, "author_profile": "https://webapps.stackexchange.com/users/147115", "pm_score": 4, "selected": true, "text": "<p>If you're filtering cases, you want an expression that ultimately returns a set of cases. The first par...
2017/02/13
[ "https://webapps.stackexchange.com/questions/103045", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/147056/" ]
I am working on the [CommCare mLabour app](https://play.google.com/store/apps/details?id=org.commcare.mlabour), which tracks women from the onset of labour through delivery via digital partograph. For the contractions graph, I need to write an instance which filters to cases whose contraction intensity is `'low'`. In t...
If you're filtering cases, you want an expression that ultimately returns a set of cases. The first part of the expression, `instance('casedb')/casedb/case`, gives you all cases on the phone. The expressions in square brackets then filter the cases by case type, parent (you're limiting to cases that are children of th...
103,089
<p>I have a report that pulls data from a separate sheet using a QUERY. The report has a "notes" column (not part of the query) so users can add notes associated with a particular row. This solution works perfectly when the query is in chronological order but fails (query data doesn't stay grouped with user notes) when...
[ { "answer_id": 103091, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<p>In the case described there are two simple tables that aren't coupled, so the solution is to couple them. To do t...
2017/02/14
[ "https://webapps.stackexchange.com/questions/103089", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/51806/" ]
I have a report that pulls data from a separate sheet using a QUERY. The report has a "notes" column (not part of the query) so users can add notes associated with a particular row. This solution works perfectly when the query is in chronological order but fails (query data doesn't stay grouped with user notes) when I ...
You might stitch two ranges together and control the sort order with something like: ``` =QUERY({A1:F10,G1:I10},"select * order by Col1 desc") ``` changing `desc` to `asc` to suit.
103,093
<p>I found a few pictures of my kids on Facebook that I would like to file a <a href="https://www.facebook.com/help/428478523862899" rel="nofollow noreferrer">child privacy take-down request</a>. What happens when Facebook actually removes the pictures... is the picture-poster notified?</p> <p>In my social context, it...
[ { "answer_id": 103091, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<p>In the case described there are two simple tables that aren't coupled, so the solution is to couple them. To do t...
2017/02/14
[ "https://webapps.stackexchange.com/questions/103093", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/39247/" ]
I found a few pictures of my kids on Facebook that I would like to file a [child privacy take-down request](https://www.facebook.com/help/428478523862899). What happens when Facebook actually removes the pictures... is the picture-poster notified? In my social context, it's going to be quite obvious that I filed for a...
You might stitch two ranges together and control the sort order with something like: ``` =QUERY({A1:F10,G1:I10},"select * order by Col1 desc") ``` changing `desc` to `asc` to suit.
103,115
<p>I am new to Google Sheet, I have just started to use recently. So I am not familiar with.</p> <p>In Google Sheet, I want to record my timing for every actions while I start and end an action.</p> <p>For example, if I have three columns, A1 = Start time; A2 = End time; A3 = Time taken (A2-A1, this we can use it in ...
[ { "answer_id": 103183, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p>Format A3 as Duration with formula:</p>\n\n<pre><code>=A2-A1\n</code></pre>\n\n<p>Then when you start select A1 a...
2017/02/15
[ "https://webapps.stackexchange.com/questions/103115", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/147258/" ]
I am new to Google Sheet, I have just started to use recently. So I am not familiar with. In Google Sheet, I want to record my timing for every actions while I start and end an action. For example, if I have three columns, A1 = Start time; A2 = End time; A3 = Time taken (A2-A1, this we can use it in formula) But I w...
Format A3 as Duration with formula: ``` =A2-A1 ``` Then when you start select A1 and `Ctrl`+`Shift`+`:` and when you finish select A2 and `Ctrl`+`Shift`+`:`.
103,130
<p>I've seen similar questions to this but I want to articulate that my request is to view multiple boards at the same time.</p> <p>This would be a common requirement for a product owner or manager who needs to see multiple workflows.</p>
[ { "answer_id": 103183, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p>Format A3 as Duration with formula:</p>\n\n<pre><code>=A2-A1\n</code></pre>\n\n<p>Then when you start select A1 a...
2017/02/15
[ "https://webapps.stackexchange.com/questions/103130", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/147272/" ]
I've seen similar questions to this but I want to articulate that my request is to view multiple boards at the same time. This would be a common requirement for a product owner or manager who needs to see multiple workflows.
Format A3 as Duration with formula: ``` =A2-A1 ``` Then when you start select A1 and `Ctrl`+`Shift`+`:` and when you finish select A2 and `Ctrl`+`Shift`+`:`.
103,237
<p>How do I achieve a specific result concatenated with commas (ACT1, ACT2) from a filtered text ("Not delivered") and referenced from the position of the columns:</p> <p><a href="https://i.stack.imgur.com/mn5xd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mn5xd.png" alt="WA103237 example"></a></...
[ { "answer_id": 103254, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 1, "selected": false, "text": "<p>Assuming the coloured row is Row1, please try in G2 and copied down to suit:</p>\n\n<pre><code>=regexreplace(if(C...
2017/02/17
[ "https://webapps.stackexchange.com/questions/103237", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/147487/" ]
How do I achieve a specific result concatenated with commas (ACT1, ACT2) from a filtered text ("Not delivered") and referenced from the position of the columns: [![WA103237 example](https://i.stack.imgur.com/mn5xd.png)](https://i.stack.imgur.com/mn5xd.png)
Assuming the coloured row is Row1, please try in G2 and copied down to suit: ``` =regexreplace(if(C2="Not delivered",C$1&", ","")&if(D2="Not delivered",D$1&", ","")&if(E2="Not delivered",E$1&", ","")&if(F2="Not delivered",F$1&", ",""),",\s\z","") ```
103,328
<p>In Google Sheets, I have a sheet that looks like this that <em>I cannot modify</em>:</p> <p><a href="https://i.stack.imgur.com/5fh27.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5fh27.png" alt="enter image description here"></a></p> <p>My goal is to create, through formulas, a sheet that look...
[ { "answer_id": 103329, "author": "Sherin Binu", "author_id": 144980, "author_profile": "https://webapps.stackexchange.com/users/144980", "pm_score": 2, "selected": true, "text": "<p>Well, I've solve this, but by creating three additional rows. You can hide them later. You can access that...
2017/02/20
[ "https://webapps.stackexchange.com/questions/103328", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/65217/" ]
In Google Sheets, I have a sheet that looks like this that *I cannot modify*: [![enter image description here](https://i.stack.imgur.com/5fh27.png)](https://i.stack.imgur.com/5fh27.png) My goal is to create, through formulas, a sheet that looks like this: [![enter image description here](https://i.stack.imgur.com/Dv...
Well, I've solve this, but by creating three additional rows. You can hide them later. You can access that spreadsheet [here](https://docs.google.com/spreadsheets/d/1-4PO5PjBbpJj2JxxIYLZC86PdjmomNRVos7Bizd7qjg/edit?usp=sharing). First off, you gotta create a row (preferably named Count) that counts each row with unique...
103,418
<p>I have a <code>datetime</code> columns in Google Spreadsheet which I'd like to iterate and use "hour" value to calculate something in custom Google Script. This is an example of a value I have in Spreadsheet:</p> <p><a href="https://i.stack.imgur.com/lbHl2.png" rel="nofollow noreferrer"><img src="https://i.stack.im...
[ { "answer_id": 103445, "author": "errata", "author_id": 6969, "author_profile": "https://webapps.stackexchange.com/users/6969", "pm_score": 2, "selected": true, "text": "<p>Switching the timezone to a different one and then switching back fixed the problem. Might be related to <a href=\"...
2017/02/22
[ "https://webapps.stackexchange.com/questions/103418", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/6969/" ]
I have a `datetime` columns in Google Spreadsheet which I'd like to iterate and use "hour" value to calculate something in custom Google Script. This is an example of a value I have in Spreadsheet: [![enter image description here](https://i.stack.imgur.com/lbHl2.png)](https://i.stack.imgur.com/lbHl2.png) My script lo...
Switching the timezone to a different one and then switching back fixed the problem. Might be related to [one](https://code.google.com/p/google-apps-script-issues/issues/detail?id=2426) [of](https://code.google.com/p/google-apps-script-issues/issues/detail?id=6680) [the](https://productforums.google.com/forum/#!topic/d...
103,430
<p>I have a report that is able to pull/display values based on yesterday's values. </p> <p>Is there a way I can modify the formula to ignore cells that contain zeros "0s" and to continue to reference/pull the LAST cell that contains a numeric value?</p> <p>Current formula:</p> <pre><code>=INDEX(SM!40:40,COUNTA(SM!A...
[ { "answer_id": 109990, "author": "pnuts", "author_id": 60716, "author_profile": "https://webapps.stackexchange.com/users/60716", "pm_score": 2, "selected": false, "text": "<p>You can find the last numeric value in row 1 (excluding <code>0</code>s, blanks and text) with:</p>\n\n<pre><code...
2017/02/23
[ "https://webapps.stackexchange.com/questions/103430", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/147999/" ]
I have a report that is able to pull/display values based on yesterday's values. Is there a way I can modify the formula to ignore cells that contain zeros "0s" and to continue to reference/pull the LAST cell that contains a numeric value? Current formula: ``` =INDEX(SM!40:40,COUNTA(SM!A40:AG40)) ``` Screenshot: ...
You can find the last numeric value in row 1 (excluding `0`s, blanks and text) with: ``` =index(filter(1:1,1:1<>0),count(filter(1:1,1:1<>0))) ``` [INDEX](https://support.google.com/docs/answer/3098242) [FILTER](https://support.google.com/docs/answer/3093197) [COUNT](https://support.google.com/docs/answer/30936...
103,432
<p>So I have data like this:</p> <pre><code> A B C ---------------- Name # # TI:ME ---------------- Name 1 2 08:42 Name 2 3 09:23 Name 3 0 12:54 Name 4 1 14:28 Name 5 3 07:19 Name 6 2 07:16 Name 7 0 15:28 Name 8 1 13:06 </code></pre> <p>Right now, I'm able to use <code>SORT</code> to sort it...
[ { "answer_id": 103767, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>This can be done by creating an additional column, using it for sorting, and then disregarding it. Example: </p>\n\...
2017/02/23
[ "https://webapps.stackexchange.com/questions/103432", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/126411/" ]
So I have data like this: ``` A B C ---------------- Name # # TI:ME ---------------- Name 1 2 08:42 Name 2 3 09:23 Name 3 0 12:54 Name 4 1 14:28 Name 5 3 07:19 Name 6 2 07:16 Name 7 0 15:28 Name 8 1 13:06 ``` Right now, I'm able to use `SORT` to sort it by Column B and the Column C, but wh...
The following formula will give you the expected outcome. Formula ------- ``` =SORT( { QUERY(A1:C8,"SELECT * WHERE B = 3 ORDER BY C ASC"); QUERY(A1:C8,"SELECT * WHERE B <> 3 ORDER BY C DESC") }, 2, FALSE ) // formula with error handling =SORT( IF(COUNTIF(B2:B9, 3)>0, IF(COUNTIF(B2:B9,...
103,467
<p>I have a spreadsheet where I enter Groceries on each row every time I visit a store. I have calculated the overall sum, but now I would like to calculate the average cost per month for the groceries.</p> <p><a href="https://i.stack.imgur.com/aOsrK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a...
[ { "answer_id": 103509, "author": "uomo_perfetto", "author_id": 148282, "author_profile": "https://webapps.stackexchange.com/users/148282", "pm_score": -1, "selected": false, "text": "<p>Yes Shure, <strong>the response is</strong>:</p>\n\n<p><strong>If your editor its in Spanish:</strong>...
2017/02/23
[ "https://webapps.stackexchange.com/questions/103467", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/148076/" ]
I have a spreadsheet where I enter Groceries on each row every time I visit a store. I have calculated the overall sum, but now I would like to calculate the average cost per month for the groceries. [![enter image description here](https://i.stack.imgur.com/aOsrK.png)](https://i.stack.imgur.com/aOsrK.png) I don't ev...
I'm guessing you basically want to sum up the expenses for each month, and then find an average amount per month. Let's first sum up expenses for each month. Each row in your spreadsheet has a date, but that does not immediately link it to other rows within the same month. So let's introduce a new column `Month`, der...
103,572
<p>Is there a way to format an alphanumeric field to convert all letters in to upper case letters automatically? The entry is for a serial number, which could start with any number or letter, I simply would like the serial number to look like the following: C02MBP46NYE instead of C02mbp46nye.</p>
[ { "answer_id": 103583, "author": "Nicholas Gasque", "author_id": 69201, "author_profile": "https://webapps.stackexchange.com/users/69201", "pm_score": 2, "selected": false, "text": "<p>I'm a developer with <a href=\"https://www.cognitoforms.com\" rel=\"nofollow noreferrer\">Cognito Forms...
2017/02/27
[ "https://webapps.stackexchange.com/questions/103572", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/148497/" ]
Is there a way to format an alphanumeric field to convert all letters in to upper case letters automatically? The entry is for a serial number, which could start with any number or letter, I simply would like the serial number to look like the following: C02MBP46NYE instead of C02mbp46nye.
I'm a developer with [Cognito Forms](https://www.cognitoforms.com). Yes, you can set the default value of your Text field to a calculation that targets the Text field itself and converts it to uppercase. In the following example my Text field is labeled 'Text', and the following calculation is added to the default va...
103,657
<p>I'm looking to use a display condition for an indicator where the goal is:</p> <p>If a child case of the parent that I'm editing is open, the indicator should count otherwise it should not count.</p> <p>In other words, a child "pregnancy" case gets created when a patient is pregnant. If the pregnancy ends, this ch...
[ { "answer_id": 103660, "author": "Ben Rudolph", "author_id": 144482, "author_profile": "https://webapps.stackexchange.com/users/144482", "pm_score": 2, "selected": false, "text": "<p>Yes, you can do that in the Advanced Mode of the Display Condition.</p>\n\n<p>You will need:</p>\n\n<pre>...
2017/03/01
[ "https://webapps.stackexchange.com/questions/103657", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/147358/" ]
I'm looking to use a display condition for an indicator where the goal is: If a child case of the parent that I'm editing is open, the indicator should count otherwise it should not count. In other words, a child "pregnancy" case gets created when a patient is pregnant. If the pregnancy ends, this child case will get...
Yes, you can do that in the Advanced Mode of the Display Condition. You will need: ``` count(instance('casedb')/casedb/case[index/parent = instance('commcaresession')/session/data/case_id][@status = 'open']) > 0 ``` To break this down a little: 1. The `instance('casedb')/casedb/case` gets all cases 2. The `[index/...
103,672
<p>I have a registration form that we are using for my company. We have 6 locations. I want to have the registration form that is filled out on Google forms to go to specific emails based on their answer for what location they are at. I have tried a few scripts, and have had no luck.</p>
[ { "answer_id": 103711, "author": "Tom Woodward", "author_id": 103367, "author_profile": "https://webapps.stackexchange.com/users/103367", "pm_score": 1, "selected": true, "text": "<p>You'd write an if then statement that covers your 6 locations. It'd be something like this . . . though t...
2017/03/01
[ "https://webapps.stackexchange.com/questions/103672", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/148781/" ]
I have a registration form that we are using for my company. We have 6 locations. I want to have the registration form that is filled out on Google forms to go to specific emails based on their answer for what location they are at. I have tried a few scripts, and have had no luck.
You'd write an if then statement that covers your 6 locations. It'd be something like this . . . though this isn't exact. ``` function sendEmails() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet = SpreadsheetApp.getActiveSheet(); var lastRow = getLastRow(); var range = sheet.getRange('C'. lastRo...
103,700
<p>I am saving the output of a single choice lookup table question as a case property. 
This is not a question completed by the user, but calculates off of the user case. 
 The lookup table has two columns 1. Index (sequential numbers) 2. Study condition (1,2,3,4)</p> <p>In the lookup table, the filter_id is set to '...
[ { "answer_id": 103705, "author": "Nick Nestle", "author_id": 146826, "author_profile": "https://webapps.stackexchange.com/users/146826", "pm_score": 2, "selected": true, "text": "<p>If this is not a question completed by the user you should just use a hidden value with a calculate condit...
2017/03/02
[ "https://webapps.stackexchange.com/questions/103700", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144558/" ]
I am saving the output of a single choice lookup table question as a case property. 
This is not a question completed by the user, but calculates off of the user case. 
 The lookup table has two columns 1. Index (sequential numbers) 2. Study condition (1,2,3,4) In the lookup table, the filter\_id is set to 'index'. \...
If this is not a question completed by the user you should just use a hidden value with a calculate condition. The calculate would be: ``` instance('your_lookup_table_id')/your_lookup_table_id_list/your_lookup_table_id[index = #form/index]/study_condition ``` Where "lookup\_table\_id" = the id of your lookup table a...
103,741
<p>I am trying to calculate the hours for each week (starting Monday). </p> <p>What formula should I write to: retrieve the weekly sum of hours from another tab (based on week number)?</p> <p><a href="https://i.stack.imgur.com/Vf0NE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vf0NE.png" alt="en...
[ { "answer_id": 103758, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>One approach is to add all values, and subtract those already accounted for: </p>\n\n<pre><code>=if(A2=\"Sun\", su...
2017/03/03
[ "https://webapps.stackexchange.com/questions/103741", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/148397/" ]
I am trying to calculate the hours for each week (starting Monday). What formula should I write to: retrieve the weekly sum of hours from another tab (based on week number)? [![enter image description here](https://i.stack.imgur.com/Vf0NE.png)](https://i.stack.imgur.com/Vf0NE.png)
``` =sumif(C2:C, <your week number here>, D2:D) ```
103,768
<p>If I make a branded YouTube channel under my real one (which I am doing simply so my name isn't attached, and in actual fact would like the channel to be anonymous, so no-one knows who actually owns it), are people able to trace the channel back to my real one?</p> <p>So for example, if I have my channel Finn Rayme...
[ { "answer_id": 103758, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>One approach is to add all values, and subtract those already accounted for: </p>\n\n<pre><code>=if(A2=\"Sun\", su...
2017/03/04
[ "https://webapps.stackexchange.com/questions/103768", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/-1/" ]
If I make a branded YouTube channel under my real one (which I am doing simply so my name isn't attached, and in actual fact would like the channel to be anonymous, so no-one knows who actually owns it), are people able to trace the channel back to my real one? So for example, if I have my channel Finn Rayment, and th...
``` =sumif(C2:C, <your week number here>, D2:D) ```
103,817
<p>The system I set up does the following:</p> <ul> <li>a user submits a form</li> <li>a confirmation email is sent with a link to edit the response (so far so good)</li> <li>in the form, there is a 'due date' question</li> <li>a trigger script scans these dates each day</li> <li>when the due date has come, it sends a...
[ { "answer_id": 103828, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 3, "selected": false, "text": "<p>Unfortunately, the Instagram API does not allow for posting to Instagram. It can only be used to get information <em>fr...
2017/03/06
[ "https://webapps.stackexchange.com/questions/103817", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/144612/" ]
The system I set up does the following: * a user submits a form * a confirmation email is sent with a link to edit the response (so far so good) * in the form, there is a 'due date' question * a trigger script scans these dates each day * when the due date has come, it sends a reminder email (this also happens properl...
Unfortunately, the Instagram API does not allow for posting to Instagram. It can only be used to get information *from* Instagram. That's why IFTTT and Zapier aren't going to be able to help you here. Consider using Instagram as your starting point. For instance, post to Instagram and automatically also post to Tumblr...
103,857
<p>I want to give someone a Google Sheets that I made so they can use it independently of my sheet. I don't want to ever be able to read/write/update their sheet. I'm aware there are various options for adjusting <a href="https://webapps.stackexchange.com/a/103851/148978">permissions on Google Sheets</a>.</p> <p>For e...
[ { "answer_id": 103858, "author": "Aurielle Perlmann", "author_id": 109556, "author_profile": "https://webapps.stackexchange.com/users/109556", "pm_score": 3, "selected": true, "text": "<p>You need to give them a modified shareable link to a copy of your file.</p>\n\n<p>First, make a copy...
2017/03/07
[ "https://webapps.stackexchange.com/questions/103857", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/148978/" ]
I want to give someone a Google Sheets that I made so they can use it independently of my sheet. I don't want to ever be able to read/write/update their sheet. I'm aware there are various options for adjusting [permissions on Google Sheets](https://webapps.stackexchange.com/a/103851/148978). For example, if I email so...
You need to give them a modified shareable link to a copy of your file. First, make a copy of your sheet: `File -> Make a copy...` Second, create a shareable link with `can view` permissions: [![enter image description here](https://i.stack.imgur.com/f18ua.png)](https://i.stack.imgur.com/f18ua.png) Note the end of ...
103,926
<p>I have been working on automating a reporting sheet I have and discovered the very handy use of arrayformula in Sheets that autofills the column with your formula based on data in another column.</p> <p>Anyway, whenever I try this approach with a lookup formula it only uses the second row of the column it looks up ...
[ { "answer_id": 103929, "author": "George S", "author_id": 149367, "author_profile": "https://webapps.stackexchange.com/users/149367", "pm_score": 0, "selected": false, "text": "<p>On closer look I realised I missed the FALSE argument at the end of the vlookup formula which was the issue....
2017/03/08
[ "https://webapps.stackexchange.com/questions/103926", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/149367/" ]
I have been working on automating a reporting sheet I have and discovered the very handy use of arrayformula in Sheets that autofills the column with your formula based on data in another column. Anyway, whenever I try this approach with a lookup formula it only uses the second row of the column it looks up against an...
It looks like you're trying to create a heading in row 1, then below it, run a vlookup if there is a value in column B - This works ``` ={"Country";arrayformula(if(len(B2:B)>0,vlookup(D2:D,FBlookup!$A$3:$B$20,2,false),))} ```
103,958
<p>I would like to have the "dd/MM/yyyy" (e.g. 09/03/2017) as default date format for my Google sheets. I know how to do this for one sheet:</p> <pre><code>Format &gt; Number &gt; More formats &gt; More date and time formats ... </code></pre> <p>Or I could change the locale to Spanish for example (which has this date...
[ { "answer_id": 106243, "author": "Community", "author_id": -1, "author_profile": "https://webapps.stackexchange.com/users/-1", "pm_score": 5, "selected": true, "text": "<p>Set the locale to one of (Australia, India, Ireland, Israel, or United Kingdom) to get date format 20/05/2017 and nu...
2017/03/09
[ "https://webapps.stackexchange.com/questions/103958", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/111268/" ]
I would like to have the "dd/MM/yyyy" (e.g. 09/03/2017) as default date format for my Google sheets. I know how to do this for one sheet: ``` Format > Number > More formats > More date and time formats ... ``` Or I could change the locale to Spanish for example (which has this date format) in: ``` File > Spreadshee...
Set the locale to one of (Australia, India, Ireland, Israel, or United Kingdom) to get date format 20/05/2017 and number format 1.25. For the sake of completeness, I list the output of the formulas `=today()`, `=5/4`, and `=99999/4` (cell formatted as "Number") for all currently available locales in Google Sheets. ...
104,047
<p>I am creating a long list with many (>50) references to previous list numbers in Google Docs. Here is a simplified example:</p> <ol> <li>Do A</li> <li>Go to B</li> <li>Wash C</li> <li>Pick up D</li> <li>Clean E</li> <li>Repeat Step 2</li> <li>Buy F</li> </ol> <p>If I delete "1. Do A" the list renumbers, but "Repea...
[ { "answer_id": 125447, "author": "Cerberton", "author_id": 156125, "author_profile": "https://webapps.stackexchange.com/users/156125", "pm_score": 0, "selected": false, "text": "<p>Off the top of my head, no, there is no way to do this in a Google Doc file. But if you are managing a sequ...
2017/03/10
[ "https://webapps.stackexchange.com/questions/104047", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/149623/" ]
I am creating a long list with many (>50) references to previous list numbers in Google Docs. Here is a simplified example: 1. Do A 2. Go to B 3. Wash C 4. Pick up D 5. Clean E 6. Repeat Step 2 7. Buy F If I delete "1. Do A" the list renumbers, but "Repeat Step 2" does not change to "Repeat Step 1". Is there a way to...
Using the new Reversible Formulas add-on for Google Docs, you can enter any JavaScript in your Google docs. And since it is evaluated in order, you can use counters. Write the following: ``` counter = (0) labels = ({}) step = (function(name) { counter++; labels[name || ""] = counter; return counter; }) ref = (functi...
104,064
<p>I want to count the number of consecutive times the same value appears until the given row, until another value appears then start counting from zero again. And I want to use an <code>arrayformula</code> so I don’t have to copy it down all rows.</p> <pre><code>Input Count Foo 1 Foo 2 Foo 3 Ba...
[ { "answer_id": 104350, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 3, "selected": true, "text": "<h1>Summary</h1>\n\n<p>Below there are two alternatives, one that uses <code>MMULT</code> which doesn't require an au...
2017/03/11
[ "https://webapps.stackexchange.com/questions/104064", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/149682/" ]
I want to count the number of consecutive times the same value appears until the given row, until another value appears then start counting from zero again. And I want to use an `arrayformula` so I don’t have to copy it down all rows. ``` Input Count Foo 1 Foo 2 Foo 3 Bar Bar Foo...
Summary ======= Below there are two alternatives, one that uses `MMULT` which doesn't require an auxiliary formula and one that uses `SUMIF` but it requieres an auxiliary formula. NOTE: Open ended references could make that recalculation time be very large. One alternative to reduce recalculation time is to remove em...
104,161
<p>I have a simple gsheet I want to run a script inside so it can be run from Android mobile. Buttons and menus do not work on Android mobile.</p> <ul> <li><code>C3</code> says choose your sort. </li> <li><code>D3</code> has a data validation list of my sort scripts. Only 1 there right now. <code>NormalSort</code>.</...
[ { "answer_id": 104122, "author": "Vidar S. Ramdal", "author_id": 21583, "author_profile": "https://webapps.stackexchange.com/users/21583", "pm_score": 5, "selected": true, "text": "<p>It is certainly possible - I have multiple. I have not found any mention of Google limiting the number o...
2017/03/15
[ "https://webapps.stackexchange.com/questions/104161", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/149986/" ]
I have a simple gsheet I want to run a script inside so it can be run from Android mobile. Buttons and menus do not work on Android mobile. * `C3` says choose your sort. * `D3` has a data validation list of my sort scripts. Only 1 there right now. `NormalSort`. I want `D3` to be blank and then I choose `NormalSort` f...
It is certainly possible - I have multiple. I have not found any mention of Google limiting the number of accounts you can create, in fact, [Google's documentation mentions ways to sign in to multiple accounts at once](https://support.google.com/accounts/answer/1721977?hl=en). But if you're doing this for "organizatio...
104,191
<p>I've received an automated mail saying "my" new e-mail address was created. My e-mail is <code>example@gmail.com</code>, and the message says the new address is something like <code>exampleabc@gmail.com</code>. </p> <p>I immediately changed the password and went through the security check. I also checked the latest...
[ { "answer_id": 104193, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 1, "selected": true, "text": "<p>It would seem that more than likely someone created a new Gmail (Google) account and listed your email address as the ac...
2017/03/16
[ "https://webapps.stackexchange.com/questions/104191", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/150070/" ]
I've received an automated mail saying "my" new e-mail address was created. My e-mail is `example@gmail.com`, and the message says the new address is something like `exampleabc@gmail.com`. I immediately changed the password and went through the security check. I also checked the latest activity. I saw something stran...
It would seem that more than likely someone created a new Gmail (Google) account and listed your email address as the account recovery email address. Why? Who knows. Error. Prank. Plain stupidity. Take your pick. Your account is fine; this is little more than an inconvenience and, honestly, poor security on their part...
104,219
<p>Because I am using Google Forms to collect data the source of data is not what I want so I need to create a tab and transform the data.</p> <p>Here is an example of the Google Sheets (Exported from Google Forms):</p> <pre><code>Group Leader Groupmate Gender Groupmate Gender Groupmate Gender Leader 1 ...
[ { "answer_id": 104674, "author": "Robbie", "author_id": 128539, "author_profile": "https://webapps.stackexchange.com/users/128539", "pm_score": 1, "selected": false, "text": "<p>You can achieve this by using <a href=\"https://i.stack.imgur.com/uiJTW.png\" rel=\"nofollow noreferrer\"><cod...
2017/03/17
[ "https://webapps.stackexchange.com/questions/104219", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/150137/" ]
Because I am using Google Forms to collect data the source of data is not what I want so I need to create a tab and transform the data. Here is an example of the Google Sheets (Exported from Google Forms): ``` Group Leader Groupmate Gender Groupmate Gender Groupmate Gender Leader 1 John M M...
Following up OP's Comment: > > This is better: <https://stackoverflow.com/questions/42869218/data-transformation-in-google-sheets> > > > copy of formula provided by [@Rubén](https://webapps.stackexchange.com/users/88163/rub%c3%a9n): ``` =QUERY({"Group Leader","Groupmate","Gender";A2:C;A2:A,D2:E;A2:A,F2:G},"selec...
104,229
<p>Do you get charged $.50 for using a custom .pdf template for entries?</p>
[ { "answer_id": 104674, "author": "Robbie", "author_id": 128539, "author_profile": "https://webapps.stackexchange.com/users/128539", "pm_score": 1, "selected": false, "text": "<p>You can achieve this by using <a href=\"https://i.stack.imgur.com/uiJTW.png\" rel=\"nofollow noreferrer\"><cod...
2017/03/17
[ "https://webapps.stackexchange.com/questions/104229", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/150175/" ]
Do you get charged $.50 for using a custom .pdf template for entries?
Following up OP's Comment: > > This is better: <https://stackoverflow.com/questions/42869218/data-transformation-in-google-sheets> > > > copy of formula provided by [@Rubén](https://webapps.stackexchange.com/users/88163/rub%c3%a9n): ``` =QUERY({"Group Leader","Groupmate","Gender";A2:C;A2:A,D2:E;A2:A,F2:G},"selec...