text
stringlengths
83
79.5k
H: If I build my own trello power up, can I use it for free? I started using Trello, and I need some feature for which I need power ups, but I do not want to pay. If I build my own power up, will I be able to use it for free or it counts as a "regular" power up? Thank you AI: Free Trello accounts are entitled "One Power-Up per Board" as described on the Trello pricing page. That one Power-Up can be a custom or a market/regular one, but the limit applies the same. Potentially you could build one custom Power-Up that does all the various functions you want to get around the limitation.
H: Forthcoming Google Hangouts and Google Vault changes, the use of chat clients and searchability of chat history The Setup My organization is a part of G Suite, and our main domain has the classic Hangouts enabled. We're using it combined with applications such as Trillian, Miranda, Pidgin, Adium and other chat clients, for internal communication. We're also using Hangouts from within our Gmail window, every now and then. The Unknown Seeing how Google announced that some changes will take place on the 16th of April 2019, I was wondering if any of them will affect the way we're using Hangouts now. That is to say: will we still be able to use the chat clients (Trillian, Miranda, Pidgin, Adium, etc) like we're doing right now? will we be able to search through the chat history from within our Gmail account, like we are now (e.g. "john smith" label:chats)? will the chat messages be stored within our Gmail account indefinitely, or will there be a time/number of messages/character limit? will they be exportable via Google TakeOut? I've read the official information posted by Google, but I'm unable to understand the majority of it, and how / if it will affect the functionality my team and I are relying on at the moment. AI: will we still be able to use the chat clients (Trillian, Miranda, Pidgin, Adium, etc) like we're doing right now? Yes, unless Hangouts (or its future) will be shut down for good. The article did not mention any details. What the article says is: "We will continue to support consumer use of classic Hangouts" will we be able to search through the chat history from within our Gmail account like we are now (e.g. "john smith" label:chats)? Yes, you will be able to do so. Such a search is done in Gmail so it has nothing to do with upcoming Hangouts changes. will the chat messages be stored within our Gmail account indefinitely, or will there be a time/number of messages/character limit? Yes, messages won't be deleted. Again, it's a Gmail thing... will they be exportable via Google TakeOut? Yes, they will. In other words, the article says that Hangouts will be upgraded to Hangouts Chat and Hangouts Meet while some futures will/may be discontinued and more other futures will be added.
H: I have a google Forms that needs to have duplicates removed and statistics updated. Can this be done? I have a Google form that was used for award votes and nominations. Specifically, each question contained drop-down value and the voters each selected an option from the list. At the end of the form, they were prompted to enter their email addresses. Google Forms provides a wonderful pie chart summary of which selections had the highest entries. However, some voters voted twice. I removed the duplicate entries from the associated Google Sheets document, however, it did not update the tallies from within the Google Forms view of the voter questionnaire. What is the proper way to strip duplicates, based off of a given criteria and update the form results? AI: You could set up a report view to re-display the replies elsewhere, omitting all but the first (or last) entry sent with the same email address. Edit your question if that's the approach you need to take- but it sounds like you're actually willing to delete the entries themselves. Sheets is a great way to view and analyze responses, but you can mangle, detach, or delete that Sheet of responses it offers to create. For data safety, among other reasons, the form entries are however always kept, with the form. Open your form document—not the live version the respondents filled out, but the real one where you added the questions themselves. From there, click over to the "Responses" section. You'll likely start in the "Summary" view. Instead click over to see "Individual" responses. Use the left and right arrows to locate each bad entry. Click the "trash can" icon; the "Delete Response" button. [see also the …Manage Form Responses article from the Help Center.]
H: Parsing a non-nested JSON string in Google Sheets using formulas only I have a cell with the following JSON data: {"rev2_0": "2,058", "rev2_1": "2,099", "rev2_2": "2,141", "rev2_3": "2,184", "revchg3_0": "3%", "revchg3_1": "6%"} In another cell, I want to get the value of rev2_1 but I don't want to run a script. I just want to use the built-in formulas to get it. AI: Assuming that the value of rev2_1 always will have 5 characters use =mid(A1,find("rev2_1",A1)+10,5) Explanation find finds the position of the first character of rev2_1 mid gets a text (substring) of certain length (5) from a starting position, in this case the result of find plus 10 characters.
H: Where can I buy a trusted domain name that I can code in PHP? I have been working on a website for a while now, but I was using XAMPP for Windows, and it was only on my computer. Now I am ready to purchase a domain and put it on the web. I can't find a website that is - trusted - popular - has the tools to code - secure I have looked at Word Press GoDaddy 000WebHost Domain.com Name.com For example, what domain does Stack Overflow use? Edit I have my source code on GitHub. Is there any way I can sync it between my GitHub repository and my domain? AI: When purchasing a domain name you'll want to use a reputable source. I've always used GoDaddy when doing this professionally. You're not going to find a domain that is popular that is also available for purchase. It takes a lot of time and effort to increase a domain's SEO and reputation. Nearly every web server you'll rent/purchase will have either Apache or Nginx as the http server. These both use PHP by default for server-side programming. I would recommend looking into how to setup your own Apache or Nginx server as you can save a ton of money. For security, there are too many things to list here, but to start you'll want to look into setting proper file permissions (access control), using files such as .htaccess to prevent specific files/directories from being web accessible by anybody. You can get free ssl/tls certificates via Let's Encrypt. Maybe most importantly you'll want to learn of to program securely to prevent things like SQL injections. If you like to really learn how everything works and comes together I'd recommend setting up the server yourself using something like AWS. Installing and configuring an http server like Apache or Nginx is pretty simple for a simple setup. I also recommend this avenue because it's my understanding that many hosting providers that setup everything for you don't give you root access to the system which can really hinder you ability to optimize the server for your specific needs. I do these sorts of things professionally, so feel free to ask me for any advice.
H: Join multiple ranges when using conditional formatting I have a simple conditional formatting custom formula which highlights duplicate values in a column: =countif(A:A,A1)>1 I have another column on another sheet (same workbook) which I would like to include in the search for duplicates. I can combine the ranges separately using the following formula: =query({sheet1!A:A; sheet2!A:A},"where Col1 <>''") but I can't get that formula to work in conditional formatting. What I have (which doesn't work), is: =countif(query({sheet1!A:A; sheet2!A:A},"where Col1 <>''"),A1)>1 I don't understand how "where Col1 <>''" works or why I need it, but even so, the formula doesn't work. The question is, how can I (using conditional formatting) highlight duplicate cells in column A, searching across multiple ranges for duplicates? AI: when referencing another sheet in conditional formatting, you need to use INDIRECT conditional format rules are per sheet meaning that you need 1 separate rule per every sheet "where Col1 <>''" means to select only those rows from a query which are not empty in the 1st column to show duplicates between 2 ranges use this custom formula: =COUNTIF({A:A,INDIRECT("Sheet2!A:A")},A1)>1
H: Google Sheets Circular Dropdown Dependency Suppose we have 2 columns Id & Name which contained in sheet1. Now in sheet2 have dropdown for Id & Name which user can select and it Lookup value for each other (select Id from dropdown, Name automatically filled, and vice-versa). Is this possible? Because it sounds like circular dependency. AI: It is indeed a circular dependency. You can either have ID dropdown or Name dropdown and counterpart of it will need to be secured by VLOOKUP formula: =IFERROR(VLOOKUP(A2, Sheet1!A2:B, 2, 0), ) =IFERROR(VLOOKUP(B2, {Sheet1!B2:B,Sheet1!A2:A}, 2, 0), ) demo spreadsheet
H: How can I list rows meeting a criteria and limit the amount of rows by a sum of the list? I am trying to create a scheduling assistant within Google Sheets. I need to list out tasks currently scheduled for a specific date but there is a volume cut off that needs to happen. Client Scheduled For Volume A Mar-17 2000 B Mar-17 1000 C Mar-17 3000 D Mar-17 500 E Mar-17 250 F Mar-17 1000 What I would like to do is list Client's until listing a new client would pass a limit of 6000. So in the above example, the new data would look like: Client Scheduled For Volume A Mar-17 2000 B Mar-17 1000 C Mar-17 3000 So far I have managed to select Clients by Date, but my research could not find a solution for the volume limit. =QUERY(RawData!A2:C, "select A,B,C where B = date '"&TEXT(DATEVALUE("3/17/2019"),"yyyy-mm-dd")&"'",0) There are no preferences for how this gets done other than it has to be done in Google Sheets. QUERY is not required. AI: here is how you do it accounting for a maximum of 10 clients: =QUERY(A30:C, "where B=date'"&TEXT(F29,"yyyy-mm-dd")&"' limit "&IFS( SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 10"))<=6000,10, SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 9"))<=6000,9, SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 8"))<=6000,8, SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 7"))<=6000,7, SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 6"))<=6000,6, SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 5"))<=6000,5, SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 4"))<=6000,4, SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 3"))<=6000,3, SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 2"))<=6000,2, SUMPRODUCT(QUERY(A30:C, "select C where B=date'"&TEXT(F29,"yyyy-mm-dd")&"'limit 1"))<=6000,1))
H: Google form anonymity in organization I have a Google account that's part of an organisation. There's this form that only people in the same organisation can respond to. Is there a way for the owner of the organisation to find out that it was me who submitted a response to the Google form? AI: When creating a form in an organisation, the creator has the option to select "Collect email address" which will automatically collect usernames. According to the help article for this option (see "Collect respondents’ email addresses"), if it is enabled: ... they will be required to enter their email address before they submit the form. If you use a Google account through work or school, respondents will see a message at the top explaining that their username will be collected automatically. So if there is no email field and there is no message saying your username will be collected automatically, the survey will be anonymous. If it isn't, your responses will be identifiable.
H: Why do some YouTube "Subscribe" buttons show numbers and some do not? Can I make them always show the numbers? AI: That is based on a privacy setting, you set. Here’s how you can change it. You can choose to make the channels that you subscribe to public or private. By default, all settings are set to private. Private: When your subscriptions are set to private, no other users can see what channels you subscribe to. Your account does not show in a channel's Subscribers List, even if you are subscribed. Public: When your subscriptions are set to public, other users can see what channels you subscribe to. Your subscriptions are listed on your channel page, and your account is listed in the Subscribers List for any channel you subscribe to. Make your channel subscriptions public or private Sign in to YouTube. Click your account icon in the top right. Click Settings or The ⚙️ Icon In the left menu, select Privacy. Under "Likes and subscriptions," check or uncheck the box for Keep all my subscriptions private. Or if you want it public, check to make them public.
H: Row height would not auto-adjust to fit content anymore I selected the whole sheet and re-sized the height of all rows at once to a certain height by clicking "Resize rows 1-1000" in the context menu. Then I entered some text in a cell and the text did not fit. I formatted the cell for text wrapping, but it did not fit anyway. I expected the row to automatically grow in height as I enter more text in the cell, but it did not happen. How do I reset to the default mode so rows would grow in height to auto-fit the content? It works on a freshly created sheet on the same document, but does not work on the problematic sheet. When I copy-paste the whole problematic sheet content onto the newly created, the problem transfers to the newly created sheet. After I copy-paste "formulas only" from the problematic onto a newly created sheet, auto-fitting height still works on the latter sheet, but my formatting and named ranges do not transfer to the new sheet. AI: I found the answer by guessing and trying. Select the rows you want the height to reset to auto for (or select the whole sheet if needed). Double-click on the border between any two of the selected rows on the row number toolbar (the one on the left) P.S. In order to set a minimal fixed row height and still have the height auto-adjust functionality I created a column filled with "1"s by a formula, set a large font size of the column to achieve the required minimal row height, set the font color of the column to white to make the "1"s invisible, and narrowed down the column to make it take less space.
H: Can you view your total upload hours on YouTube? I was trying to see how many hours of content I had uploaded to YouTube (preferably without counting it all by hand). I was wondering if there was a way of viewing this. I looked through all the settings and couldn't find anything about the total length of all videos on my channel. Google wasn't any help either, just directing me to results that talked about how much total videos were on the whole of YouTube Does such an option exist? Or do I just have to add them up? AI: you can easily do so by using Google Sheets... to get individual duration per video: =SUBSTITUTE(REGEXREPLACE(IMPORTXML(A2, "//*[@itemprop='duration']/@content"), "PT|S", ""), "M", ":0") to get total duration of all videos: =ARRAYFORMULA(QUOTIENT(SUMPRODUCT(IFERROR(REGEXEXTRACT(B2:B, "\d+")))+ QUOTIENT(SUMPRODUCT(IFERROR(REGEXEXTRACT(B2:B, ":(\d+)"))), 60), 60)&":"& TEXT(MOD(SUMPRODUCT(IFERROR(REGEXEXTRACT(B2:B, "\d+")))+ QUOTIENT(SUMPRODUCT(IFERROR(REGEXEXTRACT(B2:B, ":(\d+)"))), 60), 60), "00")&":"& TEXT(MOD(SUMPRODUCT(IFERROR(REGEXEXTRACT(B2:B, ":(\d+)"))), 60), "00")) demo spreadsheet traces of how to get easily all links can be found here: https://webapps.stackexchange.com/a/118383/186471
H: With the destruction of Album Archives, where will all of the photos from a Hangouts be stored? I have received many notifications from Google saying that Album Archives and Google+ are going away as no one is really using them. In this case, where will all of the new photos from Google Hangouts be stored? AI: This wasn't really announced, yet. As per the latest news, you are supposed to back up all your photos and videos either via Album Archive or via Google Takeout. Google Hangouts is slowly getting "discontinued" as well. In the 1st phase, this will happen for all G Suit users and the 2nd phase will be rolled out for the rest of the users. Eventually will be Google Hangouts replaced by Hangouts Chat and Hangouts Meet including a few of current futures and bunch of new ones. more here: https://webapps.stackexchange.com/a/126361/186471 and here: https://gsuiteupdates.googleblog.com/2019/01/upcoming-hangouts
H: Search e-mail messages in given period of day or in given period of week Is there any way in Gmail's filtering mechanism to find e-mail messages received or sent: in a given period of a day (each day -- only time component of date matters here), in a given period of week (each week). I need to list (among 26k e-mails) all messages sent or received during nights or weekends. Any solution suits me: Gmail: temporal filter -- list all matching e-mails in main view, Gmail: permanent filter -- add specific label to all matching e-mails, non-Gmail: any external tool or solution that can help me achieve above. If this is possible in Gmail then how should I configure filtering parameters? If this is not possible then is there any tool or solution I should look after? AI: You can perform searching between two time periods of a day like this: after:1552896000 before:1552924800 which will list all emails you received between 8:00-16:00 on 18. March 2019 (timestamps were acquired by using https://www.epochconverter.com/) However, in your case, you will probably need to apply the time interval logic on the far greater time range than a 1 day for which you can try to import all your messages from your Gmail inbox into Google Sheets and then filter out stuff you need by simple QUERY formula. There are various tools and scripts for this task all over the place. An example would be https://www.integromat.com/en which comes with a handy tutorial: https://youtu.be/9VNFoxR43II
H: vlookup sum to calculate total hours assigned next to dates I'm attempting to calculate a total number of hours based on entering 2 different dates. Each day between the dates has assigned 'hours worked'. I'm trying to use Sumproduct or Arrayformula and Sumif, not having luck with either as of just yet... Any help appreciated :) As far as i've got is selecting 2 dates and adding them together. Not everything inbetween AI: =SUMPRODUCT(QUERY({A9:B}, "select Col2 where Col1>=date'"&TEXT(B1, "yyyy-mm-dd")&"' and Col1<=date'"&TEXT(B2, "yyyy-mm-dd")&"'"))
H: How to access your email account from Microsoft Office 365 I have logged into the Microsoft Office home page and the screen looks like this: How to proceed to view new email coming to my university account? AI: Click on Outlook icon from Apps section (first icon in your screenshot). It will open in a new tab on your browser where you can see all your mails (inbox, draft, sent items, deleted items etc.).
H: How to combine a formula with text in one cell? My spreadsheet contains data divided into weeks in a year and I would like to combine the following two pieces of information in one cell: =ISOWEEKNUM(TODAY()) Calendar week 'Calendar week' being the name of the whole column is just a text that I would like to maintain and the week number would be a help to see what week it is (either before or after the 'Calendar week'). AI: shorter: =ISOWEEKNUM(TODAY())&"Calendar week" or with space perhaps (?): =ISOWEEKNUM(TODAY())&" Calendar week"
H: Using Google Script to place Duplicated Google Form Responses in one Column? I have a Google Form, with multiple sections, and duplicated questions. Google Forms Automatically creates separate columns in the resulting Spreadsheet for each question, even if it is the exact same question re-used. I have looked everywhere to find a way to have the Google Form to record the duplicated questions in the same column but to no resolution. Example of what the form contains: First section... Facebook Name (Text), Legal Name (Text), Phone Number (Text), Email Address (text) and Course of Interest (Drop-down that then sends the responder to a set section based on an answer - see below). This section generates Columns B1 to F2 as it should. However, from here it gets difficult and messy. Sections 2, 3,4, and 5 are based on Level of course requested: Section 2 - Certificate III Level Section 3 - Certificate IV Level Section 4 - Diploma Level Section 5 - Advanced Diploma Level Because students cannot have qualifications of the same level or higher than the course they are applying for, the duplicated questions are all the same again, but the first question in this section alters with each level. Highest Qualification: Options include: Year 9, year 10, year 11, year 12, Certificate I, and Certificate II .. for each section, but... Section 3 adds Certificate III Section 4 adds Certificate IV And Section 5 adds Diploma. The questions that are the same are: Age (Single tick box), Citizenship (Drop-down list), and Closest Location (Drop down list that then sends the respondent to another section based on locations) The remaining sections again have duplicated questions, but again, the first drop-down is altered according to the location regarding an appointment date for that location. “Appointment” (Drop-down or Date and Time) alters per location. If specific dates are set for that location for appointments it is a drop-down list of those dates. If Not, it is a date and time picker. The following two questions (And final questions) are exactly the same. Notes (Paragraph), Referer (Drop-down) My problem is: This results in 49 Columns (A1 to AT1) and I only need 14 (A1 to N1) - These values then need to be appended to separate location sheets in the Spreadsheet (I know HOW to do that once I get the column issues sorted out). Here is what I am trying: Function UpdateCells(e) { // Triggered on Form Submit // Normal Active Sheet, e.range, etc settings ... // Need to work out how to recurse through the columns in e.range and make it the ‘active cell // Need to then copy the data in that active cell to the correct cell ... If e.range.cell for Columns O, S, or W are not blank, copy to column G... // This will take care of the Sections 2, 3, 4, and 5 answers and put them in the correct PRIMARY Columns If e.range.cell for columns AA, AD, AG, AJ, etc are not blank, copy them to K... // Then append columns A to N to the new sheet based on a value in G... { Can anyone help with sample code for the copying of cells AND the correct ‘Append To’ Statement to get the values from e.range (1, to 14) (Or A to N)?? UPDATE: What I have thus far... Would REALLY appreciate it if someone can go through and DOUBLE check the spelling and Upper/Lower Cases in this (As I am legally blind, and my programs do not tell me if the words are spelt correctly (Especially for variables and functions), function copyData(e) { // To be set up via a "On Form Submit" Trigger var ss = SpreadsheetApp.getActiveSpreadsheet();   // Testing bothoptions below.. var Source_Data = e.values; // var Source_Data = e.response.getItemResponses(); // The above gets the responses direct from the form, not within the spreadsheet   // Lets set our variables correctly now..   // The first set of columns are already in the order we require them ("Section 1" on the related Form)...   // Column 0 (A) TimeStamp // var Time_Stamp = Source_Data[0].getvalues(); var Time_Stamp = Source_Data[0]; // Column 1 (B) Facebook Name var Facebook_Name = Source_Data[1]; // Column 2 (C) LegalName var Legal_Name = Source_Data[2]; // Column 3 (D) Phone var Phone_Number = Source_Data[3]; // Column 4 (E) Email var Email_Address = Source_Data[4]; // Column 5 (F) Course of Intererest var Course = Source_Data[5];   // Write the remaining Values to correct columns in Sheet var Highest_Qual = e.values[14] && e.values[19] && e.values[24] && e.values[29]; e.Values[6].setValues(Highest_Qual);   var Citizenship = e.values[15] && e.values[20] && e.values[25] && e.values[30]; e.Values[7].setValues(Citizenship);   var Age = e.values[16] && e.values[21] && e.values[26] && e.values[31]; e.Values[8].setValues(Age);   var Class_Type = e.values[17] && e.values[22] && e.values[27] && e.values[32]; e.Values[9].setValues(Class_Type);   var Location = e.values[18] && e.values[23] && e.values[28] && e.values[33]; e.Values[10].setValues(Location);   var Appointment = e.Values[34] && e.Values[37] && e.Values[40] && e.Values[43] && e.Values[46]; e.Values[11].setValues(Appointment);   var Rep = e.Values[35] && e.Values[38] && e.Values[41] && e.Values[44] && e.Values[47]; e.Values[12].setValues(Rep);   var Notes = e.Values[36] && e.Values[39] && e.Values[42] && e.Values[45] && e.Values[48]; e.Values[13].setValues(Notes);   var Row = e.getRow();   // Now prepare to append the updated data to the appropriate sheet...   // Need to change the following line to get the 'Active Sheet by Name' var SourceSheet = ss.getSheetByName("SortedColumns");   // I only want to get the first 14 columns of data // This should be all columns from "TimeStamp" to "Notes" from the first lot of columns ONLY // ONCE THE VALUES HAVE BEEN PROPERLY WRITTEN SpreadsheetApp.flush // Ensures all values are written BEFORE we continue   var My_Data = SourceSheet.getRange(Row, 1, 1, 14).getValues();   // Start with the NAME of the sheet we are going to append this record TO // In my case, Tabs on the Spreadsheet (Seperate Sheets) are sorted by Location // And that information is stored in the 'Location' variable... var sheetName = Location;   // So, lets now GET that sheet by name.... var sheet = ss.getSheetByName(sheetName);   // See if the sheet already exists, if not, prepare to append to "Other" if (!sheet) { sheetName = "Other"; sheet = ss.getSheetByName(sheetName); } // Double check the sheet exists, and then append or make a new sheet if (!sheet) { // Stil does not exist, create it sheet = ss.insertSheet(sheetName); // Put the Headers in the First row of the new sheet vIr Headers = SourceSheet.getRange(1, 1, 1, 13) // Only first 13 columns headers.copyTo(sheet.getRange(1, 1)); }   // Now we KNOW the sheet exists, or that we are appending to "Other" sheet... // Lets append the correct data in correct order... sheet.appendRow(My_Data.getvalues()); // ALL DONE }   This code has not as yet been tested, as I really DO need someone to assist in getting the text correct before I go and launch it. However, the comments previously do link to the Spreadsheet and Forms used for testing purposes, and these are NOT ACTUAL data storages, but merely examples, so feel free to play with this a bit to get things right AI: Are you dedicated to using Apps Script, and manipulating form responses as they come in? If not, consider using a separate tab (sheet) to condense responses with native spreadsheet formulas. This condensed version could then be your source. Leaving form responses pristine is also usually a good idea for other reasons. I created a quick sample of how that might work, from your example file. Stepping through my thinking: The "Condensed" form responses sheet should pull in the same column headers from your Form Responses 1 sheet, but with no repeats. Turning the data sideways with TRANSPOSE and back since it seems to like rows but not columns, I just used UNIQUE: =TRANSPOSE(UNIQUE(TRANSPOSE('Form Responses 1'!A1:1))) This one formula in the yellow-highlighted A1 populates all the headers in row 1. Next I want the responses shown again, but only columns A through F, since they don't need collapsing. I populated those columns with the single array formula in green-highlighted cell A2: =ARRAYFORMULA('Form Responses 1'!A2:F) The ARRAYFORMULA and open-ended cell reference make this A2 formula populate however many rows are needed to cover all the input, across whole columns. Finally, for each response row, I want to condense all of that person's Highest Qualification form answers into one cell (nevermind that three of four are blank). It can find them in Form Responses 1, columns G, L, Q, and V. For the first pale-aqua-highlighted cell, G2 right under Highest Qualification, I entered the following: =ARRAYFORMULA( 'Form Responses 1'!G2:G & 'Form Responses 1'!L2:L & 'Form Responses 1'!Q2:Q & 'Form Responses 1'!V2:V ) Again, it's an array formula to go down all form responses. The repetitive meat of the formula just grabs "all four of their answers" to the four Highest Qualification questions, appends them into one string using the string-concatenation operator, ampersand &, and puts that result into one cell. Likewise then with "all of their answers" for Citizenship, Age, Class Type, and Closest Location. Since the formulas will take the same form, I just selected G2 and dragged the— the… "bottom-right of the selected cell, auto-populate, tiny square handle" control from G2 to K2. All those cyan cells' formulas were then pulling in their question-matching, consolidated, once-per-row sets of answers. And again for the magenta-highlighted cells L2, M2, and N2; concatenating respondents' "six answers" to each of: Appointment, Representative, and Notes. The only difference there was the formulas have to pull in six answers each rather than four: =ARRAYFORMULA( 'Form Responses 1'!AA2:AA & 'Form Responses 1'!AD2:AD & 'Form Responses 1'!AG2:AG & 'Form Responses 1'!AJ2:AJ & 'Form Responses 1'!AM2:AM & 'Form Responses 1'!AP2:AP ) Then I drag-autofilled (or copy-pasted, which also intelligently updates the formula cell references) that formula to M2 and N2. Just wanted to offer another approach, and spell it out in case you end up doing this or something similar. Sheets is quite capable—not bad for four bog-standard formulas I'd say. I strongly prefer using data-consolidation- and report- type sheets, living next to the original source data sheet. It offers transparency, data safety while experimenting, minimized risk of damaging the form-sheet relationship, reduced programming need, and some great formula-based flexibility. EDIT: It's important… …to note that when any formula that has an result array; that is, multi-cell output (so, SORT, UNIQUE, FILTER, ARRAYFORMULA, etc.); that formula's output is both dynamic and one-way from input to output. Why "one-way" matters You cannot edit the output of a spreadsheet formula. If you type some text or a number over a formula result, be it one cell or one value out of five thousand, the formula is no longer functioning. You've just got the one value you entered. It may be the right value even, but it's merely what you typed, not a live formula result anymore. This also applies if you copy a result and paste as plain text. If you need to alter the result of any formula, you must either change the formula itself to match your actual need, or directly alter the source values. Example: if someone has a typo in their form entry, if you type over it in a simple one-cell formula or a huge multi-column report, the formulas are broken. The takeaway: fix it in Form Responses. Since any formulas that read entries are 'live', when you edit a Form Responses row, the Condensed report using it will recalculate and update as well. Why "dynamic" matters Any spreadsheet formula doesn't care what you type near its output, and cannot help you keep data organized or associated. Example: imagine the nightmare of having entered text comments next to an automatic list (e.g. your Condensed entries), but then a couple rows of source values (e.g. two students applications are invalidated) are intentionally and correctly deleted. The source values all move up to fill the gap as you delete the rows. Also, the live formulaic output all shifts up a couple rows. But since your comments are not part of the automatic list, they stay put and are now misaligned. The takeaway: keep related data together. You are free, for example, to add new columns next to form-linked "Form Responses" columns. They would be sorted, moved, or deleted as rows and always stay together. In kind, any formulas that were reading and displaying those new columns elsewhere would also reflect the changes correctly. Mitigating both problems, also perhaps consider visual cues to not edit an formula-result area nor work next to it. Deleting extra columns next to reports can discourage "margin notes". A light gray background, or white cell outlines, or just a label row above the real headers can remind all the file's users that those columns are automatic.
H: How to use complex filtering queries in Gmail? I am playing with different/complex filtering queries/string in Gmail. I found this answer (to my own question): after:1552896000 before:1552924800 And I was able to use it without any problems, i.e. I managed to filter e-mails with given dates. Then I found this answer: If email is from:semi-valuable-email-service.com AND contains:"Monday OR Wednesday OR Friday" THEN send it to trash and got a bit lost. Is this a real string to be pasted somewhere into Gmail (where?) or a pseudo-code to explain filter settings that need to be applied? Where should I put queries as complex as above? When I try to create a rule to filter my emails, all that I see is a filter configuration box with some simple fields and no place to put a query directly. Actually, I don't need queries as complex as above, but I'd like to merge two or more simple queries (as in the first example, if possible) to filter out e-mails sent in a given period of time for two or more days: after:1502294400 before:1502352000 AND after:1552896000 before:1552924800 But I am getting no results, neither from first nor from the second day. Is this possible at all in Gmail? AI: Is this a real string to be pasted somewhere into Gmail (where?) or a pseudo-code to explain filter settings that need to be applied? It's a real thing and you are supposed to use it (just a part of it) in the search bar: from:semi-valuable-email-service.com AND contains:"Monday OR Wednesday OR Friday" To list emails from two days you need to use OR instead of AND and endclose it with () like: (after:1552698000 before:1552777200) OR (after:1551834000 before:1551913200) This will list all emails from 16th and 6th March 2019 received between 1 AM and 11 PM
H: MATCH a cell value, then return the value of the cell next to it Is there a way to use a MATCH formula to look up where one value appears and then use that returned index as the point to reference to find another value? Right now I have a spreadsheet set up where I have a list of project ID's (column A)and column B has the category that each project falls into. Now I need to reference those projects on other sheets, and every time I do that I would like to pull up the appropriate column B value. I tried this to get where on the projects list it is called: =MATCH(C16,'Projects List'!A1:A) and that is pulling in the index of that project in the list. Now I want to look one column over to that and get the corresponding job category. AI: use VLOOKUP for that: =VLOOKUP(C1, A:B, 2, 0) for the whole column: =ARRAYFORMULA(IFERROR(VLOOKUP(C:C, A:B, 2, 0)))
H: Change e-mail used to send Google Calendar invites I have two emails a@gmail.com and b@work.com linked to Gmail from which I can send emails. Now in Google calendar I can send calendar invites to emails, which are sent by a@gmail.com (It says a@gmail.com has invited you, please reply to a@gmail.com), as this is my main email and I'm the owner of this calendar. I cannot find an option to change the email used in the invites, I even tried to create a new calendar for work appointments which belongs to b@work.com but this is also not possible as a@gmail.com is used per default and is not changeable. My question now is how to send invitations in the name of my alternative email b@work.com and with the reply path b@work.com, or how to create a new calendar for this email address. AI: @work.com is not a valid Gmail domain so this can't be done. If @work.com was just an example of work@gmail.com then all you need to do is log out from a@gmail.com account and log in to work@gmail.com and send your invites from there. This is the only way.
H: Formula for Calculating Percentile Race Finish in Google Sheets I've Googled and found many ways to calculate percentile, but most seem to be in regards to an array of numbers as opposed to a single number. I'd like to know in what percentile I finish in a given race. For example, if I finish 72 out of 853, what percentile is that and what formula will automatically calculate it in Google Sheets? AI: Welcome, Paul! The difficulty in calculating percentiles normally comes from compensating for unknowns, or putting values into 'buckets', or massaging values to make sense under a particular statistical distribution. You've got none of that! Your "percentile" means "what fraction were below me?" in this context. With 853 racers, 853 minus 72 were after you. Doing the math, that means 781 out of 853 competitors came in after you. So your percentile is 781 divided by 853. In Sheets form; say your Placing is in A2 and your total Competitors count is in B2. To put your percentile in C2, enter:    = (B2-A2) / B2 Or to do it all in one cell, =1-72/853 This will show you a number from 0.00 to 1.00, which you can then have displayed as a percent with the % button in the Sheets menus.
H: Report the date/column header for the first and last non-zero entries for each client/row I have a sheet with client names (Column A) and the number of visits to the business by mm-yyyy (Columns B - AC). I'm trying to find the first month that they visited the business and the last month we've seen them. I have attached a screenshot and I have also published a small section of the sheet. I have been struggling with this for a week and have gotten nowhere. I would greatly appreciate any help. Click here for Sample Data AI: paste in cell B3 and drag down: =ARRAYFORMULA(IFERROR(QUERY(TRANSPOSE(IF(D3:3>0, TO_TEXT($D$1:$1), )), "where Col1 is not null limit 1", 0))) paste in cell C3 and drag down: =ARRAYFORMULA(IFERROR(QUERY(TRANSPOSE(IF(D3:3>0, TO_TEXT($D$1:$1), )), "where Col1 is not null limit 1 offset "&(COUNTIF(D3:3, ">0")-1), 0)))
H: Purpose of Hiding Login and Registration Forms When Logged In? I've looked and looked and cannot find a reason for hiding login and registration forms from a user after that user has logged in. Aside from the obvious, such as removing the login form because it is unnecessary to log in again, are there security reasons? Are there issues with sessions if allowing the login form to continue to be exposed after logging in and the user logs in again? Any information is greatly appreciated. AI: To your pointed technical question, there are no technical issues with allowing the form to continue to exist client-side. It's always a click or two away in any case. If asked over on the UX SE, I'm sure it would come up that it's a waste of space. Almost universally, interfaces should be individually optimized for the current situation. Even Google opts to offer logging in with additional accounts, but it is suitably tucked a couple clicks deep, due to the comparitive rarity of that action. But as I'm sure you'd hear in first over on Information Security SE though, there's the big reason: filling a window with personalized things puts each user in the mindset that this session is for them, and quietly encourages people to log out when done. If a UI in any way looks "ready for the next person," it's implicitly encouraging those unconcerned, lazy, or naïve to just walk away—fine at home, horrible for a library, community center, school, conference center, and so on.
H: How Can I Sort a Data Range in Google Sheets Based on an Data Range? I have been looking for a way to sort this information. I need to sort these items in this order: BK, BB, BV, BIV, BIII, BII, BR. I was trying to make a Google Script to get it, but I could only figure out how to order by name. I need it to be automatically ordered and on a specific sheet. Screenshots below: Also since it wasn't in the screenshot, the sheet name is Sheet1. AI: Create and fill sort order numbers (column D on the screenshot) Enter the following formula to cell F2: =SORT(ARRAYFORMULA({$A2:A , IF($A2:A="", "", VLOOKUP($A2:A,$C$2:$D$8,2,FALSE))}),2,TRUE) It will fill and maintain sorted data in columns F and G automatically. If you do not want column G, you can hide it. If you do not want a sorted copy of your data, and you want to sort the data in place, you can add a column B, fill it with sorted order numbers (generated by VLOOKUP()) and then click "Sort sheet A-Z" on the column B header every time you need to sort the data. However you will need to move "Data Range" a separate sheet. Otherwise they will be broken by sorting the sheet.
H: Sort by a Column While Maintaining Information in a Row I had a previous question with lots of support and it solved my problem. The next issue I have is sorting the data while bringing the information in the corresponding row with it. A link to the previous question I asked, linked here. This is what I need to do: I need to take any information in here, the Promotions sheet: and organize it all into here, the Enlisted sheet: This is the code I have so far that organizes the ranks, but not the corresponding data: =ARRAYFORMULA(INDEX(SORT({Promotions!A2:A, IF(Promotions!A2:A="", , VLOOKUP(Promotions!A2:A, {Promotions!L1:L, ROW(Promotions!L1:L)}, 2, 0))}, 2, 1), , 1)) AI: =ARRAYFORMULA(SUBSTITUTE(SPLIT(INDEX(SORT({TRANSPOSE(QUERY(TRANSPOSE( SUBSTITUTE(Promotions!A2:F, " ", "♦")), , 50000)), IF(Promotions!A2:A="", , VLOOKUP(Promotions!A2:A, {INDIRECT("Promotions!L1:L"&COUNTA(Promotions!L1:L)), ROW(INDIRECT("Promotions!L1:L"&COUNTA(Promotions!L1:L)))}, 2, 0))}, 2, 1), , 1)," "), "♦", " "))
H: Combine cells retaining formatting within a sheet I want to combine columns of texts while preserving the formatting (e.g., underline, italics). How can I do that? I know how to use =C1&CHAR(10)&C2 ... but the formatting is lost. AI: This is not possible. You will need to assign text formatting again after you merge it:
H: Count how many times day was present in in overlapping ranges Let's say I have some arbitrary number of date ranges in columns A and B (which can overlap), say: A B 1 27.02.19 15.03.19 2 03.03.19 05.03.19 3 01.04.19 05.04.19 What I want to do is given a specific date, say 04.03.19, count how many times that date was contained in the ranges. In this case, the answer would be 2, because that date was contained within the ranges in rows 1 and 2. What formula can I use in Google Spreadsheets to calculate that? I realize COUNTIF is one part of this puzzle, but I need to 1) check all ranges in multiple rows and 2) check if the date is within the range, and I'm not sure how to do that. AI: For my solution you will need another column, based on the next formula: E1 = 04.03.2019 # The Date you want to find =If(AND($E$1>=A2;$E$1<=B2);True;False) Now we count =COUNTIF("C:C";True) # You can use "C2:C200" if that syntax is not allowed I have done it this way because, you can check if the date is in the range compounded by two columns(Assuming the index column doesn´t exist, if it does the shift everything one column to the right) then you count the results. I find really hard to make a oneliner out of this because you need a range in countif or countifs and most formulas return a value.
H: Have file always listed first in Google Drive directory When viewing Google Drive in Grid View, is there a way to have a specific file always listed first within a directory? One obvious solution is to add something like "000" to the beginning of the file (e.g. 000 My Desired First File) so that it gets sorted to the top, but I'm looking for a non-hacky way to "pin" a file at the top of the list. Example: - My Desired First File - Apple File - Banana File - Cat File - Dog File AI: Unfortunately, no. The only way is to give it a lead by renaming it. There isn't such an option to pin stuff. Best you can do is Star them, but that wouldn't "give it a lead":
H: If a dropdown value is selected, how do I add it to another column and then gather the sums? So I have a dropdown in Col K with "Apple, Oranges, Grapes, Cherries". If a kid wants to order a specific fruit, I want it to auto-populate the section of Col N in green and then sum the total quantity needed to order into Col O. My expected values are on the bottom right... How do I accomplish this black magic? AI: paste in first green cell: =QUERY(K:L; "select K,sum(L) where K is not null group by K label sum(L)''"; 0)
H: Assigning a value to cell depending of another cell list of item value Here is the situation: I have column I with the header as "Design" and column J with the header as "DETAIL", then I have column K with a header as "TYPE_W". OK on this last column K, I selected from cell K2 up to K22 and added a data validation Criteria: LIST OF ITEMS then DETAIL,DESIGN,OTHER, so what I want to accomplish is: If I select on K2 "DESIGN", I want in cell I2 the value =Y, if DESIGN is not selected, then I want the value to be empty on I2, so the same thing for cell J2 if value selected in K2 is "DETAIL", then I need on J2 A VALUE =Y otherwise then I need an empty value, so of course I want this for all the cells under I and J that a value in K has been selected if nothing is selected is because in that row there is not data imputed, can anyone please help? AI: paste in I2 cell: =ARRAYFORMULA(IF(K2:K="DESIGN"; "Y"; )) paste in J2 cell: =ARRAYFORMULA(IF(K2:K="DETAIL"; "Y"; )) demo spreadsheet
H: Data validation choices triggering formulas in other cells I'm trying to create a dynamic supplies cost list to help calculate the costs of our recipes whenever we switch suppliers. The idea is to enter the unit price (say of oil - see screenshot), then use a data validation drop-down list to select the size of the unit, and then have a breakdown of the remaining units automatically calculated based on the selection. Ex: Canola oil, $17.82 (unit price) at 5 gallons (data validation selection) should automatically have that price broken down in the following columns per lb, per ounce, per kg, per gram, etc. I've searched for some examples of this already but maybe I'm not using the right search terms because I can't find anything? Any help would be appreciated! AI: paste this in E2 cell: =ARRAYFORMULA(IFERROR(VLOOKUP(D2:D, 'Units and Measurements'!A3:F, {2,3,4,5,6}, 0)*C2:C))
H: Typing in a particular cell and convert it in upper case After I typed in a cell a text value (this is in lower case), what do I need to do (after typed it), to become it as the upper case? How do you change the case to upper case for a whole column in Google Sheets? I don't need it to do anything fancy. AI: but I want this to become upper case just outright when I just typed in cell A2 as well when I type on the rest of the cell under that column In that case, you need to use this script which does exactly what you want (converts all input in column A from 2nd row onwards on Sheet1). function onEdit(e) { var sheet, sheetName, colToCapitalize; sheet = e.source.getActiveSheet(); colToCapitalize = 1; sheetName = 'Sheet1'; if (sheet.getName() !== sheetName || e.range.rowStart < 2 || e.range.columnStart !== colToCapitalize || typeof e.value == 'object') return; e.range.setValue(e.value.toUpperCase()) } for range Sheet1!C2:C use: function onEdit(e) { var sheet, sheetName, colToCapitalize; sheet = e.source.getActiveSheet(); colToCapitalize = 3; sheetName = 'Sheet1'; if (sheet.getName() !== sheetName || e.range.rowStart < 2 || e.range.columnStart !== colToCapitalize || typeof e.value == 'object') return; e.range.setValue(e.value.toUpperCase()) }
H: How to prevent YouTube from showing already watched videos? Is there a way to prevent YouTube from showing videos already watched in the list of suggested videos? AI: Currently, there is no treat/workaround to do so. Apart from manually block them one by one, there are no scalable solutions. But there are extensions which can do so like: Chrome extension: Subscriptions Grid For YouTube™ Chrome extension: YouTweak for YouTube™ Chrome extension: YouTube Watched Chrome extension: Better Tube Chrome extension: Better Subscriptions for YouTube™ - (@Ashley) JS UserScript: YouTube: Hide Watched Videos // ==UserScript== // @version 1.1.1 // @name Hide watched videos on YouTube // @namespace https://gist.github.com/xPaw/6324624 // @match https://www.youtube.com/* // @updateURL https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js // @downloadURL https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js // @grant none // ==/UserScript== const app = document.querySelector( 'ytd-app' ); function HideVideos( a ) { app.querySelectorAll( 'ytd-thumbnail-overlay-resume-playback-renderer:not([data-hidden="true"])' ).forEach( element => { element.dataset.hidden = true; while( ( element = element.parentNode ).tagName.toLowerCase() !== 'ytd-item-section-renderer' ) { // Find the container element for this video } element.hidden = true; } ); } function ProcessPage() { if( !window.location.pathname.startsWith( '/feed/subscriptions' ) ) { return; } const list = app.querySelector( 'ytd-section-list-renderer' ); if( list.dataset.hooked ) { return; } list.dataset.hooked = true; list.addEventListener( 'yt-next-continuation-data-updated', HideVideos ); // TODO: Find an event to fix this new MutationObserver( HideVideos ).observe( list, { childList: true, subtree: true } ); } app.addEventListener( 'yt-navigate-finish', ProcessPage ); ProcessPage();
H: Google Sheets table of data wont create graph accurately? So I am trying to convert some data into a scatter plot using Google Sheets. I have 2 problems: When I try and order the x and y so that the graph has x data on x and y on y it inverts it. May this be related to the fact that the y-axis data is of smaller values? 1.4-3.5 instead of 44k etc.? If the solution is to just switch x and y from the editor instead of switching the side of the data how do I do that? Data: I would like GDP per capita to be on the x and height to be on the y AI: Welcome. We can't be sure, since you haven't shared a sample file with us, but this type of odd graphing usually comes from bad input. In this case, I'm guessing it's your units being part of the data—Sheets is charting literal strings of text. Change your height values to just numbers, and if that doesn't automatically fix it, delete and create the chart again. Since you're now missing your labels, either change the header to "Average Height/Country (m)" or select all the numbers in that column and up in the menus, choose Format→Number→More Formats→Custom Number Format and enter format #.##" m" in the Custom Number Format field at the top. The values are still raw numbers, but they're displayed with the unit included.
H: How to prevent Netflix from showing preview trailers on the overview? Currently, whenever I look at the Netflix overview, it shows me trailers in the top of the page. Also further down the page, between the category scrollers. I find them disturbing and annoying, also sometimes they contain spoilers which I don't like. Is there a way to disable them? Alternatively, is there a way to inject some JavaScript (maybe using a Chrome extension?), to hide them on the page? AI: For such tasks as removing stuff from sites, you can use Adblock Plus' future called Block element and then just select the exact element which you want to kill. If Adblock Plus can't be used there is this extension which does the same.
H: Using QUERY and IMPORTRANGE to get a value from Col8 when some of the rows in Col1 are subheadings I just want to return the value in Col8 corresponding to the row that has "Residential". I can only seem to get the value that is in the top row rather than the row corresponding with "Residential". =query(Importrange("Key","Sheet Name!A:H"), "Select Col8 where Col1 = 'Residential'") It just returns the top row value. AI: you can try with contains: =QUERY(IMPORTRANGE("ID", "SheetName!A:H"), "select Col8 where Col1 contains 'Residential'") or with matches: =QUERY(IMPORTRANGE("ID", "SheetName!A:H"), "select Col8 where Col1 matches 'Residential'") demo spreadsheet
H: Gmail's Priority Inbox: I changed settings, now I can't get Priority Inbox back I'd been using the "Priority Inbox" in Gmail where starred messages show first, then new messages, then all read messages. I changed some settings today, and now I can't figure out how to get back to that view. Is there a way? In the settings, there is no longer an "Inbox Type" setting where I can select the priority. AI: click on the gear icon select Settings go to Inbox as Inbox type select Priority Inbox setup your desired order done
H: How to set default Google Sheets and Google Docs account? I have two Google accounts that I always sign into, one of them is my personal account and the other belongs to the company I work for. I created a desktop shortcut for both of these apps from chrome like this: I only use these apps with my work account. When I click on these shortcuts, they take me to the accounts belonging to my personal Google account and then I would have to switch accounts. Is it possible to make them take me directly to my work account? AI: For such task, you are supposed to use Manage People where you will add your work account and then you can even create desktop shortcuts leading directly where you need.
H: View folder size on Dropbox Is there a way to view the size of a folder on the Dropbox web? I tried using the instructions from Dropbox here, but they seem to be outdated and do not work. AI: To display the size of a folder on dropbox.com: go to https://www.dropbox.com/ click on Files click on column header select Size select folder you are interested in by enabling checkbox click on Calculate size in the right sidebar wait for calculation done
H: Built-in functions in Excel Online are in a different language from the user interface Previously I was using my Microsoft account in Turkish, but I set to English a few years ago. All applications were working as expected until I tried the built-in functions in Excel Online. For example, I cannot use the SUM() function, but its Turkish equivalent TOPLA(). I tried to set the language again and cleaned up the cookies as suggested on SO, it didn't change the built-in functions. Maybe it only changes the UI language, which was already in English. Even the arguments (e.g. number1) are shown in English, but the function name is in Turkish. Is there a different setting for the language of built-in functions, how can I change it? AI: log in to your OneDrive account go to https://account.microsoft.com/profile/ select Edit country/region choose your preference when done, change the global language on the bottom left Excel formulas should be now in your preferred language
H: Is there a way to autofill cells with a formula targeting cells horizontally (in rows) while autofilling vertically (in columns)? In the above image fields are populated as follow: A1 is empty/not important B1 = animal C1 = dog D1 = male E1 = animal F1 = cat G1 = male H1= insect I1 = ladybug J1 = unknown I am working in column A, and what I wish to achieve is that column A should be equal to the name of the creatures in row 1. For example, A2 should equal "dog", A3 should equal "cat", A4 should equal "ladybug", etc. etc. The name of the creature will always be offset by 3 cells in the row. I require them listed without empty rows beneath each other in column A. I cannot delete rows at any time, therefore I need the formula to do the work for me. Currently, if in A2 and A3 I point respectively to C1 and F1, and I attempt to click and drag the formula down column A, Google Sheets (as well as Excel) has no idea what my intentions are, which results in the next cell pointing to column C and the first empty row number I drag it onto, and then repeats that cycle all the way down. I have attempted the OFFSET function, however, it suffers from the same ailment of populating "in the wrong direction" and one at a time. My last resort would be to create an INDIRECT column with the correct pointers, but this is not favorable. While I would like to stay away from Macros if at all possible, I will consider it a second-to-last resort if there truly is no other way. Any ideas greatly appreciated. EDIT (Expected Output): AI: =indirect(address(1,(row()-1)*3))
H: How can I easily merge the tabs of two Chrome windows? I have two Chrome windows open with a bunch of tabs. I want to merge the tabs/windows so that all the tabs are in one window. Is there a way to merge them without manually moving each tab from one window onto the other? AI: Click on a tab on one side, hold shift and click the tab on the other side. You now have all of them selected and can simply drag the tabs onto the tab bar of the other window. This also allows you to close multiple tabs at once or move some tabs to a new window, when they are all selected.
H: I frequently tweet on 2 topics. How can I not annoy followers only interested in one? I am an activist/keyboard warrior. I tweet about two somewhat related topics - certainly related to each other for me, but not necessarily to my followers. So I don't want to create two accounts for this, as I'm actually aiming for followers primarily interested in both topics, but I need follower numbers from the people that are only interested in one. I know if I don't like someone else's tweet I can choose an option: Show Less Often > This tweet is not relevant. Will this enable users to hide one of my two topics? And how would I make sure it knows what tweets are on what topic? Edit: note: this is not a duplicate of Tweeting without annoying others AI: Using hashtags are an option, and followers that dislike one topic can mute that tag entirely. It's a bit of a blunt move and requires you to tag each tweet appropriately, but it works. Settings > Content Preferences > Muted > Muted Words It's really unlikely that Twitter will pick up on your topics and offer them as mutable options for your followers, even if they go out of their way to mark the tweet as "not relevant."
H: How to publish a PDF file stored in Google Drive on a Google Sites? I published a Google Sites webpage for anybody to access it with links to PDF files (presentations for my classes). Unfortunately, anybody who tries to download the PDF files needs special permission from me. This happened because the PDF files are stored in my Google Drive account. I'd like to allow anybody to download it without any special permissions from me. I want to share these files with the world, I don't want to bother sending share invitations around. So far, I did not find any way around this. I could try to insert the file directly from the drive option on the side panel in Google Sites, but that doesn't seem to work inside a text box. Creating a subpage is an option, but it seems awkward. The instructions I've seen on the web seem outdated. I think there's some simple solution I'm overlooking. AI: go to your Drive - https://drive.google.com/drive/my-drive locate that PDF file right-click it and select Share click on Advanced click on Change... select one of the On - ... options under Access: Anyone (no sign-in required) select your Can ... preference hit the Save button make sure that last checkbox is un-ticked click on the Done button
H: How to deal with online position errors in Alberta Rural Addressing system in Google Maps Alberta has a system for rural addresses described here: Alberta Rural Addressing System This system allows a location to be calculated from the address and the dominion survey, and the name of a local municipality. E.g. The address 50042 Range Road 31, Warburg, Alberta is 42/80 of a mile north of township road 500, near Warburg. (The addresses are unique only within roughly a 60-mile radius) If this address corresponds to an address that the mapping service knows about, google maps seems to plot it correctly. However, if you give an address that is unknown to the google, each plots a location in an arbitrary location on a segment of the road near the municipality. This can be extreme: E.g. 52420 Range Road 12, Stony Plain, Alberta 51020 Range Road 12, Stony Plain, Alberta (10 miles south of the first location) 62420 Range Road 12, Stony Plain, Alberta (60 miles north of the first location) all plot at the wrong place. Worst: Google maps does not tell you that the address couldn't be found. I have sent feedback to Google about this on several occasions. AI: It turns out that the problem is not unique to google, but has been replicated with variations on bing maps, and Waze, At this point the answer is to be pro-active: If you are a rural dweller in Alberta Register your place on each mapping service. Search for the address, and reposition the pin to your correct location. If you have a rural business location register the business with the appropriate local business service for each service. This allows users to find you using your business name. If you are seeking a rural address in Alberta Phone and ask if the destination address plots properly in Google Maps and Bing. Sometimes they won't know. Bring the address up on the phone, and see if it looks reasonable. 51242 Range Road 12 should be half a mile north of township road 512, or 2.5 miles north of township road 500. As another trick, ask them to describe their place relative to some nearby intersection or community. Do this ahead of time. Cell service in rural Alberta can be spotty even on paved highways.
H: Vertigo Music Sharing Libraries What libraries and functions is the https://www.vertigomusic.com application using to allow two parties to listen to music at the same time? AI: The only way music can be played in Vertigo is if a user has first linked a premium streaming account as their legal access point. The only thing being shared between the listen live host and listeners is the song ID and starting timestamp. Unlike traditional radio where one song is broadcast to multiple people, on Vertigo every single person involved in a listen live experience must have legal access through Apple Music or Spotify Premium to consume the music being played. For example, in a listen live session with a host and three listeners, every song played would log four streams of that particular song: one from the host and one from each of the three listeners. https://www.vertigomusic.com/about
H: What is the updated method of "CalendarApp.openByName" We use a that gather the registration from Google Form and add them in our Agenda, our script uses the method "CalendarApp.openByName" to add the name automatically inside a Cell. It says the method is obsolete, what is the updated name for this method? Here is the complete script: var EVENT_IMPORTED = "AJOUTE"; // Ajoutera le texte "AJOUTE" dans la colonne N var ss = SpreadsheetApp.getActiveSpreadsheet(); function onOpen() { var menuEntries = [{name: "Ajouter les événements à l'agenda", functionName: "importCalendar"}]; ss.addMenu("Agenda", menuEntries); // Pour ajouter une menu Agenda et un sous-menu "ajouter les événements" dans la feuille de calcul. Cela permettra de tester manuellement la liaison entre la feuille de calcul et l'agenda } function importCalendar() { var sheet = SpreadsheetApp.getActiveSheet(); var startcolumn = 2; // Première colonne de prise en compte des données, soit la colonne B (titre du rendez-vous) var numcolumns = 30; // Nombre de colonne var dataRange = sheet.getRange(startcolumn, 1, numcolumns, 11) // Nombre de colonne contenant des données var data = dataRange.getValues(); for (var i = 0; i < data.length; ++i) { var column = data[i]; var titre = column[1]; // Colonne B - Titre de l'événement dans l'agenda - Titre du rendez-vous var DateDebut = column[2]; // Colonne C - date et heure de début de l'événement var Nom = column[3]; // Colonne E - Nom du contact var Adresse = column[4]; // Colonne F - Adresse var CP = column[5]; // Colonne G - Code postal var Ville = column[6]; // Colonne H - Ville var NumTel = column[7]; // Colonne I - Numéro de téléphone var Lieu = column[8]; var Mail = column[9]; // Colonne J - Debut var description = "Nom du contact : "+ Nom +" // Adresse : "+ Adresse +" // Code postal : "+ CP +" // Ville : "+ Ville +" // Numéro de téléphone : "+ NumTel +" //Lieu Activité : "+ Lieu // concatenation des champs des colonnes E à K destinée à la zone Description de l'agenda var eventImported = column[11];// Colonne N - Statut de l'importation - colonne AJOUTE A L'AGENDA var setupInfo = ss.getSheetByName("agenda"); // Nom de la feuille de calcul contenant la nom de l'agenda var calendarName = setupInfo.getRange("A1").getValue(); // Référence de la cellule contenant le nom de l'agenda if (eventImported != EVENT_IMPORTED && titre != "") { // Evite les doublons dans l'agenda, si le texte AJOUTE est présent en K, l'événement n'est pas ajouté var cal = CalendarApp.openByName(calendarName); cal.createEvent(titre, new Date(DateDebut), new Date(DateDebut), {description : description}); // Création de l'événement dans l'agenda avec le titre, la date de début, la date de fin et la description complète sheet.getRange(startcolumn + i, 11).setValue(EVENT_IMPORTED); // Nombre de colonne contenant des données SpreadsheetApp.flush(); } } } AI: In the current stage, openByName() is deprecated. So please modify as follows. From: var cal = CalendarApp.openByName(calendarName); To: var cal = CalendarApp.getCalendarsByName(calendarName)[0]; Note: This modification supposes that the calendar with the name of calendarName is existing only one. Reference: getCalendarsByName()
H: How do I add more conference chair administrators in EasyChair? I am the "first chair" of a conference, and I would like to add another chair in order to handle other administration areas like upgrading our license. How do I add another chair? It does not seem to be as easy as adding another CFP manager. AI: I figured it out! I was not able to find this specific how to in the Help page, but it gave me a clue on where to explore. Here are the steps: Log into EasyChair Invite the potential new chair(s) to be on the Program Committee. They will need to accept the invitation. After acceptance, enter EasyChair in your chair role. Hover over the PC tab in the menu. Click on "view PC" in the dropdown. In the list of PC members, find the individual you would like to make a chair, and click on the update icon. This will take you to the "Change Information About a PC Member" page. There you will see in the "Kind" category two options. Choose the option marked "chair". Now click the red "Update Information" button. All done. The new chair should now be able to enter EasyChair using their chair role. For more information, see "Adding a new program committee member" in the My EasyChair Help page.
H: Return values to another sheet if a cell is not empty, otherwise skip to next cell I have one sheet with a list of phone extensions in which some have names associated with them and some do not. I am trying to use a function to display one the extensions with names onto another sheet, but I can't wrap my head around the correct formula. I've tried to use the isblank function or the len function, but it doesn't seem to work the way I want. If anyone has any advice on how to make this work without using dozens of if statements, I would appreciate the help. Here is a link to a practice sheet I am using (Edited to a public sheet): https://docs.google.com/spreadsheets/d/e/2PACX-1vQz4seYTcXraVkjMI2FJrLu0xRfdTEc6Fef-OESWbKwuPw_HHu4gy4Dyzk_4HvVQQbXeW5Hjbhhf5KO/pubhtml AI: =QUERY(Sheet1!A1:C, "where A is not null", 1) =QUERY(Sheet1!A1:C, "select C where A is not null", 1)
H: Why does my Gmail icon have balloons? I don't think there's a special occasion. This is either April fools or the day I joined Gmail? From the icon itself: Crop from screenshot: AI: Gmail celebrates 15-year anniversary. This can be briefly spotted upon login to Gmail for few seconds on loading screen (if you reload your Gmail with F5 key) Back in 2004, email looked a lot different than it does today. Inboxes were overtaken by spam, and there was no easy way to search your inbox or file messages away. Plus, you had to constantly delete emails to stay under the storage limit. We built Gmail to address these problems, and it’s grown into a product that 1.5 billion users rely on to get things done every day. Today, on Gmail’s 15 birthday, we’re taking a look back and sharing where we’re headed next. On April 1, 2004 we launched Gmail (despite the timing, not a joke). It had the power of Google Search built right in and grouped your messages into conversation threads, making it easier to find and reply to them. You could also store 1GB of data for free - nearly 100 times what was available at the time. No wonder the world thought it was a prank. https://blog.google/products/gmail/hitting-send-on-the-next-15-years-of-gmail/ Also, it's worth to mention that Gmail got updated with two more futures: schedule delivery of messages respond to a comment thread in Google Docs/Sheets
H: Using a single cell serving as an ID source for formulas to import data from I have my master Google sheet and I need a weekly updated Excel report to be imported into that sheet. Right now I use =ARRAYFORMULA(IFERROR(VLOOKUP(A2:A; IMPORTRANGE("XYZ"; "'Overview'!A4:FZ"); 10; 0);)) Here is the tricky part - I transform the Excel sheet into a Google sheet and it always receives a new link/sheet ID so to get the data from the newest version I need to change all links in all formulas in my master sheet. My idea is if it's possible to make one cell that would serve as an ID source that I can weekly change to the newest sheet ID and it would be automatically imported from that specific sheet for all formulas. The report sheet is extremely extensive so I want to avoid copying all data into my master sheet AI: You can do so by referencing ID in a cell like: =ARRAYFORMULA(IFERROR(VLOOKUP(A2:A; IMPORTRANGE(A1; "Overview!A4:FZ"); 10; 0); )) where A1 will be: 16nnuzNRx_kGGJm1EBV57kBT2bfW1-2TYwSiuaLF-QIA or the whole URL.
H: How can I activate "Write Now, Send Later"? Some say there is a Gmail feature to schedule emails for later sending, named "Write Now, Send Later". How do I activate the feature? AI: You don't have to do anything to activate it. The rollout started yesterday, but it may take 15 days or more for it to be widely available. From this Google blog post: Rollout details Rapid Release domains: Extended rollout (potentially longer than 15 days for feature visibility) starting on April 1, 2019 Scheduled Release domains: Extended rollout (potentially longer than 15 days for feature visibility) starting on April 15, 2019 On/off by default? This feature will be ON by default. The blog post specifically discusses G Suite domains, but the rollout to basic Gmail accounts is likely similar. Per 9to5Google: Fear not if you haven’t yet got the option, it appears that GSuite users will get the feature first, with the rest of us getting the option very soon.
H: How to use Google Tasks on the web standalone? I'd like to use Google Tasks without having to open Gmail or Google Calendar or Google Docs. How can I do that? It used to be possible with mail.google.com/tasks/canvas AI: Use one of the following 3 approaches to open Google Tasks in a single step:   https://tasks.google.com/embed/?origin=https://calendar.google.com If you have multiple Google accounts logged in at the same time, you can specify a secondary account by appending the authuser parameter. If the specified user isn't logged in to your session, it will redirect to the default user. Replace [google-account] with the actual target account's address: &authuser=[google-account] For example, if you have a secondary logged in account joeblo@gmail.com the full URL will be: https://tasks.google.com/embed/?origin=https://calendar.google.com&authuser=joeblo@gmail.com   https://assistant.google.com/tasks This approach also supports the authuser parameter. Use the same instructions as in #1 above, however, since this is the first and only parameter, use the question mark ?, not the ampersand &: ?authuser=[google-account] https://assistant.google.com/tasks?authuser=joeblo@gmail.com https://calendar.google.com/tasks or https://calendar.google.com/calendar/u/0/r/tasks Technically, this opens Google Calendar, which may disqualify it. Still, it accesses Tasks in a single step using a single URL and is a good option if the additional clicks are what you seek to avoid. Use of the authuser parameter require the longer URL. As the first and only parameter, use the question mark ?, not the ampersand &: ?authuser=[google-account] https://calendar.google.com/calendar/u/0/r/tasks?authuser=joeblo@gmail.com
H: How do people decide what hashtags to use in Twitter? Without using paid-for 3rd party tools, I don't see how to insert a hashtag without just guessing! Searching about how to use hashtags just produces shallow, ambiguous pages that are just cheap content for ad clicks. #(hash?)TagsSeemStupid AI: If you want to use a hashtag, think of some examples that could fit in your case. For example, if you want to post a picture of a cute cat, think of maybe #cutecats #catpictures etc. Enter the hashtag in the searchbox an you will also see a few suggestions. Search for the hashtag and you will see other posts that use that hashtag. If this fits your audience, use it. Another way is to look at the popular hashtags in the sidebar.
H: Prime Video - Foreign Speech Subtitles in Original Language I've noticed this with shows that have dialogue in multiple languages. For reference I live in Germany, so on amazon.de there will be shows available in German and "original voice" (usually English), titled [dt./OV]. This lets me select English as the audio language and "none" as the subtitle language. When I do this I get no subtitles for regular dialogue. However, speaking in foreign languages, e.g. Spanish, will still be subtitled in German, which is very annoying if I'm trying to watch a show as originally intended. Is there any way to convince Amazon's player to give the complete original experience, including no subtitles and English/original for foreign dialogue? I suspect the answer will be no since I haven't found any hidden settings, but maybe I missed something. My guess is that Amazon supplies subtitles and audio tracks in multiple languages but only the German render of the video and that these foreign language subtitles are baked into that video file. In that case, I would be very disappointed with Amazon for providing supposedly OV content, but not even bothering to switch the video source to the right language! Any ideas? AI: Your guess is actually right and that is exactly how it is. Most likely Amazon failed in this instance to get original video source (either with awareness or not). As a customer, you are in the right to complain to them.
H: How to calculate a subtotal based on multiple columns in Google Sheets I want to create a dynamic formula, which will calculate the sum of column C, subtracted by the sum of column D, between the range of the current new subtotal and the previous subtotal, and adding the previous subtotal to it. If I were to add value on the next row in column c of 500, and the next row has the value of 600 in D, if the next row is blank, the new subtotal in B should be: (600+(500-600)=) 500 However, I am having trouble determining the ranges for the sums, I don't know how to define the range between the new subtotal and the previous one. I've only been able to create a formula to recognise /when/ to calculate the new subtotal: =IF(AND(ISBLANK(C113),ISBLANK(D113),NOT(ISBLANK(C112)),NOT(ISBLANK(D112))), "newsubtotal", "") Can anyone help me with this? I haven't been able to find a working solution for this problem as of yet. AI: sequence can be generated like this by pasting it into B1 and dragging it down: =SUM(INDIRECT("C1:C"&ROW()))-SUM(INDIRECT("D1:D"&ROW())) to jump over one row you can do this: =IF(OR(C1<>"", D1<>""), , SUM(INDIRECT("C1:C"&ROW()))-SUM(INDIRECT("D1:D"&ROW())))
H: How can I encode HTML literals for output within the Sheets Query function? I have a query in a spreadsheet. What I need to do is output a bit of simple HTML text between each column being pulled out of another tab. Sample code looks like this: =Query(Official!A7:P617, "SELECT '<tr>', A, '</td><td>', B, '</td><td>', C, '</td></tr>' WHERE A > 0 ORDER BY B ASC") The problem is that sheets don't seem to like either the / character. How can I escape these values so I can get the desired output I want? And because people will ask... I'm doing this because I use this data to share information on a forum. Their WYSIWYG editor doesn't like copy-and-pasted data straight from Sheets. I've tried copy-and-pasting the data into a text document and cleaning it up, and it still doesn't work properly. According to others who create tabled information in Sheets and share the info on the same forum, this method is the best approach-- wrap the details and each field in table tags, and then paste it as a source, rather than into the WYSIWYG editor. Yes, it's ugly but it does work. I now just need my query to play by the rules I've been given. AI: Your issue is not \ character but the fact that you try to repeat exactly the same column multiple times '</td><td>' which QUERY does not support. Therefore try: =REGEXREPLACE(QUERY(Official!A7:P617, "select '<tr>', A, '♦</td><td>', B, '♣</td><td>', C, '♠</td></tr>' where A > 0 order by B asc"), "♦|♣|♠", "")
H: Changed Gmail password but still someone has access A few weeks ago I noticed that there was a weird device from a location I've never been to authorized in my Google Account. The thing is, I do have 2 step auth, and I definitely never authorized it. So I promptly removed it, changed passwords. All good. Then today I noticed that still there is someone logged in: Is there anything else I can do to block that? BTW, my current devices are: My PC, an iPhone, an iPad and a PS4 AI: log in to your Gmail - https://mail.google.com/mail/u/0/ on the bottom right there is Last account activity: click on Details click on Sign out of all other Gmail web sessions button change your password
H: Conditional Formatting using Google Sheets So I'm trying to build out a simple campaign tracker and I've been running into a few issues with the conditional formatting on google sheets. I need the cells on column C to change color and format based on the values in columns A & B. For example. columns A & B are labelled "KPI" & "Target KPI". Suppose the KPI is Click Through Rate, and the Target is .10%, the value in C1 needs to be a % and turn red when LOWER than the Target and Green if higher. However, if the KPI is "Cost Per Conversion" the value in C1 needs to be $ and turn red if it is HIGHER than the Target, and Green if lower. NOTE: The red and green are performance indicators. Which need to change dynamically if the actual is >/< than the KPI Hope someone's had this problem and figured out a solution for it! Thanks your help! Link to a sample (Note the columns I spoke about are H - J on this sheet - https://docs.google.com/spreadsheets/d/1D4T7uKql55nc8eb9cHPUbPbQMnvwZ3FPJLB9LI0uA0s/edit?usp=sharing AI: =IF(IFERROR(FILTER(I2, SEARCH("*%*", I2)))*(J2 < I2), 1) =IF(IFERROR(FILTER(I2, SEARCH("*%*", I2)))*(J2 > I2), 1) =COUNTIF(J2, "<"&I2) =COUNTIF(J2, ">"&I2)
H: ArrayFormula date vlookup -30days in first 30 rows of Google sheets I am trying to use an array in Google Forms Response sheet for a time sheet. I want to have a rolling 30 day total for hours worked. The first 30 days is not able to lookup 30days prior. ={"Previous-Duty Hours 30D prior";ArrayFormula(VLOOKUP(($B2-30),$B2:$F,5, FALSE))} The result is Error: Did not find value '43523' in VLOOKUP evaluation. How do I ignore the first 30days? I also want to array =SUM(I2+H3) but the first row =F2. How do I manage the first row? AI: your formula should probably be: ={"Previous-Duty Hours 30D prior"; ARRAYFORMULA(IFERROR(VLOOKUP((B2:B-30), B2:F, 5, 0)))}
H: Image in a cell with a hyperlink I need a cell that contains an image to also contain a hyperlink. Following formula is the only one I found but doesn't work (error analyzing formula) =HYPERLINK("URL", image("URL")) Following formula I tried shows a blank cell but the link works =hyperlink("URL"; Image("URL")) AI: =HYPERLINK("https://mail.google.com/mail/u/0/"; IMAGE("https://i.stack.imgur.com/XJ2AY.png"; 3)) demo spreadsheet
H: Subtract 8 hours from time, if time is more 8 hours I am trying to create a Timesheet using Google Sheet but this formula =IF((F8>8),(F8-8),"0") returns zero even on cells with Total Hours greater than 8 I have set both Formats to Duration AI: =ARRAYFORMULA(IF(LEN(F2:F), IF(TIMEVALUE(F2:F)>0.3333333333, TEXT(F2:F-0.3333333333, "hh:mm:ss"), 0), ))
H: How do I keep leading zeros in Google Sheets after split? This is my data: 43558#DEYINGCHEN20190403#097855111593#Logitech MX Master Wireless Mouse (910-004337) Then I used split(#). Result: The result I want is:09785111593 This cell I have formatted into Plain Text, but it failed anyway... AI: =ARRAYFORMULA(SUBSTITUTE(SPLIT(SUBSTITUTE(A1, "#", "♦#"), "#"), "♦", ""))
H: How can I attach a file to an email using Google script? I'm using Google Script to send emails, but I'm not sure how to add attachments (multiple attachments). I am also not sure where to add the code for it either. The file is on Google Drive and I need to attach it to the emails being sent out. Could someone help me out with the code? Here is the code I am using to send emails: function getRowsData(sheet, range, columnHeadersRowIndex) { columnHeadersRowIndex = columnHeadersRowIndex || range.getRowIndex() - 1; var numColumns = range.getEndColumn() - range.getColumn() + 1; var headersRange = sheet.getRange(columnHeadersRowIndex, range.getColumn(), 1, numColumns); var headers = headersRange.getValues()[0]; return getObjects(range.getValues(), normalizeHeaders(headers)); } function getObjects(data, keys) { var objects = []; for (var i = 0; i < data.length; ++i) { var object = {}; var hasData = false; for (var j = 0; j < data[i].length; ++j) { var cellData = data[i][j]; if (isCellEmpty(cellData)) { continue; } object[keys[j]] = cellData; hasData = true; } if (hasData) { objects.push(object); } } return objects; } function normalizeHeaders(headers) { var keys = []; for (var i = 0; i < headers.length; ++i) { var key = normalizeHeader(headers[i]); if (key.length > 0) { keys.push(key); } } return keys; } function normalizeHeader(header) { var key = ''; var upperCase = false; for (var i = 0; i < header.length; ++i) { var letter = header[i]; if (letter == ' ' && key.length > 0) { upperCase = true; continue; } if (!isAlnum(letter)) { continue; } if (key.length == 0 && isDigit(letter)) { continue; // first character must be a letter } if (upperCase) { upperCase = false; key += letter.toUpperCase(); } else { key += letter.toLowerCase(); } } return key; } function isCellEmpty(cellData) { return typeof(cellData) == 'string' && cellData == ''; } function isAlnum(char) { return char >= 'A' && char <= 'Z' || char >= 'a' && char <= 'z' || isDigit(char); } function isDigit(char) { return char >= '0' && char <= '9'; } function sendEmails() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var dataSheet = ss.getSheets()[0]; var dataRange = dataSheet.getRange(2, 1, dataSheet.getMaxRows() - 1, 4); var templateSheet = ss.getSheets()[1]; var emailTemplate = templateSheet.getRange('A1').getValue(); var objects = getRowsData(dataSheet, dataRange); // For every row object, create a personalized email from a template and send // it to the appropriate person. for (var i = 0; i < objects.length; ++i) { // Get a row object var rowData = objects[i]; var emailText = fillInTemplateFromObject(emailTemplate, rowData); var emailSubject = 'Mail Merge Test'; var file = DriveApp.getFilesByName('2019_MA_BenefitsGuide.pdf') MailApp.sendEmail(rowData.emailAddress, emailSubject, emailText ); } } function fillInTemplateFromObject(template, data) { var email = template; // Search for all the variables to be replaced, for instance ${"Column name"} var templateVars = template.match(/\$\{\"[^\"]+\"\}/g); // Replace variables from the template with the actual values from the data object. for (var i = 0; i < templateVars.length; ++i) { var variableData = data[normalizeHeader(templateVars[i])]; email = email.replace(templateVars[i], variableData || ''); } return email; } /* for (var i = 0; i < data.length; ++i) { var row = data[i]; var emailAddress = row[0]; // First column var message = row[1]; // Second column var emailSent = row[2]; // Third column if (emailSent != EMAIL_SENT) { // Prevents sending duplicates var subject = "Sending emails from a Spreadsheet"; var file = DriveApp.getFilesByName('test123.pdf') MailApp.sendEmail(emailAddress, subject, message, { attachments: [file.getAs(MimeType.PDF)], name: 'Automatic Emailer Script' MailApp.sendEmail(rowData.emailAddress, emailSubject, emailText); }); */ AI: In function sendEmails() where you send the email, you'll have to attach the file(s). If you have multiple files you'll need to send them as an array/list. # Get file from Google Drive var file = DriveApp.getFilesByName('test123.pdf').next() # For multiple files var files = [] files.push(file) # Send email with file attached MailApp.sendEmail(rowData.emailAddress, emailSubject, emailText, {attachments: files}) Keep in mind, file is actually a list FileIterator.
H: Google Sheets - Convert entire column of prices by 50% I have a large column of prices, however, sometimes the word [FIXED] also appears in these columns (see screenshot below). I need to convert this price list to wholesale. All the products wholesale prices are exactly 50% of the retail price. I recently discovered more advanced features in google sheets - even playing with some scripts to accomplish more hefty tasks like this one. Another issue I have is some prices have a .99 for example: 59.99 retail. The wholesale price for this would be 30.00 however. Is there something I can do to convert all the prices in a specific column by half? 50% of the original value? Any help would be much appreciated. I know basic js. AI: Just put the below formula in cell B2 and copy it to all other cells. =if(A2="", "", iferror(left(A2, find("]", A2)), "") & round(right(A2, len(A2) - iferror(find("]", A2), 0)), 0)/2)
H: How to get the largest initial values of multiplied columns? I'm tracking performance for some athletes and we need a way to see their "Best" workout numbers meaning the highest numbers of (rep × weight). The table looks like this: The reps and the weight are different columns and the Dates are 2x merged. In the above table, the result should read: AI: paste in C2 and drag down: =ARRAY_CONSTRAIN(SPLIT(REGEXEXTRACT(QUERY(TRANSPOSE(QUERY(E2:J2, "select E*F,E,F,G*H,G,H,I*J,I,J label E*F'',G*H'',I*J''")), , 999^99), MAX({E2*F2, G2*H2, I2*J2})&" (.*)"), " "), 1, 2) fix for empty cells: =ARRAYFORMULA(ARRAY_CONSTRAIN(SPLIT(REGEXEXTRACT(QUERY(TRANSPOSE(QUERY( IF(E2:J2="", 0, E2:J2), "select Col1*Col2,Col1,Col2,Col3*Col4,Col3,Col4,Col5*Col6,Col5,Col6 label Col1*Col2'',Col3*Col4'',Col5*Col6''")), , 999^99), MAX({E2*F2, G2*H2, I2*J2})&" (.*)"), " "), 1, 2))
H: How can I find pictures in Google Photos in which multiple people that I specify appear together? I know how to use Google Photos to find pictures which have a given person in them, for example showing pictures of "Christopher" or "Michael". How can I find pictures in Google Photos in which multiple people that I specify appear together, for example, "Christopher" and "Michael" in the same picture? AI: All you need to do is use AND operator and connect them in a string like: "Christopher" AND "Michael"
H: Why am I being followed by a political opponent in Twitter? Why would an influential political figure follow me in Twitter, when I'm a nobody, and all I've done to date is opposed his party's philosophy? He follows some 100k people, with a similar number of followers. I'm almost certain it's to benefit his party, his politics, and his own interests, rather than mine! But what is this actually achieving for him? Surely he'd be better off following people of an aligned ideology! Otherwise he'd have 100k people filling his feeds with hate. (Actually, he probably does) Edit: Thank you for the answer. I suspect it's a bit more than just getting any followers - at the least, because following people of opposing view won't do that as often as following people with aligned views. I'd need to do more examination or need more data to enable other possible answers. If someone provides a better answer, I will select it. AI: He (read: his account) might be following you with the hope that you'll follow him back. I doubt he or his social media team have actually checked what Tweets you have posted, liked or retweeted; rather, they are using a script to see which Twitter accounts have interacted with his account in the past, and just follow them all. Following somebody doesn't cost anything, other than potentially clutter your timeline (but I doubt he's reading the entire timeline) and being somewhat vulnerable to hate mail via direct messages (which is easily reported/blocked). His real goal is probably to get as many followers as possible, and this is just one of the means.
H: How to download files from Facebook group? I'd like to download Files hosted on Facebook group which I'm part of. I couldn't find any relevant API, and the following question at Quora points to extensions which are outdated. The first challenge is to click on See more to see all the files, then click them one by one. Sometimes after See more, the AJAX loading is stuck, so the whole page needs to be refresh and started again. How this can be achieved? AI: The following steps can be used: Navigate to Files page on Facebook using your web-browser. Using DevTools JS Console in web-browser, run the following code (ignore the red Stop sign): setInterval(function() { document.getElementsByClassName("uiMorePagerPrimary")[0].click(); }, 20000); The script is going to click See more button every 20 seconds, even when it's stuck. When page is fully loaded, extract all links into urls variable. var urls = []; for (var i = document.links.length; i --> 0;) if (document.links[i].href.includes("download")) urls.push(document.links[i].href); Source: How to get all the URLs in a web site using JavaScript? Optionally you can print the links using console.log(urls) or console.table(urls). Copy the links to clipboard by running: copy(urls.join("\n")) and paste into the text file. From the Network tab of DevTools, pick one request and Copy as cURL (not all). Convert into wget by making the following adjustments to the command (as per this post): Change curl to wget (1st string from the left). Remove the URL (2nd string from the left). Remove --compress parameter. Change -H to --header in all places. Add -nc or -c to not re-download the existing files. Add --content-disposition parameter. Point to the text file with the list by adding: -i list.txt. Note: If you're Vim user, run set -o vi, type command, and hit Esc+V, to edit shell command in Vim. Run above converted command, to start downloading the files. It should looks like: wget --header '...' --header '...' --content-disposition -c -i list.txt
H: Remove old emails from Gmail matching criteria automatically I want to delete the following emails: from:(reply@abc.com) subject:(for sale) older_than:1d It seems in the old Gmail interface it was possible to create filters to delete these messages. I am not sure in the current Gmail interface (2019) how we can do this. I can search these emails but once I click create filter, the older_than part disappears. For the old interface there are guidelines like this. AI: Using Google Script: 1. Go to: https://script.google.com 2. Click "New Script" 3. Type this code // reference: https://medium.com/@fw3d/a-cleaning-robot-for-your-gmail-inbox-f44c01306ea2 // Modify by: Dicky Ibrohim for delete (move to trash) specific subject, sender, and time function removetotrash() { var delayDays = 1; // Impact form email more than 1day var maxDate = new Date(); maxDate.setDate(maxDate.getDate()-delayDays); // What will be executed, adjust the string here var searches = [ '"for sale" from:reply@abc.com' ]; // Looping for 100 last email var threads = []; for (var i = 0; i < searches.length; i++) { var tmp_threads = GmailApp.search(searches[i], 0, 100); // search until 100 mail var threads = threads.concat(tmp_threads); } // Then remove all for (var i = 0; i < threads.length; i++) { if (threads[i].getLastMessageDate()<maxDate) { threads[i].moveToTrash(); } } } click File --> Save Make it automation, click on menu "Current project’s triggers", Click "Create New triger" Setup hour time, example, script will executed every 3 hours Save. I tried it and it went well Manual Work from Gmail Then Then Do this carefully. when you press the blue button, there is a loading process to complete (Don't do anything until there is a marker successfully). Then Then check result
H: Combine multiple sheets in one master file I am applying the below formula where I want to combine the live data from multiple sheets to one consolidate sheet in horizontal format & here my header is same... but I am getting an error as: Unable to parse query string for Function QUERY parameter 2: NO_COLUMN: col1 =QUERY({'MATHEWS K J'!A2:AR;'VASU P'!A2:AR;'ARVIND RAJ J'!A2:AR;'THIVYA D'!A2:AR;'PRASANTH V'!A2:AR;'SATHIK BASHA S'!A2:AR;'GAYATHRI V'!A2:AR;'INDIRA R'!A2:AR},"select * where col1 is not null", 0) the first column is having a date as like 4/2/2019 10:37:10 (Timestamp) in this format & the sheet is linked with Google Forms where the user can fill the form & getting output on Google sheet.. (in one sheet having 44 columns) required help for this... AI: instead of col1 use Col1 =QUERY({'MATHEWS K J'!A2:AR; 'VASU P'!A2:AR; 'ARVIND RAJ J'!A2:AR; 'THIVYA D'!A2:AR; 'PRASANTH V'!A2:AR; 'SATHIK BASHA S'!A2:AR; 'GAYATHRI V'!A2:AR; 'INDIRA R'!A2:AR}, "select * where Col1 is not null", 0)
H: How do I arrange raw data in Google spreadsheet in group way? I have a list of orders, like this: Paid $28.00 | 2019-04-08 15:14:20 Unpaid $00.00 | 2019-04-08 15:13:48 Unpaid $00.00 | 2019-04-08 15:12:58 Unpaid $00.00 | 2019-04-08 15:12:10 Paid $18.00 | 2019-04-08 14:14:20 Paid $18.00 | 2019-04-08 13:13:48 Paid $58.00 | 2019-04-08 13:12:58 Unpaid $00.00 | 2019-04-08 12:12:10 I want to turn them into numbers by hour, like this: Date/Time | Total | Paid | Total 2019-04-08 12 | 0 | 1 | 1 2019-04-08 13 | 76 | 2 | 2 2019-04-08 14 | 18 | 1 | 1 2019-04-08 15 | 28 | 1 | 4 AI: =ARRAYFORMULA({"Date/Time", "Total", "Paid", "Total"; {QUERY({LEFT(B1:B, 13), IFERROR(SPLIT(A1:A, " "))}, "select Col1,sum(Col3),count(Col1) where Col2 matches 'Paid' group by Col1 label sum(Col3)'',count(Col1)''", 0), VLOOKUP(QUERY(QUERY({LEFT(B1:B, 13), IFERROR(SPLIT(A1:A, " "))}, "select Col1,sum(Col3),count(Col1) where Col2 matches 'Paid' group by Col1", 0), "select Col1"), QUERY({LEFT(B1:B, 13), IFERROR(SPLIT(A1:A, " "))}, "select Col1,count(Col1) where Col1 is not null group by Col1", 0), 2, 0)}})
H: How to filter only the highest value for each date based in a criteria? I have a table with 3 columns. I want to filter only the highest value of column B for each date (A) if column C contains the code "red". My sheet: date entries code 08/04/2019 1 red 08/04/2019 3 red 07/04/2019 2 blue 07/04/2019 1 green 06/04/2019 6 red 06/04/2019 5 red 06/04/2019 4 blue My query so far: =QUERY(A2:C7, "select A, B where C = 'red'", 1) My result: 08/04/2019 1 08/04/2019 3 06/04/2019 6 06/04/2019 5 But I would like to get only the highest value of each date: 08/04/2019 3 06/04/2019 6 I can even filter the highest value of B based on the dates of A (see below), but I can not filter the C code together. =QUERY(A2:C7, "select A, max(B) group by A") My question is: How to filter only the highest value of column B for each date (A) if column C contains the code "red"? AI: =ARRAYFORMULA(UNIQUE(VLOOKUP( QUERY(A2:C, "select A where C = 'red' order by A desc, B desc", 0), QUERY(A2:C, "select A, B where C = 'red' order by A desc, B desc", 0), {1,2}, 0)))
H: Goggle Sheets IMPORTXML/REGEXEXTRACT out of date Alright, so I found my basic answer from these posts, 2-3 years ago. Extract data from Steam Import total hours on Steam Steam has updated its website since then, so I've messed around with it and attempted to make it work.. this is currently what I have, and what I'm getting. =REGEXEXTRACT(REGEXEXTRACT(CONCATENATE(IMPORTXML("https://steamcommunity.com/profiles/76561198103825553/games/", "//script")),"\(([Garry's Mod]+)\)"),"[0-9]+")&" hrs last two weeks" Error Function REGEXEXTRACT parameter 2 value "[0-9]+" does not match text of Function REGEXEXTRACT parameter 1 value "o". AI: =REGEXEXTRACT(INDEX(SPLIT(SUBSTITUTE(INDEX(IMPORTXML( "https://steamcommunity.com/profiles/76561198103825553/games/", "//*"), 1, 2), "hours"":""", "♦"), "♦"), 1, 2), "\d+.\d+|\d+")&" hrs last two weeks"
H: How do I automatically enter sequential numbers without using the mouse in Google Sheets? I would like to create a series of number in Google Sheets, without dragging with the mouse. When using the Shortcut Cmd+R (Fill Right) it just copies the value of the first cell. Initial State: Desired State (achieved by dragging the initial selection via mouse): Outcome using Cmd-R: Any ideas on how to achieve this without using the mouse? AI: another way would be using formula with keyboard shortcuts: type in =COLUMN(A1) in the first cell press CTRL + C press SHIFT + RIGHT ARROW to select range press CTRL + V or press CTRL + ENTER
H: Collates the number of depots that don't have manifests and trunk headers Trying to do a work project that collates the number of depots that don't have manifests and trunk headers. Column A: Depot Numbers Column B: No Manifest record (i.e if Colum B 2 - 200 contains "value x" then means no manifest) Column C: Same as column B but for Trunk Headers instead of Manifests Column D: List of Depot numbers in numerical order (2 - 200) Column E: Collated total of "no manifests" from column B "cells 2 - 200" if column A collates with the relevant Depot Number (i.e Column D4 will be Depot 3 and E4 will show the total number of Depot 3's that don't have manifests collated from Column A and B (column A is depot number & column B is no manifest)) Column F: Same as Column E but for No Trunk Header instead of No Manifest. Can someone please assist as I'm not sure if I need REGEXMATCH or something else. AI: =ARRAYFORMULA(IFERROR(VLOOKUP($C$2:$C, QUERY({A2:A}, "select Col1,count(Col1) where Col1 is not null group by Col1 label count(Col1)''"), 2, 0))) demo spreadsheet
H: Get excel in sharepoint to google drive Is there any way to import an excel file located in a sharepoint into a google drive site? AI: Download the Excel file Go to drive.google.com, log in to your Google account, and go to the folder you want to put the Excel file into. Click on the multicoloured + icon on the top left, which says "New", and select "File upload". Select your Excel file in your file explorer. If you followed those steps, you now have your Excel file stored in Google Drive (although it is a separate copy from the one in Sharepoint). Further, you can convert it into a Google Sheet by right-clicking, then selecting "Open with" > "Google Sheets". This will create a separate Google Sheet file.
H: How do I get rid of the blank line when I use UNIQUE in Google Sheets? I used unique... the result is in column B, but I want results to look like column C. So what do I need to do to achieve this? AI: =UNIQUE(FILTER(A2:A, A2:A<>""))
H: Filter cell data using Query/Importdata I am attempting to grab data from a cell, by using additional data in the cell above it to make sure its correct. Here is the data, each line is put into a cell by the formula. <total_count>6</total_count> <games> <message> <appid>376210</appid> <name>The Isle</name> <playtime_2weeks>4300</playtime_2weeks> <playtime_forever>23973</playtime_forever> </message> <message> <appid>4000</appid> <name>Garry&apos;s Mod</name> --------using this <playtime_2weeks>289</playtime_2weeks> ------to get this! <playtime_forever>277810</playtime_forever> </message> <message> <appid>578080</appid> <name>PLAYERUNKNOWN&apos;S BATTLEGROUNDS</name> <playtime_2weeks>59</playtime_2weeks> <playtime_forever>8585</playtime_forever> <img_icon_url>93d896e7d7a42ae35c1d77239430e1d90bc82cae</img_icon_url> <img_logo_url>2d2732a33511b58c69aff6b098a22687a3bb8533</img_logo_url> </message> <message> The formula I am currently using is =QUERY(IMPORTDATA(A1)," select Col1,Col2 where Col2 = '2weeks' and Col2 matches 'Garry'") It outputs <name>Garry&apos;s Mod</name> and I can't select only '2weeks' since that is repeated several times, and for different games. Additionally, the layout may change at anytime. The Isle is current at the top, but it may change to be at the middle, or bottom of the list at any time. I know if I spent more time on this, I could just use separate formulas to achieve my goal, however I'm attempting to learn how to used combined formulas. Less clutter, more options, and easier to look at. Any ideas? AI: =REGEXEXTRACT(QUERY({{A1:A25; ""}, {""; A1:A25}}, "select Col1 where Col2 contains 'Garry'", 0), ">(.*)<")
H: Google Sheets monthly rolling average I have a table in Google Sheets with data for different people by month. I want to display a monthly average that will be progressive as the year goes by. So they can have an idea of how they are doing. So I currently have the data divided by 12, but that is, of course, the average if there are no more occurrences for the rest of the year which isn't very helpful. I know I can do this manually as the year goes on by changing the denominator to the number the current month but was wondering if there is a way to have it happen automatically. spreadsheet link AI: Welcome to Web Apps SE. Thanks for your straightforward explanation and example sheet. I hope you get it working the way you need. Just as you described, we need to divide by the number of entries, rather than always 12. The formula to do this in cell O3, which you could then drag down the rows, might resemble: =IFERROR(N3/COUNTA(B3:M3)) In English, that adds up the number of non-blanks using COUNTA, and divides by that count. When there are no entries, we'd be dividing by zero, so the IFERROR just hides the… "average of zero numbers" error.
H: Reference all tabs with a specific word in COUNTIF statement Basically, I am trying to make a master tab that adds up all of the data from all the other tabs. These tabs are weekly breakdown numbers for ad statistic numbers, so there is a new tab added every week. Here is what every tab looks like. The only option I have in mind to accomplish this is adding the new tab name to the formula (to be written) every time I create a new tab. However, I am wondering if there is a way to reference all tabs that contain a hyphen "-" because they are all titled with a date range separated by a hyphen. Is there any way to achieve this? Maybe even with some sort of helper column on the to-be-created master tab? AI: function SHEETLIST() { try { var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets() var out = new Array( sheets.length+1 ) ; out[0] = [ "NAME" , "#GID" ]; for (var i = 1 ; i < sheets.length+1 ; i++ ) out[i] = [sheets[i-1].getName() , sheets[i-1].getSheetId() ]; return out } catch( err ) { return "#ERROR!" }} =QUERY(SHEETLIST(TODAY()), "select Col1 where Col1 contains '-'", 0)
H: Finding the number of instructors available on different weekends in Google Sheets I'd like to find a generic way to see when resources are available, in order to help plan when activities can be run. In this case, the resources are people with certain instructor qualifications (climbing, canoeing, etc.) and equipment such as mini-busses, canoe trailers, climbing kit, etc. The resource data would look something like this: Resource | CWI | RCI | D1 | PI1 | PI2 | Bus | continued below --> ----------+------------------------------------------------- PersonA | 1 | 1 | | 1 | 1 | | PersonB | 1 | | 1 | | | | PersonC | | | 1 | 1 | 1 | | PersonD | 1 | 1 | | | | | PersonE | | | | 1 | | | PersonF | 1 | | 1 | | | | MiniBus1 | | | | | | 1 | MiniBus2 | | | | | | 1 | Then the date data would be over to the right, like this: <-- cont... | WE1 | WE2 | WE3 | WE4 | WE5 | ...for each weekend of the year ------------+------------------------------------------------- (PersonA) | 1 | 1 | | | 1 | ... (PersonB) | 1 | | 1 | 1 | 1 | ... (PersonC) | | | 1 | 1 | 1 | ... (PersonD) | 1 | | 1 | | | ... (PersonE) | | 1 | 1 | 1 | 1 | ... (PersonF) | 1 | | 1 | 1 | | ... (MiniBus1) | 1 | 1 | 1 | 1 | 1 | ... (MiniBus2) | 1 | 1 | | 1 | 1 | ... At the bottom of each weekend column, I want to count how many mini-busses, Climbing Wall Instructors, Rock Climbing Instructors, D1 drivers, etc. are available that weekend, then I could use that information to determine which weekends different activities are viable, for example, if I need a mini-bus and 2 RCIs I can see which weekends have that. | WE1 | WE2 | WE3 ... RCI | 2 | 1 | 1 Bus | 2 | 2 | 1 etc.| | | So the formula needs to count the number of resources in the column that has a 1 (meaning available), but it needs to only count it if a different specified column on that same row (relating to the qualification or resource type) also has a 1. AI: cell C13: ={I1:N1} cell B14: =TRANSPOSE({B1:G1}) cell C14 (and drag to the right and then drag down): =COUNTA(IFERROR(QUERY(ARRAYFORMULA(TRIM(TRANSPOSE(QUERY(TRANSPOSE( IF($B$2:$N$10=1, $B$1:$N$1, )), , 999^99)))), "where Col1 contains '"&C$13&"' and Col1 contains '"&$B14&"'")))
H: Convert hyperlinks to buttons In Google Sheets, I have a column of active hyperlinks. When you hover over one of them, a tool tip appears that contains an "open link" icon that you can click on to open the URL in a new tab. In each cell, instead of showing the entire URL, I'd like to replace that text with a "view" button that can be clicked immediately (without having to wait for that hover-delayed tool-tip, which requires a brief delay and additional mouse-movements before you can click to open the URL). Keep in mind, that each URL is different (in this column) and I'm looking for a solution where I can highlight all of them and convert each to a button labeled "view" that opens its respective url in a new browser-tab. Is this feature available? AI: No, sorry. That is not how Google chose to implement links across Sheets, Docs, etc. In each case, but especially when the link text differs from the url, for User Experience reasons they chose to make the reader see the "address snippet popup", complete with the icon indicating it will take them to a new page. Google is a hulking giant, but they do say they welcome feedback—if you choose, you can go to your file, and choose Report a Problem from the Help menu. Achieving this exact behavior, if you truly need it, would entail extending Sheets' inbuilt feature set. I have no specific recommendations, but if it is a requirement for you, perhaps research into whether this could be achieved with a third-party Sheets add-on or by programming your own Apps Script, since there is no native option.
H: How can I group by one column to join values in multiple rows? Let's say I have a survey of people in teams, and what fruits they like: User | Team | Fruits ---------------------- Dave | Mine | Banana, Apple Steve | Mine | Apple, Orange Matt | Yours | Banana This would have been populated by a Google Form. I am looking to transform this into: Team | Fruits -------------- Mine | Banana, Apple, Orange Yours | Banana I'd then be able to know that two teams like bananas, while one team also likes apples and oranges. I have been looking into some combination of QUERY and JOIN but am getting pretty lost. In one cell, I have done =UNIQUE('Raw Responses'!C2:C105), which gets me all the unique Teams. In another, I've done =JOIN(", ",'Raw Responses'!E2, 'Raw Responses'!E3) gets me what I want manually (without the unique values bit yet, so I would see apples twice). In my third test, I did =QUERY('Raw Responses'!C2:E105, "SELECT E where C='Mine'"), which spreads the answer across two rows Note that C corresponds to Teams and E corresponds to Fruits in my actual sheet. Update =JOIN(", ", QUERY('Raw Responses'!C2:E105, "SELECT E where C='Mine'")) almost is what I want. I am just not sure how to make Mine become a pointer of A1 inside a different sheet than Raw Responses as this is in Sheet2. I then need to make the cell be unique values only still. Update 2 =JOIN(", ", QUERY('Raw Responses'!C2:E105, "SELECT E where C='" & $A1 & "'")) is working, just need to figure out unique values now :) AI: =JOIN(", ", UNIQUE(TRANSPOSE(SPLIT(JOIN(", ", QUERY('Raw Responses'!$C2:$BP105, "SELECT F where C='" & $A2 & "'")), ", ")))) solves it. It basically transforms between columns and rows so I can use unique and then slap it all back.
H: Selecting row with best value for items with several versions/upgrades I'm sure my problem is quite simple to solve, but I've been on it for a while and I could use some help. I have a huge table, but the problem boils down to this: some items have 2 versions (one normal and one upgraded), and I'd like to be able to show only the best version of an item (upgraded if it exists, the normal one otherwise). Example table: Name | Value | Type Tool A | 50 | Tool A Tool A [U] | 75 | Tool A Tool B | 100 | Tool B Tool C | 200 | Tool C Tool B [U] | 150 | Tool B And I'd like to get Name | Value | Type Tool A [U] | 75 | Tool A Tool C | 200 | Tool C Tool B [U] | 150 | Tool B Note: there can only be one upgrade, and the base version of the "tool" always exists if that helps. I can easily select the best value for tool A, B or C, but selecting the name (and other properties) with it is the problem. I tried something like SELECT A, MAX(B), C GROUP BY C, but it's throwing errors back at me. AI: ={"Name", "Value", "Type"; ARRAYFORMULA(QUERY(IFERROR(VLOOKUP(UNIQUE(C2:C), QUERY({ROW(A2:A), A2:C}, "select Col4,Col1,Col2,Col3 where Col2 is not null order by Col2 desc", 0), {1,2,3,4}, 0)), "select Col3,Col4,Col1 where Col1 is not null order by Col2"))}
H: Enabling 2FA on a Google Account, how to get TOTP secret? I am trying to enable two-factor authentication (2FA) on a Google account, but I'm running into a dead end trying to activate it. I'm using an up-to-date Firefox browser. When I try to enable 2FA, Google offers me three options: SMS code Security key Google-prompt I am not looking for SMS-codes (considered deprecated as a security measure) or Google-prompt; I would like a full 2FA solution. A security key is an option, but apparently, I can't use it because Google doesn't offer WebAuthn (which my browsers support), but offers the older FIDO U2F standard instead. The option to activate a security key just silently fails. That leaves no options in that list, but to my knowledge, Google also supports TOTP authentication. To activate this Google documents a process where I go to the settings of their Gmail app on an Android or IOS smartphone, but I have neither. I do have a device that supports TOTP authentication: I just need the secret key or the QR-code. How can I get this TOTP key and activate TOTP 2FA in my Google account? AI: TOTP 2FA can only be used as a secondary/backup 2-factor authentication method on Google accounts, and you must set up 2-factor authentication with one of the three supported primary 2FA methods (I suggest using your FIDO U2F security key — see below for instructions on getting that working) prior to being able to set up and use TOTP as a 2FA method with your Google account. The reason you're having issues using your FIDO U2F security key on Firefox with your Google account is because while credentials registered using the FIDO U2F API can be validated using either the FIDO U2F API or the newer WebAuthn API, the reverse is not true. Google's planned migration to WebAuthn has fallen far behind schedule due to widespread issues with support on Android devices that are not going to be fixed anytime in the near future (many Android devices only support the FIDO U2F API), and while the Firefox developers do have a partial implementation of U2F hidden behind the security.webauth.u2f flag in about:config, said implementation does not currently permit signing operations. The simple answer for the short term is to perform the initial setup of 2-factor authentication with your FIDO U2F security key on your Google account using a different browser such as Chrome. In the slightly longer term, if implementation of the changes in this Mozilla bug entry keeps moving forwards, you should see U2F registration support for Google arrive alongside security.webauth.u2f being enabled by default with the release of Firefox 67 or maybe Firefox 68. Additional reading: https://groups.google.com/forum/#!msg/mozilla.dev.platform/q5cj38hGTEA/lC834665BQAJ https://bugzilla.mozilla.org/show_bug.cgi?id=1539541 https://www.reddit.com/r/firefox/comments/b39eac/github_no_longer_allows_using_security_keys/
H: Google Sheets Two-Way Databinding? I want to make a spreadsheet in Google Sheets with a user friendly editable front end and a back end with an arbitrary number of rows containing the data to be displayed. There should be a dropdown on the front end that allows me to select which row (or a new row) in the back end is displayed in the rest of the front end fields; and any edits on the front end should be saved to the back end. I know vlookup can be used to show data from the backend on the frontend, but I'm pretty sure it's not going to send edits back to the backend. Is there a way to accomplish this using Google Sheets, either alone or with other Google web apps? AI: Google Sheets formulas (and indeed, all spreadsheet apps' formulas) just take input, do calculations and manipulations on it, and display output. That sounds obvious, but there's a subtlety to it: formulas don't do "actions". Any time you type in a cell, you are overwriting it—not sending data elsewhere. Any time a formula does a sort, filter, or lookup, the original values are untouched. A cell's value should never be the input and output for the same formula. So your request is just a bit at odds with the universal base of how normalized spreadsheets work. Thus, if you need a two-way data flow, you'll need to extend native Sheets functionality. I have no specific recommendations, but perhaps check if there are Add-Ons or Apps Script solutions for such needs.
H: Google Sheets referencing a cell adjacent to a cell on another sheet I've got a calendar in google sheets with each cell referencing a cell value pulled from weekly sheets. I'd like to be able to enter the cell reference for the first of the month, then have the rest of the dates autofill incrementally from that date. For example, first of the month would be referenced like =('4/01/19'!A12), then the adjacent cell would point to '4/01/19'!B12, where values for the 2nd of the month have been entered. Since the sheet names will naturally vary week to week and month to month, I'm basically trying to do something like a1 = 'sheet1'!a1 b1 = offset(the-cell-being-referenced-in-a1,0,1) Is this possible? Link to an example of the document: https://docs.google.com/spreadsheets/d/1aHLX8LcVpefi9mxHVeU_H6jB97RDhb4_eKD2h39FDzA/edit?usp=sharing AI: paste in A2 cell: ={INDIRECT(TEXT(A1, "m/d/yy")&"!A12:G12")} then select A2 cell press CTRL + C select A8 cell and press CTRL + V and continue on A14, A20 etc.
H: Method to preserve cell reference in a formula upon adding rows in reference sheet? I have a Google Sheets with two(2) tabs. The first sheet is just a running tally of raw data and is updated with new rows at the top weekly. In tab 2 there is just a single query(arrayformula)... that references Sheet1!A2 cell dozen times. The entire formula is 816 characters in length. Each time I add a single row to tab 1, the formula still works in tab 2 but it now automatically changes all references to Sheet1!A2 to Sheet1!A3 and ignores the inserted row data until manually edited. Is there a method to avoid manual edit when inserting rows? AI: lock it with INDIRECT and try like this: ={QUERY(ARRAYFORMULA(TEXT(SUBSTITUTE(TEXT(UNIQUE(IF(LEN(INDIRECT("Sheet2!A2:A")), DATE(20&MID(INDIRECT("Sheet2!A2:A"), 7, 2), LEFT(INDIRECT("Sheet2!A2:A"), 2), MID(INDIRECT("Sheet2!A2:A"), 4, 2)), )), "dd/mm/yyyy"), "30/12/1899",""), "dddd")), "select Col1,count(Col1) where Col1<>'' group by Col1 label count(Col1)''"), QUERY(QUERY({ARRAYFORMULA(IF(LEN(INDIRECT("Sheet2!A2:A")), TEXT(DATE(IF(LEN(INDIRECT("Sheet2!A2:A")),20,)&MID(INDIRECT("Sheet2!A2:A"),7,2), LEFT(INDIRECT("Sheet2!A2:A"),2),MID(INDIRECT("Sheet2!A2:A"),4,2)),"dddd"),)), INDIRECT("Sheet2!B2:B")}, "select Col1,sum(Col2) group by Col1 label sum(Col2) ''"), "select Col2 where Col1 is not null")}
H: Automatic cell coloring via conditional formatting I am working on a sheet for a game I play and having some trouble with cell coloring. I have one sheet, named "PlayerList" which maintains a list of player names, class and role. Players are frequently added/removed from this list. This sheet has the format of: Column A Column B Column C Name Class Role Player1 Mage Damage Player2 Paladin Heal Player3 Warrior Tank Classes have specific colors associated with them (e.g. Mage = blue, Paladin = pink, Warrior = brown, etc) I have a second sheet which references the PlayerList sheet, and creates a full list of names with QUERY via the formula: =QUERY(PlayerList!A3:C5,"SELECT A WHERE C = 'Tank' OR C = 'Heal' OR C = 'Damage'") generates: Player1 Player2 Player3 I would like to have each player's cell automatically colored depending on their class in PlayerList (e.g. if Player3 is a Warrior, then his name cell is brown). My initial thought was to use multiple Conditional Formatting rules with custom formulas (one for each class color), however, I am not really sure what the formula should be. Is it possible to implement colors when using IF() in a custom formula rule? Or is there a better way to go about this? The best I could come up with was to make multiple Conditional Formatting rules that check individual player names, however, this is not ideal as I then have to manually adjust the formatting rules every time a player is added/removed from PlayerList. Here is an example sheet if it helps: https://docs.google.com/spreadsheets/d/1XpKaY6Px_uN8EjkuY58ejBshZ8EcEDhnRgEWbnAZnMI/edit#gid=0 I have manually colored the names on the second sheet, but I would like them to be automated. AI: blue: =IF(VLOOKUP(E2, INDIRECT("PlayerList!A3:B"), 2, 0)="Mage", 1) pink: =IF(VLOOKUP(E2, INDIRECT("PlayerList!A3:B"), 2, 0)="Paladin", 1) orange: =IF(VLOOKUP(E2, INDIRECT("PlayerList!A3:B"), 2, 0)="Warrior", 1)
H: Why my Google earth exported KMZ file is not a XML file but a binary one? According to wikipedia, kmz is a: DescriptionKeyhole Markup Language is an XML notation for expressing geographic annotation and visualization within Internet-based, two-dimensional maps and three-dimensional Earth browsers. KML was developed for use with Google Earth, which was originally named Keyhole Earth Viewer. However, the KMZ file got exported by Google Earth is not a XML one. It's even not a XML file but a binary file. How can I see the XML content? Thanks AI: A KMZ is a zip file which contains a KML document, you can use an application like 7-Zip to open it and extract the KML.
H: Problem inserting a column and cell reference/link I have a sort of summary in my Google sheet. In the second column, I refer to the sub tables further in the sheet with e.g. this content: https://docs.google.com/spreadsheets/d/1J- lBYHVVGjX1e8e_ZpeiNJIywJxfSW9waliWbJ2ICmM/edit#gid=0&range=f1 Meaning it refers to column F1. This works fine; when clicking on the cell in the summary the focus is moved to column F1. However, when I insert columns before the F column, the link is not changed and thus the column is referring to the wrong column. Is there a better way to handle this? The link to the Google sheet is: Link AI: you need to refer it as an active range like this: ="https://docs.google.com/spreadsheets/d/1J-lBYHVVGjX1e8e_ZpeiNJIywJxfSW9waliWbJ2ICmM/edit#gid=0&range="& ADDRESS(ROW(D1); COLUMN(D1); 4)
H: How can I conditionally format cells to denote past/future/current dates? I have a church rota Google Sheet. Column A shows the date of each service. To make it more obvious at a glance, I would like cells in column A to apply formatting so that dates in the past are colored differently. Ideally, the next upcoming date would be highlighted (or at least dates in the current month or something like this). I am somewhat familiar with conditional formatting but not using it on dates - is this feasible and if so how can I do it? In a perfect world, the entire row would be colored for past weeks but just the cell is sufficient if this is getting tricky. AI: before today: =COUNTIF($A1,"<"&TODAY()) today: =COUNTIF($A1,"="&TODAY()) after today: =COUNTIF($A1,">"&TODAY())
H: Total Wages Calculations https://docs.google.com/spreadsheets/d/13HdNN_qa9rhLFyMe0N9I9EusmBudi_dcdBkc6UeLHMM/edit#gid=878850570 I am trying to total Normal Pay but the formula does not Multiply Regular Hours by Normal Rate hence I get an R6.33 sum instead of R152.00 I would appreciate assistance with a formula to calculate Currency/Price from Duration or Time. Also how to auto sum other cells? example - this formula =SUM(H2:H*1.5) to be applied every time a new input is made on the column? AI: =ARRAYFORMULA(IF(LEN(A2:A), (REGEXEXTRACT(TO_TEXT(F2:F), "\d+")+ (REGEXEXTRACT(TO_TEXT(F2:F), ":(\d+)"))/60+IFERROR (REGEXEXTRACT(TO_TEXT(F2:F), "\d+:\d+:(\d+)")/3600))*H2:H, )) =ARRAYFORMULA(IF(LEN(A2:A), H2:H*1.5, )) =ARRAYFORMULA(IF(LEN(A2:A), (REGEXEXTRACT(TO_TEXT(G2:G), "\d+")+IFERROR( (REGEXEXTRACT(TO_TEXT(G2:G), ":(\d+)"))/60)+IFERROR (REGEXEXTRACT(TO_TEXT(G2:G), "\d+:\d+:(\d+)")/3600))*I2:I, )) =ARRAYFORMULA(IF(LEN(A2:A), J2:J+K2:K, ))
H: How Do I Quickly Merge A Large Amount Of Cells? So I'm trying to merge all cells in Col A and B so that A1 and B1 are one cell all the way for 150 rows, anybody knows how? AI: =TRIM(QUERY(TRANSPOSE(QUERY(TRANSPOSE(A1:B150), , 999^99)), , 999^99))
H: How to navigate to a certain sheet in Google Sheets? In my previous related question, I asked how to navigate to a certain column, however, now I also want to navigate to a certain sheet. So I need a link from a cell, and by clicking it, I want to jump to the first row of a column (hardcoded in that cell) from a hardcoded sheet in that same sheet. The code for navigating to a certain column is: ="https://docs.google.com/spreadsheets/d/1J-lBYHVVGjX1e8e_ZpeiNJIywJxfSW9waliWbJ2ICmM/edit#gid=0&range="& ADRES(1; KOLOM(D$1); 4) I expect something like SHEET? should be added but that function does not exist. What code is needed? Preferably I would use the NAME of the sheet instead of a number. AI: Actually, there is no need to add anything - you already have all you need. Sheet references are handled by GID (Google Sheets' ID of particular sheet). The first sheet is always #gid=0 and any additional sheet gets generated unique ID (like for example: #gid=2089923721) so all you need to do is to navigate to it by changing GID number to correspond with the sheet you wish to jump to. If you want to use sheet names instead of GIDs you will need to play with this script and VLOOKUP formula: function SHEETLIST() { try { var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets() var out = new Array( sheets.length+1 ) ; out[0] = [ "NAME" , "#GID" ]; for (var i = 1 ; i < sheets.length+1 ; i++ ) out[i] = [sheets[i-1].getName() , sheets[i-1].getSheetId() ]; return out } catch( err ) { return "#ERROR!" } }
H: Why does google use 1000 char long image links? When I copy an image address from the gallery on google.fr/images it copies this to my clipboard, why? data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMSEhUSEhMWFhUVFRgXFxcWFRUVFxUVGBUYFhUVFRUYHiggGBolHRUVITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OGhAQGy0lICUtLzUtLS0tNS0tLTAtLS0tLS8tLS8tLS0tLS0vLS0tLy0tLS0rLS0rLS0tLS0tLS0tLf/AABEIAMIBAwMBIgACEQEDEQH/xAAcAAABBQEBAQAAAAAAAAAAAAAGAAMEBQcBAgj/xABPEAABAwEEBQYICwQIBgMAAAABAAIDEQQFEiEGIjFBUQcTYXGBkTJyc5KhsbLBFCMkMzRSVGKz0dJCwuHwCBYXJVNjgqI1Q0R0o/EVRYP/xAAZAQADAQEBAAAAAAAAA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41jb2QMyzAtpQ1zrwPCibskRIc4NJwgVO5oJoCe3JFo5Ob1+wyedF+tIcnN6fYZPOi/WnIg2+ZzjVxqaAdgFAO4BcRN/Z3ev2GXzof1pDk7vX7DL50X60ADYK9hEX9nl6/YZPOh/WvQ5Pr1+wy+dD+tYAOFP2E/GM8dvtBXw5P70+wy+dD+tP2XQC8w9hNikADmknFFkAQSfDWGl1/SN+l2XyDvxFkT1u/LhopbLbaLO+y2d0rWQua4tLBQl9aaxG5Zq7kzvb7FJ50X605gP2M6venqohg5Ob1Ap8Bk86L9a9/2d3r9hk86L9awAaquFyJDydXt9hk86L9a8nk4vb7DJ50X60ADZlXGTgEEiormK0r2ol/s3vX7DJ50X610cnF6/YZPOi/WgAQtBqa0KnUczV8GrRUBwNWkBwDiNtciQiM8nV6/YZPOi/Wujk6vX7DJ50P60ADbSja6tK45IxFbAcWTed3OG4ybwRxAKrv7PL1+wy+dF+tdHJ7ev2GXzof1pJ41NUy2HNLFNTjyaO6zsdDhFCCNp1q1+9vFOlY5aYsD3N+q4juJCLLJovfkbDGyzTtYd2OE06qv1exQv6gXqdthl86H9alixSg22zq8zy4+Qo7boG1YXEflNn8vF+K1Ww5P70+xSedF+tTbo0CvJs8L3WOQNbNG5xxRZNEjST4XAKxwH0RJtXVyTakmMPLXGm1dxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBYjxSxHikkgBmRxrtXUkkAf/Z It's a bit overkill for a hyperlink? what is google doing? I know that if I click on it again I get the real link, but it's a new thing from Google, it's weird! AI: As You can see from the prefix it's JPEG file encoded by base64 binary-to-text encoding scheme. So, it's not a hyperlink but the whole file instead. Technically, You could use this in HTML, CSS, etc to save some extra requests and/or issues with offsite resource not being available anymore. Various browsers and scrapers used to use that just to download the view of some web-page in single file. Some random HTML example from the widths of the internet: <img width="16" height="16" alt="star" src="data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7" />
H: Format cell, If word from list in cell I'm trying to color tag cells according to keywords they may contain. I've searched just about everywhere, and have tried various applications of the Search and Find functions to no avail. Imagine I have the following cells: [You] [ggg] [123] and I want to highlight only the cells that contain: numbers = [0,1,2,3,4,5,6,7,8,9] What custom formula would I use to format only the cells containing numbers? Highlighting: 123 This should work as well for: [yes] [nah] [yah] affirmativeResponses = [yes,yah,ya,yup] highlights: yes, yah Pseudo code: for i in [yes,yah,ya,yup]: if i in cell: highlight(cell, green) AI: for all numbers: =IF(ISNUMBER(A1), 1) for specific digits (2 and 3): =REGEXEXTRACT(TO_TEXT(A1), "2|3") for exact words: =REGEXEXTRACT(A1, "yes|nah|yah") for partial (containing) matches: =REGEXEXTRACT(A1, "yes|nah|yah")
H: Formating a number with specific spacing I'm attempting to pull a particular option value from Yahoo! into Google Sheets. The base URL is: https://finance.yahoo.com/quote/GOOG190418C00800000 When breaking the formula up, I have to concatenate several fields into the last part of the URL. The breakdown is: https://finance.yahoo.com/quote/ + SYMBOL + DATE + C/P + PRICE The price has to have 5 integers, followed by a decimal point, followed by 3 integers. If the price does not fill all characters, a zero has to be inserted. For example: 125.00 has to be 00125.000 and 47.50 would be 00047.500. What I'm trying to figure out is how to take a price in the format of xx.xx or xxx.xx and add the correct amount of 0s to complete the link. Please let me know if my explanation above doesn't make sense or I have to add more data. Cells, where data is being pulled from, are arbitrary. AI: What I'm trying to figure out is how to take a price in the format of xx.xx or xxx.xx and add the correct amount of 0s to complete the link. =TEXT(A1, "00000.000") =ARRAYFORMULA(IF(LEN(A1:A), TEXT(A1:A, "00000.000"), )) =SUBSTITUTE(TEXT(G7, "00000.000"), ".", "")