spreadsheet

Automatically stamp username who made changes to Google Sheet

↘锁芯ラ 提交于 2020-02-06 02:49:28
问题 I have a Google Sheet that I would like to automatically stamp the username of the person who last made a change to a specific row. I currently have this code to work as I like to do the same function with the time: function onEdit() { var s = SpreadsheetApp.getActiveSheet(); var r = s.getActiveCell(); if( r.getColumn() != 2 ) { //checks the column var row = r.getRow(); var time = new Date(); time = Utilities.formatDate(time, "GMT-07:00", "yyyy-MM-dd, hh:mm:ss"); SpreadsheetApp.getActiveSheet

Measurement sheets in Drupal 6

人盡茶涼 提交于 2020-02-04 18:42:51
问题 I'm doing a project for a surveying company in Drupal 6. Ultimately, employees will need to enter measurements into a new content type. Currently they do it in a big Excel spreadsheet that has a bunch of macros to do calculations between cells (Meters to Feet, m^2, some pricing stuff). My question is: How would one go about replicating the functionality of this spreadsheet best in Drupal 6 , keeping in mind the amount of data the employees using this system gather varies between projects (I.e

Measurement sheets in Drupal 6

北城余情 提交于 2020-02-04 18:42:30
问题 I'm doing a project for a surveying company in Drupal 6. Ultimately, employees will need to enter measurements into a new content type. Currently they do it in a big Excel spreadsheet that has a bunch of macros to do calculations between cells (Meters to Feet, m^2, some pricing stuff). My question is: How would one go about replicating the functionality of this spreadsheet best in Drupal 6 , keeping in mind the amount of data the employees using this system gather varies between projects (I.e

Java Epoch Date for Google SpreadSheet

有些话、适合烂在心里 提交于 2020-01-25 19:58:09
问题 I tried to add date on Google spreadsheet. To add date we have convert date in epoch. For Spreadsheet epoch Google Sheets uses a form of epoch date that is commonly used in spreadsheets. The whole number portion of the value (left of the decimal) counts the days since December 30th 1899. The fractional portion (right of the decimal) counts the time as a fraction of one day. For example, January 1st 1900 at noon would be 2.5, 2 because it's two days after December 30th, 1899, and .5 because

Check two values with =VLOOKUP

孤街醉人 提交于 2020-01-25 12:09:05
问题 I have the following sheet: As you can see, there are two groups of data. One group is in A and B and the group which should be checked against the first group group is in D and E Now I want to check each value in the second group against all the values in the first group. I tried to use =VLOOKUP(D2:E2;$A$2:$B$10;2;FALSE) but that only gives me #Value and no boolean back. I really appreciate your answer on this problem!!! 回答1: You can use the following formula in F2: =NOT(ISERROR(MATCH(D2&E2,

Data Validation cell lock if value is true (Google Spreadsheet)

左心房为你撑大大i 提交于 2020-01-24 00:37:06
问题 I am currently working now on creating data validation in google spreadsheet, and I want to lock a certain cell based on the value of the other cell in another spreadsheet. Scenario: (Based on the Image) There are 2 different spreadsheets (Sample1 & Sample 2) with has the same column H which is Status and the same Cell H2 which is Dropdown list (Active and Inactive). on Sample1 Cell H2, If I choose Inactive, I want the Sample2 Cell H2 to be locked, otherwise if on Sample1 Cell H2 If I choose

IF statement in query

我是研究僧i 提交于 2020-01-16 18:42:27
问题 I have a table with two columns A and B the first is a tag and the second is an amount. I am trying to write a query with two columns, one summing up negative values while the other summing up positive ones. Coming from SQL, I tried the following =QUERY(A1:B100, "SELECT A, SUM( B * IF(B>0, 0, 1) ), SUM( B * IF(B<0, 0, 1) ) GROUP BY A ") But it seems that the IF function is not supported in a query. I know I can create two intermediate columns in my sheet (one for positive value and one for

Google Spreadsheet getting text with importxml

自古美人都是妖i 提交于 2020-01-14 14:16:28
问题 I've tried this and other versions to no avail? Can anyone help please? =IMPORTXML("http://performance.morningstar.com/fund/ratings-risk.action?t=MWTRX", "//*[@id='div_ratings_risk']/table/tbody/tr[4]/td[3]/text()") 回答1: As explained in the comments to your original question, initially the div Element with the id #div_ratings_risk is initially empty and does not consist of a table. So Google spreadsheets is not able to parse content that is not there and yet needs to be loaded first. The

How can I store a range of cells to an array?

僤鯓⒐⒋嵵緔 提交于 2020-01-13 06:18:06
问题 If I have a list of data in cells A1:A150 (but the amount can vary), is there a way to push that into an array without looking at each cell individually to determine if it is empty? I exceed my execution time by doing this and I need a faster way to store the data and stop when it hits an empty cell. Below is how I currently do it: for (var i = 1; i < 500; i++) { if(datasheet.getRange("A" + i).getValue() == ""){ break; } else{ addedlist_old.push(datasheet.getRange("A" + i).getValue()) } 回答1:

What is the easiest way to display an editable list(like a spreadsheet) in HTML?

房东的猫 提交于 2020-01-13 02:48:09
问题 We have a requirement to display an editable list in a web page. What would be the easiest way to do that? Farpoint Spread was something I have used to achieve this earlier but it was quite slow when a large number of records were involved and it needed to be coded in VBScript. Besides it wasn't free. I would be looking for a JavaScript solution and I can't afford to buy one. Also is there anything else you can think of other than a spread? 回答1: I like JQuery.Spreadsheet UI, try this demo,