google-sheets

Copy non-empty range into new sheet, and drag down formulas

∥☆過路亽.° 提交于 2021-02-20 03:52:03
问题 I want to copy all the non-empty cells in columns A/B from sheet "Consolidation Sheet" and then paste these cells into the sheet "Inputs for Web App" into columns H:I (always starting from the top, rather than appending them as new rows, since these values will be updated constantly). Then I basically want to drag down all of the formulas in the other columns (A through G) all the way down to the last row pasted. Format column I as a date. I'm not sure if I need a loop to do this or just an

Copy non-empty range into new sheet, and drag down formulas

拟墨画扇 提交于 2021-02-20 03:49:16
问题 I want to copy all the non-empty cells in columns A/B from sheet "Consolidation Sheet" and then paste these cells into the sheet "Inputs for Web App" into columns H:I (always starting from the top, rather than appending them as new rows, since these values will be updated constantly). Then I basically want to drag down all of the formulas in the other columns (A through G) all the way down to the last row pasted. Format column I as a date. I'm not sure if I need a loop to do this or just an

Google script to copy sheet in spreadsheet to new spreadsheet and name new spreadsheet after specific cell

六眼飞鱼酱① 提交于 2021-02-19 16:35:05
问题 I have a google spreadsheet with multiple sheets within it, I would like to copy each individual sheet into a new spreadsheet and to have the new spreadsheet named after text in a specific cell. I am happy to run the script multiple times so I figured to have it copy the active sheet. i.e. What I have = Spreadsheet called "Colours" - Sheet 1="red", Sheet 2= "blue", Sheet 3= "yellow", etc. What I want = Spreadsheet called "Red". Spreadsheet called "blue", Spreadsheet called "yellow" So far I

Classifying flops by the Number of possible straights using spreadsheet

匆匆过客 提交于 2021-02-19 07:38:30
问题 I am trying to write a function in Google Sheets that classifies the "connectivity" poker flops. Inputs: We're given a list of "flops" (3 random cards). These are given as numeric values where 2=2, 3=3 ... 11 = Jack, 12 = Queen, 13 = King, 14 = ace I want to be able to classify these flops using three different metrics: 1) Connectivity - The number of immediately possible straights: example 1: FLOP [5 6 7] has connectivity three, as 43/84/98 complete the straight. example 2: FLOP [K Q J] has

Is it possible to capture the selected portion of text within a Spreadsheet cell with Google Apps Script?

允我心安 提交于 2021-02-19 07:11:10
问题 Is it possible to get the selected text in a cell as shown below. I think the answer is no and I can't find any commands related to selections of this type in Google Apps Script for spreadsheets. We can select ranges of cells but I can't find any Google Apps Script commands that deal with selections within the cell even though it is possible to make these selections via menu commands and even make changes like text style and text color to partial selections of cell text. It is interesting to

Is it possible to capture the selected portion of text within a Spreadsheet cell with Google Apps Script?

倾然丶 夕夏残阳落幕 提交于 2021-02-19 07:09:49
问题 Is it possible to get the selected text in a cell as shown below. I think the answer is no and I can't find any commands related to selections of this type in Google Apps Script for spreadsheets. We can select ranges of cells but I can't find any Google Apps Script commands that deal with selections within the cell even though it is possible to make these selections via menu commands and even make changes like text style and text color to partial selections of cell text. It is interesting to

Is it possible to capture the selected portion of text within a Spreadsheet cell with Google Apps Script?

偶尔善良 提交于 2021-02-19 07:08:58
问题 Is it possible to get the selected text in a cell as shown below. I think the answer is no and I can't find any commands related to selections of this type in Google Apps Script for spreadsheets. We can select ranges of cells but I can't find any Google Apps Script commands that deal with selections within the cell even though it is possible to make these selections via menu commands and even make changes like text style and text color to partial selections of cell text. It is interesting to

Trigger Google Apps Script in Spreedsheet from context menu

眉间皱痕 提交于 2021-02-19 06:13:38
问题 I have Google Apps Script in Spreedsheet that works on currently selected row. To run it I have to select this script from script manager. Is it possible to add this script to the context menu or bind to some shourtcut ? 回答1: You can create a menu with button that will run the script that you want using the onOpen function. See the Apps Script documentation. function onOpen() { var sheet = SpreadsheetApp.getActiveSpreadsheet(); var entries = [{ name : "Read Data", functionName : "readRows" }]

how to lock content of a dynamically generated cell with another cell

三世轮回 提交于 2021-02-19 06:11:53
问题 background I like to use story mapping to gather requirements from clients (and to create estimates for them) using cardboardit.com. I'm currently making a sample estimate for a project that I have completed in the past (http://vibereel.com/). Cardboardit offers the ability to dump data into a csv file, which can been in raw form in the data tab in this sheet The data tab is pretty raw, so i used this formula to make it look nicer in the estimate tab: =QUERY(data!A2:J,"select C,E,D where A=

how to lock content of a dynamically generated cell with another cell

≯℡__Kan透↙ 提交于 2021-02-19 06:10:29
问题 background I like to use story mapping to gather requirements from clients (and to create estimates for them) using cardboardit.com. I'm currently making a sample estimate for a project that I have completed in the past (http://vibereel.com/). Cardboardit offers the ability to dump data into a csv file, which can been in raw form in the data tab in this sheet The data tab is pretty raw, so i used this formula to make it look nicer in the estimate tab: =QUERY(data!A2:J,"select C,E,D where A=