text
stringlengths
83
79.5k
H: YouTube movies layout as one per line Is it possible to switch YouTube layout to "one-per-line" layout instead of mesh/grid when I enter some channel (never mind which) and go to "Video" card? It would be so much more convenient to browse movies one by one NOT all at once. AI: In the old design, there is a dropdown in the top right corner of the grid that says "Grid" and can be changed to "List". In the new design, that button is missing, but the URL parameter flow=list still works. Here's an example use: https://www.youtube.com/user/mugumogu/videos?flow=list If you want to get back to the grid design, you can use the URL parameter flow=grid.
H: Banking Application pops up a browser window without toolbars. How to fix? I am using Firefox Quantum 58.0. My banking application (here CCP Connect Luxembourg) insists on popping up a completely unnecessary "undecorated window" (no toolbars or anything, on the other hand it has "facebook pixel" and "doubleclick ad exchange" trackers ... kornheiser_why.jpg) to prepare the user's login via 2-factor authentication. As I am using NoScript, and this window uses scripting, it stays blank, but I can't tell NoScript to whitelist this page as there is no NoScript icon on that window... Let me demonstrate: Click on "Login": Ouch time! (The screenshot has a black border because I wanted to capture both windows overlaid, which means I need to "select a rectangle"; can't capture a window tree yet) What to do? AI: All right, it's actually simple if you know how to. The key lies in this mozillaZone article: Prevent websites from disabling new window features. You have to tune the appropriate dom. disable_window_open_feature.* variable in about:config. There are quite a few: close: Prevents the close button from being disabled. directories: Prevents the bookmarks toolbar from being hidden. location: Prevents the address bar from being hidden menubar: Prevents the menubar from being hidden. minimizable: Prevents popup window minimization from being disabled. personalbar: Prevents the bookmarks toolbar from being hidden. resizable: Prevents popup window resizing from being disabled. scrollbars: Prevents the scrollbars on a popup from being disabled. status: Prevents the status bar from being hidden. titlebar: Prevents the title bar from being hidden. toolbar: Prevents the navigation toolbar from being hidden. It's the last one which is of interest here. So let's search for it in the about:config screen and toggle it to true: This will preclude the banking application from switching off the toolbar like it owns the place: We can then tell NoScript to allow scripts from previously unknown origins (https://secure.ccp-connect.lu and https://orely.luxtrust.com), which makes the 2-factor auth screen appear: Happy banking!
H: Why is my G Suite Gmail favicon blue? My G Suite Gmail favicon has turned blue. Now it looks like this: What the color change mean? Is is part of a rebranding, or is it supposed to notify users about some special state of Gmail app? Is it possible to get back to the original red icon? AI: According to the Google forum it is a bug that is due to the lab "Unread message icon" being enabled. If you turn off that lab it reverts back to red. I am not sure what else to tell you and this is definitely annoying.
H: Is there any way to set permanently the News Feed in the option "More Recent"? There are 2 options, "More Recent" and "Featured Histories" (I don't know exactly the name in English since my Facebook is in Spanish). I set the option in "More Recent" but everytime I leave Facebook and enter again the option is set to "Featured Histories". Is there any way to set permanently the News Feeds in the option "More Recent"? AI: There are following options (in English) for News Feed: Top Stories Most Recent When you login to Facebook using official link (https://www.facebook.com/), it shows Top Stories based on your preferences (if you have any) otherwise Top Stories by default. I don't see any setting to change it permanently. To see the Most Recent feed, use ?sk=h_chr with the Facebook login link: https://www.facebook.com/?sk=h_chr ?sk=h_chr sets the feed to Most Recent every time you open. Other option is using FB Purity browser add-on. It has an option to keep News Feed on Most Recent. This is FB Purity page - Fluff Busting ( FB ) Purity.
H: How do I troubleshoot "Query completed with Empty Output" in Google Sheets? I recently ran into the following issue: =sumproduct($H$6:$H,Regexmatch($C$6:$C,"Order.*")*($I$6:$I=Q$1)) Worked, while =sumproduct($L$6:$L,Regexmatch($C$6:$C,"Order.*")*($I$6:$I=Q$1)) Didn't. Google's error message wasn't terribly helpful. The only difference is the H versus L range. AI: Since the only difference was one of the ranges there had to be something wrong in that range. Since the range is 3000 rows long, I didn't try to scan for it. I proceed to do a divide and conquer search, first verifying if I changed the end point for each range to 20. =sumproduct($L$6:$L20,Regexmatch($C$6:$C20,"Order.*")*($I$6:$I20=Q$1)) Since that worked and the whole column didn't, I proceeded to double the 20 to 40, then 80. At 80 it broke again. Step half way back. At 60 ok. Step halfway forward At 70 it didn't. At 65 it didn't. Looked there and I had an #N/A from another lookup. The error message that SumProduct showed was the same as the #N/A box showed. So perhaps in a sense the error message made sense. But I wish googlesheets would give a better message like, "Bad Data L64" I have turned in feedback to this effect.
H: Get day from date, Google Sheets I haven´t found much searching on the net. The case: One cell is filled out in date-format by the TODAY() function. How can I update another cell with the actual day as string? I´ve seen older examples by using CHOOSE func, or the the WEEKDAY() func formatted. Nothing seems to work for me. AI: =TEXT(A1;"dddd") where A1 is the cell with the date.
H: Is there a way to get an email from Twitter if and only if someone tweets at me? I see that there's a setting on Twitter's "Settings" page that allows me to receive emails from Twitter "When you have new notifications". The problem is that most of my notifications are for accounts that are spam-following me. Is there any way to receive an email from Twitter if, but only if, someone tweets at me? AI: It doesn't look like Twitter can do this natively, but this is easy to do with IFTTT. Trigger: Twitter channel, New mention of you Action: Email channel, Send me an email You might set up the subject and body like this: subject: You were mentioned by @{{UserName}} on Twitter! body: @{{UserName}}: {{Text}}<br> <br> via Twitter {{LinkToTweet}} There are several pre-built applets you can just use, such as this one.
H: In Facebook, What is the difference between share and "who should see this"? If I click on where I wrote the square, and I click Friends or Friends Except, then or any option there, then I guess it's shared to my timeline inevitably, right? Yet when I click Share (Where the circle is), then it says "this post has been shared to your timeline". But wasn't it already on the timeline? And also, if I click Friends in the "who can see my post" i.e. where the square is. Then I click "Share" and select "only me", then doesn't that conflict? What is the difference between those two options? like the difference between share with friends, vs choosing friends in the top left. If I chose friends in the top left then I click share and say "only me" then does the share do nothing? even though the share says that the post is now shared in my timeline? AI: "Who should see this" changes the audience type of the current post. "Share" creates a "clone" of the current post. You can share it to your timeline or to other locations. If I chose friends in the top left then I click share and say "only me" then does the share do nothing? even though the share says that the post is now shared in my timeline? If you do this you will have two posts, one is shared with friends and another that only you can view. Basically, sharing to your own timeline could be used in cases like when you want to resurrect an old post or when a specific post that you had previously shared with a specific audience and now want to share with other type of audience. (if you just change the audience, the post will not be noticed unless someone scrolls through your newsfeeed).
H: Does poking a Facebook user lift their ban? If someone was reported by other users on Facebook, Facebook will issue a temporary warning/ban. Many users, when faced with this problem, ask their friends to comment/poke/share etc their posts to lift the ban. However, I can't find any reference to any Facebook help page that explains this. Does this method actually work? If so, is there any reference to what is the best action (preferably from Facebook docs)? If not, is there any other method that works? AI: No. Banned for using Facebook or a feature cannot lifted before the time period given. A user has to wait till that time. From Facebook Help Center: Facebook has policies in place to stop behavior that other people may find annoying or abusive. We've determined that you used a feature in a way that could be considered abusive, even if you didn't mean to. A few things to keep in mind about your block: Blocks are temporary and can last a few hours or a few days We can't lift this block for any reason
H: using a number cell in a column to define the number of times a specific formula should be run before moving to next cell in column I’ve posted this problem in different forms on the Google forums, but am getting crickets, so I thought I’d try over here. What I'm trying to do is use a column of numbers (B) to determine how many times a formula (F*C) should be run. The purpose of this is tracking inventory and sales of a single product with a variable purchase price. I don’t care about sale price, just original costs and quantities. So, for example, B is the total number of units (100, 150, ...) bought at cost C ($10, $10.50, ...). F is the total number of units sold in a month, sorted by date. So, counting in "chronological order" down column F, the first 100 units sold had been purchased at $10/unit, for a total of $1000 spent (that row of unit count (B) and unit cost (C) could then be considered "crossed off") (i.e. The first batch of inventory is sold first, and only when all of those are sold do we move to the second batch, etc.); the next 150 units had been purchased at $10.50/unit, for a total of $1575 spent (those units are then "crossed off"); etc. So, in this example, from Jan 2 through Jan 4, there were 90 units sold, which means there were 10 units still left at the $10 cost point. Those were sold on the 5th, along with 20 units at the $10.50 cost point. (20 * $10.50 = $210, plus those remaining 10 units from the first batch ($100 total) = $310) Hope that makes sense. I've set up a test document here that should make it clearer: https://docs.google.com/spreadsheets/d/14Yi0_lykSZBt21vyWIGhM8bGrs7uGauCFrC9jJ2U5CM/edit?usp=sharing Any ideas would be much appreciated. AI: D3:Cumulative Units: =ARRAYFORMULA(SUMIF(ROW(B3:B5),"<="&ROW(B3:B5),B3:B5)) G3: Cumulative Quantity: =ARRAYFORMULA(SUMIF(ROW(F3:F14),"<="&ROW(F3:F14),F3:F14)) H3: Last part unit cost: =+FILTER(C$3:C$5,IF(G3<=D$3:D$5,C$3:C$5,)) And drag fill. I3: Previous batch remaining Qty: =IFERROR(IF(H3<>H2,INDEX(D$3:D$5,MATCH(H2,C$3:C$5,0))-G2,)) And drag fill. J3: Total unit cost: =ARRAYFORMULA((F3:F14-I3:I14)*H3:H14+IFERROR(I3:I14*H2:H13)) https://docs.google.com/spreadsheets/d/14Yi0_lykSZBt21vyWIGhM8bGrs7uGauCFrC9jJ2U5CM/edit?usp=sharing
H: is there a way to just view the playlist in youtube and not the videos? I am looking at something like https://www.youtube.com/watch?v=DUNAiYO_LPY&list=PLqRhPbyFDQWg68lxH9Wf3nf0bkwpe9YnU . I hate it when the videos start to run and consume bandwidth and only want to see the playlists. Is there a way to only see the playlists and not run the video and consume the bandwidth. I am on metered connection. AI: Visit a URL like this https://www.youtube.com/playlist?list=PLqRhPbyFDQWg68lxH9Wf3nf0bkwpe9YnU Using the https://www.youtube.com/playlist instead of https://www.youtube.com/watch will show you the playlist.
H: Is google case sensitive? I noticed that when I type "SoC" or "soc", the results are not the same. But I read on Quora that Google is case sensitive. I don't know what to think ? Notice : I'm in France Edit: sorry I wanted to write "But I read on Quora that Google is NOT case sensitive" AI: In short: No. It's not case-sensitive. First of all, when I searched soc or SoC the results were the same, in the first and second page. So it's weird that in your case they weren't. Maybe there's something specific that cause this. Here's an answer from a Google employee on Quora: I work on search at Google and I can confirm Seth's answer: Google search is not case sensitive, whether words are in quotes or not. To give a little background as to why, you can find good reasons based on both efficiency and user experience. Users tend to just type their searches in lower case and a search engine wouldn't want to hurt those searches or require users to think about what case to use. The cost of using case information during searches is also high compared to how much difference it would make in practice. This answer was up-voted by two other Google employees. Is there something that is case-sensitive? The things that are case-sensitive are special search operators such as OR, AND. If you search for dog or cat the results would be related to things between dogs and cats, such as comparisons and etc. If you search for dog OR cat the results would be about things related to dogs, aside to things related to cats. Like combining the results from searching dog and searching cat separately.
H: Is Google Account birth year shown? The page &Lt;https://aboutme.google.com/ &Gt;: (an example) When I click on the lock icon beside "Birthday", it's this: Yet when I click on the edit button, it shows: So is the account's birth year shown or hidden to the public? AI: Nobody can see your "About Me" page but you. You'd need to look at your public profile. If you go to https://profiles.google.com/me when you're logged in, it will redirect to your "public" Google profile (whether that's Google+ or not). Visit that same URL from an incognito browser tab and you'll see what other people can see.
H: Loop through all sheets, except for specific sheet names I found the following code and want to use it to loop through all the sheets expect a few (that I don't want it to go through). My question is how can I edit this code in such a way that It does not loop through to the sheets example "Setting" "Help" "FAQ" function myFunction() { var ss = SpreadsheetApp.getActive(); var allsheets = ss.getSheets(); for (var s in allsheets){ var sheet=allsheets[s] //your code here ... }//end of sheets loop. }// end of function... AI: If you are using for loop you could use continue to terminate the execution of the current iteration. A way to implement the above by using an if statement and || (logical OR) function myFunction() { var ss = SpreadsheetApp.getActive(); var allsheets = ss.getSheets(); for(var s in allsheets){ var sheet = allsheets[s]; // Stop iteration execution if the condition is meet. if( (sheet.getName() == "Setting") || (sheet.getName() == "Help") || (sheet.getName() == "FAQ") ) continue; //your code here } // end of loop } // end of function A more elegant way to do the same is: function myFunction() { var ss = SpreadsheetApp.getActive(); var allsheets = ss.getSheets(); // Array holding the names of the sheets to exclude from the execution var exclude = ["Setting","Help","FAQ"]; for(var s in allsheets){ var sheet = allsheets[s]; // Stop iteration execution if the condition is meet. if(exclude.indexOf(sheet.getName())==-1) continue; //your code here } // end of loop } // end of function
H: Google Sheets Filter Multi Column List With Another List Using A Function I have two lists (A and B). I want to filter list "A" (a multi column list) with values in list "B" to create a Final List, list "C". List "A" has multiple records for each student ID number. List "B" has a list of student ID numbers I want to include in list "C". I need all references to student ID Numbers in List "B" to appear in List "C" and I want all references to student ID numbers listed in list "A", but not in list "B" to be removed from List "C". List "A" Structure ID # First Last Class --- --- --- --- 123 Tim Jones Math 123 Tim Jones English 111 Amy Smith Science 111 Amy Smith GYM 222 Mike Young Math 222 Mike Young English List "B" Structure ID # --- 123 222 Desired List "C" Structure ID # First Last Class --- --- --- --- 123 Tim Jones Math 123 Tim Jones English 222 Mike Young Math 222 Mike Young English I'm working with this formula, but I'm not sure how to structure the the part after this, where Col1 = nor am I positive it will work. =query(importrange("1vutSseBMdVaivTbpX32rbXF4-7PNYImcAbsv6Q9Y-cE","data!A2:F"), " Select * where Col1 ='"&A2&"' ",1) I've also tried the below based on ttarchala answer, but it is only returning one row (ID#327288). =filter(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1vutSseBMdVaivTbpX32rbXF4-7PNYImcAbsv6Q9Y-cE", "data!A2:2"), match(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1vutSseBMdVaivTbpX32rbXF4-7PNYImcAbsv6Q9Y-cE", "data!A2:2"), IMPORTRANGE("https://docs.google.com/spreadsheets/d/1vutSseBMdVaivTbpX32rbXF4-7PNYImcAbsv6Q9Y-cE", "myStudents!A2:A"), 0)) Any help is greatly appreciated. Thank you! AI: Use a FILTER/MATCH combination. Example on your data below: =filter(C52:F57; match(C52:C57; I53:I54; 0))
H: How can I transfer ownership of a file in Google Drive that isn't part of Docs? I'm trying to find a way to transfer ownership of a file in Google Drive to another user. I can share a file with another user, but I can't find a way to transfer ownership of the file. There seem to be solutions out there for Google Docs, Sheets and Slides, but not for normal files like .mp4 or .mov. Ownership of the file matters for a few reasons, one of them being that the file is counted against the quota of the owner of the file. AI: There doesn't seem to be a way to do this, but I have found a workaround. Let's say A wants to transfer ownership of a file to B. A shares the file with B. B logs in, and makes a copy of the file by right-clicking on the file, and clicking "make a copy". A or B can now delete the original file. The new file can be renamed to be the same name as the original file. The new file also needs to be shared with A. Any links to the old file will not point to the new file, unfortunately.
H: Apply formulas to row when the new one is added I have a form that is submitted to the spreadsheet. In that spreadsheet I've added a second sheet Results where I want to organize processed view of results. But when the form is submitted, the new row is inserted into the Ответы на форму (1) sheet. The problem is that such rows are not handled on the Results sheet. So how can I handle form submits if I want processed rows to appear automatically? PS: Feel free to clone Results sheet for your experiments. You can edit the document except of 2 sheets (Ответы на форму (1) and Results). AI: Use arrayformula syntax for such operations. Simple copying from one sheet to another: =arrayformula(Source!C:C) Processing all E column (starting with 2nd row), marking + if the content of D1 is found: =arrayformula(if(isnumber(find(D1, E2:E)), "+", ""))
H: Google Sheets Array Generation Is it possible to generate an array of numbers between two provided numbers eg =sequence(1,10) results in {1,2,3,4,5,6,7,8,9,10} My end goals is to generate a list of days between two dates, but have tried to generalise the question. I thought about using =TREND, but I couldn't figure it out. AI: =arrayformula(row(1:10)) returns a list of numbers 1 through 10, as a column. Can be made a row with transpose. A dynamic version, where the upper bound is taken from cell C1: =arrayformula(row(indirect("1:" & C1)))
H: Color text for meetings in new Google Calendar Used to be that in the Month view of ("classic"?) Google Calendar an appointment's text would show up in (a shade of) the calendar's color. After the update to the new Google Calendar, from which you can't seem to switch back anymore, it looks like this: Is there anyway to get the 'old' behavior back with a setting or some such, to make the texts appear in gray and blue, respectively? Or am I doomed to user scripts? AI: There's no setting for that. It's possible that Google will add an option, since lots of people are complaining on the Google Calendar help forum, but I wouldn't hold your breath. There is a new browser extension to change the event title colors, though. Chrome installation Firefox installation Project home on Github Full disclosure: extension was written by me.
H: How can you prevent a single photo or video from being shared to shared library Google has shared libraries where it will automatically share all photos with someone: https://support.google.com/photos/answer/7378858 How can I stop a particular photo from being shared? AI: When you open the "Shared with name" part of the app, you're then in a folder where you can see everything that is shared with the person. Select the item you want to unshare, then hit the options button and you can remove it. It prompts you and says "items removed from shared library remain part of your own photos library" This is from the mobile app. I'm sure it's similar for the webapp.
H: How to change the language on Google Maps? My Chinese is still pretty poor, and my Korean is worse.  But Google Maps recently began showing me everything in Korean or Chinese.  Sometimes even a mixture of both. I can't find anything to change it.  My browser, if I don't catch it, switches me to maps.google.es, but that doesn’t make it Spanish. I can follow an itinerary with difficulty, but choosing the best one it offers is a major problem. How can I get it to do a language I am reasonably good at? (English or Spanish preferred.) AI: Simple! Steps Click on the Menu bar on Top Left. Click Language.  It's the second one after Print, with the 文A icon Set it to your liking. Enjoy! For example i just changed my language to Deutsch and now i see directions like this
H: Can GitHub Pages render asciidoc? GitHub repositories can render/preview asciidoc (.adoc) documents, apparently using asciidoctor. But I can't seem to make pages served by GitHub Pages (GitHub's Jekyll-based service that serves repository documents under github.io) render my asciidoc documents. Is it even possible? AI: Jekyll does support rendering AsciiDoc via a plugin, however this isn't part of the default GitHub Pages Jekyll setup. GitHub lets you configure Jekyll plugins by adding them to the _config.yml file. However jekyll-asciidoc isn't on the list of supported plugins at this time. You could try submitting a request to GitHub to add jekyll-asciidoc to the list of supported plugins, otherwise you'll have to run Jekyll yourself.
H: Script to call the sheets sharable link Is there a script for google sheets that calls the sharable link of that specific sheets? I'm using the Mailapp.sendEmail function to send emails to our manufacturer whenever there is a revision to a job, and I would like to assign the sheets sharable link to a variable so I can put it into the email I send to the manufacturer. I've looked it up but haven't found any similar questions. Thanks AI: var ss = SpreadsheetApp.getActiveSpreadsheet(); var url = ss.getUrl()); https://developers.google.com/apps-script/reference/spreadsheet/spreadsheet#getUrl()
H: In Google Calendar, is it possible to edit the title of an event without having to go to the event's page? Before the refresh, one could click on an event in the calendar view and it would show a popup where the event title was editable. In the redesign, the event popup does not allow the editing of the event's title any longer. The only way I've found to do it is by clicking on "edit event" on the popup, which brings me to the event's page. Is there a way to edit it on the calendar view? If not, is there a way to revert back to the old Google Calendar (my settings no longer show an option for that). AI: Unfortunately, Google is locked into this new calendar view. Some users can still revert to the classic view -- but only until Feb 28th -- while others lost that ability on Feb 5th. You can read more about it here: https://9to5google.com/2018/01/04/google-calendar-material-design-january/ In the new calendar view, there doesn't seem to be a way to rename an event without bringing up the edit screen. Right-clicking on an event only gives you the option to delete that event or change its background color.
H: How do I ensure everything on my Facebook timeline is hidden to strangers? When a stranger (i.e. person who is not my Facebook friend) opens my personal Facebook URL (i.e. https://www.facebook.com/myusername/), several posts on my timeline are displayed. How can I ensure that nothing is displayed on my timeline in this case? AI: You need to go to those posts and change their visibility level. They're probably marked "public", which shows a globe icon. You need to click that and change the visibility to "Friends only" or whatever else is appropriate.
H: spreadsheet conditional: if in top x then spreadsheet data: Total Average Highest Top Sales $23,550.00 $7,850.00 $8,100.00 not $42,700.00 $14,233.33 $14,400.00 not $30,500.00 $10,166.67 $10,300.00 not $37,840.00 $12,613.33 $12,940.00 #ERROR! (H8=H19) OR (H8=h17) $12,700.00 $4,233.33 $4,600.00 not $15,950.00 $5,316.67 $5,450.00 not $30,550.00 $10,183.33 $10,600.00 not top $14,233.33 second $12,613.33 For the "top" and "second" these are calculated with: =LARGE(UNIQUE(H1:H11),1) and =LARGE(UNIQUE(H1:H11),2) to get the largest and second largest values. The logic I want to implement is if the average is equal to or greater than the first or second "top values" (at the bottom of the spreadsheet) then print true/false or yes/no in the J column. Yes, you can also say: if the average for this row is greater than or equal to the second highest value then...but I prefer the first conditional. How is this expressed with if/then in google spreadsheets? I have: =if((H8=H19) OR (H8=h17), "top", "not") but that's not evaluating, it just gives an error. AI: =if(OR(H8>=H19, H8 >=h17), "top", "not") Syntax: OR(condition 1, Condition 2)
H: How to "fix" a range so that copy/paste doesn't increment it When filling this formula down a column: =if(OR(H5>=LARGE(UNIQUE(H1:H11),1), H5>=LARGE(UNIQUE(H1:H11),2)), "top", "") When I copy/paste it from row 5 to row 6 I get: =if(OR(H6>=LARGE(UNIQUE(H2:H12),1), H6>=LARGE(UNIQUE(H2:H12),2)), "top", "") H6 is correct, but, for range H2:H12 should stay as H1:H11. The copy/paste is anticipating and changing the formula. Normally that works fine. How can I alter the formula, or alter the copy/paste process, so that the comparison range is fixed? Or, perhaps, define the comparison range somehow? The caveat being that I don't want delve too deeply into formulas. Not so much for the KISS principle but in consideration of the learning curve. AI: Use $ sign to lock range. $H$1
H: How to left align dollar symbol but right align number? I selected format -> number -> more formats -> custom number format: $#,##0_);[Red]($#,##0) How can prepend spaces between the $ symbol and the digits? Pad with spaces. So that the dollar sign is always on the left and the numbers on the right with the cell filled. The distinction being that I want dollars and not British pounds, and only want to display whole numbers, not pennies. Can't get the sequence down of which to apply first as those options seem to wipe each other out. Update: by clicking Decrease Decimal Places I have the British Pound, but with no decimal places and the currency symbol left aligned. How do I change that to the dollar symbol? AI: It was a combination of, yes, selecting "accounting" as freginold says. I'd already done this. By also moving the decimal and, then, finally, changing the locale from UK to USA I was able to get dollar signs left aligned, amount right aligned, with no decimal places. Jeesh. I only hope that helps someone out there.
H: Unable to prevent Google group users to reply to all I'm on Google Apps and created a group just for beta users. I'd like to use this group email to email all the beta users (which are external to the organization). Now, if any of these beta users responds, I want the response to only be sent to me (the author). I thought I could accomplish this by selecting the option "To the author of the message only" under "Post Replied" under "Email Options". However, I've tried this and when a user responds the group email is still cc'd and everyone gets the email. What am I doing wrong? AI: According to Carlos - Google Advisor, the setting works when using the Google Groups web UI, not when using a email client. The solution is to set the permissions to post to the group only to you. Reference Post replies > [To the author of the message only] not working as advertised!
H: When enforcing 2 factor authentication, what happens to accounts who don't have 2FA enabled? I'm about to enforce 2 factor authentication for all g suite accounts - what happens if I enforce it and some users didn't enable it for their accounts yet? Will they be unable to log in or do they get a prompt on their next login to set up 2FA? AI: Yes, users won't be able to log in if they don't have 2FA enabled when you enforce it. This is covered at the top of the article for 2FA enforcement: Before enforcing 2-Step Verification, make sure all of your users and administrators are enrolled in 2-Step Verification. You can place users not yet enrolled in 2-Step Verification into exception groups so they will not be locked out of their Google accounts when you enable 2-Step Verification enforcement.
H: How to filter only emails without aliases I have been using Gmail for a while and created a bunch of aliases for different mailing lists and websites, with "name.firstname+website@gmail.com" I am currently switching to another email provider for my personal email and keeping Gmail for mailing lists. Since several of my contacts still have my Gmail address only and might still send me messages, I would like to transfer the emails sent to "name.firstname@gmail.com" (without the alias) to my new account. I created the following filter in Gmail: to:name.firstname@gmail.com forward it But this filter still takes into account the messages sent to name.firstname+website@gmail.com I also tried with "deliveredto", "hasnouserlabel" but no luck. Is it possible to create such a filter? AI: I couldn't figure out a single filter but you may just want to write out every alias? -to:(+bills OR +offers OR +deals)
H: Sum cell values incrementally and print value when reaching specific sum or more? Is there a way to run through a column of number values in google spreadsheets (like in a "while" loop), incrementally suming the values and when reaching specific value print it in the corresponding cell? Example: So here I sum up all the elements in A column, when reaching >=40 I print the value, refresh the counter, and continue this iteration, counting till the end of the column. So I get these portions of elements with approx. equals sum values. Thank you! AI: Looks like a job for a custom function. In cell B2, put =sumuntil(A2:A, 40) where the code of sumuntil, entered in Script Editor, is function sumuntil(arr, limit) { var out = []; var sum = 0; for (var i in arr) { sum = sum + arr[i][0]; if (sum >= limit) { out.push([sum]); sum = 0; } else { out.push([""]); } } return out; }
H: Covariance in Google Sheets Say that I have the following data set where f (x,y) is the probability density function with 2 random variables, X,Y. How would I get Google Sheets to calculate the covariance of X and Y with this function in mind? AI: Suppose the range shown on your sketch is A1:F6, so that X values are in row 1, Y values are in column A, the column sums of probabilities (marginals) are in row 6, and the row sums are in column F. It seems you calculated the row/column sums already, presumably with =sum(B2:E2) and such (note than your row sums are incorrect, they should be 0.3, 0.3, 0.25, 0.15). Then the following calculates the covariance of X and Y: =arrayformula(mmult(mmult( B1:E1 - sumproduct(B1:E1, B6:E6), B2:E5), A2:A5 - sumproduct(A2:A5, F2:F5) )) Explanation: sumproduct(B1:E1, B6:E6) is the expected value of X, which is subtracted from X values. sumproduct(B1:E1, B6:E6) is the expected value of Y, which is subtracted from Y values. mmult is matrix multiplication. It has to be used twice because we need (X-EX)*P*(Y-EY) where P is the square matrix of probabilities. mmult multiplies two matrices at a time. So, the first multiplication is (X-EX)*P and the second is by (Y-EY). Linebreaks are optional, for readability only. The result is 0.7275. One can avoid computing the row/sums in B6:E6 and F2:F5, and do everything in one formula. It's not very complicated: =arrayformula(mmult(mmult( B1:E1 - sumproduct(B1:E1, mmult(B1:E1^0, B2:E5)), B2:E5), A2:A5 - sumproduct(A2:A5, mmult(B2:E5, A2:A5^0)) )) The only difference is that the column sums, previously taken from B6:E6, are computed as mmult(B1:E1^0, B2:E5) - that is, multiplying the probability matrix P by a row of ones on the left. Similarly, mmult(B2:E5, A2:A5^0) multiplies P by a column of ones on the right, computing the row sums.
H: How can I turn 1,200,500 into 1.2M or 1200K in Google Spreadsheet? I have a Google Spreadsheet and I have a lot of numbers in it. Those numbers are very big ones like 2,000,000 or 15,000,000,000 I would like to make the them into k or m style, like 2m or 2000k or 15000m. And I'd like to ignore the smaller part of the numbers, for example, I need to turn 2,153,278 into 2.15m or 2153k. I checked the official topic Format numbers in a spreadsheet. I tried a lot of ways but I still don't get the rules. Is it even possible to do that? AI: , represents a thousand. Custom number formatting: 0,K Or 0,,\M Or 0.00,,\M
H: How to customize headers and footers in Google Sheets? I just has a header to my Google Sheets like this: How do I now change the size or color of these texts? Thanks for your help! AI: At this time the feature to customize headers and footers doesn't include a way to set a custom formatting (font, color, size, effects like bold, italics, etc.). One alternative is to use rows to hold the header / footer text and use the cell formatting or in cell text formatting to customize the "headers" and "footers" Related Q&A: Adding a header and footer to a Google Spreadsheet Related Help Article: Add headers, footers & page numbers
H: How to remove Google Drive "Quick access"? On the page https://drive.google.com/drive/my-drive, there's a "Quick Access" section, which takes up as annoying much as half the page. Is there a built-in functionality to remove it? AI: There is no Quick Access setting. Now you can turn on default My Drive view by switching setting in Google Drive, Settings > General > Start page, turn it to My Drive to open default list of Drive files when you open Drive:
H: How do I create a simple template that adds a category in a Mediawiki template? I am trying to create a template that adds the page to a category (in a second step also a short header text) but I fail succeeding. Right now I have the following: <noinclude>This is a template to mark articles that needs an update. All these articles are listed under {{:Category:Articles that needs update}}</noinclude> <includeonly>{{Category:Articles that needs update}}</includeonly> This does not tag the page with the wanted category and the category-page does not contain any link to the category in question. AI: Square brackets instead of braces. <noinclude>This is a template to mark articles that needs an update. All these articles are listed under [[:Category:Articles that needs update]]</noinclude> <includeonly>[[Category:Articles that needs update]]</includeonly>
H: How do I check my available storage in my Adobe cloud storage? I have an Adobe cloud storage account. How do I check my available storage in my Adobe cloud storage? AI: You may view your available storage in your Adobe cloud storage at this address: https://assets2.adobe.com/activity/settings:
H: Apply formatting to the WHOLE row/column if ANY of the cells fulfils condition Conditional formatting, even when applied to the whole row/column, treats each cell individually and applies formatting only to the cells that meet criteria. Example: An attempt to highlight whole row 7 if any of the cells is not blank: Result: As mentioned above, highlights only specific cells, not the whole row. If only there was a range-aware version of the isblank() function, that would operate on a range of cells instead of treating each cell individually. Like so: =not(isblank(row(A7:7))) - This works not as desired, i.e. it evaluates row(A7:7) as an integer literal 7, and, since 7 is not blank, the whole expression evaluates to TRUE, regardless of the contents of the cells. Is it possible to achieve this range-aware formatting on formula level, i.e. without a custom script? (Yeah, yeah, I'm aware that a custom script for that is not that time-consuming to write, but more people might be facing the same problem, so a more user-friendly solution is welcome.) Update 6/14/2018: Formatting in google sheets seems to be buggy and/or poor-documented. That might be the reason why @Ceu Melo's solution works for me even with numbers, despite @Rubén claiming otherwise: Bugginess demonstration: An attempt to highlight whole row if a condition holds true for a specific cell (B2) in that row: No better if B2 is changed to C2 in the condition: On a real-world document it looks equally terrible: Changing data format didn't seem to affect formatting behaviour at all. In the screenshots it's set to "Automatic". AI: Try the function COUNTA, it counts the number of cells in a range that are not empty, and indicate more than zero for conditional rule: Was this what you were looking for?
H: How to require a null value in Cognito Forms I have a form that has a few sections that are visible only when certain previous dropdown selections were made. As my form is now, someone could make a selection to make a section appear, fill out fields in the section, then go back and change the dropdown selection and the values stay in the fields that are now no longer visible. These values could mess with my automations downstream, so they need to be null if they are not visible. How can I ensure that fields retain a null value if they are not visible? AI: I'm a developer with Cognito Forms. In order to make sure that a field retains a null value even when changed from visible to not visible, what you can do is add an if/then statement to the default value of the field that you would like to clear the value from. In order to do this, you'll select the field that you want to clear the value from when hidden. In the 'Default Value' found in the field settings, you'll create an if/then statement that is referencing the choice field and the selection within the choice field that its appearance is dependent upon. For example: =if (ChoiceField="Choice") then null else null Now, when someone makes a selection other than "Choice" in ChoiceField, the conditional field will disappear, and the value will be cleared.
H: Find a text string from a long list of options and return a value depending on said option I have been trying several solutions suggested in diverse fora for a few hours but nothing seems to work (see here, for example). So this is my problem: I have a long column of text strings which contain some keywords and lots of rubbish. I would like to generate a new clean value in another column, depending on which one of the keywords were found in the first one. I have a little table with the keywords/strings to be found and the desired return values. I have tried nested IFs, but it becomes too complex and not flexible. I would prefer a function that relies on that table. AI: Keyword table: Z1:Z4 Text strings: A:A B1: =ARRAYFORMULA(REGEXEXTRACT(A:A,JOIN("|",Z1:Z4)))
H: Share Google Sheets Anonymously Is there a way to share Google Sheets(programmatically or otherwise) without revealing the Owner's name/Email address to the public/link receivers? AI: If you want to give the permission of viewer and editor to users for the shared spreadsheet, you are required to share the endpoint like https://docs.google.com/spreadsheets/d/### fileId ###/edit?usp=sharing. In this case, users can retrieve your information including name and email from file ID using GET https://www.googleapis.com/drive/v3/files/### fileId ###?key={YOUR_API_KEY} of Drive API. Namely, it means that the method using the file ID gives the owner information to others. So how about this workaround? When the spreadsheet is published to web, the URL is like https://docs.google.com/spreadsheets/d/e/### Not fileId ###/pubhtml. In this case, users cannot retrieve the file ID. So users cannot know the owner information. In this case, the shared URL is like https://docs.google.com/spreadsheets/d/e/### Not fileId ###/pubhtml. Display the spreadsheet using Web Apps. In this case, users cannot retrieve file ID, because the owner information cannot be retrieved from the Web Apps URL. In this case, In thiscase, the shared URL is like https://script.google.com/macros/s/### Not fileId ###/exec. Display the spreadsheet using Google Visualization API and API key. In this case, users cannot retrieve file ID, because the owner information of the API key cannot be retrieved. In this case, the shared URL is the URL of your own site. I also think that there are other methods other than that mentioned in my answer.
H: Script to Pull Data from Daily Data Sheets to One Summary Sheet Within the Same Workbook Here is a copy of the document I'm working on: https://docs.google.com/spreadsheets/d/1amIjjQsA8sNKf7mZvE1GjsF-377YOWxVIRk6HRgQjfA/edit?usp=sharing Every day we (my non-profit school) duplicate the template document into a new sheet with that day's date on it. Each day, 5 points of data need to be transferred from the daily sheet into the "progress notes" summary sheet (total score, notes, character dollars, time out of classroom and independence level). My goal is to create a script that will automatically push those 5 points of data from the daily sheet to the summary sheet OR pull the 5 points of data from the daily sheet to the summary sheet. The information should align between the two sheets by date. This is what I've gotten to so far: function onOpen() { var spreadsheet = SpreadsheetApp.getActive(); var menuItems = [ {name: 'Send Data to Progress Notes', functionName: 'onEdit'} ]; spreadsheet.addMenu('Progress Notes', menuItems);} function onEdit() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet = ss.getSheets()[0]; var range = sheet.getRange("A1:L39"); var cell = range.getActivecell(19, 12).getValues(); var target = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Progress Notes"); target.getRange("L19").setValue(cell.getValue()); } To be honest, I have very little idea what I'm doing and am just exploring (google!) with trial and error until I get something to work. I'm a special ed math teacher by trade, but have a vision for efficient data collection--so I'm giving it a shot! Thanks for any help you can offer! AI: function Dailypush() { var d = new Date(); //get Today's Date d = Utilities.formatDate(d,"GMT","MM/dd/YYYY"); //d = (d.getMonth()+1)+'/'+d.getDate()+'/'+d.getFullYear(); //Format it to mm/dd/yyyy var ss = SpreadsheetApp.getActive(); var ssh = ss.getSheetByName(d); //Get today's sheet (source sheet) var rng = ["M20","A31","M25","M11","M12"]; //5 Data points rng = rng.map(function gR(e) { return ssh.getRange(e).getValue();}); //Get Value of 5 data points var dsh = ss.getSheetByName('Progress Notes'); //Get destination sheet rng.unshift(d); //Add date to the 5 data points //Logger.log(rng); dsh.appendRow(rng); //Add the 6 data points to the last row } Add a TimeTrigger to add Data daily from source sheet to destination sheet
H: Join two cells data - COCATENATE not working properly I'm using the following formula to get the data of two cells: =CONCATENATE(C2,"Dia",E2) But it's not working properly. Take a look at the screenshots: It should be returning the Traffic + Date, but it's returning a value that I can't recognize. So far, without joining both cells data, this is what I've achieved and what I need to achieve: Also I'd like to know if there's a way to merge two cells of another spreadsheet using a formula like this: ='90diasnameone'!B16 + ='90diasnametwo'!C116 (I have no idea on how to do that, that's just an approach) I already know how to display data in the graphic, so basically I'm just asking how to join two cells data into one cell. Something like: Julia + Maria = Julia and Maria. EDIT: I managed to get the result of joining both data, but this is how it's appearing on the graphic: As you can see, the date is appearing below the graphic and the data inside the graphic is messed up. AI: Date is a number. It's the number of days from Jan 1899. It's just formatted to look like yyyy-mm-dd. To get displayed value instead of actual value, use TO_TEXT =CONCATENATE(C2,"Dia", TO_TEXT(E2)) Concatenate will work across different sheets.
H: Get row and column of MAX(range) I'm trying get the row and column numbers of a cell determined by =MAX(range). In the example above, =MAX(range) will return .02%. My first challenge is to get the row and column numbers of .02%. In this example it would be 4,7. Any ideas on how to do this would be great. Taking it a step further, what I eventually what to return is the value of the labels which are in A2:A8 & B2:H2: for that cell. In this examples case, I would get AQU and BKU. It can be two separate formulas, one return row label and the other column value. I've tried playing with INDEX and MATCH and managed to get the column header, but trying get both row and column labels are beyond me. Whether the final answer is a Sheets function, or a custom function in Google Apps Script doesn't matter much for my needs. AI: =ARRAYFORMULA(CONCATENATE(IF(MAX(B2:D5)=B2:D5,B1:D1,))) =ARRAYFORMULA(CONCATENATE(IF(MAX(B2:D5)=B2:D5,A2:A5,))) B2:D5: Table
H: VLOOKUP Google Sheets not finding entry from formula Here is a link to my sheet. I am trying to do some base 36 to binary encoding and VLOOKUP claims to not be able to find the values of column E even though they are clearly there. I've narrowed down the problem, if I put in a specific value (say '7') into VLOOKUP, it can find it just fine. It is when I ask it to find a value which itself is the result of some equation that VLOOKUP fails. I need to be able to change Encoded Value and get the apporpriate decimal number. Also, if I change the Encoded Value to, say, AAAA, then VLOOKUP does just fine and gives values of 10 for all of them. It seems to only be an issue when it is looking for numerics from Encoded Value. Thanks! AI: The problem is data type inconsistency: text vs numeric. Your formula =IF(LEN($A$2)>0, MID($A$2,LEN($A$2),1), 0) returns a string "7". Your lookup table has number 7. No match. A way to convert strings to numbers is to add 0: =IF(LEN($A$2)>0, 0 + MID($A$2,LEN($A$2),1), 0) However, I understand you are working with base-36 numbers, where digits can also be A, B, C, and so on. in that case, the above would not work for those digits. Instead, to have consistent data type you need to convert column E entries to text. The easiest way to put "7" in a spreadsheet cell is to precede it by a single apostrophe: enter '7. The apostrophe will not be a part of cell content, it only designates the type of cell content as a string. One can also perform conversion with =text(7, "0")
H: Expanding a column of integers into a column of ranges from 1 to each of the integers? Prompt Suppose we have a list of positive integers along column A: A --- 2 1 3 2 My goal is to generate a list of ranges from 1 to each of the integers in that column: A B --- --- 2 ──────────────┬─> 1 1 ───────────┐ └─> 2 3 ───────┐ └────> 1 2 ───┐ └──────┬─> 1 └──────┐ ├─> 2 | └─> 3 └───┬─> 1 └─> 2 Edit There are about 200-300 integers in column A and each of them could go up to 60. Attempt I am juggling between these functions with no success so far: Row - Using =ArrayFormula(row(indirect("A1:"&A1))), I can get each of the desired ranges individually. However, I couldn't seem to nest more array formulas in order to combine them into one column. Sum and Offset - The range corresponding to cell An+1 starts will start on row sum(A$n:An). Perhaps I can make use of this along with the offset and row function to calculate my "position" in the resulting column. But I also couldn't quite piece them together the way we need. Rept - Each integer in column A determines the number of times we "repeat" in the range corresponding to that integer. But this led me to a dead end where I couldn't change each individual items being repeated (so that it counts up the required number of times instead of just repeating one value the required number of times). AI: =ARRAYFORMULA(TRANSPOSE(SPLIT(CONCATENATE(IFERROR(IF((IF(row(A1:A50)=TRANSPOSE(ROW(A1:A50)),ROW(A1:A50),TRANSPOSE(ROW(A1:A50))))<=A1:A4,(IF(row(A1:A50)=TRANSPOSE(ROW(A1:A50)),ROW(A1:A50),TRANSPOSE(ROW(A1:A50))))& "",))),""))) Will work upto max(a:a)<=50 and count(a:a)<=50; Will work more than that with modifications below Change all A50 to A250,If max(A:A) or count(a:a)=250. How it works Creates a virtual 1,2,3... matrix with this formula:(Here,5 is the max(A:A)) ARRAYFORMULA(IF(row(A1:A5)=TRANSPOSE(ROW(A1:A5)),ROW(A1:A5),TRANSPOSE(ROW(A1:A5)))) If the matrix is lesser than given A1:A4 values, Take only those values with a lollipop. concatenate the whole matrix ,split the lollipop and transpose to give your array.
H: Can't email a link copied from Facebook When I paste a very long URL to a Facebook group, it is no longer displayed in full. For example, https://drive.google.com/drive/folders/abskal271_N782HsnaksLK (link is made up) becomes https://drive.google.com/.../abskal271_N782H... I can still use the link if I hit on it, but I can no longer copy and paste it in a browser or email. Is this a general problem and is there a workaround? AI: They shorten long URLs, you have nothing to do about that. To copy the link, just right click it and choose Copy link address - you can right click the textual link, or the preview.
H: How can I prevent the Microsoft Outlook web interface from automatically placing emails in the junk folder? I couldn't find any option when searching for "junk" in the Outlook settings: How can I prevent the Microsoft Outlook web interface from automatically placing emails in the junk folder? AI: You have to go to options > Mail > Accounts > Block or allow > Don't move email to my Junk Email folder: I don't know what this configuration page doesn't show up when searching for "junk" in the Outlook settings.
H: Trying to send an mp3 file with IFTTT to Telegram - Invalid Bots API response I'm trying to use IFTTT web hooks to send an mp3 file to Telegram, but keep getting this error on almost every link I try. This is the error in IFTTT's activity page: Telegram error: Invalid Bots API response Examples: A working link Not working link Any idea why it keeps failing? I'm trying for sometime now, but no progress. AI: Ok, found it after digging in Telegram's bots api - File size limit. There's a limit of 20 MB for files sent with an HTTP URL, and 50 MB if sent with multipart/form-data when uploaded from the browser. The file that was working was 12 MB, while the other was 54 MB Quoting: Sending files ... Provide Telegram with an HTTP URL for the file to be sent. Telegram will download and send the file. 5 MB max size for photos and 20 MB max for other types of content. Post the file using multipart/form-data in the usual way that files are uploaded via the browser. 10 MB max size for photos, 50 MB for other files.
H: How to stop Google's "Google prevented suspicious attempt..." I tried login in to my Gmail account from another city... A week has passed, and every time I do a Google search or use a Google product, I keep getting this message at the top: "Google prevented suspicious attempt..." I do NOT know what they want me to do. But I am seriously getting tired of dismissing it. I realize that I can turn off the alert all together... But is there a way I can just confirm that the activity was by me, and make it stop alerting me? Btw, I have already clicked the "review activity" button several times... Like I said I know how to turn this feature off altogether - that's not what I'm after... AI: It's because you might have some other security alerts into your account that you haven't reviewed yet. Here's a simple way to do that: Go to https://myaccount.google.com/security-checkup You will see this security checkup box: Click on the unresolved issues. Click on the 3 dots menu on top right of the specific issue and choose appropriate response. Do this for all of the unresolved issues and you shouldn't see alerts anymore. I hope it helps!
H: How to use bold and italics in pastebin? How to use bold and italics in pastebin? So far I'm just able to highlight complete lines in yellow. I have a pro account. I wouldn't mind using different colors with my pro account either. AI: You can't, paste bin is for plain text code, and it will highlight your code according to the chosen code syntax highlighting.
H: How to get close price for last date market was open? When using the GOOGLEFINANCE formula to get historical prices and performance for different periods, if the date used in the formula is one where the market was closed the formula returns #N/A. This occurs for every weekend as well as market holidays. For example =GOOGLEFINANCE("GOOG","Close","1/1/15") returns #N/A Since I'm looking at performance, the correct price for a stock on a date the market was closed is the close price of the last date the market was open prior to that date. I have seen workarounds using WORKDAY, but that would involve having a separate table with all the market holidays. This seems like a common enough problem for there to be an easier solution. Is there another way to obtain the price for the last open market date for any given date? AI: A workaround that solves the above is getting the Close price for the stock for a range of days before and after the date in question, and then querying the result for the most recent price on or before that date, like this: =QUERY(GOOGLEFINANCE("GOOG","Close",DATEVALUE("1/1/15")-5,6),"select Col2 where Col1 < date '2015-01-02' order by Col1 desc limit 1",False) To make this dynamic, you can reference the date to another cell (A1 in the example below) like this: =QUERY(GOOGLEFINANCE("GOOG","Close",A1-5,6),"select Col2 where Col1 < date '"&TEXT(A1+1, "YYYY-MM-DD")&"' order by Col1 desc limit 1",False) I came up with this answer after trying multiple options, taking a hint from this post that was trying to find accurate moving average for historical data.
H: Imporxml is not price the data getting syntax error importxml is working fine with manual insert but while updating with funtions getting syntax error. Kindly help me.. how to convert string to actual query. function Getdata() { var Technicals = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Techinical"); var queryString = Math.random(); var oilindicators='=IMPORTXML("http://www.investing.com/commodities/crude-oil-technical","//*[@id='last_last']")'; Technicals.getRange('a1').setValue(oilindicators); } AI: How about this modification? Modification points : Please escape single quotes in IMPORTXML(). When the formula is imported, please use setFormula(). From : var oilindicators='=IMPORTXML("http://www.investing.com/commodities/crude-oil-technical","//*[@id='last_last']")'; Technicals.getRange('a1').setValue(oilindicators); To : var oilindicators = '=IMPORTXML("http://www.investing.com/commodities/crude-oil-technical","//*[@id=\'last_last\']")'; // Modification Technicals.getRange('a1').setFormula(oilindicators); // Modification Reference : setFormula()
H: Formatting the results of =divide as a fraction without being simplified (google sheets) I'm dividing the value in one cell by a value in another cell. I want the final result to be in fraction form and not reduce to the smallest equivalent fraction. I've figured out how to get the result of the =divide to format in fraction form (# ???/???). However, I cannot find a way to keep Google Sheets from simplifying it. For example: =DIVIDE(O4,M10) in my sheet should show 20/80 - but it converts to 1/4.I want to see 20/80. The denominator will change, so I can't do this # ??/80. It also cannot be formatted as text, because this fraction needs to be used in future math operations. Tips? AI: Try this instead of DIVIDE, =QUERY(O4/M10,"select Col1 format Col1 '# ?/"&M10&"'") M10:Denominator O4:Numerator By dynamically formatting Denominator to always be M10 through QUERY,We preserve the underlying number as well as the format(as opposed to TEXT ,Where we cannot change the underlying real value.)
H: How to get Google Finance Intraday data into Google Spreadsheet? I want to import data from following link into Google Spreadsheet https://www.google.com/finance/getprices?q=BANKBARODA&x=NSE&i=900&p=1d&f=v&df=cpct&auto=1&ts=1266701290218 Which formula is appropriate to import? AI: =GOOGLEFINANCE() is appropriate. But you can also use IMPORTDATA()
H: Feedly not updating items in Craigslist RSS feed A few months ago, I set up a few Craigslist search feeds inside my Feedly. The feeds are frozen in time to that moment that I first set them up. No new results have ever come in through feedly.com. I am using the website. I dont have any apps on any platforms for Feedly. If I try to create a new feed in feedly.com for one of these old searches, it says that I already have that feed. If I remove the old feed an resubscribe, the feed still contains the old data. Countless webpages say that I should be able to use CL and Feedly together but that doesnt seem to be the case for me. Is this a problem with Feedly caching the content? How do I get Feedly to refresh the feed content? Current RSS feed for "gas grill" Most recent post: March 8 2018 Current screen in Feedly Most recent post: Oct 5 2017 AI: This is Petr from Feedly. This is, unfortunately, something we experience often with Craigslist. We are still in attempts to resolve this with Craigslist directly at the moment, unfortunately, they are a very difficult entity to communicate with. What happens is that we have to poll for new articles to their servers and since there are so many users of Feedly and so many requests for their servers, they blacklist us or limit the request we can ask per hour, day etc.
H: Google Sheets: REGEXEXTRACT Formula to remove characters not inside [brackets] but leave , commas? I'm trying to create a formula that uses either =REGEXEXTRACT or =REGEXREPLACE to remove all characters not inside [brackets] but leaving the ,,, commas where they are. For example... ➜ Text to Regex: Checkbox 1, Checkbox 2, Checkbox 3[checked], Checkbox 4[disabled] ✔ Expected Result: , , checked, disabled My broken formula so far is... =REGEXEXTRACT (J2, "\[([A-Za-z]+)\]") ✖ Current Result: checked Does anyone know the correct way to achieve this? UPDATE I created this Google Sheet to show the current work: https://docs.google.com/spreadsheets/d/1UEO22NB9O6hvbTQzIa2YlMys1GF7ZBpe8aVzmX7dOnk/edit#gid=0 AI: Try =REGEXREPLACE(A2,"\w+\s*\d*\[?(\b\S+\b)?\]?(,?)(\s*|$)","$1$2")
H: How to make a pastebin folder visible to the public? How to make a pastebin folder visible to the public? I have a pastebin pro account. AI: It's not possible. From pastebin faq: Who can see my folders? If a user creates a folder, and puts 'public' pastes in that folder, to others, those pastes will show up in the root folder of that Pastebin account. However, for the logged in user who created the folder, those pastes will show in the folder they were put in. Note: Folders are meant to organize your own private Pastebin better and are only visible to the logged in user who created them. The note is actually your answer, but its good to know the overall of what folders mean in pastebin.
H: Does the ArrayFormula formula work with Concatenate? I am trying to make an ArrayFormula that see if column D is empty or not If it is not empty it will then take a number and concatenate to generate an url to show an img from a URL. My current formula (that doesn't work) =ARRAYFORMULA(if(ISBLANK(D6:D12),"wosh",ARRAYFORMULA(IMAGE(CONCATENATE("http://website.com/SB_Draft_",D6:D12,".jpg"))))) If I change the D6:D12 into just D6 it shows the image, but it is the same image for all the array, otherwise it doesn't grabs the numbers from col D What am I doing wrong? AI: Let's drop the "image" part for the purpose of debugging, and look at text concatenation. The formula CONCATENATE("http://website.com/SB_Draft_", D6:D12, ".jpg") concatenates: http string, then everything in D6:D12, then "jpg". This is because it has internal logic for processing arrays: you can give in an array and it will concatenate all of it into one string. Which is useful, but not what you want here. Instead, use the binary concatenation operator &. For example, =ARRAYFORMULA("http://website.com/SB_Draft_" & D6:D12 & ".jpg") will return an array of URLs, one for each entry in D6:D12. The full formula would be =ARRAYFORMULA(if(ISBLANK(D6:D12),"wosh", IMAGE("http://website.com/SB_Draft_" & D6:D12 & ".jpg")))
H: Is it possible to choose video quality in TED online player? Is there a way to choose a high quality video to watch online on TED? I can't find such option, and the quality won't change if I'll let it buffer a bit. When I download the video, it's in better quality, and I can actually watch it. On the website it's pretty pixelated. AI: Most probably there's no way to do that. Here's what they say on their site: TED uses an HLS-based player (as opposed to Flash) that’s built in-house. The video player is designed to automatically adjust video quality based on your internet bandwidth. If you find that the video quality is poor or that the video pauses too often, try downloading the talk to watch offline.
H: Google Drive using wrong and weird icons for various file types I uploaded an .exe file (of a game) to my Google Drive, and noticed a strange icon used for it: What does this icon mean? Looks like email with play button... but can't see how it's related to .exe file or even the game itself in case Google somehow sniffed the contents of the file. I took a look in Google Drive icons and buttons but didn't see that icon in there. On a different Google account I have (used for work), there is a different icon for old .exe files: But when uploading the same .exe as above, I see the same icon. What's going on? How Google decide which icon to assign, and do they have any special meaning, e.g. permissions? I also uploaded .rdp (Remote Desktop connection file) and it's even worse, Google Drive thinks it's an audio file: Double clicking it makes it try to play as audio, which of course fails. I didn't find anywhere how .rdp can be audio file. AI: TL;DR: The icons represent the file type, recognized by its mime-type, extension, and encoding. Detailed explanation: The green envelope icon no longer occur (1), so about the others - lets go: What's going on? How Google decide which icon to assign, and do they have any special meaning, e.g. permissions? Google decides what the icon will be by its extension, encoding, and mime-type. Icons examples by mime-type (recognized by Google Drive [from the html source]): application/octet-stream . application/x-msdownload . application/x-dosexec . x-dosexec is a subtype of x-msdownload. The former is used specifically to .exe files, where the latter includes: exe, dll, com, bat, msi (source). The meaning is their recognized mime-type, nothing to do with permissions. I also uploaded .rdp (Remote Desktop connection file) and it's even worse, Google Drive thinks it's an audio file In that case, the encoding of the rdp file created by the Remote Desktop Connection utility is (according to notepad++) UCS-2 LE BOM. UCS-2 LE BOM explanation: UTF-16 extends UCS-2, in Little endian (=LE), and with BOM. It seems that there was a confusion by the browser or Google Drive in interpreting the encoding, which led Google Drive think it's an audio file. For example, here's the difference in hex between this encoding (left) to ANSI (right): (1) From previous tests, it seems that the green envelope icon was replaced by this icon: . The old answer is partial and doesn't really explains much. It's kept here is a comment (choose edit to watch).
H: Organizing Google sheets data range into single column Looking for a way to populate a single column with all information contained within a range of cells. Let's say I want to take all of the data (A1:F12 , Sheet1) highlighted in the example picture and put it into a single column in the Sheet2 tab — is this possible? AI: CONCATENATE everything with a chicken SPLIT the chicken and TRANSPOSE =ARRAYFORMULA(TRANSPOSE(SPLIT(CONCATENATE(A1:F12&""),"")))
H: Consecutive numbering skiping empty cells with ArrayFormula I am trying to auto-number only the existing names on a cell using an arrayformula: I have two cells one for the names and the other for consecutive numbers. Here I have an example of what I want to achieve: Link to My Google Sheets Document The current formula still counting the empty spaces, but it only should count the ones with content: =ARRAYFORMULA(if(ISBLANK(A2:A12),"",row(Z1:Z12))) Here is an ScreenShot: AI: Try =ARRAYFORMULA(IFERROR(MATCH(A2:A12&ROW(A2:A12),FILTER(A2:A12&ROW(A2:A12),A2:A12<>""),0)))
H: Adjusted script to look for column header name, not the numeric representative of the column From this discussion, I have a script that nicely updates a column's cell with the date another column's cell was changed. This works well because the TODAY() function always updates to today's actual date, which doesn't work for a "last updated" application. Script: function onEdit(e) { var sheet = e.source.getActiveSheet(); if (sheet.getName() == "Project Management") { var r = e.source.getActiveRange(); var ColumnToCheck = r.getColumn() == /* column I */ 9 if (r.getColumn() == /* column I */ 9 && r.getValue() == "Complete") { sheet.getRange(r.getRow(), r.getColumn() + 1).setValue(new Date()); } else if (r.getColumn() == /* column A */ 9 && r.getValue() != "Completed") { sheet.getRange(r.getRow(), r.getColumn() + 1).setValue(""); } } } I'm looking to edit this script to not just look at one specific column (in this script's example, column I, represented as column 9), but rather do this for every column with the header (in row 2) named "Status". So every time a cell in any column with the header of "Status" is changed, then change the adjoining column's "Date Completed" with the change date. See below for an example of how there's multiple columns with the same header, and the spreadsheet will continuously grow with additional columns for each customer. How can the script be edited to search by column header name (in row 2), and not by the equivalent column number (e.g. column 9)? I'd love to set this as a variable as well. So instead of r.getColumn() == /* column I */ 9 it'd be something like (can you tell I know SQL and need to brush up on my javascript?) r.getColumn() WHERE row2 == "Status" AI: If the pattern will always be the same (three columns for each customer), rather than searching for a column named status, your script could look to column C and every third column after it. C is column 3 F is column 6 I is column 9 For this you could use the remainder (%) operator. Something like this: (r.getColumn() % 3 === 0) The above will return true for columns C, F, I etc. and false for every other column. The alternative is to check that the cell on the second row has the Status value: (sheet.getRange(2,r.getColumn()).getValue() === 'Status')
H: Convert all links to images in a Google Document with actual images I've got a few Google Docs that contain some paragraphs of text and multiple Drive links in the following format: https://drive.google.com/open?id=XXXX How can I use a script to replace all the links in the Google Doc with the images that the links direct to? AI: Here is a script for this purpose. It uses findText method to locate the links. Once a link is found, the element containing it is inspected: its text content is matched again against the link format, this time using string match method of plain JavaScript. The reason is that findText does not offer an easy way to retrieve the content that was actually matched... Anyway, once the id is obtained from text.match, the image is acquired and appended to the element's parent. The logic is that the element we are looking at is probably Text, and Text cannot contain other elements. So the parent (probably Paragraph) is used instead. The appendInlineImage method appends it at the end of paragraph. There is also insertInlineImage which allows for finer positioning, but it operates in terms of element index, not text offset. To my inderstanding, to insert an image directly where its URL is found, one would have to replace the original Text element by two, putting an image in between two pieces. This seemed too complicated to me, so I left it at appendInlineImage. At the very end, all matching URLs are removed with replaceText method. function replaceLinksByImages() { var searchPattern = "https://drive.google.com/open\\?id=\\w+"; var body = DocumentApp.getActiveDocument().getBody(); var found = body.findText(searchPattern); while (found) { var elem = found.getElement(); var text = elem.getText(); var match = text.match(/https:\/\/drive.google.com\/open\?id=(\w+)/); if (match) { var id = match[1]; var image = DriveApp.getFileById(id).getBlob(); elem.getParent().appendInlineImage(image); } found = body.findText(searchPattern, found); } body.replaceText(searchPattern, ""); }
H: Mail Google sheet as excel attachment by Google Apps Script I have a Google Spreadsheet with some different sheets. I want to send my Google Spreadsheet as excel attachment to some specific addresses in everyday morning. How can I do this easily? I have heard that I can do it by GAS But I am very new in using Google Spreadsheet and Google Apps Script as well. AI: Hi you can try the following script function onOpen() { // Try New Google Sheets method try{ var ui = SpreadsheetApp.getUi(); ui.createMenu('SendMail') .addItem('Send Report', 'getGoogleSpreadsheetAsExcel') .addToUi(); } // Log the error catch (e){Logger.log(e)} } function getGoogleSpreadsheetAsExcel(){ try { var ss = SpreadsheetApp.getActive(); var url = "https://docs.google.com/feeds/download/spreadsheets/Export?key=" + ss.getId() + "&exportFormat=xlsx"; var params = { method : "get", headers : {"Authorization": "Bearer " + ScriptApp.getOAuthToken()}, muteHttpExceptions: true }; var blob = UrlFetchApp.fetch(url, params).getBlob(); blob.setName(ss.getName() + ".xlsx"); MailApp.sendEmail("rtr.shazzadkabir@gmail.com", "Stock report of today", "The XLSX file is attached", {attachments: [blob]}); } catch (f) { Logger.log(f.toString()); } }
H: How can I filter mails on Gmail by a specific 'via' tag? I want to filter my Gmail emails by a specific via tag. Let's say the tag is examplewebsite.edu.com and the email sender is someperson@example.com I want to filter every email, irrelevant of the sender, if there is a via exapmlewebsite.edu.com someperson@example.com via examplewebsite.edu.com. Note that I don't want to delete these emails, I want them to be labeled and get pushed into the according section of my Gmail account. AI: Edited the script provided by @serenesat's comment to instead of filtering and deleting all the messages, now attaches a label to them and puts them into that directory. function filterByVia() { var threads = GmailApp.getInboxThreads(0, 5); var label = GmailApp.getUserLabelByName("yourlabel"); for (var i = 0; i < threads.length; i++) { var messages=threads[i].getMessages(); for (var j = 0; j < messages.length; j++) { var message=messages[j]; var body=message.getRawContent(); if (body.indexOf("the domain after via") > -1) { label.addToThread(threads[i]); } Utilities.sleep(1000); } } }
H: Change direction of line start arrow (Draw.io) Is it possible to alter the direction of a line start arrow. Some diagrams would benefit from this for clarity. e.g. [a]>------>[b] rather than [a]<------>[b] AI: There isn't built in way to point both arrows in the same direction, nor is there a shape which does this in the draw.io gallery. Some possible work-arounds: Use the many-to symbol to give an effect similar to an arrow Create an image with the arrow and place it in the desired location.
H: How to fill out an Apps Script OAuth Client Verification form - Link to Privacy Policy In order to avoid a warning that your Apps Script code is "Unsafe" and not verified, you need to fill out an Apps Script OAuth Client Verification form. Link to Application Form: OAuth Developer Verification Form I filled out the form and submitted it, but my request was not approved because I need to link my Privacy Policy to the OAuth Consent screen in the Google Cloud Console. But I'm not sure where to find the place to enter the link to my privacy policy. AI: Access the Credentials section of the project at Google Cloud Console. https://console.developers.google.com/apis/credentials/consent?project=project-id-##### Click "OAuth consent screen". Input the link to "Privacy policy URL". Click "Save" button. The "Privacy policy URL" input field is outlined by a red line.
H: How to select multiple rows in Google Sheets and do a sort? I found that if I select 20 rows in Google Sheets, and try to sort it by right clicking the range, there is no "Sort" option. I have to select Cell A3 to AW22, which is a "range" or "region" and then right click, and sorting is possible. But selecting all these rows actually is the same as selecting all these cells, because these 20 rows contain nothing but these cells. Is there a way to select some rows and sort? AI: You can still sort from the menu: Data > Sort range ... The context menu offered on right-click contains some operations that users are likely to perform in the current context. When entire rows are selected, they are likely to do row operations like hiding/deleting/inserting, and those take the place of other operations like sort. This does not necessarily mean that those other things are no longer available; they just did not make the cut for inclusion in the current context menu.
H: How do I upload very large video files to Facebook? (more than 1GB) I want to upload a multi-GB video file to Facebook. In the midst of uploading a 2GB file to Facebook using the browser, my Internet connection went down. Fortunately, once my Internet connection came up again, the upload resumed. Unfortunately, at 80%, it now seems stuck. Are there any good methods for uploading huge files to Facebook? Having a way to resume interrupted downloads would be essential. Other websites often provide software that you can install on your desktop installation that lets you upload very large files well, with resume features. Other websites also let you access files you've already uploaded to Dropbox or Google Drive. AI: Steps Upload to Dropbox (or Google Drive, or OneDrive, or Box) using the desktop software. Add the video to your Vimeo account directly without re-uploading. Convert the Vimeo video to a native Facebook video without re-uploading. (This feature is only available to Vimeo Plus, Pro and Business customers, and is called publishing to social.) Explanation Dropbox provides a application for your desktop that uploads large files very well. Not only can it resume interrupted downloads, but it also knows how to avoid re-uploading parts of files that haven't changed, even if the rest of the file has changed. It is far superior to the upload system you find in browsers and on websites like Facebook. Google Drive also has a desktop application, and I assume OneDrive and Box do as well. Now that you've uploaded the file to the cloud, how do you get the video added on Facebook? Unfortunately, Facebook does not have a feature that lets you add videos directly from Dropbox. But Vimeo does. And Vimeo also lets you publish a video from Vimeo directly to Facebook. Not that the resulting Facebook video is a real native Facebook video, it is not a link to Vimeo. This publishing to social feature is only available to Vimeo Plus, Pro and Business users. So all you need to do is convert the video hosted on Dropbox to a video hosted on Vimeo, and then convert it to a video hosted on Facebook, all without re-uploading. Note that although you don't need to re-upload the video file, this process does take time, as Vimeo has to process the video before allowing you to publish it to social. Obviously, this whole process is a workaround the fact that Facebook doesn't provide good tools to publish large video files.
H: How to find last non-blank entry given a case-insensitive unique identifier? I have a google sheet that is autofilled from a google form. A person is allowed to do the questionnaire as often as they'd like, but I would like to not make them answer every question every time. Every time they fill out the questionnaire they must provide their identity. I've created an example of a similar sheet here. In this case I have 3 users apple, orange, and banana. Each has both a price and an amount. What I want to do is find each unique case insensitive name, and their most recent input in each column. How would I go about doing this? AI: Filter out empty rows,Sort in reverse and vlookup: E3: =ARRAYFORMULA(UNIQUE(PROPER(A3:A11))) F3: =ARRAYFORMULA(VLOOKUP(E3:E5,SORT(FILTER({A3:B11,ROW(A3:A11)},B3:B11<>""),3,0),2,0)) G3: =ARRAYFORMULA(VLOOKUP(E3:E5,SORT(FILTER({A3:C11,ROW(A3:A11)},C3:C11<>""),4,0),3,0))
H: Google Settings: Visible on your content & to people who interact with you Google Account &Lt;Gender, birthday, and more&Gt; settings says: Visible on your content & to people who interact with you (Cf 1; Cf 2.) What does it refer to for accounts without Google Plus? How's it possible that others can see the visible information? AI: From that same page: Changes you make here show up across Google services like Drive, Photos, Google+ & others. Your gender and/or birthday could be visible to anyone clicking on your "About" section from any of those services (if you've set them to Public). Blogger also sometimes has an About link for the blog's author.
H: Google Sheets setRowHeight() Permissions? I am trying to add a function in a Google Sheet. I am the sheet owner. I have made sure there are no sheet protections. The function runs for a second, then: /#ERROR! "You do not have permission to call setRowHeight() (Line20)"* I am a novice and know nothing about Signing or publishing or permissions. (I didn't think I needed to know in order to do a function like this one.) I've written other little scripts within Google Sheets that always ran without any special 'permissions' handling... for some reason this one is different. Anyone have any suggestions why? The function is as follows: /** * Modifies the Row Height of every Nth row, Starting at a given Row. * * @param {String} height - the new Row Height to set. * @param {String} every - the multiple of the row numbers to be modified. * @param {String} startingAt - the starting row number to start the multiples from. * @customfunction */ function setHeights(height,every,startingAt){ var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet = ss.getActiveSheet(); var range = sheet.getDataRange(); var numRows = range.getNumRows(); for(var i=1; i<=numRows; i++){ if ((i-startingAt)%every!=0){ continue; } else { sheet.setRowHeight(i, height);}; }; } A test Sheet with the function AI: Custom functions cannot setRowHeight (or for that matter, set anything). Run function directly in script editor instead.
H: Convert Cell From Text To Formula This request may look silly, but I've distilled a much larger task into a very simple example. I have cell A1 with _,=$D$12 and then another cell that references that with =SPLIT(A1,",") and it returns the result: | ColA | ColB | ------------------ | _ | =$D$12 | ------------------ How can I get ColB to "convert" into a formula instead of just text? I'd like to actually reference D12 with using built-in functions, not a script. UPDATE: Here's the full problem as suggested. I'm using the QUERY(IMPORTRANGE) functions and it returns a dynamic list. I want a 2nd QUERY(IMPORTRANGE) to happen the row after my last row from query 1 (trying to neatly show all results in a single tab). My issue is that I can't have anything in the cells below the first QUERY, otherwise I get the following error: Array result was not expanded because it would overwrite data in B21. So, I'm trying to populate the query in ColB and then in ColA I'd like to check if ISBLANK(B##) from ColA. See image for example: I'm trying to use the SPLIT function to populate the desired query string into the cell, but it reading it as text, not a formula. AI: A script might be a better way. As far as the formula goes, You can combine both arrays using {} =ARRAYFORMULA({QUERY();QUERY()}) Problem is that Columns in First query should be equal to Second query or vice versa. Another problem is time taken to import both ranges. If it differs significantly, arrayformula might fail. If the second QUERY is 13 columns, You might need to fill up the other columns with numbers or spaces. =QUERY(IMPORTRANGE(),"Select Col1,Col2,3,4,5,6,7,8,9,10,11,12,13 where Col1 = 'What' format 3 ';;;' ") The above formula creates original 2 columns and the rest of 11 columns are filled with corresponding numbers. You can use the format to hide them ( the above code hides number 3 column).
H: Calculate remaining duration based on percentage Ultimately, all I'm trying to do is calculate completed hours based on percentages from an original duration. I have the following in Google Sheets (manually entered for display): The only columns I would like to manually enter values in, is the "Course Hours" and "Complete %". The "Completed Hours" and "Remaining Hours" columns are then calculated based on those values. I couldn't find any built-in functions on Google Sheets to do this and nothing out there seems to address the simple duration - % = remaining time scenario, unfortunately. I've also used some custom functions passing in values from the columns, however the JavaScript ends up outputting values where the final duration values are off (the usual floating point calc issues with JavaScript). I'm sure there is a simple answer I'm overlooking here. AI: C2: =A2*B2 D2: =A2-C2 ..........
H: Sheets table from URL with pagination I have a question about importing .csv/.xml tables from url into Google spreadsheets. Maybe someone has any advice on how to import few csv tables from url that has pagination? I could do it manually but there is too many pages to add. I have started with something like this: =ARRAYFORMULA(importdata("https://example.com?page="&(1+...))) Though I'm not sure if my approach is right... Maybe someone has any advice? AI: If your formula is on row 1, you could use ROW() for page 1 importdata("https://example.com?page="&ROW()) For page 2, use the same formula on row 2, and so on. AFAIK import functions doesn't work with ARRAYFORMULA
H: Count the number of nonempty words and find how many are identical I'm working on a project that involves translating a few thousand different words from English to German. I've gotten back five different translations, but not all the translations are complete. I have a Google Sheet with English in column A and the different translations in B, C, D, E and F. Any given row will always have an English word in A, but some cells may be empty as the different translators didn't always recommend a word when they didn't know what to use (some of the terms are highly technical). I'd like to use a formula to tell me how many translations in each row are present (1, 2, 3, 4 or 5 out of 5). In the next column, I also want to use a formula to determine how many translations are perfectly identical (1, 2, 3, 4 or 5 out of 5). Can this be done? If the identical translations formula wouldn't work, can anyone think of a formula I can use to tell me the most popular of the translations? AI: G2: =5-COUNTBLANK(B2:F2) H2: =ARRAYFORMULA(SORTN(TRANSPOSE({B2:F2;COUNTIF(B2:F2,B2:F2)}),1,2,2,0)) COUNTIF to count number of occurrences of each distinct entity SORTN to get the most popular one in the descending order of counts.
H: How did facebook know this? So, two nights ago my wife is perusing the site of a business she is thinking of making a purchase from. She was using our home computer and she was not using facebook. Neither she nor I had ever looked at this site before. The next day I go to work. I am on my work computer. During my afternoon break time, I check facebook. The first thing that pops up is an ad from that same business. I have never seen an ad from that business before. This is too much of a coincidence. So, somehow, FB got wind of my wife looking up this site (again, without facebook), on our home computer, associated me at work with me at home, and then pushed an ad from that site. How did this happen? Is there any way that I can stop it? AI: Did you ever used Facebook on that browser? If this is the case then when you visited the website, Facebook was able with a tracing cookie to pickup your visit, store the data (timestamp, ip...) from the visit in his big database and use it to present relevant ads based on your tracking history. It happens with google and way more pervasive. Did you ever noticed that google ads are following you from site to site, device to device? And the best thing? When you (and me of course, we all in the end) created the account we agreed on this accepting the Terms and Conditions.
H: Inverse of Google Sheets GetSpreadsheetNameById This post Display sheet name in Google Spreadsheets shows how to get the name of a Google sheet, given its URL. I have the opposite problem. I know the Spreadsheet name, but I want the URL to use in an importrange() call. That is because I have a related group of Spreadsheets, one per week, and the week number is in the name of the Spreadsheet, so this week's Spreadsheet can work out the name of last week's Spreadsheet. I'm using importrange() to carry a value forward from last week's Spreadsheet into this week's Spreadsheet. But importrange() wants a URL. It has been suggested (duplicate proposal) that this will solve my problem: var ss = SpreadsheetApp.getActiveSpreadsheet(); var url = ss.getUrl()); It won't. That tells me the URL of the active Spreadsheet. But I don't want the URL of the active Spreadsheet, I want the URL of a different Spreadsheet that I know only the name of. AI: If you know the file name exactly, You can use DriveApp to search the file and getUrl() function getFile(name) { var files = DriveApp.getFilesByName(name); while (files.hasNext()) { var file = files.next(); Logger.log('Name:'+file.getName()+'\nUrl'+ file.getUrl()); return file.getUrl(); } } If you don't know the name exactly, You can use DriveApp.searchFiles() method.
H: How to know if Google Sheets IMPORTDATA, IMPORTFEED, IMPORTHTML or IMPORTXML functions are able to get data from a resource hosted on a website? Google Sheets has several import functions IMPORTDATA IMPORTFEED IMPORTHTML IMPORTXML Sometimes the above functions returns errors like #N/A Imported content is empty and would like to be sure that there isn't a problem with the resource content to be imported. How do I know if these functions are able to get the content that I looking to import? I know that there also exist IMPORTRANGE but that function only is able to import content from Google Sheets spreadsheets AI: Tl;Dr The importhtml(), importxml(), importdata() and importfeed() functions only work with public pages that do not require signing in or other forms of authentication. Further, if the content of a public page is created dynamically by using JavaScript, it cannot be accessed with those functions. The website's owner may also purposefully have prevented web scraping. Content added dynamically To check if the content is added dynamically, using Chrome, Open the URL of the source data. Press F12 to open Chrome Developer Tools Press Control+Shift+P to open the Command Menu. Start typing javascript, select Disable JavaScript, and then press Enter to run the command. JavaScript is now disabled. JavaScript will remain disabled in this tab so long as you have DevTools open. Reload the page to see if the content that you want to import is shown, if it's shown it could be imported by using Google Sheets built-in functions, otherwise it's not possible but might be possible by using other means for doing web scraping. According to Wikipedia, Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites. Use of robots.txt to block webcrawlers The webmasters could use robots.txt file to block access to website. In such case the result will be #N/A Could not fetch url. Use of User agent The webpage could be designed to return a special a custom message instead of the data. IMPORTDATA, IMPORTFEED, IMPORTHTML and IMPORTXML are able to get content from resources hosted on websites that are: Publicly available. This means that the resource doesn't require authorization / to be logged in into any service to access it. The content is "static". This mean that if you open the resource using the view source code option of modern web browsers it will be displayed as plain text. NOTE: The Chrome's Inspect tool shows the parsed DOM; in other works the actual structure/content of the web page which could be dynamically modified by JavaScript code or browser extensions/plugins. The content has the appropriated structure. IMPORTDATA works with structured content as csv or tsv doesn't matter of the file extension of the resource. IMPORTFEED works with marked up content as ATOM/RSS IMPORTHTML works with marked up content as HTML that includes properly markedup list or tables. IMPORTXML works with marked up content as XML or any of its variants like XHTML. The content doesn't exceeds the maximum size. Google haven't disclosed this limit but the below error will be shown when the content exceeds the maximum size: Resource at url contents exceeded maximum size. Google servers are not blocked by means of robots.txt or the user agent. On W3C Markup Validator there are several tools to checkout is the resources had been properly marked up. Regarding CSV check out Are there known services to validate CSV files It's worth to note that the spreadsheet should have enough room for the imported content; Google Sheets has a 10 million cell limit by spreadsheet, according to this post a columns limit of 18278, and a 50 thousand characters as cell content even as a value or formula. it doesn't handle well large in-cell content; the "limit" depends on the user screen size and resolution as now it's possible to zoom in/out. References https://developers.google.com/web/tools/chrome-devtools/javascript/disable https://en.wikipedia.org/wiki/Web_scraping Related Using Google Apps Script to scrape Dynamic Web Pages Scraping data from website using vba Web scraping tool/software availabe for free? Recommendations for web scraping tools that require minimal installation The following question is about a different result, #N/A Could not fetch url Inability to use `IMPORTHTML` in Google sheets
H: Refer to the cell directly to the left of the cell with the maximal value in a range I've got a spreadsheet with about 5,000 rows and roughly 50 columns. The columns are alternating between terms and numeric values associated with the terms (example: baseball / 1000 / football / 500 / soccer / 600 / hockey / 750 / track / 100). To the right of all of the columns, I'd like to add a summary column that selects the highest value and returns that value's associated term. I've used MAXA for finding the highest value (=maxa(A1:J1)) and I believe INDIRECT is a good way to return the word(s) in the cell directly to the left of the highest value cell (=indirect("r[0]c[-1]",false)). What I can't figure out is how to combine MAXA and INDIRECT or nest them so they'll work together. Any advice? AI: Using index and match is another way to work with arrays using relative-to-range references: =index(A1:J1, match(maxa(A1:J1), A1:J1, 0) - 1) Here, match finds the position of the maximum number in the range A1:J1. Subtracting 1 gives the index of the cell to the left of it. And then index returns the content of that cell. References: index, match, offset.
H: What is the link above the title of some YouTube videos? On the YouTube website, the video title is under the video player. Above the title, there is sometimes a link with some text. Example from this video (LAUREL): Clicking the link initiates an YouTube search for the text in the link. What is this link for and how to add one to a video? AI: It looks like the text labeling part of a Series Playlist or a video on Trending. They all have similar HTML: all are a yt-simple-endpoint contained within a super-title. Maybe this is a bug with the indended uses of super-titles. EDIT: This Reddit page helped me find this info EDIT 2: This is a geotag for Laurel, Maryland. Confirmed by the user who posted the video. Clicking on the Laurel tag brings up other videos with the same geotag.
H: Can't access Google Docs with different email? I have a google account. Someone sent a link to access a google doc to my email me@somedomain.com. I added me@somedomain.com as an alternate in my google account. It still does not allow me to access the google doc. It says my google email doesn't have permission. Isn't there a way to add a non google email to your google account and allow the non google email to access google docs? After all, the google doc was sent to me@somedomain.com and not the gmail email. AI: It is not about your account, account holder of the file who has sent you should provide the permission to other. And there are different types of permission in Google Doc. Public: anyone with the link will be able to view/edit the document People: submitted email holder can view/edit the document So, you should ask the sender to allow/provide the access to your email or make it public.
H: Create new Google docs table column without resizing current ones When I create a new (Google docs) table column, it resizes my current ones. How can that be stopped? AI: In your document menu go to Format > Table > Table properties. On the right - section "Dimensions" - uncheck the "Column width" checkbox. Try it out and have a nice day :)
H: How do I reset the keyboard hotkeys on YouTube videos? When I first load up a YouTube video's watch page, the page is in an initial state where I can use the following hotkeys: If I press the left (←) or right (→) arrow keys, the video skips back or forward 5 seconds If I press the up (↑) or down (↓) arrow keys, the volume is turned up or down This is great. This is the ideal state that I'd always like the browser to be in. However; once I interact with the video using the mouse, the browser state changes. For example, if I use the mouse and click anywhere at all on the scrubber, then we enter this new, secondary state: If I press the left (←) or right (→) arrow keys, the video skips back or forward 5 seconds If I press the up (↑) or down (↓) arrow keys, the video skips back or forward 5 seconds That's less than-great. Furthermore, if I use the mouse to adjust the volume, then the browser enters into a third unique state: If I press the left (←) or right (→) arrow keys, the volume is turned up or down If I press the up (↑) or down (↓) arrow keys, the volume is turned up or down So in both of these latter cases, by using the mouse the browser then starts conflating different hotkey presses rather than retaining their initial meanings. The trouble is that I like to use both the hotkeys and the mouse, but once I've used the mouse I can't seem to get the hotkeys back into their original state. Is there any way to do so? AI: You can fix this by clicking on the dark gradient below the scrubber. Or by pressing Tab to focus another element that isn't a slider.
H: Is there a way to open the LAST google Doc using GoogleScript? In my current GoogleScript, I've got a specific string of text/data copying to a UNIQUE word document (set by date & time of creation). Is there a way to open and view the last edited/created Google Doc using GoogleScript? Ideally, I'd have this sequence at the end of the rest of my GoogleScript to launch & view the newly created document for convenience. AI: Google Apps Script can't open files to be visualized on a web browser (client-side). It could open them only on the server-side.
H: Transpose Ranges repeated by row I would like to convert several range of columns into rows, and keeping the association to the original col/row source Sample source sheet --------------------------------------------------- | Data 1 | 1/1/2018 | 1/2/2018 | 1/3/2018 | etc...365 days | --------------------------------------------------- | name 1 | 25 | 30 | 5 | etc...| --------------------------------------------------- | name 2 | 2 | | 4 | etc...| --------------------------------------------------- | etc ... 100 rows Expected Results --------------------------------------------------- | Data 1 | Date | Value | --------------------------------------------------- | name 1 | 1/1/2018 | 25 | --------------------------------------------------- | name 1 | 1/2/2018 | 30 | --------------------------------------------------- | name 1 | 1/3/2018 | 5 | --------------------------------------------------- | name 1 | etc.. 365 days --------------------------------------------------- | name 2 | 1/1/2018 | 2 | --------------------------------------------------- | name 2 | 1/2/2018 | | --------------------------------------------------- | name 2 | 1/3/2018 | 4 | --------------------------------------------------- | name 2 | etc.. 365 days --------------------------------------------------- | etc ... for each change of name pull all the col dates/values Current results --------------------------------------------------- | Data 1 | Date | Value | --------------------------------------------------- | name 1 | 1/1/2018 | 25 | --------------------------------------------------- | | 1/2/2018 | 30 | --------------------------------------------------- | | 1/3/2018 | 5 | --------------------------------------------------- | | etc.. 365 days I have to copy down to bring in "name 1" for each date --------------------------------------------------- | name 2 | 1/1/2018 | 2 | now update the formula to bring in the second item for the sequence of dates --------------------------------------------------- | | 1/2/2018 | | --------------------------------------------------- | | 1/3/2018 | 4 | --------------------------------------------------- | | etc.. 365 days --------------------------------------------------- | etc ... =Sheet1!A:A I can bring in the name from the source list, but I have to copy it down for the number of dates. How can I have it match the number of dates? and be dynamic to update as dates/values are added Edit: trying to use split and rept to count the number of times to repeat, then transpose.. =transpose(rept(split(arrayformula(concatenate(Sheet1!A:A&"1")),"1",True, True),COUNTA(Sheet1!I1:ZZ1))) =TRANSPOSE(Sheet1!$C$1:$Z$1) I can use transpose to get the dates/values, but it's fixed range. How can I make it dynamic to import dates as they are added? AI: Nowadays there is a simpler way. =ARRAYFORMULA(SPLIT(FLATTEN(<row headers>&"|"&<column headers>&"|"&<values area>),"|")) For the OP case, 101 names , 365 days =ARRAYFORMULA(SPLIT(FLATTEN(Sheet1!A2:A101&"|"&Sheet1!A1:MA1"&"|"&Sheet1!B2:MA101),"|")) Just add the headers above the formula. Ref. answer to How do you create a “reverse pivot” in Google Sheets? =Sheet1!A:A I can bring in the name from the source list, but I have to copy it down for the number of dates. How can I have it match the number of dates? If you are looking for a formula-based solution the following formula will work for the first "name" row (for testing purposes, it only includes the first 31 days, but you could easily change AF by ZZ) =ArrayFormula(SPLIT(TRANSPOSE(Sheet1!B1:AF1)&"|"&TRANSPOSE(Sheet1!A2&"|"&Sheet1!B2:AF2),"|")) If you are able to work with large formulas you could create an array repeating the SPLIT function and its arguments, once by each "name" row, in the following way: =ArrayFormula({ SPLIT(TRANSPOSE(Sheet1!B1:AF1)&"|"&TRANSPOSE(Sheet1!A2&"|"&Sheet1!B2:AF2),"|"); SPLIT(TRANSPOSE(Sheet1!B1:AF1)&"|"&TRANSPOSE(Sheet1!A3&"|"&Sheet1!B3:AF3),"|") }) Another alternative is to add the formula every 366 rows. In order to avoid to have to edit the formula manually you could use INDIRECT, ROW and ROUNDDOWN =ArrayFormula(SPLIT(TRANSPOSE(Sheet1!$B$1:$AF$1)&"|"&TRANSPOSE(INDIRECT("Sheet1!$A"&ROUNDDOWN((ROW()-2)/31)+2,TRUE)&"|"&INDIRECT("Sheet1!$B"&ROUNDDOWN((ROW()-2)/31)+2&":AF"&ROUNDDOWN((ROW()-2)/31)+2,TRUE)),"|")) NOTE: Replace 31 by 365 =TRANSPOSE(Sheet1!$C$1:$Z$1) I can use transpose to get the dates/values, but it's fixed range. How can I make it dynamic to import dates as they are added? If the number of dates isn't fixed, the formula complexity increases. To help us, the following named ranges should be created on an auxiliary sheet Columns =COUNTIF(Sheet1!1:1,"<>") DateHeaders ="Sheet1!R1C2:R1C"&Columns The resulting formula is: =ArrayFormula(SPLIT(TRANSPOSE(INDIRECT(DateHeaders,FALSE))&"|"&TRANSPOSE(Sheet1!A2&"|"&INDIRECT("Sheet1!R2C2:R2C"&Columns,FALSE)),"|")) The above formula makes use of INDIRECT and R1C1 notation and it works only for the first "name" row. As was mentioned previously, one way is to make an array with SPLIT and its arguments for each row. =ArrayFormula({ SPLIT(TRANSPOSE(INDIRECT(DateHeaders,FALSE))&"|"&TRANSPOSE(Sheet1!A2&"|"&INDIRECT("Sheet1!R2C2:R2C"&Columns,FALSE)),"|"); SPLIT(TRANSPOSE(INDIRECT(DateHeaders,FALSE))&"|"&TRANSPOSE(Sheet1!A3&"|"&INDIRECT("Sheet1!R3C2:R3C"&Columns,FALSE)),"|") }) If we don't want to use an array, then we could repeat the following formula manually First we should add an additional named range DatesCount =Columns-1 =ArrayFormula(SPLIT(TRANSPOSE(INDIRECT(DateHeaders,FALSE))&"|"&TRANSPOSE(INDIRECT("Sheet1!$A"&ROUNDDOWN((ROW()-2)/DatesCount)+2,TRUE)&"|"&INDIRECT("Sheet1!R"&ROUNDDOWN((ROW()-2)/DatesCount)+2&"C2:R"&ROUNDDOWN((ROW()-2)/DatesCount)+2&"C"&Columns,FALSE)),"|")) But the above formula implies to move or delete and add again the above formula to do every time that a date is added which could be very tedious and prone to error so it's very likely that the best approach is to use an array. Another alternative is to use an script. Below are some links to Q&A about "unpivot data" How do you create a “reverse pivot” in Google Sheets? Formula to array all columns with first column NOTE: The built in QUERY function relies on Google QUERY Language which doesn't include an UNPIVOT function.
H: How to validate a date in Google Forms? Google Forms include the possibility to perform some sort of validation on user input for checkboxes and text; the functionality is available very easily both via the UI and the API. Unfortunately, it seems that there no support for any sort of validation on date input fields. The API does not include it, and I don't see any callback/trigger that I can use for this purpose. More specifically, my form contains a field in which the user is requested to input their birthdate, and the form can be submitted only if their age lies in a certain interval (otherwise an error message of some sort should be displayed, possibly directly below the input field like in the other existing validations). All this should go in a form created with the Google Form creation UI. Is there a way to do it? I don't mind if this is a client-only check, since this is not mission-critical and my users won't be experts actively trying to break it. And, of course, I don't mind writing Javascript / Google Apps script code for this purpose. (Incidentally, in the API documentation for a DateItem I don't even see a function to return the date that the user has chosen, which I would need to implement this.) Related: https://stackoverflow.com/questions/27626802/google-apps-script-validating-dates-in-form --- the answer is not particularly useful: it shows a simple validation function, but does not describe how to bind it to a google form, which is the nontrivial part. https://stackoverflow.com/questions/19231531/form-validation-before-submission Not a Google Form, but a Google Apps Script, which is something else entirely (and more difficult to modify at need). Validate age (>18) Google Forms? Not really date validation, just a workaround. https://stackoverflow.com/questions/15350114/form-validation-using-client-handler-why-does-input-sequence-order-change-the Again google forms "re-invented" as a Google app. It seems to me that on a Google Form created with the UI I don't have available the object ids that I need to do something similar. AI: In contrary to Short text, paragraph and checkbox questions, Google Forms doesn't have a way to validate input through date questions. Ref. Set rules for your form There is no way to add client-side code to the respondent view of Google Forms but you could create a web form that submit form data to the Google Form back-end. Some "early" approaches copy the source code of the respondent view, adapt it to add client-side features like input validation of change the form presentation. Example of this "early approach" How to style Google Forms. NOTE: This works with the "old" Google Forms. Another alternative is to create a totally independent web form. You could use the Google Apps Script HTML Service for this or other tools. NOTE: In a strict sense, Google Forms doesn't have an API contrary as occurs with Google Sheets .
H: Calculate only if cell contains a number I have a cells in one row with numbers which I need to subtract and sum like this: =(C2-B2)+(E2-D2)+(G2-F2)+(I2-H2) etc.. Always second cell minus previous in two-cell chunks. And in the end of this row I get result from 30+ calculations. For now it works without problem, but problem occurs when I introduce non-number data in one of two-cell chunk, which I don't want to be calculated. Example sheet: [ link ] AI: You could try to improve your formula by using built-in functions like IFERROR ISNUMBER together with IF
H: How to duplicate a Google Sheet template sheet dynamically, preserving the protected cells permissions I have two Google Sheet script functions that both work independently: 1) duplicates a template sheet, populating each duplicate sheet from a separate row of data in a source range; 2) makes a single duplicate of the template sheet and preserves its editing permissions - it's a protected sheet with unprotected ranges (using this answer). I am trying to combine the two so that each copy of the template using the source data has the same permissions as the template sheet. I cannot work out how to nest one function inside the other. The two script functions are: 1) function createTeamSheets() { var ss = SpreadsheetApp.getActiveSpreadsheet(); // Get the range of cells that store the data. var teamDataRange = ss.getRangeByName("SheetName"); var teamObjects = teamDataRange.getValues(); var template = ss.getSheetByName('TemplateTeamSheet'); for (var i=0; i < teamObjects.length; i++) { // Put the sheet you want to create in a variable var duplicate = ss.getSheetByName(teamObjects[i]); // Check if the sheet you want to create already exists. If so, // log this and loop back. If not, create the new sheet. if (duplicate) { Logger.log("Sheet " + teamObjects[i] + "already exists"); } else { if (teamObjects[i] == '') { break; } else { template.copyTo(ss).setName(teamObjects[i]); } } } return; } and 2) function duplicateProtectedSheet() { var ss = SpreadsheetApp.getActiveSpreadsheet(); template = ss.getSheetByName("TemplateTeamSheet"); duplicate = template.copyTo(ss).setName("My Copy"); var p = template.getProtections(SpreadsheetApp.ProtectionType.SHEET)[0]; var p2 = duplicate.protect(); p2.setDescription(p.getDescription()); p2.setWarningOnly(p.isWarningOnly()); if (!p.isWarningOnly()) { p2.removeEditors(p2.getEditors()); p2.addEditors(p.getEditors()); p2.setDomainEdit(p.canDomainEdit()); // only if using an Apps domain } var ranges = p.getUnprotectedRanges(); var newRanges = []; for (var i = 0; i < ranges.length; i++) { newRanges.push(duplicate.getRange(ranges[i].getA1Notation())); } p2.setUnprotectedRanges(newRanges); } How do I use variables p and p2 from the second function in the first function so that each instance of template.copyTo(ss).setName(teamObjects[i]) preserves the template sheet's permissions? AI: Figured it out function createTeamSheets() { var ss = SpreadsheetApp.getActiveSpreadsheet(); // Get the range of cells that store team data. var teamDataRange = ss.getRangeByName("SheetName"); var teamObjects = teamDataRange.getValues(); var template = ss.getSheetByName('TemplateTeamSheet'); for (var i=0; i < teamObjects.length; i++) { // Put the sheet you want to create in a variable var duplicate = ss.getSheetByName(teamObjects[i]); // Check if the sheet you want to create already exists. If so, // log this and loop back. If not, create the new sheet. if (duplicate) { Logger.log("Sheet " + teamObjects[i] + "already exists"); } else { if (teamObjects[i] == '') { break; } else { template.copyTo(ss).setName(teamObjects[i]).showSheet(); var duplicatesheet = ss.getSheetByName(teamObjects[i]); var p = template.getProtections(SpreadsheetApp.ProtectionType.SHEET)[0]; var p2 = duplicatesheet.protect(); p2.setDescription(p.getDescription()); p2.setWarningOnly(p.isWarningOnly()); if (!p.isWarningOnly()) { p2.removeEditors(p2.getEditors()); p2.addEditors(p.getEditors()); p2.setDomainEdit(p.canDomainEdit()); // only if using an Apps domain } var ranges = p.getUnprotectedRanges(); var newRanges = []; for (var i = 0; i < ranges.length; i++) { newRanges.push(duplicatesheet.getRange(ranges[i].getA1Notation())); } p2.setUnprotectedRanges(newRanges); } } } return; }
H: Move Google Sheet with a script to Excel I have a Google Sheet that I would like to access and modify also when I'm offline. The problem is that I have a script attached to it so I can't use the "make available offline" option; the script doesn't work then. So I've been thinking about converting my Google Sheet to an Excel sheet. There are plenty of tutorials on how to do this, but I couldn't find any involving scripts. Can anyone help? AI: Google Sheets use Google Apps Script while Excel use VBA. None of them have a built-in way to covert a script into a macro and vice versa. By the other hand both apps have some non-standard spreadsheet features and that could make very hard to create a tool that makes the conversion automatically as it could imply to rethink the spreadsheet design.
H: Disable Gmail's highlighting of the search query in the email's body Sometimes I search for an old email in Gmail for the purpose of taking a screenshot, but I would like to remove the yellow highlighting that is added to every match of the search query: Can I disable it and how? AI: The option to disable the highlighting ("Turn off highlighting") is located in the "More" menu (indicated with three vertical dots: "⋮") between the search box and the email title
H: Compare dates in query from IMPORTRANGE and cell for a few days I'm stuck at comparing two dates. In a big table with dates as columns and products as rows, we want to display the amount of sales per day per product. What the following query does: Import our sales via IMPORTRANGE query the specific sales for a given day and product ID return 0 if there is an error (e.g. not found) count the result This is a working query with the date 2018-03-26 hard coded: =COUNTA(IFERROR(query(IMPORTRANGE("1OHR0nr_w3oFNNxtMxRwv65xncCBRpK-vV3vvqmHGFPo"; "Sales March!A:K"); "select Col6 where Col6 = '"&$A95&"' and todate(Col11) = date '2018-03-26'"; 0))) It shows how many sales a specific product has on the specified date. Now I want the date from a cell in the sheet: =COUNTA(IFERROR(query(IMPORTRANGE("1OHR0nr_w3oFNNxtMxRwv65xncCBRpK-vV3vvqmHGFPo"; "Sales March!A:K"); "select Col6 where Col6 = '"&$A95&"' and todate(Col11) = date '"&$AR3&"'"; 0))) But this doesn't work. I tried A LOT of things for the past 3 days but I have no idea if I did that wrong (I'm a beginner) so I'm turning to you. What might be wrong with the date comparison in this section? "select Col6 where Col6 = '"&$A95&"' and todate(Col11) = date '"&$AR3&"'" You can see it here in Column AR Row 95 but I can't give edit rights. AI: The date provided to QUERY must be: a string of format yyyy-mm-dd Try changing from =date '"&$AR3&"'"; 0))) to =date '"&TEXT($AR3;"yyyy-mm-dd")&"'"; 0)))
H: Facebook: fake and real account deletion Can Facebook delete one's real account if it finds out they also have a fake one? For example, John Doe has two profiles: John Doe and Jane Smith. Facebook discovers Jane Smith is fake. Can account John Doe be deleted as a result? AI: As is typical with free services, any account can be deleted if Facebook decide they want to delete it. An explanation is found in Facebook Terms of Service, section 4: You will not provide any false personal information on Facebook, or create an account for anyone other than yourself without permission. You will not create more than one personal account. and section 14: If you violate the letter or spirit of this Statement, or otherwise create risk or possible legal exposure for us, we can stop providing all or part of Facebook to you. So, creating a fake account is a violation of Terms of Service, and a person violating the Terms of Service may be denied any access to Facebook. The part "or otherwise create risk for us" is a way of Facebook reserving the right to block access in other cases not covered by ToS.
H: Escaping automatic formula with initial + or = in Google Sheets In Google Sheets I want to write a text that starts with a plus sign, but it always interprets it as a formula, and the '+' disappears. I tried specifying 'plain text' format for the cell, but it does not have any effect. AI: Add a single quote before the plus sign like: ---------------- | '+ blablabla | ----------------
H: Format cells if Date within last 30 days? Currently hardcoding the date to apply conditional formatting. Is there a way to do this based on a variable range of the last 30 days? AI: From the first menu select 'Date is' and from the second select 'in the last month' However that will not highlight future dates and may not be what you want In that case replace '2018-02-27' with =now()-30
H: export kindle purchase history report? How do I get a report of Kindle purchases? The context is that I've "purchased" a number of free books from Amazon for an Amazon Kindle e-reader. Scrolling through most show zero dollar cost. I just want to see a spreadsheet to confirm nothing expensive was purchased accidentally. Optimally, a spreadsheet showing each and every purchase amount and date for Amazon. However, Kindle specific would be more than sufficient. Perhaps even export the data to google sheets.. AI: To get the report: https://www.amazon.com/gp/help/customer/display.html?nodeId=200131240 Direct to the report generating tool, enter dates, wait, download: https://www.amazon.com/gp/b2b/reports Getting the results into a google sheet: Go into google drive and hit new and select upload, when you open a csv in drive there is abutton to open it with google sheets that will convert it. This link has a explanation with some other tips. https://www.geek.com/apps/geek-101-how-to-open-a-csv-document-with-google-docs-1551489/
H: Search results for Kindle Unlimited? On my Kindle device I can filter search results to "Kindle Unlimited" only. I thought that I'd seen a similar option on the web interface through the Amazon website to search Kindle books, but see no such option. How can I filter or sort to see Kindle Unlimited books on a specific search as: Browse and search entire Kindle Unlimited catalog A much better option is to go directly to the entire list of Kindle Unlimited eligible books. AI: Change "All Departments" to "Kindle Store" and make your search. When the search results come up, in the left-side navbar check "Kindle Unlimited Eligible".