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
130,437
<p>Is there a way to activate/deactivate a column in <code>QUERY</code> function? I have a query to query and selection of several columns</p> <pre><code>Select Col1,Col31,Col32,Col33,Col25,Col26, </code></pre> <p>and want to have a checkbox for each column that could hide/show it. Hiding/showing the entire sheet col...
[ { "answer_id": 130439, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<p>The default values for checkboxes are TRUE/FALSE. You could use several IF functions, the &amp; operator and REGE...
2019/06/03
[ "https://webapps.stackexchange.com/questions/130437", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/218695/" ]
Is there a way to activate/deactivate a column in `QUERY` function? I have a query to query and selection of several columns ``` Select Col1,Col31,Col32,Col33,Col25,Col26, ``` and want to have a checkbox for each column that could hide/show it. Hiding/showing the entire sheet column with the onEdit script is not an ...
This can be done without hardcoding the columns in the formula. I am going to show you how to make a formula that can work with any number of columns without any change to the formula. We are going to have the filter checkboxes in the first row. I filled the whole first row with checkboxes. [![Sheet](https://i.stack....
130,449
<p>I have a spreadsheet that I use to track customer orders. It has the customer details on a row, their order number and a line of check boxes for the items that they want for that particular order. For the items they want, the check box is ticked and then when the item is manufactured, the cell with the respective ch...
[ { "answer_id": 130439, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<p>The default values for checkboxes are TRUE/FALSE. You could use several IF functions, the &amp; operator and REGE...
2019/06/03
[ "https://webapps.stackexchange.com/questions/130449", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/220007/" ]
I have a spreadsheet that I use to track customer orders. It has the customer details on a row, their order number and a line of check boxes for the items that they want for that particular order. For the items they want, the check box is ticked and then when the item is manufactured, the cell with the respective check...
This can be done without hardcoding the columns in the formula. I am going to show you how to make a formula that can work with any number of columns without any change to the formula. We are going to have the filter checkboxes in the first row. I filled the whole first row with checkboxes. [![Sheet](https://i.stack....
130,499
<p>I would like to be able to group rows based on unique values and then output the <code>AVERAGE</code> and <code>STDEV</code> values for those groups. </p> <p>Using the table below as an example, I would like to determine the <code>AVERAGE</code> and <code>STDEV</code> for each unique ID and type (1a, 1b, 2a, 2b, 3a...
[ { "answer_id": 130505, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 2, "selected": true, "text": "<p><b><pre><code>={QUERY(A1:C, \"select A,avg(C) \n where A is not null \n group by A \...
2019/06/05
[ "https://webapps.stackexchange.com/questions/130499", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/220123/" ]
I would like to be able to group rows based on unique values and then output the `AVERAGE` and `STDEV` values for those groups. Using the table below as an example, I would like to determine the `AVERAGE` and `STDEV` for each unique ID and type (1a, 1b, 2a, 2b, 3a, 3b). One possible solution is to create a new colu...
**``` ={QUERY(A1:C, "select A,avg(C) where A is not null group by A label avg(C)'Averages'", 0); QUERY(A1:C, "select B,avg(C) where B is not null group by B label avg(C)''", 0)} ```** [![0](https://i.stack.imgur.com/Qct4N...
130,518
<p>I have onEdit script that hides or shows rows by checking/unchecking checkboxes (yes/no values).</p> <p>Looks like this</p> <pre><code>if(orpscscchbx.getValue() == 'no') { var rowsHided = 0; for (var i = 0; i &lt;= numRows - 1; i++) { var row = values[i]; if (row[0] == 'ORP Sc-Sc') { ...
[ { "answer_id": 130505, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 2, "selected": true, "text": "<p><b><pre><code>={QUERY(A1:C, \"select A,avg(C) \n where A is not null \n group by A \...
2019/06/05
[ "https://webapps.stackexchange.com/questions/130518", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/218695/" ]
I have onEdit script that hides or shows rows by checking/unchecking checkboxes (yes/no values). Looks like this ``` if(orpscscchbx.getValue() == 'no') { var rowsHided = 0; for (var i = 0; i <= numRows - 1; i++) { var row = values[i]; if (row[0] == 'ORP Sc-Sc') { sheet.hideRows(...
**``` ={QUERY(A1:C, "select A,avg(C) where A is not null group by A label avg(C)'Averages'", 0); QUERY(A1:C, "select B,avg(C) where B is not null group by B label avg(C)''", 0)} ```** [![0](https://i.stack.imgur.com/Qct4N...
130,547
<p>I get this back after a bulk upload of children users:</p> <blockquote> <p>ACTION_FAILED:PASSWORD_INVALID</p> </blockquote> <p>I used a random generator and pasted its VALUE into the password column, so instead of</p> <pre><code>=CHAR(RANDBETWEEN(65,90))&amp;CHAR(RANDBETWEEN(65,90))&amp;RANDBETWEEN(1000,9999) <...
[ { "answer_id": 131170, "author": "Mario R.", "author_id": 221547, "author_profile": "https://webapps.stackexchange.com/users/221547", "pm_score": 0, "selected": false, "text": "<p>You are generating the passwords using a formula, make sure you copy and paste the values again on the same ...
2019/06/06
[ "https://webapps.stackexchange.com/questions/130547", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/220242/" ]
I get this back after a bulk upload of children users: > > ACTION\_FAILED:PASSWORD\_INVALID > > > I used a random generator and pasted its VALUE into the password column, so instead of ``` =CHAR(RANDBETWEEN(65,90))&CHAR(RANDBETWEEN(65,90))&RANDBETWEEN(1000,9999) ``` being uploaded in the bulk .CSV I'm using `G...
Make sure that the password hash function [upload only] column is blank. If there is a password hash mentioned, then the hashed password will need to be
130,644
<p>I have a strange problem...</p> <p>Simple function like:</p> <pre><code>function onEdit() { var ss = SpreadsheetApp.getActiveSpreadsheet() var sheet = ss.getActiveSheet() var ui = SpreadsheetApp.getUi() var response = ui.prompt('May I know your name?', ui.ButtonSet.YES_NO)} //Browser.inputBox('test')} </code></pr...
[ { "answer_id": 130645, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": -1, "selected": false, "text": "<p>This is standard behavior. Each user needs to authorize the script the same as you did in order to work for th...
2019/06/08
[ "https://webapps.stackexchange.com/questions/130644", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/218695/" ]
I have a strange problem... Simple function like: ``` function onEdit() { var ss = SpreadsheetApp.getActiveSpreadsheet() var sheet = ss.getActiveSheet() var ui = SpreadsheetApp.getUi() var response = ui.prompt('May I know your name?', ui.ButtonSet.YES_NO)} //Browser.inputBox('test')} ``` works perfectly for the ow...
The last year Google introduced some restrictions to simple triggers like onEdit, onOpen and onInstall. Since then, simple triggers can't be used to open user interface elements like alerts and prompts for collaborators. Instead of using a simple onEdit trigger use an installable on edit trigger or even better use a c...
130,654
<p>Where is the official documentation for the URL parameters/arguments?</p> <p>There are things like <code>/preview</code>, <code>/copy</code>, <code>/export</code>, <code>#headings</code>, <code>?something question mark</code>, that I stumbled on tips and tricks articles on the web.</p> <p>Where is the Official URL d...
[ { "answer_id": 130655, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 5, "selected": true, "text": "<p>There is no official Google documentation for this. Let's have unofficial one:</p>\n<pre><code>/copy\n/export\n/...
2019/06/09
[ "https://webapps.stackexchange.com/questions/130654", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/220425/" ]
Where is the official documentation for the URL parameters/arguments? There are things like `/preview`, `/copy`, `/export`, `#headings`, `?something question mark`, that I stumbled on tips and tricks articles on the web. Where is the Official URL documentation that explains ALL of them?
There is no official Google documentation for this. Let's have unofficial one: ``` /copy /export /edit /view /preview /create /pub? /fm?id= /tq?tqx=out:html &key=[ID] &gid=[#] &single=[true|false] &range=[CellAddress|CellAddress1:CellAddress2] &embedded=[true|false] &widget=[true|false] &output=[html|txt|csv|pdf] &for...
130,670
<p>I use column A mainly. A1 is the name of data type, and A2, A3, A4, ... are data. When I open this file, It shows the screen containing the first cell, A1. If I fill data from A2 to A250, then I should scroll down to the cell A251 to fill the next data. </p> <p>It takes some time, and I want to know the way (if exi...
[ { "answer_id": 130672, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 1, "selected": true, "text": "<ul>\n<li>you need onOpen script for your task like this:</li>\n</ul>\n\n<p><b><pre><code>function onOpen(e) {\n v...
2019/06/09
[ "https://webapps.stackexchange.com/questions/130670", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/220466/" ]
I use column A mainly. A1 is the name of data type, and A2, A3, A4, ... are data. When I open this file, It shows the screen containing the first cell, A1. If I fill data from A2 to A250, then I should scroll down to the cell A251 to fill the next data. It takes some time, and I want to know the way (if exists) to go...
* you need onOpen script for your task like this: **``` function onOpen(e) { var spreadsheet = e.source; var sheet = spreadsheet.getActiveSheet(); var lastRow = spreadsheet.getLastRow(); if (sheet.getMaxRows() == lastRow) { sheet.appendRow([""]); } lastRow = lastRow + 1; var range = sheet.getRange("A...
130,687
<p>I have several big tables, and I know that each 4th column is interesting for me, i.e B,F,J,N, etc (The total number of columns is different in different documents)</p> <p>Is there an easy way (some sort of a script) I can use to hide all other columns in few clicks? </p>
[ { "answer_id": 130672, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 1, "selected": true, "text": "<ul>\n<li>you need onOpen script for your task like this:</li>\n</ul>\n\n<p><b><pre><code>function onOpen(e) {\n v...
2019/06/10
[ "https://webapps.stackexchange.com/questions/130687", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/42910/" ]
I have several big tables, and I know that each 4th column is interesting for me, i.e B,F,J,N, etc (The total number of columns is different in different documents) Is there an easy way (some sort of a script) I can use to hide all other columns in few clicks?
* you need onOpen script for your task like this: **``` function onOpen(e) { var spreadsheet = e.source; var sheet = spreadsheet.getActiveSheet(); var lastRow = spreadsheet.getLastRow(); if (sheet.getMaxRows() == lastRow) { sheet.appendRow([""]); } lastRow = lastRow + 1; var range = sheet.getRange("A...
130,792
<p>This issue occurs in every chart type. As an example, I have a pie chart created from a long table of data where each column is assigned a specific text color, so each slice of the pie corresponds to the color of that column. I maintain this color coding on various other graphs of the same data to aid in reading the...
[ { "answer_id": 130800, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<p>The only way how to preserve your color scale is to add data always at the end so the last data will gain a new...
2019/06/13
[ "https://webapps.stackexchange.com/questions/130792", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/220717/" ]
This issue occurs in every chart type. As an example, I have a pie chart created from a long table of data where each column is assigned a specific text color, so each slice of the pie corresponds to the color of that column. I maintain this color coding on various other graphs of the same data to aid in reading the da...
I am making a budget tracker component and wanted the colors of the pie chart to be specific colors related to the areas of expenses (Green for childcare, Grey for Rent...) To solve this, I have a data-validated dropdown for them to choose from, pulled from another tab. Next to those categories, I used the SUMIF funct...
130,817
<p>Here on the StackExchange framework we have a nice feature, which is apparently called "Keyboard Glyphs" (cf. <a href="https://meta.stackexchange.com/questions/5527/keyboard-glyphs">https://meta.stackexchange.com/questions/5527/keyboard-glyphs</a>):</p> <blockquote> <p><kbd>CTRL</kbd>+<kbd>Z</kbd></p> </blockquot...
[ { "answer_id": 130800, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<p>The only way how to preserve your color scale is to add data always at the end so the last data will gain a new...
2019/06/13
[ "https://webapps.stackexchange.com/questions/130817", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/186125/" ]
Here on the StackExchange framework we have a nice feature, which is apparently called "Keyboard Glyphs" (cf. <https://meta.stackexchange.com/questions/5527/keyboard-glyphs>): > > `CTRL`+`Z` > > > Is there a way (e.g. with an Add-On) to do the same in Google Docs? I browsed the Add-Ons but did not find anything, ...
I am making a budget tracker component and wanted the colors of the pie chart to be specific colors related to the areas of expenses (Green for childcare, Grey for Rent...) To solve this, I have a data-validated dropdown for them to choose from, pulled from another tab. Next to those categories, I used the SUMIF funct...
130,856
<p>I'm working on setting up a series of scripts for a google sheet where I want to be able to auto sort based off of when something gets entered into the third column, sorting first by the first column (A date field) and the third column (A time field). I keep getting: </p> <blockquote> <p>'TypeError: Cannot find ...
[ { "answer_id": 130829, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 1, "selected": false, "text": "<p>In Gmail, there is no Archive folder. All emails you \"archive\" ends up in All Mail folder - <strong><a href=\...
2019/06/14
[ "https://webapps.stackexchange.com/questions/130856", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/220818/" ]
I'm working on setting up a series of scripts for a google sheet where I want to be able to auto sort based off of when something gets entered into the third column, sorting first by the first column (A date field) and the third column (A time field). I keep getting: > > 'TypeError: Cannot find function getRange in ...
In Gmail, there is no Archive folder. All emails you "archive" ends up in All Mail folder - **<https://mail.google.com/mail/u/0/#all>** And to filter out non-archived emails you can search for **`in:archive`** - **<https://mail.google.com/mail/u/0/#archive>** [![0](https://i.stack.imgur.com/s9f4X.png)](https://i.stac...
130,859
<p>In Google Sheets when I enter</p> <pre><code>10E-12 </code></pre> <p>in a cell formatted for scientific notation, it automatically turns the number into </p> <pre><code>1E-11 </code></pre> <p>Though technically correct, this is really annoying when comparing numbers between cells. Is there a way to specify the p...
[ { "answer_id": 130862, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<p><strong><code>1.79769E+308</code></strong> is the maximum number that Google Sheets is able to output. Respecti...
2019/06/14
[ "https://webapps.stackexchange.com/questions/130859", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/220821/" ]
In Google Sheets when I enter ``` 10E-12 ``` in a cell formatted for scientific notation, it automatically turns the number into ``` 1E-11 ``` Though technically correct, this is really annoying when comparing numbers between cells. Is there a way to specify the power to which the number should be raised in Goog...
To specify power of exponent, such as to powers of 3, 6, 9, etc, specify the number of places in the format. e.g. `##0.00#E+##` Note that there are 3 places on the left of the decimal and 3 places on the right of the decimal. The powers will increase or decrease by multiples of 3. The exponential display can be for...
130,870
<p>I want to fill column names with a sequential list of the last day of each month. For example, <code>3/31/2018</code>, <code>4/30/2018</code>, <code>5/31/2018</code>, etc. Is there a formula that can do this? If cell B1 = <code>3/31/2018</code>, I tried this:</p> <pre><code>=DATE(YEAR(B1), MONTH(B1)+1, DAY(B1)) ...
[ { "answer_id": 130862, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<p><strong><code>1.79769E+308</code></strong> is the maximum number that Google Sheets is able to output. Respecti...
2019/06/14
[ "https://webapps.stackexchange.com/questions/130870", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/220835/" ]
I want to fill column names with a sequential list of the last day of each month. For example, `3/31/2018`, `4/30/2018`, `5/31/2018`, etc. Is there a formula that can do this? If cell B1 = `3/31/2018`, I tried this: ``` =DATE(YEAR(B1), MONTH(B1)+1, DAY(B1)) ``` But this produces `5/1/2018` since April has only 30 da...
To specify power of exponent, such as to powers of 3, 6, 9, etc, specify the number of places in the format. e.g. `##0.00#E+##` Note that there are 3 places on the left of the decimal and 3 places on the right of the decimal. The powers will increase or decrease by multiples of 3. The exponential display can be for...
130,946
<p>I am using <code>importrange</code> to pull data from my responses page to my spreadsheet. I have completed the first sheet but I now need to go into the sheet to follow on where sheet one has run out of space. The problem is I have copied the <code>importrange</code> script to all cells in the column, but the range...
[ { "answer_id": 130862, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<p><strong><code>1.79769E+308</code></strong> is the maximum number that Google Sheets is able to output. Respecti...
2019/06/17
[ "https://webapps.stackexchange.com/questions/130946", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221047/" ]
I am using `importrange` to pull data from my responses page to my spreadsheet. I have completed the first sheet but I now need to go into the sheet to follow on where sheet one has run out of space. The problem is I have copied the `importrange` script to all cells in the column, but the range hasn't automatically cha...
To specify power of exponent, such as to powers of 3, 6, 9, etc, specify the number of places in the format. e.g. `##0.00#E+##` Note that there are 3 places on the left of the decimal and 3 places on the right of the decimal. The powers will increase or decrease by multiples of 3. The exponential display can be for...
131,071
<p>A1 value is <code>485065/1, 2, 3</code> and I expect <code>485065</code> and <code>1, 2, 3</code> <br>but it comes out <code>485065</code> and <code>1, 2, 2003</code>.</p> <pre><code>=split(a1,"/",false) </code></pre> <p>Please help me why it does.</p>
[ { "answer_id": 131057, "author": "tanius", "author_id": 75677, "author_profile": "https://webapps.stackexchange.com/users/75677", "pm_score": 3, "selected": false, "text": "<p>These <code>access_token</code> API keys were listed in the <a href=\"https://riot.im/\" rel=\"noreferrer\">Riot...
2019/06/21
[ "https://webapps.stackexchange.com/questions/131071", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221290/" ]
A1 value is `485065/1, 2, 3` and I expect `485065` and `1, 2, 3` but it comes out `485065` and `1, 2, 2003`. ``` =split(a1,"/",false) ``` Please help me why it does.
Solution to find your access token: 1. Log in to the account you want to get the access token for. Click on the name in the top left corner, then "Settings". 2. Click the "Help & About" tab (left side of the dialog). 3. Scroll to the bottom and click on `<click to reveal>` part of Access Token. 4. Copy your access tok...
131,083
<p>I've been looking for a slider control in sheets where I can play with a variable input by moving the slider left or right. Within the following example:</p> <pre><code>A1 = Value | B1 = VAR | C1 = A1*B1 </code></pre> <p>I want the B1 cell to be occupied by a number given by a slider that moves between 100 and 100...
[ { "answer_id": 131057, "author": "tanius", "author_id": 75677, "author_profile": "https://webapps.stackexchange.com/users/75677", "pm_score": 3, "selected": false, "text": "<p>These <code>access_token</code> API keys were listed in the <a href=\"https://riot.im/\" rel=\"noreferrer\">Riot...
2019/06/21
[ "https://webapps.stackexchange.com/questions/131083", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221320/" ]
I've been looking for a slider control in sheets where I can play with a variable input by moving the slider left or right. Within the following example: ``` A1 = Value | B1 = VAR | C1 = A1*B1 ``` I want the B1 cell to be occupied by a number given by a slider that moves between 100 and 1000, with increments of 100....
Solution to find your access token: 1. Log in to the account you want to get the access token for. Click on the name in the top left corner, then "Settings". 2. Click the "Help & About" tab (left side of the dialog). 3. Scroll to the bottom and click on `<click to reveal>` part of Access Token. 4. Copy your access tok...
131,084
<p>I want to scrap the phonetic guide for a translation in Google Translator using Google Sheets. </p> <p>For instance, if you enter the page: </p> <pre><code>https://translate.google.com/#view=home&amp;op=translate&amp;sl=auto&amp;tl=zh-CN&amp;text=欢迎你 </code></pre> <p>…you will see a transliteration of <code>欢迎你</...
[ { "answer_id": 131057, "author": "tanius", "author_id": 75677, "author_profile": "https://webapps.stackexchange.com/users/75677", "pm_score": 3, "selected": false, "text": "<p>These <code>access_token</code> API keys were listed in the <a href=\"https://riot.im/\" rel=\"noreferrer\">Riot...
2019/06/21
[ "https://webapps.stackexchange.com/questions/131084", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221311/" ]
I want to scrap the phonetic guide for a translation in Google Translator using Google Sheets. For instance, if you enter the page: ``` https://translate.google.com/#view=home&op=translate&sl=auto&tl=zh-CN&text=欢迎你 ``` …you will see a transliteration of `欢迎你` into `Huānyíng nǐ (Welcome!)`. I want to extract only ...
Solution to find your access token: 1. Log in to the account you want to get the access token for. Click on the name in the top left corner, then "Settings". 2. Click the "Help & About" tab (left side of the dialog). 3. Scroll to the bottom and click on `<click to reveal>` part of Access Token. 4. Copy your access tok...
131,252
<p>I would like to make a filter on Google Sheet but exclude one column</p> <p>For example:</p> <p><a href="https://i.stack.imgur.com/zFS0z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zFS0z.png" alt="screen shot"></a></p> <p>In this case I would like to have the filter on Column A and B but th...
[ { "answer_id": 131255, "author": "Oren", "author_id": 201004, "author_profile": "https://webapps.stackexchange.com/users/201004", "pm_score": 0, "selected": false, "text": "<p>There is a couple of ways in which you could do what you want:</p>\n\n<ul>\n<li>use a re-arrange your spreadshee...
2019/06/27
[ "https://webapps.stackexchange.com/questions/131252", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221723/" ]
I would like to make a filter on Google Sheet but exclude one column For example: [![screen shot](https://i.stack.imgur.com/zFS0z.png)](https://i.stack.imgur.com/zFS0z.png) In this case I would like to have the filter on Column A and B but the data on Column B should stay as they are, so when I sort A and C, B's dat...
Green and black filter views cannot be created with skipping columns if you wish for column overall dependency when you filter stuff. Rearranging column beforehand of creating filter views is your best option. Alternatives include giving up on filter views and filter it via formulae like **`QUERY`** and **`FILTER`**. ...
131,268
<p><em>tl;dr how can I make the script take an entire column (eg A:A) and then ignore the first (header) row, and any blank rows?</em></p> <p><strong>Background</strong></p> <p>I have an array in Google Sheets with date-ordered data (note dates are in UK format), where I will routinely add new entries every few weeks...
[ { "answer_id": 131265, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 1, "selected": false, "text": "<blockquote>\n <h2>Undelete messages</h2>\n \n <p>You can move messages out of your Trash if you deleted them i...
2019/06/27
[ "https://webapps.stackexchange.com/questions/131268", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221752/" ]
*tl;dr how can I make the script take an entire column (eg A:A) and then ignore the first (header) row, and any blank rows?* **Background** I have an array in Google Sheets with date-ordered data (note dates are in UK format), where I will routinely add new entries every few weeks. ``` A B 1 ...
> > Undelete messages > ----------------- > > > You can move messages out of your Trash if you deleted them in the last 30 days. > > > How to recover messages from your Trash: > > > * Log in to Gmail > * Go to your Trash or click here: **<https://mail.google.com/mail/u/0/#trash>** > * Check the box next to any m...
131,282
<p>I want to restrict a value in a cell based on another cell in the same row.</p> <p>The value in A must not exceed what is in B. If the value in B is zero, any figure is allowed in A</p> <pre><code>A | B --- 4 | 9 – allowed 5 | 0 – allowed 6 | 5 – the value in A should not be allowed </code></pre> <p...
[ { "answer_id": 131289, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": -1, "selected": false, "text": "<p>If values in <strong>A1</strong> &amp; <strong>B1</strong> cells output values as a result of formulae this wo...
2019/06/28
[ "https://webapps.stackexchange.com/questions/131282", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/219158/" ]
I want to restrict a value in a cell based on another cell in the same row. The value in A must not exceed what is in B. If the value in B is zero, any figure is allowed in A ``` A | B --- 4 | 9 – allowed 5 | 0 – allowed 6 | 5 – the value in A should not be allowed ``` How to set up data validation fo...
Set the data validation for A1 as follow: * On **Cell range** set the cell range from Column A. * On the **Criteria** dropdown select: Custom formula is * On the formula input box add this formula: `=OR(B1=0,A1<=B1)` * On the **On invalid data** radio buttons selet **Reject input** Dont' forget to click **Save** [![...
131,287
<p><strong>I want to generate an edit url link in the google sheet for a google form which is linked to it.</strong></p> <p>There are already instructions on how to do it. However they do not work for me. </p> <p>I have followed the instructions from Ruben and Sphinxx yet I am still unable to get it to work.</p> <p>...
[ { "answer_id": 131289, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": -1, "selected": false, "text": "<p>If values in <strong>A1</strong> &amp; <strong>B1</strong> cells output values as a result of formulae this wo...
2019/06/28
[ "https://webapps.stackexchange.com/questions/131287", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221809/" ]
**I want to generate an edit url link in the google sheet for a google form which is linked to it.** There are already instructions on how to do it. However they do not work for me. I have followed the instructions from Ruben and Sphinxx yet I am still unable to get it to work. There instructions are below in this ...
Set the data validation for A1 as follow: * On **Cell range** set the cell range from Column A. * On the **Criteria** dropdown select: Custom formula is * On the formula input box add this formula: `=OR(B1=0,A1<=B1)` * On the **On invalid data** radio buttons selet **Reject input** Dont' forget to click **Save** [![...
131,309
<p>I'm trying to create a VERY basic CRM tool. I want to create a running list of customer names. Once I enter a name in Column A I'd like a new Sheet automatically created with pre-set columns I can enter values and information into. The columns I'd like are:</p> <pre><code>1. Name 2. Address 3. Phone Number 4. Email...
[ { "answer_id": 131300, "author": "Toldry", "author_id": 221313, "author_profile": "https://webapps.stackexchange.com/users/221313", "pm_score": 0, "selected": false, "text": "<p>Apparently it's possible to middle-click the timestamp:</p>\n\n<p><a href=\"https://i.stack.imgur.com/XRpdf.pn...
2019/06/29
[ "https://webapps.stackexchange.com/questions/131309", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221882/" ]
I'm trying to create a VERY basic CRM tool. I want to create a running list of customer names. Once I enter a name in Column A I'd like a new Sheet automatically created with pre-set columns I can enter values and information into. The columns I'd like are: ``` 1. Name 2. Address 3. Phone Number 4. Email Address 5. Qu...
Easy one-click opening of a tweet in separate tab: 1. **Locate the date/time stamp of the desired tweet** [![enter image description here](https://i.stack.imgur.com/z3MTv.png)](https://i.stack.imgur.com/z3MTv.png) 2. **Click it with the scroll-wheel of your mouse** [![enter image description here](https://i.stack.i...
131,324
<p>Need previous day high/low price of a share. This formula gives answer</p> <pre><code>=googlefinance("nse:"&amp;columno.,"high",today()-2.1) </code></pre> <p>This gives an answer with date and time in separate columns. But I need only the value of a particular share price. Will anyone help me out.</p>
[ { "answer_id": 131325, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<ul>\n<li><p>use <strong><code>INDEX</code></strong> to filter it out like:</p>\n\n<p><b><pre><code>=INDEX(GOOGLEF...
2019/06/30
[ "https://webapps.stackexchange.com/questions/131324", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221927/" ]
Need previous day high/low price of a share. This formula gives answer ``` =googlefinance("nse:"&columno.,"high",today()-2.1) ``` This gives an answer with date and time in separate columns. But I need only the value of a particular share price. Will anyone help me out.
I think this will help you ``` =INDEX( IF(ISNA(GOOGLEFINANCE("NSE:"&A2,"high",TODAY()-1))=TRUE, IF(ISNA(GOOGLEFINANCE("NSE:"&A2,"high",TODAY()-2))=TRUE, GOOGLEFINANCE("NSE:"&A2,"high",TODAY()-3),GOOGLEFINANCE("NSE:"&A2,"high",TODAY()-2)),GOOGLEFINANCE("NSE:"&A2,"high",TODAY()-1)),2,2) ``` This will fetch the previou...
131,336
<p>When searching for a sporting event on Google, say Wimbledon, Google displays the schedule of the upcoming games.</p> <p>I've noticed that, by default, Google displays the <em>women's singles</em> schedule (second tab) rather than the first tab, i.e. <em>men's singles</em>. Any reason why? Any way to change this be...
[ { "answer_id": 131337, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 1, "selected": false, "text": "<p>The workaround would be to search:</p>\n\n<p><b><pre><code>Wimbledon men</code></pre></b></p>\n\n<p><a href=\"h...
2019/07/01
[ "https://webapps.stackexchange.com/questions/131336", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221948/" ]
When searching for a sporting event on Google, say Wimbledon, Google displays the schedule of the upcoming games. I've noticed that, by default, Google displays the *women's singles* schedule (second tab) rather than the first tab, i.e. *men's singles*. Any reason why? Any way to change this behaviour? [![enter image...
The workaround would be to search: **``` Wimbledon men ```** [![0](https://i.stack.imgur.com/C4p9u.png)](https://i.stack.imgur.com/C4p9u.png) And the reason could be based on stats for popularity/viewership (in the US)
131,340
<p>I currently use a macro script to filter my sheet upon opening the sheet by column A, and I wondered if there was a more efficient/simple way to do it with scripts?</p> <pre><code> function Sort() { var spreadsheet = SpreadsheetApp.getActive(); spreadsheet.getRange('3:138').activate(); spreadsheet.getRange('...
[ { "answer_id": 131345, "author": "arul selvan", "author_id": 219158, "author_profile": "https://webapps.stackexchange.com/users/219158", "pm_score": 0, "selected": false, "text": "<p>The file you shared is not accessible.\nIt's better to make a copy of your sheet and share that copy publ...
2019/07/01
[ "https://webapps.stackexchange.com/questions/131340", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221807/" ]
I currently use a macro script to filter my sheet upon opening the sheet by column A, and I wondered if there was a more efficient/simple way to do it with scripts? ``` function Sort() { var spreadsheet = SpreadsheetApp.getActive(); spreadsheet.getRange('3:138').activate(); spreadsheet.getRange('3:138').create...
* you can try like this in script editor: **``` var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet = ss.getSheetByName("AGL"); var range = sheet.getRange("A4:C"); ```** function onEdit(e) { range.sort([{column: 1, ascending: true}, {column: 2, ascending: false}]); }
131,388
<p>I have a <strong>*.tsv</strong> file in local storage on my computer. I want the file to be read from the apps script then the contents of the file are copied into <a href="https://docs.google.com/spreadsheets/d/183u9YrIcDkTQoQv11B0rI3rfjgPN2e__BJk2IEOLmLk/edit#gid=0" rel="nofollow noreferrer">a spreadsheet</a> file...
[ { "answer_id": 138385, "author": "andreswebs", "author_id": 237563, "author_profile": "https://webapps.stackexchange.com/users/237563", "pm_score": 2, "selected": true, "text": "<p>The <code>UrlFetchApp.fetch</code> method doesn't work for your local files.</p>\n\n<p>One other thing you ...
2019/07/02
[ "https://webapps.stackexchange.com/questions/131388", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/200652/" ]
I have a **\*.tsv** file in local storage on my computer. I want the file to be read from the apps script then the contents of the file are copied into [a spreadsheet](https://docs.google.com/spreadsheets/d/183u9YrIcDkTQoQv11B0rI3rfjgPN2e__BJk2IEOLmLk/edit#gid=0) file. I do not want the file to be uploaded first. This ...
The `UrlFetchApp.fetch` method doesn't work for your local files. One other thing you need to change is the Utilities method. The method to use is actually `Utilities.parseCsv`, you need to specify the tab separator for tsv: ``` var tsvData = Utilities.parseCsv(tsvContent, '\t'); ``` **References:** <https://devel...
131,461
<p><strong>tl;dr</strong>: <em>How to add GPS location instead of address in new Google Contacts using PC computer? It seems to be possible only using mobile version (Contacts in Android)</em>.</p> <hr> <p>I'd like to add a GPS coords instead of street address to one of my contacts in new Google Contacts (on my PC), ...
[ { "answer_id": 142594, "author": "asparc", "author_id": 247286, "author_profile": "https://webapps.stackexchange.com/users/247286", "pm_score": 4, "selected": true, "text": "<p>Use the <a href=\"https://support.google.com/maps/answer/7047426?hl=en\" rel=\"noreferrer\">plus code</a> of th...
2019/07/04
[ "https://webapps.stackexchange.com/questions/131461", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/21486/" ]
**tl;dr**: *How to add GPS location instead of address in new Google Contacts using PC computer? It seems to be possible only using mobile version (Contacts in Android)*. --- I'd like to add a GPS coords instead of street address to one of my contacts in new Google Contacts (on my PC), because location of my friend's...
Use the [plus code](https://support.google.com/maps/answer/7047426?hl=en) of the location as the address, while still filling in the city and the country.
131,486
<p>I am completely new to coding. I am a teacher and trying to design a lesson planner tool using Google Sheets Scripts. The idea is to have a template sheet for the lesson that will copy into a new tab. That part is working fine. However, to delete the lesson I want to make it impossible for someone to accidentally de...
[ { "answer_id": 131487, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<ul>\n<li><p>you could try like this which will prevent deleting the <strong>Template</strong> sheet:</p>\n\n<p><b...
2019/07/04
[ "https://webapps.stackexchange.com/questions/131486", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/222252/" ]
I am completely new to coding. I am a teacher and trying to design a lesson planner tool using Google Sheets Scripts. The idea is to have a template sheet for the lesson that will copy into a new tab. That part is working fine. However, to delete the lesson I want to make it impossible for someone to accidentally delet...
Regarding your second code, bear in mind that on Google Apps Script/JavaScript a single equal sign (`=`) is used to assign a literal or an objecto to a variable, so the syntax of the comparison on following code line is wrong ``` if(sheetname = "Template") { ``` The correct syntax is ``` if(sheetname === "Template"...
131,520
<p>I recently added a new Domain Alias to my G Suite account, and now I want to give every user an email alias ending with the new domain. I assumed this would happen automatically, but it didn't. Google's <a href="https://support.google.com/a/answer/7502379?hl=en" rel="nofollow noreferrer">help docs</a> say:</p> <blo...
[ { "answer_id": 131487, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<ul>\n<li><p>you could try like this which will prevent deleting the <strong>Template</strong> sheet:</p>\n\n<p><b...
2019/07/05
[ "https://webapps.stackexchange.com/questions/131520", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/75153/" ]
I recently added a new Domain Alias to my G Suite account, and now I want to give every user an email alias ending with the new domain. I assumed this would happen automatically, but it didn't. Google's [help docs](https://support.google.com/a/answer/7502379?hl=en) say: > > For large organizations: It can take more t...
Regarding your second code, bear in mind that on Google Apps Script/JavaScript a single equal sign (`=`) is used to assign a literal or an objecto to a variable, so the syntax of the comparison on following code line is wrong ``` if(sheetname = "Template") { ``` The correct syntax is ``` if(sheetname === "Template"...
131,525
<p>I have been tasked with creating reservation sheets for a restaurant. The sheets are for internal use only so the only people with access to these sheets are the staff in the reception, reservations and marketing.</p> <p>That said, it's a time consuming task to edit these sheets and make sure the data is correct. T...
[ { "answer_id": 131487, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<ul>\n<li><p>you could try like this which will prevent deleting the <strong>Template</strong> sheet:</p>\n\n<p><b...
2019/07/06
[ "https://webapps.stackexchange.com/questions/131525", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/201506/" ]
I have been tasked with creating reservation sheets for a restaurant. The sheets are for internal use only so the only people with access to these sheets are the staff in the reception, reservations and marketing. That said, it's a time consuming task to edit these sheets and make sure the data is correct. The idea is...
Regarding your second code, bear in mind that on Google Apps Script/JavaScript a single equal sign (`=`) is used to assign a literal or an objecto to a variable, so the syntax of the comparison on following code line is wrong ``` if(sheetname = "Template") { ``` The correct syntax is ``` if(sheetname === "Template"...
131,553
<p>I have three columns in my google sheet.</p> <p>COL A - will hold an invoice number (text field) or be empty<br> COL B - will display the word <code>EXEPNSE</code><br> COL C - this will be my formula column</p> <p>I need to detect if column A contains anything and that column B contains the word expenses.</p> <p>...
[ { "answer_id": 131554, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 2, "selected": false, "text": "<p><b><pre><code>=ARRAYFORMULA(IF((A2:A=&quot;&quot;)*(B2:B=&quot;EXPENSE&quot;), &quot;ISSUE&quot;, ))</code></pr...
2019/07/06
[ "https://webapps.stackexchange.com/questions/131553", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/222378/" ]
I have three columns in my google sheet. COL A - will hold an invoice number (text field) or be empty COL B - will display the word `EXEPNSE` COL C - this will be my formula column I need to detect if column A contains anything and that column B contains the word expenses. If COL A is blank AND COL B has the w...
**``` =ARRAYFORMULA(IF((A2:A="")*(B2:B="EXPENSE"), "ISSUE", )) ```** [![0](https://i.stack.imgur.com/7nxXG.png)](https://i.stack.imgur.com/7nxXG.png) --- for one cell/row evaluation paste in **C2** and drag down: **``` =IF((A2="")*(B2="EXPENSE"), "ISSUE", ) ```** ### [spreadsheet demo](https://docs.google.com/spre...
131,574
<p>I'm doing a spreadsheet for an event and I need to split a row into multiple rows. It's getting data from a form.</p> <p>I need a script that can arrange the data like in the blue rectangle.</p> <p><a href="https://i.stack.imgur.com/gYbEE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gYbEE.png...
[ { "answer_id": 131554, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 2, "selected": false, "text": "<p><b><pre><code>=ARRAYFORMULA(IF((A2:A=&quot;&quot;)*(B2:B=&quot;EXPENSE&quot;), &quot;ISSUE&quot;, ))</code></pr...
2019/07/08
[ "https://webapps.stackexchange.com/questions/131574", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/222433/" ]
I'm doing a spreadsheet for an event and I need to split a row into multiple rows. It's getting data from a form. I need a script that can arrange the data like in the blue rectangle. [![enter image description here](https://i.stack.imgur.com/gYbEE.png)](https://i.stack.imgur.com/gYbEE.png)
**``` =ARRAYFORMULA(IF((A2:A="")*(B2:B="EXPENSE"), "ISSUE", )) ```** [![0](https://i.stack.imgur.com/7nxXG.png)](https://i.stack.imgur.com/7nxXG.png) --- for one cell/row evaluation paste in **C2** and drag down: **``` =IF((A2="")*(B2="EXPENSE"), "ISSUE", ) ```** ### [spreadsheet demo](https://docs.google.com/spre...
131,581
<p>I'm sending emails from my own domain, that are relayed by my local ISP. Recently, I discovered that some of my emails are blocked by Gmail or marked as spam, and this is happening since months.</p> <p>So I sent an email containing subject "Test" and body "Test email", and this one has been received correctly by Gm...
[ { "answer_id": 131554, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 2, "selected": false, "text": "<p><b><pre><code>=ARRAYFORMULA(IF((A2:A=&quot;&quot;)*(B2:B=&quot;EXPENSE&quot;), &quot;ISSUE&quot;, ))</code></pr...
2019/07/08
[ "https://webapps.stackexchange.com/questions/131581", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/222452/" ]
I'm sending emails from my own domain, that are relayed by my local ISP. Recently, I discovered that some of my emails are blocked by Gmail or marked as spam, and this is happening since months. So I sent an email containing subject "Test" and body "Test email", and this one has been received correctly by Gmail, in my...
**``` =ARRAYFORMULA(IF((A2:A="")*(B2:B="EXPENSE"), "ISSUE", )) ```** [![0](https://i.stack.imgur.com/7nxXG.png)](https://i.stack.imgur.com/7nxXG.png) --- for one cell/row evaluation paste in **C2** and drag down: **``` =IF((A2="")*(B2="EXPENSE"), "ISSUE", ) ```** ### [spreadsheet demo](https://docs.google.com/spre...
131,585
<p>I do a LOT of copying from external sources and pasting into Google Docs/Sheets. Is this at all possible? I know the keyboard shortcut but can't seem to get used to it. Would save me so much time! </p>
[ { "answer_id": 131588, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 3, "selected": true, "text": "<p>Google Sheets &amp; Google Docs does not allow to alter internal keyboard shortcuts so your options are:</p>\n\n...
2019/07/08
[ "https://webapps.stackexchange.com/questions/131585", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/223191/" ]
I do a LOT of copying from external sources and pasting into Google Docs/Sheets. Is this at all possible? I know the keyboard shortcut but can't seem to get used to it. Would save me so much time!
Google Sheets & Google Docs does not allow to alter internal keyboard shortcuts so your options are: * get used to official keyboard shortcut - `**`CTRL`**` + `**`SHIFT`**` + `**`V`**` * remap your keyboard --- To easily remap your keyboard shortcut you can use powerful **[AutoHotKey](https://www.autohotkey.com/)** ...
131,666
<p>I am working on <a href="https://docs.google.com/spreadsheets/d/1aTC1_1FONUK9zQNiSXS74X80BDvj3JIAuoJDfobNuWQ/edit#gid=0" rel="nofollow noreferrer">this sheet</a> and it has a lot of <code>ImportXML</code> requests between columns N-Q.<br> And because of the high number of requests, it seems like the <code>ImportXML<...
[ { "answer_id": 131588, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 3, "selected": true, "text": "<p>Google Sheets &amp; Google Docs does not allow to alter internal keyboard shortcuts so your options are:</p>\n\n...
2019/07/11
[ "https://webapps.stackexchange.com/questions/131666", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/222682/" ]
I am working on [this sheet](https://docs.google.com/spreadsheets/d/1aTC1_1FONUK9zQNiSXS74X80BDvj3JIAuoJDfobNuWQ/edit#gid=0) and it has a lot of `ImportXML` requests between columns N-Q. And because of the high number of requests, it seems like the `ImportXML` function is not working properly (it keeps loading forev...
Google Sheets & Google Docs does not allow to alter internal keyboard shortcuts so your options are: * get used to official keyboard shortcut - `**`CTRL`**` + `**`SHIFT`**` + `**`V`**` * remap your keyboard --- To easily remap your keyboard shortcut you can use powerful **[AutoHotKey](https://www.autohotkey.com/)** ...
131,753
<p>Sometimes, I've seen Checkbox but I've also seen Tick Box. Does anyone know what's going on?</p> <p><img src="https://i.stack.imgur.com/3Xscb.png" alt="Checkbox vs Tickbox"></p>
[ { "answer_id": 131588, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 3, "selected": true, "text": "<p>Google Sheets &amp; Google Docs does not allow to alter internal keyboard shortcuts so your options are:</p>\n\n...
2019/07/13
[ "https://webapps.stackexchange.com/questions/131753", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/92179/" ]
Sometimes, I've seen Checkbox but I've also seen Tick Box. Does anyone know what's going on? ![Checkbox vs Tickbox](https://i.stack.imgur.com/3Xscb.png)
Google Sheets & Google Docs does not allow to alter internal keyboard shortcuts so your options are: * get used to official keyboard shortcut - `**`CTRL`**` + `**`SHIFT`**` + `**`V`**` * remap your keyboard --- To easily remap your keyboard shortcut you can use powerful **[AutoHotKey](https://www.autohotkey.com/)** ...
131,814
<h1>My Problem</h1> <p>I have <a href="https://docs.google.com/spreadsheets/d/1R0u3WJNhzycc4ZGvU7jkqoOd57OfgR0b7t1boi1vrXU/edit#gid=0" rel="nofollow noreferrer">a Google Spreadsheet</a> with two tabs - one containing regexes and values:</p> <p><a href="https://i.stack.imgur.com/HWIdB.png" rel="nofollow noreferrer"><i...
[ { "answer_id": 131815, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 3, "selected": true, "text": "<ul>\n<li><p>that's a common issue which can be outsmarted like this:</p>\n\n<p><b><pre><code>=ARRAYFORMULA(QUERY(S...
2019/07/15
[ "https://webapps.stackexchange.com/questions/131814", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/1703/" ]
My Problem ========== I have [a Google Spreadsheet](https://docs.google.com/spreadsheets/d/1R0u3WJNhzycc4ZGvU7jkqoOd57OfgR0b7t1boi1vrXU/edit#gid=0) with two tabs - one containing regexes and values: [![Regex sheet](https://i.stack.imgur.com/HWIdB.png)](https://i.stack.imgur.com/HWIdB.png) And the other containing ph...
* that's a common issue which can be outsmarted like this: **``` =ARRAYFORMULA(QUERY(SUBSTITUTE(Regex!A:B, "'", "♦"), "select Col2 where lower('"&SUBSTITUTE(A1, "'", "♦")&"') contains Col1 limit 1")) ```** **``` =ARRAYFORMULA(SUBSTITUTE(QUERY(SUBSTITUTE(Regex!A:B, "'", "♦"), "select Col2 where lower('"&S...
131,901
<p>I'm having an issue combining <code>SUMIFS</code> with <code>ImportRange</code> in Google Sheets. I found answers suggesting to nest it with <code>QUERY</code>. However, the issue is that one of my criteria is non-numerical. </p> <p>Formula in spreadsheet 2:</p> <pre><code>=query(ImportRange("https://docs.google.c...
[ { "answer_id": 131835, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 1, "selected": false, "text": "<p>You just need to type <code>=k$11</code> instead. </p>\n" }, { "answer_id": 131836, "author": "user0...
2019/07/17
[ "https://webapps.stackexchange.com/questions/131901", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/154455/" ]
I'm having an issue combining `SUMIFS` with `ImportRange` in Google Sheets. I found answers suggesting to nest it with `QUERY`. However, the issue is that one of my criteria is non-numerical. Formula in spreadsheet 2: ``` =query(ImportRange("https://docs.google.com/spreadsheets/d/1p_F-1tyYhlHfjjE2151T52FvcwGrtKUvB12...
You just need to type `=k$11` instead.
131,904
<p>I am trying to run the following code to return all the matches of column A from column C in a set of rows. In this situation, cell A1, is contained in a few iterations of column C, however, these are not exact matches. i.e I would want a match for this cell <a href="https://i.postimg.cc/FzHBMnVc/KENKD00319-03-KDLP...
[ { "answer_id": 131835, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 1, "selected": false, "text": "<p>You just need to type <code>=k$11</code> instead. </p>\n" }, { "answer_id": 131836, "author": "user0...
2019/07/17
[ "https://webapps.stackexchange.com/questions/131904", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/222813/" ]
I am trying to run the following code to return all the matches of column A from column C in a set of rows. In this situation, cell A1, is contained in a few iterations of column C, however, these are not exact matches. i.e I would want a match for this cell <https://i.postimg.cc/FzHBMnVc/KENKD00319-03-KDLP0808-WHITE-3...
You just need to type `=k$11` instead.
132,034
<p>I found a code to run the two different scripts online, however i keep getting an error</p> <p>Missing ; before statement.</p> <p>Original</p> <pre><code>function onEdit(e) { oneditfx1(e); oneditfx2(); } function oneditfx1(e) { var ss = e.source, sheet = ss.getActiveSheet(), range = e.ran...
[ { "answer_id": 132036, "author": "Eric Palmer", "author_id": 223135, "author_profile": "https://webapps.stackexchange.com/users/223135", "pm_score": 2, "selected": false, "text": "<p>You're missing the text \"function\" in front of oneditfx1 and oneditfx1. Also, your huge if/else if stat...
2019/07/22
[ "https://webapps.stackexchange.com/questions/132034", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/223431/" ]
I found a code to run the two different scripts online, however i keep getting an error Missing ; before statement. Original ``` function onEdit(e) { oneditfx1(e); oneditfx2(); } function oneditfx1(e) { var ss = e.source, sheet = ss.getActiveSheet(), range = e.range, targetSheet, ...
You're missing the text "function" in front of oneditfx1 and oneditfx1. Also, your huge if/else if statement could be simplified by using a switch statement and nesting furthers ifs within that.
132,052
<p>In Google Sheets, how do I get - at the bottom-most cell of a column - the sum of each cell (except for row 1, the header) above in that column? Keep in mind, I may add rows in the future.</p>
[ { "answer_id": 132054, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 2, "selected": true, "text": "<p>There are various ways how to solve this. The most simple would be to use dragging <strong><code>SUM</code></str...
2019/07/23
[ "https://webapps.stackexchange.com/questions/132052", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/223519/" ]
In Google Sheets, how do I get - at the bottom-most cell of a column - the sum of each cell (except for row 1, the header) above in that column? Keep in mind, I may add rows in the future.
There are various ways how to solve this. The most simple would be to use dragging **`SUM`**: [![0](https://i.stack.imgur.com/1kLuY.png)](https://i.stack.imgur.com/1kLuY.png) Then all you need to do is insert new rows inside of the **`SUM`** range so it would automatically expand as needed: [![0](https://i.stack.img...
132,086
<p>I don't know how else to put it of phrase it, I am really stumped here. I will put what I have down below and hopefully, someone will understand what I am getting at.</p> <pre><code>=QUERY(Sheet3!A:B,"select B where A =QUERY(Sheet2!B:D,"select D where B = '"&amp;A2&amp;"'",0") </code></pre>
[ { "answer_id": 132075, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": -1, "selected": false, "text": "<ul>\n<li>go to <strong><a href=\"https://www.dropbox.com/downloading\" rel=\"nofollow noreferrer\">https://www.d...
2019/07/23
[ "https://webapps.stackexchange.com/questions/132086", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/223589/" ]
I don't know how else to put it of phrase it, I am really stumped here. I will put what I have down below and hopefully, someone will understand what I am getting at. ``` =QUERY(Sheet3!A:B,"select B where A =QUERY(Sheet2!B:D,"select D where B = '"&A2&"'",0") ```
For anyone having this problem Trying to download a .e57 file which is 256GB in one download The download stalls at 25GB. Using a download manager, such as opensource [Free Download Manager](https://www.freedownloadmanager.org/) To get the link from dropbox download, save the download button which will produce a htm...
132,125
<p><a href="https://docs.google.com/spreadsheets/d/1L3GmhZ99vcD8lB2fxatMn9SiVHCzBfb4SY3qHsDSqDo/edit?usp=sharing" rel="nofollow noreferrer">Sheet link</a></p> <p>I posted before however, I don't think I was specific enough. I am sorry if I am wasting the time of anyone.</p> <p>In my sheet, you will see three pages. O...
[ { "answer_id": 132126, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": 0, "selected": false, "text": "<p>Use double <strong><code>VLOOKUP</code></strong> like:</p>\n\n<p><b><pre><code>=VLOOKUP(VLOOKUP(A2, 'Form Respo...
2019/07/24
[ "https://webapps.stackexchange.com/questions/132125", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/223660/" ]
[Sheet link](https://docs.google.com/spreadsheets/d/1L3GmhZ99vcD8lB2fxatMn9SiVHCzBfb4SY3qHsDSqDo/edit?usp=sharing) I posted before however, I don't think I was specific enough. I am sorry if I am wasting the time of anyone. In my sheet, you will see three pages. On the "Search Notes" page in C5 I would like it to dis...
Use double **`VLOOKUP`** like: **``` =VLOOKUP(VLOOKUP(A2, 'Form Responses'!B2:D, 3, 0), 'Note Giver Names'!A2:B, 2, 0) ```** [![0](https://i.stack.imgur.com/imL2q.png)](https://i.stack.imgur.com/imL2q.png)
132,272
<p>I have a long OR query function that I will be reusing many times in many contexts and that may change frequently. Following the principles of DRY design, I would like to write this query once and reference it in all the required places. So, for example, it would be nice to search for articles (all about fruit in th...
[ { "answer_id": 132284, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 1, "selected": false, "text": "<p>Yes you can do it. There are a lot of approaches for this problem.</p>\n\n<p>Example : </p>\n\n<pre><code>=QUERY...
2019/07/29
[ "https://webapps.stackexchange.com/questions/132272", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/223657/" ]
I have a long OR query function that I will be reusing many times in many contexts and that may change frequently. Following the principles of DRY design, I would like to write this query once and reference it in all the required places. So, for example, it would be nice to search for articles (all about fruit in this ...
Yes you can do it. There are a lot of approaches for this problem. Example : ``` =QUERY(A:B,"SELECT * WHERE "&C1&C2") ``` Cell C1, C2 contains the rest of the query like C1 `B = 'Apples'` C2 `OR B = 'Peaches'` You can build C1 and C2 with conditions such as C1 `=IF(D1<>"","B = '"&D1&"'","")` Where D1 is your...
132,299
<p>In the 2000s (before 2010) Facebook would allow you to get a direct URL to one's own Facebook album that could be emailed and shared with non-Facebook users. People have asked this question before like in this <a href="https://webapps.stackexchange.com/q/5297/208898">question in 2010</a>. </p> <p>It is now 2019, a...
[ { "answer_id": 133081, "author": "user225917", "author_id": 225917, "author_profile": "https://webapps.stackexchange.com/users/225917", "pm_score": 0, "selected": false, "text": "<p>Photos > See All > Hover mouse over the album you want to share with others and right click your mouse and...
2019/07/29
[ "https://webapps.stackexchange.com/questions/132299", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/208898/" ]
In the 2000s (before 2010) Facebook would allow you to get a direct URL to one's own Facebook album that could be emailed and shared with non-Facebook users. People have asked this question before like in this [question in 2010](https://webapps.stackexchange.com/q/5297/208898). It is now 2019, and those old answers n...
Privacy changes, scraping and general "aggressive" signup flows to Facebook have caused sharing public photos to be a slightly annoying process however it's still possible. As long as the album is "Public" non-Facebook users will see it. [![Privacy option](https://i.stack.imgur.com/UV6iR.png)](https://i.stack.imgur.c...
132,547
<p>I have designed a schedule in Google Sheets that uses emoji to indicate the character of each days activities. They display perfectly in Google Sheets. I want to physically print the sheet but when I try to export to PDF they disappear leaving behind the dreaded crossed boxes. I have also tried to export to HTML and...
[ { "answer_id": 132628, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 3, "selected": true, "text": "<p>Try using image instead of emojis? </p>\n\n<p><a href=\"https://docs.google.com/spreadsheets/d/1WzZYaqG1JTFq9od6X...
2019/08/06
[ "https://webapps.stackexchange.com/questions/132547", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/223657/" ]
I have designed a schedule in Google Sheets that uses emoji to indicate the character of each days activities. They display perfectly in Google Sheets. I want to physically print the sheet but when I try to export to PDF they disappear leaving behind the dreaded crossed boxes. I have also tried to export to HTML and th...
Try using image instead of emojis? [here's a sample](https://docs.google.com/spreadsheets/d/1WzZYaqG1JTFq9od6XUNKbETGz_XHUR_WK5qYFeRwMa0/edit?usp=sharing) ``` =IMAGE("https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-12/256/face-with-tears-of-joy.png") ``` Links of images come from [emojipedia](https...
132,654
<p>I have been trying to piece together some code for a task at work using Google Sheets and I am having some issues with what I can find versus my current knowledge level. I am trying to create a script that will collect responses from a Form, move them to the last row of a separate sheet, and then clear the row. </p>...
[ { "answer_id": 132655, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 0, "selected": false, "text": "<p>Please have a read on how to use triggers on Apps Scripts: </p>\n\n<p><a href=\"https://developers.goog...
2019/08/10
[ "https://webapps.stackexchange.com/questions/132654", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/224896/" ]
I have been trying to piece together some code for a task at work using Google Sheets and I am having some issues with what I can find versus my current knowledge level. I am trying to create a script that will collect responses from a Form, move them to the last row of a separate sheet, and then clear the row. ``` f...
Google Apps Script on edit triggers (simple and installable), as well as other similar triggers, only are fired by user actions made by using the Google Sheets user interface, but the on form submit installable triggers are fired when a form response is submitted. References * <https://developers.google.com/apps-scri...
132,790
<p>I am trying to use countif to count a certain number prior to today's date. So if today's date is 8/15/2019 the formula would count the number that is the B column that had a corresponding date prior to 8/15 or a formula that would do the same except greater than today's date. I used the date formula for today's dat...
[ { "answer_id": 132792, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 1, "selected": false, "text": "<p>First thing to have in mind is that Google Sheets (as well as other spreadsheet apps) use serial numbers to handl...
2019/08/16
[ "https://webapps.stackexchange.com/questions/132790", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/225252/" ]
I am trying to use countif to count a certain number prior to today's date. So if today's date is 8/15/2019 the formula would count the number that is the B column that had a corresponding date prior to 8/15 or a formula that would do the same except greater than today's date. I used the date formula for today's date ...
If you're going to insert today's date into a cell you can use: ``` =COUNTIF(A2:A32, "<"& C13) ``` But I'd say just use a formula to calculate 30 days from today's date. The formula to use is: ``` =COUNTIF(A2:A32, "<"& TODAY()-30) ``` Or if your dates continue down the column you can do from the starting date in ...
132,891
<p>I am trying to locate data present in different sheets. I have tried using <code>IF</code> and <code>IFS</code>.<br> Below are the formulas I have used. For <code>IF</code>, I get <code>NOT IN USE</code> even when I know there should be one of the sheets and I get <code>NA</code> for <code>IFS</code> except 2 cell w...
[ { "answer_id": 132817, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 1, "selected": true, "text": "<p>You can do it using the cursor and dragging the border lines of a cell. </p>\n\n<p><a href=\"https://i.s...
2019/08/20
[ "https://webapps.stackexchange.com/questions/132891", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/225498/" ]
I am trying to locate data present in different sheets. I have tried using `IF` and `IFS`. Below are the formulas I have used. For `IF`, I get `NOT IN USE` even when I know there should be one of the sheets and I get `NA` for `IFS` except 2 cell which gives the correct answer. What am I doing wrong or is there an...
You can do it using the cursor and dragging the border lines of a cell. [![resize](https://i.stack.imgur.com/swuST.png)](https://i.stack.imgur.com/swuST.png) As mentioned on the [official Google support page](https://support.google.com/docs/answer/1696711): > > Resize a row or column > > > 1. On your computer, ...
132,894
<p>all</p> <p>If you put the two together they don't work What is the right code to work together Note that the first to arrange automatic The second is to set the date if you put only one works, but if you add the other all stops working</p> <pre><code>function onEdit(event){ var sheet = event.source.getActiveSh...
[ { "answer_id": 132914, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<p>In simple words, functions names should be unique on each Google Apps Script project. Let say that you want to fo...
2019/08/20
[ "https://webapps.stackexchange.com/questions/132894", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/225503/" ]
all If you put the two together they don't work What is the right code to work together Note that the first to arrange automatic The second is to set the date if you put only one works, but if you add the other all stops working ``` function onEdit(event){ var sheet = event.source.getActiveSheet(); var editedCel...
``` function onEdit(e){ onEdit1(e); var sheet = event.source.getActiveSheet(); var editedCell = sheet.getActiveCell(); var columnToSortBy = 13; var tableRange = "A2:Y"; if(editedCell.getColumn() == columnToSortBy){ var range = sheet.getRange(tableRange); range.sort( { column : columnToSortBy }...
132,928
<p>I set up a G Suite account for an organization's domain that I owned back when that was a free service. I'm effectively grandfathered in now for life; now Google refers to it as a "legacy G Suite account." For all intents and purposes it's just a regular G Suite account; I just don't get billed for it but I also get...
[ { "answer_id": 132913, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<p>Did you know that it's possible to <strong>assign a keyboard shortcut</strong> to Google Sheets macros?<sup>(reth...
2019/08/21
[ "https://webapps.stackexchange.com/questions/132928", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/67426/" ]
I set up a G Suite account for an organization's domain that I owned back when that was a free service. I'm effectively grandfathered in now for life; now Google refers to it as a "legacy G Suite account." For all intents and purposes it's just a regular G Suite account; I just don't get billed for it but I also get no...
Did you know that it's possible to **assign a keyboard shortcut** to Google Sheets macros?(rethorical question) From [Automate tasks in Google Sheets](https://support.google.com/docs/answer/7665004?hl=en) (emphasis mine) > > Edit your macro > =============== > > > You can change the name, **add a keyboard shortcu...
132,940
<p>I am new to Google Sheets and have only used Excel a little, so Google Sheets is a bit different. I want to sort our band uniforms in size order from smallest to largest but Google Sheets only sorts them alphabetically so my XS ends up at the end. I'd like to sort them from smallest (2XS) to largest (4XL). After rea...
[ { "answer_id": 132913, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 0, "selected": false, "text": "<p>Did you know that it's possible to <strong>assign a keyboard shortcut</strong> to Google Sheets macros?<sup>(reth...
2019/08/21
[ "https://webapps.stackexchange.com/questions/132940", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/225620/" ]
I am new to Google Sheets and have only used Excel a little, so Google Sheets is a bit different. I want to sort our band uniforms in size order from smallest to largest but Google Sheets only sorts them alphabetically so my XS ends up at the end. I'd like to sort them from smallest (2XS) to largest (4XL). After readin...
Did you know that it's possible to **assign a keyboard shortcut** to Google Sheets macros?(rethorical question) From [Automate tasks in Google Sheets](https://support.google.com/docs/answer/7665004?hl=en) (emphasis mine) > > Edit your macro > =============== > > > You can change the name, **add a keyboard shortcu...
132,976
<p>How can Google Sheets take a range of multiple columns and rows and stack or consolidate all the non-empty cells into one column? For this case, I want non-unique cells. Also, each cell in the range is a string that has commas and spaces so if needed, a special char will need to be as a delimiter.</p> <p>There are ...
[ { "answer_id": 133062, "author": "Charles", "author_id": 225676, "author_profile": "https://webapps.stackexchange.com/users/225676", "pm_score": 1, "selected": false, "text": "<p>I found a way to do this.</p>\n\n<p>First, I brought all the unique values from Columns D-G of Sheet1 to a si...
2019/08/22
[ "https://webapps.stackexchange.com/questions/132976", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/53606/" ]
How can Google Sheets take a range of multiple columns and rows and stack or consolidate all the non-empty cells into one column? For this case, I want non-unique cells. Also, each cell in the range is a string that has commas and spaces so if needed, a special char will need to be as a delimiter. There are several qu...
I found a way to do this. First, I brought all the unique values from Columns D-G of Sheet1 to a single column in Sheet 2 with this: `=SORT(UNIQUE({'Sheetname'!D2:D;'Sheetname'!E2:E;'Sheetname'!F2:F;'Sheetname'!G2:G}))` So that sorted the names into alphabetical order (Col B) and number of instances of each in the n...
132,984
<p>I have a worksheet, 'wi', in a Google Sheet similar to the following example but with an undetermined number of rows:</p> <pre><code> Count | Entry | Description -------|-------|----------------- 2 | Foo | yada yada 3 | Bar | blah blah blah </code></pre> <p>On another worksheet I w...
[ { "answer_id": 133001, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 1, "selected": true, "text": "<p>With arrays you can do it : </p>\n\n<pre><code> Count | Entry | Description \n -------|-------|-------------...
2019/08/22
[ "https://webapps.stackexchange.com/questions/132984", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/53606/" ]
I have a worksheet, 'wi', in a Google Sheet similar to the following example but with an undetermined number of rows: ``` Count | Entry | Description -------|-------|----------------- 2 | Foo | yada yada 3 | Bar | blah blah blah ``` On another worksheet I want to repeat each (not th...
With arrays you can do it : ``` Count | Entry | Description -------|-------|----------------- 2 | Foo | yada yada 3 | Bar | blah blah blah ``` Using this with "**Count**" in `A1`; "**Description**" in `C1`; etc.. ``` ={B1:C1; transpose(ArrayFormula(SPLIT(transpose(ArrayFormula((RE...
133,012
<p>I am having difficulty with the following. Cell A1 could have values from 1 to 50. I have a listing on a separate table of different values that 1 to 50 represents. (I.E. <code>1</code> equals 1.68) I would like cell B1 to return the correct value from the table when a value (1-50) is entered into cell A1.</p>
[ { "answer_id": 133014, "author": "ale", "author_id": 354, "author_profile": "https://webapps.stackexchange.com/users/354", "pm_score": 2, "selected": false, "text": "<p>Use <a href=\"https://support.google.com/docs/answer/3093318\" rel=\"nofollow noreferrer\">VLOOKUP()</a>.</p>\n\n<p>Ass...
2019/08/23
[ "https://webapps.stackexchange.com/questions/133012", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/225772/" ]
I am having difficulty with the following. Cell A1 could have values from 1 to 50. I have a listing on a separate table of different values that 1 to 50 represents. (I.E. `1` equals 1.68) I would like cell B1 to return the correct value from the table when a value (1-50) is entered into cell A1.
Use [VLOOKUP()](https://support.google.com/docs/answer/3093318). Assuming your lookup table is in H1:I50, you'd put the following in B1: ``` =VLOOKUP(A1,H1:I150,2,FALSE) ```
133,021
<p>I have a list of usernames on two different sheets. I need to scan the first list of usernames to see if they appear in the second, and if they do, replace them with a predefined username. I can't seem to find a built-in function that does this as they all assume a single value and not a list of values to match agai...
[ { "answer_id": 133036, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 1, "selected": false, "text": "<p>Try REGEXPLACE instead : </p>\n\n<pre><code>=REGEXREPLACE([source value],TEXTJOIN(\"|\",TRUE,'list of values to ...
2019/08/23
[ "https://webapps.stackexchange.com/questions/133021", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/48778/" ]
I have a list of usernames on two different sheets. I need to scan the first list of usernames to see if they appear in the second, and if they do, replace them with a predefined username. I can't seem to find a built-in function that does this as they all assume a single value and not a list of values to match against...
Try REGEXPLACE instead : ``` =REGEXREPLACE([source value],TEXTJOIN("|",TRUE,'list of values to look for the source value in'!A:A),"static string") ```
133,051
<p>I am using this formula (see below) to try and retrieve dates automatically between the current date and the next. However, I keep getting the error, &quot;<em>QUERY completed with an empty output.</em>&quot;</p> <pre><code>=ARRAYFORMULA(QUERY({A3:H, HOUR(A3:A)}, &quot;select Col7,sum(Col3),sum(Col5),sum(Col8) ...
[ { "answer_id": 133053, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 2, "selected": false, "text": "<p>Instead of </p>\n\n<pre><code>date 'TODAY()'\n</code></pre>\n\n<p>use</p>\n\n<pre><code>date '\"&amp;TEXT(TODAY()...
2019/08/25
[ "https://webapps.stackexchange.com/questions/133051", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/221931/" ]
I am using this formula (see below) to try and retrieve dates automatically between the current date and the next. However, I keep getting the error, "*QUERY completed with an empty output.*" ``` =ARRAYFORMULA(QUERY({A3:H, HOUR(A3:A)}, "select Col7,sum(Col3),sum(Col5),sum(Col8) where Col1 is not null and Col9=7 ...
Instead of ``` date 'TODAY()' ``` use ``` date '"&TEXT(TODAY(), "yyyy-mm-dd")&"'" ``` NOTES: * The last `"` should be placed in a proper place in order to have a text value as the second argument of QUERY. * `'TODAY()'` doesn't returns Today's date, it returns a string with the word TODAY followed by parenthes...
133,105
<p>I am trying to bin my results so my groupings have lower granularity - going from a 1-10 scale to a 1-5 scale.<br> For example, any result 1 or 2 would be renamed to 1 in the next column, any result 3 or 4 would be renamed to 2 in the next column, ...</p> <p>I have tried:</p> <pre><code>=lookup(F3{=10,=9,=8,=7,=6,...
[ { "answer_id": 133064, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 2, "selected": true, "text": "<p>Instead of using the Google Sheets UI filters, use a formula to filter the results.</p>\n\n<p>To do this you could...
2019/08/26
[ "https://webapps.stackexchange.com/questions/133105", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/225979/" ]
I am trying to bin my results so my groupings have lower granularity - going from a 1-10 scale to a 1-5 scale. For example, any result 1 or 2 would be renamed to 1 in the next column, any result 3 or 4 would be renamed to 2 in the next column, ... I have tried: ``` =lookup(F3{=10,=9,=8,=7,=6,=5,=4,=3,=2,=1},G3{5,5...
Instead of using the Google Sheets UI filters, use a formula to filter the results. To do this you could use functions like FILTER and QUERY
133,108
<p>I have half the equation working:</p> <pre><code>=IF(AND(IF(NOT(ISBLANK(AG22)),TRUE,FALSE),AJ22&lt;AG22),"1","0") </code></pre> <p>So it looks like this:</p> <p><a href="https://i.stack.imgur.com/TBY63.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TBY63.jpg" alt=""></a></p> <p>What I WANT it...
[ { "answer_id": 133109, "author": "cafster", "author_id": 225993, "author_profile": "https://webapps.stackexchange.com/users/225993", "pm_score": 1, "selected": false, "text": "<p>You can ask Sheets if both of the cells are not blank this way:</p>\n\n<p><code>=IF(AND(NOT(ISBLANK(A2)),NOT(...
2019/08/27
[ "https://webapps.stackexchange.com/questions/133108", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/225991/" ]
I have half the equation working: ``` =IF(AND(IF(NOT(ISBLANK(AG22)),TRUE,FALSE),AJ22<AG22),"1","0") ``` So it looks like this: [![](https://i.stack.imgur.com/TBY63.jpg)](https://i.stack.imgur.com/TBY63.jpg) What I WANT it to do, is to only prompt an increase or decrease response if BOTH 90 and 180 days contain tex...
You can ask Sheets if both of the cells are not blank this way: `=IF(AND(NOT(ISBLANK(A2)),NOT(ISBLANK(B2))), "here","not here")` [![enter image description here](https://i.stack.imgur.com/JUf4q.png)](https://i.stack.imgur.com/JUf4q.png)
133,116
<p>If I format the cells of a sheet to duration, it wraps around 24h So adding those three cells (which should represent <code>HH:MM</code>):</p> <pre><code>05:00 18:00 02:00 </code></pre> <p>with <code>SUM</code>, the result is <code>01:00</code> where I need the result <code>25:00</code>. </p>
[ { "answer_id": 133117, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 1, "selected": false, "text": "<p>By default when you use <code>HH:MM</code> it's a <code>TIME</code> type of format </p>\n\n<p>Example :<br>\nFor...
2019/08/27
[ "https://webapps.stackexchange.com/questions/133116", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/226166/" ]
If I format the cells of a sheet to duration, it wraps around 24h So adding those three cells (which should represent `HH:MM`): ``` 05:00 18:00 02:00 ``` with `SUM`, the result is `01:00` where I need the result `25:00`.
* all you need is format it like: **``` =TEXT(SUM(A1:A3), "[hh]:mm") ```** [![0](https://i.stack.imgur.com/L4Qu8.png)](https://i.stack.imgur.com/L4Qu8.png)
133,131
<p>I have 2 spreadsheets, Test1 and Test2. In Test2, Cell B2 I want to access a cell in test1. I want to use the value in cell A1 (the value is test1) indirectly to access cell A2 in test1. This is the formula I use and am getting a Formula Parse Error. I have also included links to the test spreadsheets:</p> <pre>...
[ { "answer_id": 133120, "author": "mhoran_psprep", "author_id": 15682, "author_profile": "https://webapps.stackexchange.com/users/15682", "pm_score": 1, "selected": false, "text": "<p>In the page where you specify the outside mail link, you can also specify a label to attach to all the em...
2019/08/27
[ "https://webapps.stackexchange.com/questions/133131", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/226041/" ]
I have 2 spreadsheets, Test1 and Test2. In Test2, Cell B2 I want to access a cell in test1. I want to use the value in cell A1 (the value is test1) indirectly to access cell A2 in test1. This is the formula I use and am getting a Formula Parse Error. I have also included links to the test spreadsheets: ``` =IMPORTRANG...
In the page where you specify the outside mail link, you can also specify a label to attach to all the email, you can also specify that you want it to skip the inbox. To make it easy to see those emails you can then use the multiple inboxes. You enable that through settings/advanced; then you are given a new tab in th...
133,145
<p>I am using <code>IMPORTXML</code> to create what is essentially a vehicle inventory feed file.</p> <p>My issue arises when a price is not included in our main website. What seemingly is happening is when the price is not included the <code>IMPORTXML</code> is skipping that one, not including any error or anything, ...
[ { "answer_id": 133120, "author": "mhoran_psprep", "author_id": 15682, "author_profile": "https://webapps.stackexchange.com/users/15682", "pm_score": 1, "selected": false, "text": "<p>In the page where you specify the outside mail link, you can also specify a label to attach to all the em...
2019/08/27
[ "https://webapps.stackexchange.com/questions/133145", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/225060/" ]
I am using `IMPORTXML` to create what is essentially a vehicle inventory feed file. My issue arises when a price is not included in our main website. What seemingly is happening is when the price is not included the `IMPORTXML` is skipping that one, not including any error or anything, and including the next price tha...
In the page where you specify the outside mail link, you can also specify a label to attach to all the email, you can also specify that you want it to skip the inbox. To make it easy to see those emails you can then use the multiple inboxes. You enable that through settings/advanced; then you are given a new tab in th...
133,164
<p>I have a google sheet that I would like to sort different ranges by the 2nd column in each range. Example:</p> <pre><code>A B C D E F G p 7 1 h 9 1 q 6 2 j 3 2 g 9 3 p 7 3 </code></pre> <p>I need the range A:C sorted by B and the range E:G sorted by F. When I write the script, only the first set of data sor...
[ { "answer_id": 133120, "author": "mhoran_psprep", "author_id": 15682, "author_profile": "https://webapps.stackexchange.com/users/15682", "pm_score": 1, "selected": false, "text": "<p>In the page where you specify the outside mail link, you can also specify a label to attach to all the em...
2019/08/28
[ "https://webapps.stackexchange.com/questions/133164", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/226109/" ]
I have a google sheet that I would like to sort different ranges by the 2nd column in each range. Example: ``` A B C D E F G p 7 1 h 9 1 q 6 2 j 3 2 g 9 3 p 7 3 ``` I need the range A:C sorted by B and the range E:G sorted by F. When I write the script, only the first set of data sorts. Here is the script I h...
In the page where you specify the outside mail link, you can also specify a label to attach to all the email, you can also specify that you want it to skip the inbox. To make it easy to see those emails you can then use the multiple inboxes. You enable that through settings/advanced; then you are given a new tab in th...
133,207
<p>I've created a simple text filter:</p> <pre><code>=IFERROR(REGEXEXTRACT(A1;"- May 2019| - Jun 2019|- Jul 2019| - Aug 2019|- Sep 2019"); FALSE) </code></pre> <p>It should extract the month and year for an event from the cell A1. A1 contains a lot of text.</p> <p>It works, but there's a problem: this filter grabs t...
[ { "answer_id": 135893, "author": "drizzleshard", "author_id": 231524, "author_profile": "https://webapps.stackexchange.com/users/231524", "pm_score": 2, "selected": false, "text": "<p>For the moment this is how Google Team Drives is setup. Every Team Drive folder is really a folder for o...
2019/08/29
[ "https://webapps.stackexchange.com/questions/133207", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/226184/" ]
I've created a simple text filter: ``` =IFERROR(REGEXEXTRACT(A1;"- May 2019| - Jun 2019|- Jul 2019| - Aug 2019|- Sep 2019"); FALSE) ``` It should extract the month and year for an event from the cell A1. A1 contains a lot of text. It works, but there's a problem: this filter grabs the first match while there can be...
For the moment this is how Google Team Drives is setup. Every Team Drive folder is really a folder for one specific team and about one specific subject. That's why Google restricted moving content between drives for content managers. Imagine you have Team Drive A with colleagues from team A. And then you have Team Dr...
133,345
<p>I have a spreadsheet that gathers data from a Google Form. In this form, we ask the users to choose between the different seating plans. </p> <p>This is an example of the data gathered in the Response sheet:</p> <pre><code> column A row 1 | Workshop row 2 | Conference row 3 | Story time row 4...
[ { "answer_id": 133214, "author": "user0", "author_id": 186471, "author_profile": "https://webapps.stackexchange.com/users/186471", "pm_score": -1, "selected": false, "text": "<p>Try pressing <kbd><strong><code>CTRL</code></strong></kbd> + <kbd><strong><code>SHIFT</code></strong></kbd> + ...
2019/09/03
[ "https://webapps.stackexchange.com/questions/133345", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/226502/" ]
I have a spreadsheet that gathers data from a Google Form. In this form, we ask the users to choose between the different seating plans. This is an example of the data gathered in the Response sheet: ``` column A row 1 | Workshop row 2 | Conference row 3 | Story time row 4 | Conference row 5 |...
I figured out what the problem was: I copied all of the rows from the Microsoft Works Database spreadsheet, and then pasted them into a plain text file. The data appeared as tab-separated values. At the end of the text was an extra blank line. I deleted the empty line at the end, and again copied all of the data. I op...
133,523
<p>This one is far out of my league.<br> To simplify things:</p> <p><strong>Sheet1</strong><br> <code>B4</code> has a Data validation drop down list Ex. Vancouver, Surrey, Burnaby, etc<br> <code>B5</code> has a Data validation drop down list Ex. 500, 1000, 2000, etc</p> <p><strong>Sheet2</strong><br> Has Rows named V...
[ { "answer_id": 133527, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 1, "selected": false, "text": "<p>Try this in <code>'Main Sheet'!B6</code>: </p>\n\n<pre><code>=query(transpose(query('Value Reference'!A1:AJ7,\"S...
2019/09/10
[ "https://webapps.stackexchange.com/questions/133523", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/223072/" ]
This one is far out of my league. To simplify things: **Sheet1** `B4` has a Data validation drop down list Ex. Vancouver, Surrey, Burnaby, etc `B5` has a Data validation drop down list Ex. 500, 1000, 2000, etc **Sheet2** Has Rows named Vancouver, Surrey, Burnaby, etc Has Columns named 500, 1000, 2000 ...
Your formula is correct. **You just need to use single `'` instead of double `"` quotes**. ``` =INDEX('Value Reference'!B2:AJ6,MATCH(B4,'Value Reference'!A2:A6,0),MATCH(B5,'Value Reference'!B1:AJ1,0)) ``` EDIT ==== Make Data validation dynamic ---------------------------- You can improve your results even furth...
133,529
<p>How to connect GitHub account to keybase?</p> <p>Here is why: </p> <blockquote> <p>The Big Stellar Space Drop To qualify: you must have a Keybase account registered before this announcement OR if you're new to Keybase, you must connect your Keybase account to a GitHub or HackerNews account that was regist...
[ { "answer_id": 133527, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 1, "selected": false, "text": "<p>Try this in <code>'Main Sheet'!B6</code>: </p>\n\n<pre><code>=query(transpose(query('Value Reference'!A1:AJ7,\"S...
2019/09/10
[ "https://webapps.stackexchange.com/questions/133529", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/-1/" ]
How to connect GitHub account to keybase? Here is why: > > The Big Stellar Space Drop To qualify: you must have a Keybase account > registered before this announcement OR if you're new to Keybase, you > must connect your Keybase account to a GitHub or HackerNews account > that was registered before this announce...
Your formula is correct. **You just need to use single `'` instead of double `"` quotes**. ``` =INDEX('Value Reference'!B2:AJ6,MATCH(B4,'Value Reference'!A2:A6,0),MATCH(B5,'Value Reference'!B1:AJ1,0)) ``` EDIT ==== Make Data validation dynamic ---------------------------- You can improve your results even furth...
134,682
<p>I've got some data in a Google Drive spreadsheet that I want to run a pivot table on. There are 3 columns <code>Element, Cost, Omit</code> as per screenshot below </p> <p><a href="https://i.stack.imgur.com/9N0R4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9N0R4.png" alt="screenshot of spreads...
[ { "answer_id": 134692, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 2, "selected": true, "text": "<p>To the right of column <code>C</code> create 2 new columns: <code>D</code>, <code>F</code></p>\n\n<p>In c...
2019/09/16
[ "https://webapps.stackexchange.com/questions/134682", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/21773/" ]
I've got some data in a Google Drive spreadsheet that I want to run a pivot table on. There are 3 columns `Element, Cost, Omit` as per screenshot below [![screenshot of spreadsheet columns](https://i.stack.imgur.com/9N0R4.png)](https://i.stack.imgur.com/9N0R4.png) I want to summarise the cost by element, but exclude...
To the right of column `C` create 2 new columns: `D`, `F` In cell `D2` use this query: **``` =QUERY(A2:C42,"select A,B where C <>'Omit'") ```** Use these results for your pivot table. [Link](https://docs.google.com/spreadsheets/d/1PcoIj288JkjowOqwzgv2hZesab4HInqaTo2rEeBDUn8/edit#gid=0&range=D2)
134,706
<p>I'm having columns A, B and C filled with data in Sheet1. Those columns contains data that is static for each new sheet. Currently, I need to manually copy the first three columns to each new sheet I create. </p> <p>How can I automate the process that each time I click on the + (Add Sheet), to have that columns cop...
[ { "answer_id": 134692, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 2, "selected": true, "text": "<p>To the right of column <code>C</code> create 2 new columns: <code>D</code>, <code>F</code></p>\n\n<p>In c...
2019/09/17
[ "https://webapps.stackexchange.com/questions/134706", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/228478/" ]
I'm having columns A, B and C filled with data in Sheet1. Those columns contains data that is static for each new sheet. Currently, I need to manually copy the first three columns to each new sheet I create. How can I automate the process that each time I click on the + (Add Sheet), to have that columns copied? UPD...
To the right of column `C` create 2 new columns: `D`, `F` In cell `D2` use this query: **``` =QUERY(A2:C42,"select A,B where C <>'Omit'") ```** Use these results for your pivot table. [Link](https://docs.google.com/spreadsheets/d/1PcoIj288JkjowOqwzgv2hZesab4HInqaTo2rEeBDUn8/edit#gid=0&range=D2)
134,812
<p>I have a Google spreadsheet with 20 sheets.</p> <p>Is it possible to list all the sheet names, in an index sheet?</p>
[ { "answer_id": 134814, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 4, "selected": true, "text": "<p>There is a widely used script for this:</p>\n<pre><code>function sheetnames() {\n var out = new Array()\...
2019/09/20
[ "https://webapps.stackexchange.com/questions/134812", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/21773/" ]
I have a Google spreadsheet with 20 sheets. Is it possible to list all the sheet names, in an index sheet?
There is a widely used script for this: ``` function sheetnames() { var out = new Array() var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets(); for (var i=0 ; i<sheets.length ; i++) out.push( [ sheets[i].getName() ] ) return out } ``` Following that, you refer to it by placing `=sheetnames()` in a...
134,847
<p>I have a list of sites I would like to permanently exclude from Google search results. These are the large family of sites plagiarizing (and some of them garbling with machine translation) Q&amp;A from the StackExchange network, like <code>qaru.site</code>. I've created a filtering search engine in Chromium, with UR...
[ { "answer_id": 134853, "author": "Cornelius Roemer", "author_id": 218615, "author_profile": "https://webapps.stackexchange.com/users/218615", "pm_score": 0, "selected": false, "text": "<p>I did some research but couldn't find a way round the 32 word query limit for Google specifically. A...
2019/09/21
[ "https://webapps.stackexchange.com/questions/134847", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/183654/" ]
I have a list of sites I would like to permanently exclude from Google search results. These are the large family of sites plagiarizing (and some of them garbling with machine translation) Q&A from the StackExchange network, like `qaru.site`. I've created a filtering search engine in Chromium, with URL like `https://go...
Thanks to user [marikamitsos](https://webapps.stackexchange.com/users/117311/marikamitsos), I've found out that Google Custom Search Engines can work for the entire web. To do this, I had to 1. Go to <https://cse.google.com/cse/create/new> 2. Add any site in the *"Sites to search"* field (I used `example.com`) 3. Aft...
134,868
<p>To better explain what result I need, I made a text block below as a pseudo sheet to illustrate.</p> <ul> <li><p>Col A (source) is the manually entered text data. Col B and C (desired result) will have formulas so that cells from A are populated in them as per the pattern.</p></li> <li><p><strong>Pattern for B is</...
[ { "answer_id": 134853, "author": "Cornelius Roemer", "author_id": 218615, "author_profile": "https://webapps.stackexchange.com/users/218615", "pm_score": 0, "selected": false, "text": "<p>I did some research but couldn't find a way round the 32 word query limit for Google specifically. A...
2019/09/22
[ "https://webapps.stackexchange.com/questions/134868", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/228827/" ]
To better explain what result I need, I made a text block below as a pseudo sheet to illustrate. * Col A (source) is the manually entered text data. Col B and C (desired result) will have formulas so that cells from A are populated in them as per the pattern. * **Pattern for B is**: fixed number of cells from A in its...
Thanks to user [marikamitsos](https://webapps.stackexchange.com/users/117311/marikamitsos), I've found out that Google Custom Search Engines can work for the entire web. To do this, I had to 1. Go to <https://cse.google.com/cse/create/new> 2. Add any site in the *"Sites to search"* field (I used `example.com`) 3. Aft...
134,871
<p>At the moment, my Twitter account only has 24 followers. I plan to increase that by finding and inviting my friends/connections in Gmail or other social networks. It is a very common approach in other social networks such as LinkedIn.</p> <p>I have searched a lot on the internet, but the instructions seem outdated....
[ { "answer_id": 134853, "author": "Cornelius Roemer", "author_id": 218615, "author_profile": "https://webapps.stackexchange.com/users/218615", "pm_score": 0, "selected": false, "text": "<p>I did some research but couldn't find a way round the 32 word query limit for Google specifically. A...
2019/09/22
[ "https://webapps.stackexchange.com/questions/134871", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/12320/" ]
At the moment, my Twitter account only has 24 followers. I plan to increase that by finding and inviting my friends/connections in Gmail or other social networks. It is a very common approach in other social networks such as LinkedIn. I have searched a lot on the internet, but the instructions seem outdated. Does any...
Thanks to user [marikamitsos](https://webapps.stackexchange.com/users/117311/marikamitsos), I've found out that Google Custom Search Engines can work for the entire web. To do this, I had to 1. Go to <https://cse.google.com/cse/create/new> 2. Add any site in the *"Sites to search"* field (I used `example.com`) 3. Aft...
134,897
<p>Is it possible to create a single arrayformula that does the same thing as the following column of formula:</p> <pre><code>A1: =COUNTA(B1:B1) A2: =COUNTA(B1:B2) A3: =COUNTA(B1:B3) ... A9: =COUNTA(B1:B9) </code></pre> <p>My best try was <code>=ARRAYFORMULA(COUNTA(INDIRECT("B$1:"&amp;B1:9))</code> but I get a circul...
[ { "answer_id": 134901, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 1, "selected": false, "text": "<p>Try this and expand it : </p>\n\n<pre><code>=COUNTA(INDIRECT(\"B1:B\"&amp;ROW(B1)))\n</code></pre>\n\n<p><strong...
2019/09/23
[ "https://webapps.stackexchange.com/questions/134897", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/218615/" ]
Is it possible to create a single arrayformula that does the same thing as the following column of formula: ``` A1: =COUNTA(B1:B1) A2: =COUNTA(B1:B2) A3: =COUNTA(B1:B3) ... A9: =COUNTA(B1:B9) ``` My best try was `=ARRAYFORMULA(COUNTA(INDIRECT("B$1:"&B1:9))` but I get a circular dependency error - I presume because A...
Formula `=ArrayFormula(MMULT(TRANSPOSE((ROW(B1:B9)<=TRANSPOSE(ROW(B1:B9)))*ISTEXT(B1:B9)*1),ISTEXT(B1:B9)*1))` What you are looking to do is called "running total". The above formula use arrays, `TRANSPOSE`, `MMULT` (matrix multiplication), `ISTEXT` and unity multiplication (to parse TRUE as 1 and FALSE as 0) inste...
134,912
<p>I have a Google Sheets spreadsheet with a large number of sheets. I want to find a particular sheet by sheet name from Google Sheets. </p> <p>I know how to locate a sheet by name using a Google Application Script. However I can't figure out how to do it from Google Sheets itself.</p>
[ { "answer_id": 134931, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 2, "selected": true, "text": "<p>Google Sheets user interface doesn't include a way to locate a sheet by name.</p>\n\n<p>At the bottom there is a t...
2019/09/24
[ "https://webapps.stackexchange.com/questions/134912", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/228953/" ]
I have a Google Sheets spreadsheet with a large number of sheets. I want to find a particular sheet by sheet name from Google Sheets. I know how to locate a sheet by name using a Google Application Script. However I can't figure out how to do it from Google Sheets itself.
Google Sheets user interface doesn't include a way to locate a sheet by name. At the bottom there is a tab for each sheet, but they aren't sorted alphabetically and some sheets could be hidden; also there is a button that shows the list of sheets shown and hidden but this list isn't sorted either. Google Apps Script ...
134,939
<p>Let's say I want to search Yandex for a specific file type, like a pdf. How can I do it?</p>
[ { "answer_id": 134940, "author": "Evan Carroll", "author_id": 1066, "author_profile": "https://webapps.stackexchange.com/users/1066", "pm_score": 2, "selected": false, "text": "<p>The method to add a filetype to yandex is </p>\n\n<pre><code>mime:pdf\n</code></pre>\n\n<p>This can go anywh...
2019/09/25
[ "https://webapps.stackexchange.com/questions/134939", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/1066/" ]
Let's say I want to search Yandex for a specific file type, like a pdf. How can I do it?
The method to add a filetype to yandex is ``` mime:pdf ``` This can go anywhere in the search bar.
134,988
<p>I am a basic user of Google Sheets and need help creating a new formula. I am trying to filter a worksheet so that it returns particular information into another sheet.<br> The filter I have created is working but not exactly how I want it! The column I am referring to has words such as: </p> <ul> <li>Solar</li> <...
[ { "answer_id": 135036, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 0, "selected": false, "text": "<p><em>Note that: <strong>results given by the following provided formula are highly dependent on the way y...
2019/09/26
[ "https://webapps.stackexchange.com/questions/134988", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/229137/" ]
I am a basic user of Google Sheets and need help creating a new formula. I am trying to filter a worksheet so that it returns particular information into another sheet. The filter I have created is working but not exactly how I want it! The column I am referring to has words such as: * Solar * Energy * Battery an...
Following the [OP's Edit](https://webapps.stackexchange.com/revisions/134988/4) things are quite clearer. --- ### Using the FILTER function **``` =FILTER('Form responses'!A:A, REGEXMATCH('Form responses'!I:I, "Solar")) ```** ***Extra tip*** If you were to use the `|` (pipe symbol) in the FILTER function which st...
134,996
<p>How do you open a hyperlink in Google Sheets using only keyboard shortcuts? Google has <kbd>Alt</kbd>+<kbd>Enter</kbd> which opens the hyperlink, but in a new tab in Chrome. How can you open the hyperlink using only keyboard shortcuts so the hyperlink opens in the current tab of Chrome on Windows?</p> <p>My hyperli...
[ { "answer_id": 134997, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 3, "selected": true, "text": "<blockquote>\n <p>How can you open the hyperlink <strong>using only keyboard shortcuts</strong> so\n the <...
2019/09/26
[ "https://webapps.stackexchange.com/questions/134996", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/180730/" ]
How do you open a hyperlink in Google Sheets using only keyboard shortcuts? Google has `Alt`+`Enter` which opens the hyperlink, but in a new tab in Chrome. How can you open the hyperlink using only keyboard shortcuts so the hyperlink opens in the current tab of Chrome on Windows? My hyperlinks link to another cell wit...
> > How can you open the hyperlink **using only keyboard shortcuts** so > the **hyperlink opens in the current tab** of Chrome on Windows? > > > **You can not**. It has nothing to do with the browser. Google has it that by default all links in spreadsheets open in either a new Tab or a window, depending on how...
135,012
<p>I want to get last 40 days close price of stocks. </p> <p>I used below formula for the same but the result not showing the last day close price.</p> <pre><code>=QUERY( GOOGLEFINANCE("nse:"&amp;B2,"all",$A$2-80,81), "SELECT Col5 WHERE Col1 &lt;= date '"&amp;TEXT($A$2+1, "YYYY-MM-DD")&amp;"' order by Co...
[ { "answer_id": 135073, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 1, "selected": false, "text": "<h2>The key word in your formula is not <code>Query</code> but <code>GOOGLEFINANCE</code>.</h2>\n<p>Your qu...
2019/09/27
[ "https://webapps.stackexchange.com/questions/135012", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/229209/" ]
I want to get last 40 days close price of stocks. I used below formula for the same but the result not showing the last day close price. ``` =QUERY( GOOGLEFINANCE("nse:"&B2,"all",$A$2-80,81), "SELECT Col5 WHERE Col1 <= date '"&TEXT($A$2+1, "YYYY-MM-DD")&"' order by Col1 desc limit 40",False ) ```...
The key word in your formula is not `Query` but `GOOGLEFINANCE`. ---------------------------------------------------------------- Your query is correct. But please take into account the following. As mentioned under `GOOGLEFINANCE` [documentation page](https://support.google.com/docs/answer/3093281?hl=en): * `attrib...
135,222
<p>When I try to access <a href="http://archive.is/" rel="noreferrer">http://archive.is/</a> with DNS through <code>1.1.1.1</code>, it doesn't work. Why?</p> <pre><code>% dig +nocmd +nocomments @one.one.one.one archive.is ;archive.is. IN A archive.is. 49050 IN A 127.0....
[ { "answer_id": 135223, "author": "cnst", "author_id": 35808, "author_profile": "https://webapps.stackexchange.com/users/35808", "pm_score": 7, "selected": true, "text": "<h1>Official Statement</h1>\n\n<p><strong><em>archive.today</em></strong> had this to say about the issue:</p>\n\n<p><...
2019/10/04
[ "https://webapps.stackexchange.com/questions/135222", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/35808/" ]
When I try to access <http://archive.is/> with DNS through `1.1.1.1`, it doesn't work. Why? ``` % dig +nocmd +nocomments @one.one.one.one archive.is ;archive.is. IN A archive.is. 49050 IN A 127.0.0.3 ;; Query time: 139 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) ;; WHEN: Thu Oc...
Official Statement ================== ***archive.today*** had this to say about the issue: <https://twitter.com/archiveis/status/1017902875949793285> > > 2018-07-13T1545: yes, unlike other public DNS services, 1.1.1.1 does not support EDNS Client Subnet > > > <https://twitter.com/archiveis/status/10186914211827...
135,225
<p>Basically, on one page I have some fields with a simple data validation "List from a range", which gets its items from some fields on another page. When I update the values on the second page, it does update the validation drop down, but doesn't change the field on the first page.</p> <p>Is there some way to set it...
[ { "answer_id": 135234, "author": "Hobnob11", "author_id": 229709, "author_profile": "https://webapps.stackexchange.com/users/229709", "pm_score": 1, "selected": false, "text": "<p>Okay so, After more searching it really does appear like there is no way to do this without scripting, so af...
2019/10/04
[ "https://webapps.stackexchange.com/questions/135225", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/229709/" ]
Basically, on one page I have some fields with a simple data validation "List from a range", which gets its items from some fields on another page. When I update the values on the second page, it does update the validation drop down, but doesn't change the field on the first page. Is there some way to set it up so tha...
Okay so, After more searching it really does appear like there is no way to do this without scripting, so after a couple hours of learning how google scripts work I've come up with something that just about works. It's not the cleanest code i've written, it has some hard coding I don't know how to work around and if ...
135,272
<p>I try to get a random page in Wikipedia using their rest api. I do as suggested in <a href="https://stackoverflow.com/a/56518662">https://stackoverflow.com/a/56518662</a> :</p> <pre><code>curl -X GET "https://en.wikipedia.org/api/rest_v1/page/random/summary" </code></pre> <p>but nothing is returned. Perhaps, it's ...
[ { "answer_id": 135268, "author": "Leo Wattenberg", "author_id": 145802, "author_profile": "https://webapps.stackexchange.com/users/145802", "pm_score": 3, "selected": true, "text": "<p>This may be an experiment YouTube is doing, to see whether or not people engage with the site more if t...
2019/10/06
[ "https://webapps.stackexchange.com/questions/135272", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/229913/" ]
I try to get a random page in Wikipedia using their rest api. I do as suggested in <https://stackoverflow.com/a/56518662> : ``` curl -X GET "https://en.wikipedia.org/api/rest_v1/page/random/summary" ``` but nothing is returned. Perhaps, it's because there is a redirect. What should I do? The answer is perhaps obviou...
This may be an experiment YouTube is doing, to see whether or not people engage with the site more if the thumbnails are larger. There sometimes are workarounds for this, though unfortunately YouTube doesn't have any easy opt-out feature. You can try some of these however: * Clear cookies. Often, these experiments are...
135,304
<p>I have Google Sheets data that looks like this:</p> <pre><code> A | B | C ----------- 1 | a | | 2 | | b | 3 | c | | 4 | | | d 5 | | e | 6 | f | | 7 | | | g 8 | | h | </code></pre> <p>I need to combine this data into one column like this:</p> <pre><code>| D | ----- a b c d ...
[ { "answer_id": 135295, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 1, "selected": false, "text": "<p>Adding a file to a Shared Drive (formerly Team Drive) makes the Shared Drive the owner of the file.</p>\n\n<p>If ...
2019/10/08
[ "https://webapps.stackexchange.com/questions/135304", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/230022/" ]
I have Google Sheets data that looks like this: ``` A | B | C ----------- 1 | a | | 2 | | b | 3 | c | | 4 | | | d 5 | | e | 6 | f | | 7 | | | g 8 | | h | ``` I need to combine this data into one column like this: ``` | D | ----- a b c d e f g h ``` For every row, ...
Adding a file to a Shared Drive (formerly Team Drive) makes the Shared Drive the owner of the file. If you delete your user account nothing will happen to the above file, it will remain on the Shared Drive. By the other hand if the organization account is deleted, all the content on the Shared Drives of that organizat...
135,305
<p>I have a Google Sheets that works as my To-Do list, and I want to make a cell that displays the current day of the week in text and updates itself every day. For example, Monday or Friday.</p>
[ { "answer_id": 135306, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 4, "selected": true, "text": "<p>There is a build-in function for that in Google Sheets.</p>\n\n<p><b><pre><code>=today()</code></pre></b>...
2019/10/08
[ "https://webapps.stackexchange.com/questions/135305", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/230023/" ]
I have a Google Sheets that works as my To-Do list, and I want to make a cell that displays the current day of the week in text and updates itself every day. For example, Monday or Friday.
There is a build-in function for that in Google Sheets. **``` =today() ```** Just write that in a cell of your choice. You only then need to format the cell and display the date as you like by going to `Menu`--> `Format` --> `Number` --> `More Formats` --> `More date and time formats`. [![date-01](https://i.stack.i...
135,310
<p>I write about the card game bridge, so I need to automate this formatting all the time:</p> <p>Find all "♣" and color the text green (#00b700).<br> Find all "♦" and color the text orange (#ff8100).<br> Find all "♥" and color the text red (#ff0000).<br> Find all "♠" and color the text blue (#0000ff). </p> <p><a hr...
[ { "answer_id": 135306, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 4, "selected": true, "text": "<p>There is a build-in function for that in Google Sheets.</p>\n\n<p><b><pre><code>=today()</code></pre></b>...
2019/10/08
[ "https://webapps.stackexchange.com/questions/135310", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/191672/" ]
I write about the card game bridge, so I need to automate this formatting all the time: Find all "♣" and color the text green (#00b700). Find all "♦" and color the text orange (#ff8100). Find all "♥" and color the text red (#ff0000). Find all "♠" and color the text blue (#0000ff). [Screenshot of what the sc...
There is a build-in function for that in Google Sheets. **``` =today() ```** Just write that in a cell of your choice. You only then need to format the cell and display the date as you like by going to `Menu`--> `Format` --> `Number` --> `More Formats` --> `More date and time formats`. [![date-01](https://i.stack.i...
135,355
<p>I need my formula to increase by "1" for every "25". I wrote the following formula, but it does not work:</p> <pre><code>=SUM( IF(O11&lt;25,0, IF(O11&lt;50&gt;21,1, IF(O11&lt;75&gt;51,2, IF(O11&lt;100&gt;76,3, IF(O11&lt;125&gt;101,4)))))) </code></pre>
[ { "answer_id": 135359, "author": "Oren", "author_id": 201004, "author_profile": "https://webapps.stackexchange.com/users/201004", "pm_score": 1, "selected": false, "text": "<p>You can try something along these lines (assuming your inputs are on cell O11)</p>\n\n<p>=INT(O11/25)</p>\n" }...
2019/10/09
[ "https://webapps.stackexchange.com/questions/135355", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/230148/" ]
I need my formula to increase by "1" for every "25". I wrote the following formula, but it does not work: ``` =SUM( IF(O11<25,0, IF(O11<50>21,1, IF(O11<75>51,2, IF(O11<100>76,3, IF(O11<125>101,4)))))) ```
Why do you use SUM on a single cell. SUM needs more than one cells to give you any results. Please read more about [SUM](https://support.google.com/docs/answer/3093669?hl=en-GB) Also, you have to correct your formula to: ``` =IF(AND(O11>0, O11<25), "0", IF(AND(O11>26, O11<50), "1", IF(AND(O11>51, O11<75), ...
135,428
<p>In programming, I could use a switch/case statement to do something like this:</p> <pre><code>func animalNameFromType(animalType: Int) { switch animalType { case 1: return "dog" case 2: return "cat" case 3: return "bird" } } animalNameFromType(2) == "cat" </code></pre> <p>The equivalent in Google ...
[ { "answer_id": 135429, "author": "Senseful", "author_id": 207, "author_profile": "https://webapps.stackexchange.com/users/207", "pm_score": 1, "selected": false, "text": "<p>Since you are essentially using an ENUM in Google Sheets and the index is increasing by exactly one in each case, ...
2019/10/11
[ "https://webapps.stackexchange.com/questions/135428", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/207/" ]
In programming, I could use a switch/case statement to do something like this: ``` func animalNameFromType(animalType: Int) { switch animalType { case 1: return "dog" case 2: return "cat" case 3: return "bird" } } animalNameFromType(2) == "cat" ``` The equivalent in Google Sheets is the SWITCH funct...
Since you are essentially using an ENUM in Google Sheets and the index is increasing by exactly one in each case, your best bet is to use [arrays](https://support.google.com/docs/answer/6208276?hl=en). If you had a more complicated mapping between integers to strings, you should use the SWITCH function. Here are exa...
135,472
<p>Let's say I have a range called <code>WidgetTypes</code> in cells <code>C5:M5</code>.</p> <p>I want my formula in cell <code>A1</code> to return <code>C5:M5</code> or <code>$C$5:$M$5</code>.</p> <p>What formula goes into cell <code>A1</code>?</p> <p><code>cell("address",WidgetTypes)</code> returns <code>$C$5</cod...
[ { "answer_id": 135474, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 0, "selected": false, "text": "<p>In order to return the range <code>$C$5:$M$5</code> you can use the following formula: </p>\n\n<pre><co...
2019/10/13
[ "https://webapps.stackexchange.com/questions/135472", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/229864/" ]
Let's say I have a range called `WidgetTypes` in cells `C5:M5`. I want my formula in cell `A1` to return `C5:M5` or `$C$5:$M$5`. What formula goes into cell `A1`? `cell("address",WidgetTypes)` returns `$C$5` but I'm stuck there. I can't get the whole thing. EDIT I tried: ``` function getRangeAddress(range) { re...
There isn't a built-in function that returns the address of a named range. One alternative is to use a custom function. The custom function should parse the cell formula to get the name of the named range then the code code could use that string to get the related range and after that you could use `getA1Notation`. R...
135,579
<p>I'm trying to put the category number (1..5) into E3 based on the value in F3 being in between the From (B) and To (C) range. For instance in the example below F3 contains 19.3 which is between 12.5 and 20.4 so it should put a "3" into E3.</p> <p>I've tried Query (error, "circular dependency" if I include F3 in th...
[ { "answer_id": 135614, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 2, "selected": true, "text": "<p>In your case I think VLOOKUP is a better fit.</p>\n\n<p>Actually you can use either of the following two ...
2019/10/17
[ "https://webapps.stackexchange.com/questions/135579", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/33476/" ]
I'm trying to put the category number (1..5) into E3 based on the value in F3 being in between the From (B) and To (C) range. For instance in the example below F3 contains 19.3 which is between 12.5 and 20.4 so it should put a "3" into E3. I've tried Query (error, "circular dependency" if I include F3 in the data, or ...
In your case I think VLOOKUP is a better fit. Actually you can use either of the following two formulas: Either #1: **``` =VLOOKUP(F3,{B2:C6,A2:A6},3,1) ```** or #2: **``` =VLOOKUP(F3,{B2:B6,A2:A6},2,1) ```** As you understand from the second formula we can completely omit column `C`.
135,582
<p>How can I comment out parts of a formula in a Google Drive Spreadsheet? </p> <p>In PHP you can comment a line of code using a <code>#</code> what is the syntax to do the same in a Google Spreadsheet?</p> <p>I want to use this to temporarily disable a part of a formula rather than write a note / comment.</p> <p>Fo...
[ { "answer_id": 135587, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 2, "selected": true, "text": "<p>Use the concatenation operator <code>&amp;</code> and <code>IF</code></p>\n\n<p>Example</p>\n\n<pre><code>=QUERY({...
2019/10/17
[ "https://webapps.stackexchange.com/questions/135582", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/21773/" ]
How can I comment out parts of a formula in a Google Drive Spreadsheet? In PHP you can comment a line of code using a `#` what is the syntax to do the same in a Google Spreadsheet? I want to use this to temporarily disable a part of a formula rather than write a note / comment. For instance I have this formula: ``...
Use the concatenation operator `&` and `IF` Example ``` =QUERY({ 'ALPHA'!A6:X70; 'BETA'!A6:X70; 'CHARLIE'!A6:X69 },"select * where Col1 <>''" &IF(FALSE," order by Col24 DESC",)) ``` Explanation The formula syntax doesn't include something similar to the PHP `#` comment, JavaScript `//` comment, `/* */` multiple li...
135,591
<p>I have a list of Japanese words. I want to produce a formula to filter that list, based on a filter list of substrings (kanji characters) which I'm looking for.</p> <p>So for example, say my filter list contains three characters, 水 and 木 and 日. I want to find every word in my list which contains 水 or 木 or 日. That's...
[ { "answer_id": 135587, "author": "Rubén", "author_id": 88163, "author_profile": "https://webapps.stackexchange.com/users/88163", "pm_score": 2, "selected": true, "text": "<p>Use the concatenation operator <code>&amp;</code> and <code>IF</code></p>\n\n<p>Example</p>\n\n<pre><code>=QUERY({...
2019/10/17
[ "https://webapps.stackexchange.com/questions/135591", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/85815/" ]
I have a list of Japanese words. I want to produce a formula to filter that list, based on a filter list of substrings (kanji characters) which I'm looking for. So for example, say my filter list contains three characters, 水 and 木 and 日. I want to find every word in my list which contains 水 or 木 or 日. That's an inclus...
Use the concatenation operator `&` and `IF` Example ``` =QUERY({ 'ALPHA'!A6:X70; 'BETA'!A6:X70; 'CHARLIE'!A6:X69 },"select * where Col1 <>''" &IF(FALSE," order by Col24 DESC",)) ``` Explanation The formula syntax doesn't include something similar to the PHP `#` comment, JavaScript `//` comment, `/* */` multiple li...
135,620
<p>I am looking for a query formula that will allow me to select all columns (entire column) that contain a specific word within the column. </p> <p>You can see a test sheet here: <a href="https://docs.google.com/spreadsheets/d/1aP7sDTf0xlxQFK51wiswiXcIMKvUNL_3hpi0qhDCvx4/edit#gid=0" rel="nofollow noreferrer">https:/...
[ { "answer_id": 135635, "author": "pjmg", "author_id": 222777, "author_profile": "https://webapps.stackexchange.com/users/222777", "pm_score": 0, "selected": false, "text": "<p>Disclaimer : This is maybe not the most efficient way to do it, but more something like an intuition on how to d...
2019/10/18
[ "https://webapps.stackexchange.com/questions/135620", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/230777/" ]
I am looking for a query formula that will allow me to select all columns (entire column) that contain a specific word within the column. You can see a test sheet here: <https://docs.google.com/spreadsheets/d/1aP7sDTf0xlxQFK51wiswiXcIMKvUNL_3hpi0qhDCvx4/edit#gid=0> For this example, I would like a query that would s...
In this case I believe the `FILTER` function would be a much better fit than the `QUERY` *(which becomes quite convoluted)*. Please try the following formula: **``` =FILTER(A1:I,A1:I1="Adam") ```** > > ***Pro Tip*** > > > *Two significant differences of `FILTER` vs `QUERY` is that using the `FILTER` function...
135,783
<p>How can I flip a column of data vertically in Google Spreadsheet? </p> <p>E.g. if the column is:</p> <pre><code>Bob Alice Calamari </code></pre> <p>I want:</p> <pre><code>Calamari Alice Bob </code></pre>
[ { "answer_id": 135791, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 4, "selected": true, "text": "<p>You can use the following formula: </p>\n\n<p><b><pre><code>=SORT(B2:B11,ROW(B2:B11)*N(B2:B11&lt;>\"\"),...
2019/10/24
[ "https://webapps.stackexchange.com/questions/135783", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/18147/" ]
How can I flip a column of data vertically in Google Spreadsheet? E.g. if the column is: ``` Bob Alice Calamari ``` I want: ``` Calamari Alice Bob ```
You can use the following formula: **``` =SORT(B2:B11,ROW(B2:B11)*N(B2:B11<>""),0) ```** **Functions used**: [SORT](https://support.google.com/docs/answer/3093150?hl=en-GB) *(Sorts the rows of a given array or range by the values in one or more columns.)* [ROW](https://support.google.com/docs/answer/3093316?h...
135,788
<p><strong>Problem</strong></p> <p>My spreadsheet displays a number in the <code>ReturnOnInvestment</code> range, not the <code>#VALUE!</code> error. I checked <code>analysisSheet.getRange("ReturnOnInvestment").getA1Notation()</code> to make sure I'm not confused and looking at the wrong cell. (as it happens, <code>#V...
[ { "answer_id": 135791, "author": "marikamitsos", "author_id": 117311, "author_profile": "https://webapps.stackexchange.com/users/117311", "pm_score": 4, "selected": true, "text": "<p>You can use the following formula: </p>\n\n<p><b><pre><code>=SORT(B2:B11,ROW(B2:B11)*N(B2:B11&lt;>\"\"),...
2019/10/24
[ "https://webapps.stackexchange.com/questions/135788", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/229864/" ]
**Problem** My spreadsheet displays a number in the `ReturnOnInvestment` range, not the `#VALUE!` error. I checked `analysisSheet.getRange("ReturnOnInvestment").getA1Notation()` to make sure I'm not confused and looking at the wrong cell. (as it happens, `#VALUE!` does not appear anywhere on my sheet. Also, `getFormul...
You can use the following formula: **``` =SORT(B2:B11,ROW(B2:B11)*N(B2:B11<>""),0) ```** **Functions used**: [SORT](https://support.google.com/docs/answer/3093150?hl=en-GB) *(Sorts the rows of a given array or range by the values in one or more columns.)* [ROW](https://support.google.com/docs/answer/3093316?h...
135,847
<p>Is there any way via script to put <code>"Apple"</code> in cell <code>A1</code> and <code>"Banana"</code> in cell <code>B4</code> simultaneously?</p> <p>The motivation to do so would be that the sheet would only recalculate one time. Currently it re-calculates twice, when I put each of the two values into their ran...
[ { "answer_id": 135852, "author": "Tedinoz", "author_id": 196152, "author_profile": "https://webapps.stackexchange.com/users/196152", "pm_score": 4, "selected": true, "text": "<p>You want to update the value in Cells A1 and B4 at the same time.</p>\n\n<p>The solution is to update the valu...
2019/10/27
[ "https://webapps.stackexchange.com/questions/135847", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/229864/" ]
Is there any way via script to put `"Apple"` in cell `A1` and `"Banana"` in cell `B4` simultaneously? The motivation to do so would be that the sheet would only recalculate one time. Currently it re-calculates twice, when I put each of the two values into their ranges via `setValue`. I know I can do it if the range i...
You want to update the value in Cells A1 and B4 at the same time. The solution is to update the values as an array. In this script: * `var values = range.getValues();`: gets the entire range A1:B4 * `values[0][0]= "Apple" ;` and `values[3][1] = "Banana";`: update the array for the equivalent of cells A1 and B4 resp...
135,861
<p>How can I find email older than 10 years in Gmail? I need my messages since the beginning; I guess 2003 or 2004. I see only since 2007!</p>
[ { "answer_id": 135852, "author": "Tedinoz", "author_id": 196152, "author_profile": "https://webapps.stackexchange.com/users/196152", "pm_score": 4, "selected": true, "text": "<p>You want to update the value in Cells A1 and B4 at the same time.</p>\n\n<p>The solution is to update the valu...
2019/10/28
[ "https://webapps.stackexchange.com/questions/135861", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/231437/" ]
How can I find email older than 10 years in Gmail? I need my messages since the beginning; I guess 2003 or 2004. I see only since 2007!
You want to update the value in Cells A1 and B4 at the same time. The solution is to update the values as an array. In this script: * `var values = range.getValues();`: gets the entire range A1:B4 * `values[0][0]= "Apple" ;` and `values[3][1] = "Banana";`: update the array for the equivalent of cells A1 and B4 resp...
135,866
<p>Ive got a google drive spreadsheet with lots of filter views.</p> <p>Ive been adding them on an adhoc basis, and the list is growing a bit long making it hard to find the filters when i need them. </p> <p>Is it possible to reorder the list of the filter views, either alphabetically or by a custom order ?</p>
[ { "answer_id": 135852, "author": "Tedinoz", "author_id": 196152, "author_profile": "https://webapps.stackexchange.com/users/196152", "pm_score": 4, "selected": true, "text": "<p>You want to update the value in Cells A1 and B4 at the same time.</p>\n\n<p>The solution is to update the valu...
2019/10/28
[ "https://webapps.stackexchange.com/questions/135866", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/21773/" ]
Ive got a google drive spreadsheet with lots of filter views. Ive been adding them on an adhoc basis, and the list is growing a bit long making it hard to find the filters when i need them. Is it possible to reorder the list of the filter views, either alphabetically or by a custom order ?
You want to update the value in Cells A1 and B4 at the same time. The solution is to update the values as an array. In this script: * `var values = range.getValues();`: gets the entire range A1:B4 * `values[0][0]= "Apple" ;` and `values[3][1] = "Banana";`: update the array for the equivalent of cells A1 and B4 resp...
135,902
<p>I am trying to have certain columns in my Google Sheet hide or unhide, depending on some conditions. I realized that this is difficult. But I've managed (I think) to come up with a way to make it work. The set up is, that when certain text in column A appears, I have a formula in another cell (a Heading cell) in a...
[ { "answer_id": 135891, "author": "drizzleshard", "author_id": 231524, "author_profile": "https://webapps.stackexchange.com/users/231524", "pm_score": 2, "selected": false, "text": "<p>I just think the fastest way is clicking one note open, copying all content in it, then open the one you...
2019/10/29
[ "https://webapps.stackexchange.com/questions/135902", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/231531/" ]
I am trying to have certain columns in my Google Sheet hide or unhide, depending on some conditions. I realized that this is difficult. But I've managed (I think) to come up with a way to make it work. The set up is, that when certain text in column A appears, I have a formula in another cell (a Heading cell) in anothe...
I just think the fastest way is clicking one note open, copying all content in it, then open the one you want this content in, and pasting it there. But I am not sure this is what you mean?
135,926
<p>I am creating a budget template and have a formula that multiplies cells. However, not every cell will have a number in it. How do I make it so the formula will ignore blank cells or make them = 1 instead of = 0?</p> <p>(Example: formula is <code>=B1*B2*B3</code>. In some rows, <code>B3</code> is empty, in other it...
[ { "answer_id": 135927, "author": "Kevkeev13", "author_id": 231637, "author_profile": "https://webapps.stackexchange.com/users/231637", "pm_score": 1, "selected": false, "text": "<p>I think you can use the <code>Ifs</code> statement</p>\n\n<pre><code>=IFS(B1=\"\",1*B2*B3; B2=\"\", B1*1*B3...
2019/10/30
[ "https://webapps.stackexchange.com/questions/135926", "https://webapps.stackexchange.com", "https://webapps.stackexchange.com/users/231635/" ]
I am creating a budget template and have a formula that multiplies cells. However, not every cell will have a number in it. How do I make it so the formula will ignore blank cells or make them = 1 instead of = 0? (Example: formula is `=B1*B2*B3`. In some rows, `B3` is empty, in other it has a value. In other rows, `B2...
I think you can use the `Ifs` statement ``` =IFS(B1="",1*B2*B3; B2="", B1*1*B3; B3="", B1*B2*1) ``` I hope this will help