text
stringlengths 83
79.5k
|
---|
H: Batch creation of shortened URLs with Goo.gl
I would like to create 20-30 shortened URLs to Google Documents using Google own URL shortener Goo.gl. Does anybody know if this is possible or do I need to enter them one by one?
AI: my thoughts :
use the goo.gl url shortener API
write code to loop through all the links and shorten them.
get short links
want me to write the code? |
H: How do I know that others have read my email
How do I know that others have read my email, if I send an email to to folks via Gmail?
AI: Google has implemented receipts, but I think it works only on G Suite.
Follow these steps to enable receipts for Gmail.
If you are using Outlook you can request a response from the receiver.
Follow these steps for Outlook.
In case you are interested in a third party solution, there is MailTrack (a Chrome extension and ToutApp (Paid). |
H: Can you limit the average function in Google Spreadsheets?
I have a table with column A having a 0 or a 1, and column B having a value that I want to average. I know I can use averageif(A:A, "=1", B:B) to get the average of all of the values that have a 1 in column A, but I want something a bit more refined.
I want to be able to limit my average to the first ten 1's that show up in A.
Is this possible? I'd assume so, and that my problem is I just can't find the words to articulate what I need.
AI: In a google spreadsheet, something like this should work:
=average(array_constrain(filter(B:B, A:A=1),10,1))
or alternatively:
=average(query(A:B, "Select B where A =1 limit 10",0)) |
H: How to distinguish the two different kinds of football from Google results?
If I search soccer, it inevitably excludes most of the non-American sources of the sport because they call it football.
If I search football, resources for American football shows up in large quantities in my result.
My question is, what’s the best way to search for soccer (internationally known as football) resources on the Internet?
AI: Go to https://www.google.co.uk and search for football. I get results only about soccer and not american football. |
H: Why does my Mac Numbers file become a folder with multiple files when uploaded to Dropbox?
I just uploaded a Mac Numbers file to Dropbox by dragging and dropping from my Mac desktop to Dropbox.com in Chrome. The file become a folder with 7 files in it in Dropbox. Why did this happen?
AI: Because iWork "files" aren't actually files, they're packages. And a package in OS X is a folder with some special flag that lets OS X recognise it as a package. Other systems (e.g. DropBox) don't recognise this and just treat it as a folder. To see what's inside a package in OS X, right-click on the package in Finder and select "Show Package Contents". |
H: RegExp for data validation
I need a help for regexp writing to validate format:
any_positive_integer@any_text,any_positive_integer@any_text, .....
To be exact, "any_positive_integer@any_text" separated by commas and inside, number and text separated by "@".
Any idea and help for regexp doing it?
AI: The quick start tutorial at https://developers.google.com/apps-script/quickstart/macros shows how to write a JavaScript function in the App Script editor and call it from a Google spreadsheet.
In this case the function can use a regexp such as
/\d+@[^,]+(,\d+@[^,]+)*/
That means one or more digits followed by an @ and one or more non-comma characters, followed by zero or more repetitions of a comma and the same pattern.
That pattern will match anywhere in the given string. If you want to match against the entire input string, i.e. not allow other characters before or afterwards, then start the pattern with /^ and end it with $/ instead of plain / and /. If you then want to allow white space before or after the pattern, you can add \s+ right after the ^ and/or before the $.
You'll want to call a JavaScript regexp method like test() to test a string against the pattern. Example using a simpler pattern (just comma separated numbers):
function check(input) {
return /^\d+(,\d+)*$/.test(input);
}
There are web sites containing tools for interactive testing of regular expressions. That's a good way to go since these things can be tricky and hard to read. Build it up slowly and test it thoroughly. I didn't test the expressions above. You should test that they meet your needs.
Edit: Per https://support.google.com/docs/answer/3098292 you don't need to call JavaScript to use regular expressions in Google spreadsheets. Example formula:
=REGEXMATCH(A1, "^\d+$")
using a simpler pattern that matches a string of digits. |
H: Google reverse search phrase--where does it come from?
I am using Google Chrome, and I use the Google reverse search engine, by right-clicking on the image and choosing the "Search Google for this image".
For some images that you have used with this reverse image search feature,
there is a text phrase shows up in the text box next to the image like this (inside the red rectangle in the image).
I've checked the image's meta data, but there were no similarities, and I've also checked the images alt property in the html code, but there were no similarities either.
Where does this text come from?
AI: I expect that it comes from Google's algorithm. Their facial and other image recognition has become quite good. I'm sure that some images are so common that they've been able to build a database of images with short descriptions. Not strictly necessary, but useful for finding text that describes images.
For a definitive answer you'd probably need to get a Google engineer in here.
Here's a post from Search Engine Land describing the mechanics of Google's image search which says, in part:
...Google analyzes the image, creating a mathematical model based on shapes, lines, proportions, colors and other elements. It then matches the model against images already in Google’s index. Google then does page analysis to take a text-based guess at what the image is...
Google also says:
Search by Image returns the best results for images that have related content already on the web, so you're more likely to get relevant results for distinctive landmarks or paintings than you will for more unique photos like your toddler's latest finger painting. |
H: Gmail's filters for auto-labeling outgoing mail
I'm getting my mail in Gmail from base account and four additional accounts, fetched via POP3. For each account Gmail offered (when adding) auto-labelling mechanism, which I used. This seems to be working perfectly only for incoming mail and fails for outgoing mail.
In particular:
all e-mails received via base or any of these external accounts are correctly labeled,
mails sent via any of external e-mails are only labelled, when I reply to someone's mail,
if I start new message and send it, it is not labelled at all,
mail sent through base @gmail.com address is not labeled correctly in any circumstances.
Here is an example -- only replies are correctly labelled, initial e-mails are not:
To "fix" these problems, I have created several Gmail's filters. One even in two copies:
In brings no help.
Is this some kind of bug or by-design and results, that I'm getting are correct? Or am I missing something or doing something wrong? Even if auto-labelling mechanism is intend to work for incoming mail only, then why my filters does not work?
AI: Gmail filters only fire on incoming messages, so this would seem to be working as designed. |
H: Gmail signature formatting far from original source
I'd like to sign my e-mails with a complex signature, including company logo, links to Facebook and other socials and company's website address encoded as QR code, all based on tables.
I have designed my signature in both Word and as pure HTML code, and copied result (document or rendered HTML page's content) directly to Gmail rich signature's editor. I used copy-paste solution, because editor has limited formatting tools and offers no direct HTML code editing.
I spent over two hours on forcing Gmail to do this and failed, ending up with using screenshot of my signature as non-clickable image.
In most cases spaces between elements are incorrect, line heights are wrong (to big) etc. Plus: images are not copied from source and when I upload them, they appear in an enormous sizes, completely ignoring sizes and dimensions of underlying table skeleton.
Most important (and irritating in the same time) -- all these problems appears only in e-mail body, after Gmail has pasted my signature. Signatures pasted to signature editor are very good and matches source in nearly all details.
What am I missing? How signature can be pasted without any formatting problems to signature editor and appear completely distorted after Gmail adds it to actual e-mail? Is there any solution?
Note, that I'm talking about using Gmail and its signature editor only. I know, that I can handle my e-mail account with some external mail client like Thunderbird or Outlook Express and can attach pure HTML code as my perfectly rendered signature there. But, that's not a point in this case.
AI: If the signature includes complex formatting, the layout may break during the copy-paste. Since you already have the HTML code of the signature, go to ctrlq.org/html-mail, switch to the HTML mode, paste the HTML of the signature and send an email to yourself.
This uses the Gmail API to send the mail and thus the layout should be preserved. Once you have the email in Gmail, copy the signature block and paste it into your settings window. |
H: How do I Import a Range from one Google Spreadsheet into another?
I am getting the same error as described here except not for the same reason. I am using the new Google Sheets, so I am supposed to be able to paste the entire source URL into the sheet, like so:
=ImportRange("https://docs.google.com/spreadsheets/d/1zRHatplJ6AVUSWr1HXoycUrvtK05dw4-ZqeEYN1xJ4Y/edit?usp=sharing", "B:B")
However, that results in the error:
The requested spreadsheet key, sheet title, or cell range was not found.
I am the author of both sheets, so I see no reason for the error to occur. Also, since I'm trying to get the data from the second column of the first sheet in the source, I shouldn't need to include the sheet name. Nonetheless, I have tried it both with and without the sheet name, and got the same results.
Anyone have any idea what I'm doing wrong?
Edit: Here is the source sheet, and here is the destination sheet (in particular, the "Data" sheet).
AI: Only after having requested that the documents were to be shared with us, was I able to determine what's going on.
The response sheet is new Google Sheet proof:
The sheet, in which you want to pull the data in, doesn't have this mark.
You are trying to import the data via the complete URL (new Sheets style) from within an old Google Spreadsheet. This is where Google says: No Can Do !!
If you use the key instead, it works just fine:
=IMPORTRANGE("1zRHatplJ6AVUSWr1HXoycUrvtK05dw4-ZqeEYN1xJ4Y", "B:B")
See references for more information on this topic.
References
https://webapps.stackexchange.com/a/913/29140
https://webapps.stackexchange.com/a/74206/29140 |
H: Security Warning
The 'Security Warning' message is now appearing when the URL (link to the form) is emailed to a person. This did not happen over the last few weeks.
If click 'Yes', can only see title of form.
If click 'No', the whole form pops-up.
Is there a way to fix this or will this always now pop-up?
AI: Cognito Forms uses HTTPS for both public form links and administration. However, if you embed images in your form that reference non-secure (HTTP) urls, a security dialog will appear.
If this is the source of your problem, please mark this as the answer. Otherwise, please submit a bug report with Cognito Forms with more details about the form in question, or update your question here with a link to the form if you do not mind sharing it publically. |
H: How to put the edited date of a cell into another cell in Google Spreadsheets
In Google Spreadsheets, is there a simpler way to put the edited date of a cell into another cell?
I've set a data validation list:
ACTIVE
COMPLETED
ONHOLD
TESTING
BUGFIXING
to F column. If the value of F column is changed to ACTIVE, the value of corresponding G column cell should be that date.
AI: With the following little script you can do that.
Code
function onEdit(e) {
var r = e.range, c = r.getColumn(), v = e.value;
if(v == "ACTIVE" && c == 6) {
r.offset(0, 1).setValue(new Date);
}
}
Explained
The onEdit trigger is only fired if column F is selected (c == 6) and if the value of the list is (changed to) ACTIVE (v == "ACTIVE"). After that it will change the range one column length (r.offset(0, 1)) and add the date.
Example
I've created an example file for you: Add date to adjoining column
Add the script via Tools > Script editor, press the save button and you're on the go. |
H: Facebook (2015) - how can I hide my activity from ticker?
Is there any way to hide my activity - comments, posts and like - that I made in Facebook closed groups?
For example, if I join a Facebook group "Pets", I don't want my friends to see my activity in this group (I don't want to appear my comments, posts and likes in the ticker).
Is there any way to achieve that?
AI: When you are a member of a closed group, only the people inside that group will be able to see your comments, posts, and likes. If your friends are not members of that closed group, then your comments/posts/likes will not appear on your friends' news feeds (and neither will your joining of that group). But if you have any friends who have joined that group, then they will be able to see anything you do in the group.
Here is a Facebook article that describes the privacy of Facebook groups. It says the following about closed groups:
Who can see what members post in the group? Only current members
Who can see stories about the group on Facebook (like in News Feed and search)? Only current members |
H: How to stop Google from changing results according to the links you press
Basically the title. I'm talking about how Google results seem to change to stuff about your region, and on links that you click often, it seems to rise to the top. Is there a way to stop that?
I already have Google set to Google.com, not a regional version.
AI: Google customizes search results aggressively, and intentionally. It uses many parameters and sources to customize this, from complex, detailed analysis of your search and browsing history, to your location, social network activity, purchases, and even app and extension installation. Nobody knows the exact algorithms or the entire criteria.
Searching while incognito and logged out of Google, is one of the best ways to nullify some of those automatic search customizations, but unfortunately, Google always sees a location, and will always customize your results based on location. They see this as a core feature of Google search, not a bug, or even an option to be turned off. Even if you use a proxy or VPN, Google will customize based on the origin of the proxy or vpn, unless it knows your location through other settings.
For a bit more (albeit limited) information, see Google's support page on location. Notice there is no discussion of using no location.
Good luck. |
H: With Google Docs/ImportHTML(), how do I then modify the data?
I'm using ImportHTML() on a Google Sheet to import a large table from a website. It's great, and it's now all there, but now I want to hand-modify the data to my needs. Unfortunately, every time I try to make a change all the data goes away and I get a #REF error in the cell which contained the ImportHTML() equation.
So, I now have a document with a single ImportHTML() cell that magically displays all the data from the website. I want to have an array of cells containing fixed data fetched using ImportHTML(). How can I do this?
AI: The solution was to select all the cells (I can't find a Select All menu item, but on OS X Command-A worked), then choose Copy, then Paste special/Paste values only. Bingo: all the cells whose values depend on the ImportHTML() in A1 now have their values pasted. |
H: Apply complicated formula to whole column
I tried searching for this but to no avail - how can I copy a quite complicated formula through the whole column AND make it apply to rows which might be added to the bottom of the sheet?
The formula is this:
=CONCATENATE(A5,IF(ISERROR(FIND("?",A5,1)),CONCATENATE("?"),CONCATENATE("&")),"utm_campaign=",SUBSTITUTE(B5," ", "%20") ,"&utm_medium=",SUBSTITUTE(C5," ", "%20"),"&utm_source=",SUBSTITUTE(D5," ", "%20"),IF(E5<>"",CONCATENATE("&utm_content=",SUBSTITUTE(E5," ", "%20")),),IF(F5<>"",CONCATENATE("&utm_term=",SUBSTITUTE(F5," ", "%20")),))
Basically, what it does is it concatenates data from columns A, B, C, D, E, F with some Google "utm" tags and creates tagged destination link. Along the way it checks for various errors and replaces " " with "%20".
AI: I was able to reduce the formula and add ARRAYFORMULAE to make it work with ranges.
Formula
=ARRAYFORMULA(
IF(ISBLANK(A:A),
"",
SUBSTITUTE(
ARRAYFORMULA(
A:A &
IF(ISERROR(FIND("?", A:A, 1)), "?", "&") &
"utm_campaign=" &
B:B &
"&utm_medium=" &
C:C &
"&utm_source=" &
D:D &
IF(E:E<>"","&utm_content=","") &
E:E &
IF(F:F<>"","&utm_term=","") &
F:F
)
, " ", "%20"
)
)
)
copy / paste
=ARRAYFORMULA(IF(ISBLANK(A:A), "", SUBSTITUTE(ARRAYFORMULA(A:A & IF(ISERROR(FIND("?", A:A, 1)), "?", "&") & "utm_campaign=" & B:B & "&utm_medium=" & C:C & "&utm_source=" & D:D & IF(E:E<>"","&utm_content=","") & E:E & IF(F:F<>"","&utm_term=","") & F:F), " ", "%20")))
Explained
It is not possible to use CONCATENATE formulae in combination with ARRAYFORMULAE. Therefore we need to go about this differently, by using an AMPERSAND to join different strings together. If the concatenated string is prepared and the ranges are chosen, then substitute all empty spaces with %20. This, together with an IF statement to check column A for presence, is all wrapped inside yet another ARRAYFORMULA.
Screenshot
Example
I've created an example file for you: Apply complicated formula to whole column |
H: How to get historical currency data in Google spreadsheets?
I use this formula to get the currency:
=GoogleFinance("CURRENCY:EURUSD", "price", DATE(2006,10,2))
But when I enter a date before 2006-10-2 I get an error.
Is there any way to get older data when it comes to currencies?
AI: I thought that there might be a cap on historical data, based on some variant of ten years, e.g. rolling quarterly, since your last available date was 1 October 2006.
I checked for myself, for the same forex pair mentioned, Euro to $US. Using this formula in Google Spreadsheet, I had no problem retrieving pre-2006 data (50 historical data points for Euro to $US, in chronological order:
=GoogleFinance("CURRENCY:EURUSD";"all";"1/23/2005";"50") |
H: Google Drive files not showing in Gmail search results
Since today, I don't know why because I didn't change anything, if I search for something in Gmail I only get emails as the search results, my Google Drive files are not showing in the search results, any idea why?
AI: It is a Labs feature:
I don't know why it was turned off... |
H: Import old email from Opera to Gmail
Does anyone know how can I move all the email I have in Opera 12 to a Gmail account linked to Google Apps?
AI: You can learn how to import email to Gmail here. Unfortunately, it appears that you can't import email from Opera. |
H: Get language breakdown of all GitHub repositories by user
Is there a way to get the total language breakdown of all of a user's (specifically my) repositories in the same way as GitHub provides language breakdowns by repository? Or do I need to make one myself?
AI: There is no way directly on Github, and there are not many services out there for this sort of thing. There is a site called coderstats.net that may give you close to what you are looking for, though it is slightly different.
You can checkout my profile for an example. |
H: How can I mirror my Facebook page to my Instagram?
Can anyone tell me how to link my Facebook page (not my profile) to my Instagram account?
I want photos I post on my FB page to mirror to my IG account.
All the instructions I can find online seem to go the other direction... that is, they all seem to be for having your IG posts show up on your FB page.
AI: It doesn't appear that it will be easy to do so. Apparently the Instagram API doesn't allow for posting photos to your Instagram stream. (This explains why the IFTTT Instagram channel has only Triggers and no Actions.)
It's trivially easy to do in the other direction, though. |
H: Google Sheets rounds numbers where not wanted
This:
3.1415926535
produces:
3.141592654
How can I have it output the whole number as is?
I was using this with TO_TEXT(), getting the same result, but I guess the problem lies prior to that. The default setting seems to be to round numbers to the number of decimals in 3.141592654 (9).
I will stress that I cannot use TEXT() to format numbers explicitly, because the source data (coming in from 3rd party) appears over many lines (10000+) and I just need to reference the exact input values as is.
The "right way" to do this would be to set PLAIN TEXT format on the cell. However with existing value like 3.1415926535, that would end up with loss of data because the output will be 3.141592654. This is not acceptable for 10000+ rows.
AI: The solution is quite simple. Press this button to increase the number of decimals:
Now it will show the correct amount of decimals:
Please be aware that this works only up to 15 digits. Beyond that, Google Spreadsheets will ignore the rest. |
H: How do I escape Google functional characters?
How do you search searches that include Google functional characters, like
-
*
"
on Google?
For example, how would one search for "Hello World" with the quotes included into the search?
AI: The general answer from Google is that you can't get Google to recognize symbols as literals in a search. There are a few special things symbols are used for (e.g. - to negate a word) and other than that they're ignored. It's unfortunate, but that's what seems to be for most search engines. SymbolHound is a search engine designed to fix this problem, but it seems to have an extremely limited search set.
It seems that searching using symbols is a problem that is largely not dealt with, which is unfortunate for those of us who need to include symbols in our search queries on a regular basis.
Editor note:
There are comments in the SymbolHound post on Stack Apps reporting that it has been down since April 2022. No reply from the developer. Ref. SymbolHound: Search Stack Overflow for special characters |
H: Prevent YouTube autoplay
I use Chrome. After I watch any video at YouTube it connects to another one without even asking. How can I delete that, so that one video finishes, that's all?
AI: YouTube started an autoplay experiment last year.
Here's YouTube's guide on how to turn off autoplay.
You can turn off autoplay in your browser so that it is disabled for all videos, as long as they are not in a playlist. Here’s how to turn
off autoplay:
Click the gear icon in the corner of the video player
Select OFF next to the Autoplay option
Alternatively, you can use the toggle above
the Up Next section on the video page to turn off autoplay.
Note that autoplay will remain turned off until you turn it back on
again. |
H: Websites are not opening for sometime
I have some problem with my browsers Chrome and Firefox. Sometimes my websites hosted on godaddy do not open, but after 10 or 15 minutes the sites will open again. This issue is with my sites only. I even deleted the cache but still the issue is not resolved. What could be the reason for this ?
AI: Try monitoring your website with a downtime monitoring software to know when it goes down. Pingdom.com is a popular option (cheaper alternatives exist).
Technically, if you host a website that is heavier for the hosting space you bought, you website will go down from time to time (since it is on shared resources and when other website on same space uses more processing, yours goes down) |
H: How to see objects from photos in Google Maps?
For example, I am looking at some place in Christchurch, New Zeland,
Below I found some photo gallery. I found some modern multilevel building and the bridge. Unfortunetely if I double click on image and go to associated location, I see only village huts around.
Proof:
Location: https://goo.gl/maps/V3Fd0
UPDATE
Examples of "incorrect" views:
AI: Photos in Google Maps are not always tagged with the exact location. I can't even double-click the photo to get to a location.
When you search for "Worcester Boulevard Bridge, Christchurch" you come to a street and if you follow it to the water you come to this location: https://goo.gl/maps/BCt9X
This is the location of the photo (although the building is under repair and changed significantly). In the upper left you can even choose "Street View - Dec 2007" and you see the building like it was in the photo. |
H: All-day-event notification: how to get notified during event, on the same day?
On the Google Calendar page I can access via a web browser, I can click on:
Settings cogwheel | Calendars | to the right of any calendar entry click Edit notifications.
The help icon next to All-day event notifications: says:
Event notifications tell you about an all-day event at a specified
time some number of days before it begins. For example, if you’d like
to be alerted about an all-day event at 9 am the day before it occurs,
you’d set a notification.
However, IMHO there are several use cases where one would need to be notified during the same day about an all-day event. The classical scenario is birthdays. I don't want to know about them the day before, but during the same day, perhaps in the morning around 8:30, or perhaps in the afternoon after work hours around 7:00 PM, these are the times when I would like the notification to be sent out for such all-day events, not the day before.
Is there a way to configure such behavior in Google calendar, and if not then why is it missing / why is it not possible to program such behavior into Google calendar?
AI: OK, perhaps the help message had some issues, but now I see that when I go to a specific calendar's Settings | Edit notifications tab I have the opportunity to set the following under "All-day event notifications:" which would pertain to the selected calendar whose settings I would be configuring:
Notification method: pop-up, e-mail, or SMS
specify 0 days before event to have the event reminder on the very same day
specify the time (e.g. 6:30) you want to be notified about the event
You can even set more than one notification of the same type for either all-day events or regular events, and can set as many plans to receive notifications as you want. |
H: Does Google Calendar send SMS notifications for free?
I am somewhat new to Google Calendar. What strikes me is that apparently it can send SMS notifications to mobile phones around the world free of charge (or, at least, I don't see any warning text telling me about charges).
This seems strange to me, especially since many network operators around the world still charge quite a lot for SMS services, and in this manner people could very well use Google calendar to send themselves SMS without paying for them. Then again, with all those internet messageing services available nowadays, who would care to use SMS.
AI: https://support.google.com/calendar/answer/45351?hl=en
Google Calendar is a free product and Google doesn't charge you to receive notifications. Please keep in mind that your mobile service provider's standard rate for receiving text messages may apply. If you have any questions about the rate, please contact your service provider for more information. |
H: Link to "Plans and pricing" page at GitHub
How can I click-out my way to "Plans and pricing" page? Is there any link leading to this page on my repo's page or anywhere else? I can't see it in standard GitHub footer.
Each time I need to open this page (I can' remember URL) I have to use Google, because I can't find link to it on any GitHub page. Isn't that a little bit strange? Am I blind?
AI: If you are not logged in (or you open github.com in a private tab), you'll see a line saying:
"Upgraded plans starts at $x/mo."
This will take you to https://github.com/plans which eventually becomes the one you are looking for. |
H: What does the eye symbol mean in this gmail email title?
I can't tell what this eye symbol is supposed to mean. There's no obvious rhyme or reason. As you may be able to tell, I receive some emails via ifttt, but the majority of them do not have this eye symbol.
AI: It's probably a Google Chrome Extension that you're using called Ugly Mail. [Read more about it here] |
H: Update formula ranges when adding new rows to a spreadsheet
I have a Google Spreadsheets in which I keep a list of expenses. I add a new expense by inserting a new row above the last expense. On the first row of the spreadsheet, I keep a sum of all expenses: =SUM(D4:D101).
However, when I add a new row, the function range shifts down by one row to =SUM(D5:D102), i.e. it is still covering the previous range of expenses, but I would like it to include the most recent one on line 4 as well: =SUM(D4:D102).
As I add new rows quite often, I would like the spreadsheet to do this automatically.
Do you know how to achieve this?
AI: agtover's comment to the question works fine: Extend the function range to D3 (where the 'Amount' headline is), and then whenever a new row is added, only the end of the function range is updated. |
H: How can I make a file available for download via Google Drive to people via a simple link?
I'm trying to share a file for download via Google Drive. It appears that Drive is detecting the filetype (it is a zipped archive) and making it quite difficult to do so.
I have uploaded the file and my sharing options are set like so:
When I access the link via my account it shows up like so. Note that I have a download icon that I can use to download it:
And yet when I access the link via incognito mode it shows up like so. Note the lack of a download icon:
I've tried rewriting the URL as recommended by some websites but just get a permission issue:
This makes me think I'm doing it wrong. Where is the ability to set this file as download-able? It seems like the height of insanity to have removed this ability simply because they have 'detected' the filetype of this site. But then Google have done crazier and more backwards things in the name of usability I suppose (good old Gmail being unable to download filetypes it doesn't recognise comes to mind).
AI: Have you tried setting up a file for download with a different file extension, something innocuous like .txt? Google may be trying to prevent people from hosting viruses/malware by disallowing anonymous downloads of .zip, .exe, etc. files. |
H: Google Spreadsheet Query for unique and "most recent"
Given a Google spreadsheet like this:
I would like to create a query that shows only the most recent row for each unique name, so the results would look like this:
What would that query look like?
AI: Maybe give this a try:
=ArrayFormula(sort(vlookup(query({row(A:A),sort(A:C)},"select max(Col1) where Col4 <> '' group by Col4 label max(Col1)''",0),{row(A:A),sort(A:C)},{2,3,4},0),1,0))
Explanation
{row(A:A),sort(A:C)}
will create a new (virtual array), consisting of 4 columns: 1 column with the row numbers + 3 columns of the original table (but sorted, so that the 'latest' dates will be at the bottom of the table)
query({row(A:A),sort(A:C)},"select max(Col1) where Col4 <> '' group by Col4 label max(Col1)''",0)
The query selects the max row number (col1) (per name (group by Col4)).
these row numbers (returned by the query) are 'looked' up in the same 'virtual' array (see above) and on match, columns 2, 3 and 4 are returned. |
H: Leave the new Google Drive
Each time I log in to Google Drive, it loads the new Google Drive. I switch to the old version, and then the next time it loads the new Google Drive again.
Is the anyway to leave the new Google Drive for good without it getting back all the time?
AI: Even if there is - you should assume that sooner or later the "new" Google Drive will just be "the" Google Drive, and the old one will no longer be available. Choosing not to upgrade (ie to stay with the old version) is not really an option when using on-line services instead of applications that you install. |
H: How to be removed from googleplusdirectory.net listing?
I found my personal info at this url http://googleplusdirectory.net.
I tried to send an email to info@googleplusdirectory.net ,as it is suggested by their contact link, but this is not a valid address.
Did anyone ever find a way to prevent this site from crawling personal information from google plus account?
AI: There's not much you can do if it simply scraped the publicly available information from Google+.
All you can really do is hope the owners of that site (which is not a Google site) are honest and remove your information and change your G+ profile so less information is shared with the world to prevent this sort of thing in the future.
One outside chance might be to get Google's lawyers to go after the site. I don't know what standing they'd have to do that, though, or if they'd even bother with something that small. |
H: Google Sheets: average cells in Row 4 up to last filled cell in Row 2
Is it possible to write a Formula in Google Sheets which calculates the average of the cells in Row 4 but only up to the last filled cell in Row 2?
AI: Try:
=AVERAGE(FILTER(4:4, LEN(2:2)))
and see if that works for you.
Explanation
FILTER(4:4, LEN(2:2))
This part filters row 4 so that it has the same amount of cells as the non-blank cells in row2. Whether a cell (in row 2) is blank or not is checked with the len function, that will return 0 (no LENGTH) for empty cells.
AVERAGE(FILTER(4:4, LEN(2:2)))
The above function is wrapped in an average-function... |
H: Return transposed list of all strings in a row in Google Sheets
In my Google Sheet, the range B2:2 contains mostly empty cells, but some cells contain strings. I would like to print these strings into a transposed list beginning at A12. This list should exclude all empty cells and should print (in consecutive cells) all the strings in B2:2.
So far, I've tried =ArrayFormula(INDEX($B$2:$E$2, 0, SMALL(IF(NOT(ISEMPTY($B$2:$E$2)), COLUMN($B$2:$E$2)), ROW(1:1)) as various websites and Stack Exchange answers have suggested, and =ArrayFormula(INDEX($B$2:$E$2, 0, SMALL(IF($B$2:$E$2<>"", COLUMN($B$2:$E$2)), ROW(1:1)). However, these formulas have only simply transposed the entire range beginning at A12 when the B2 is filled. When B2 is not filled, no values appear.
How should I proceed?
AI: If I understood correctly, a combination of filter (which filters out the empty cells, keeping only the non-blank cells) and transpose, should work:
=transpose(filter(B2:2, len(B2:2))) |
H: Are uploads to Cognito Forms secure or protected?
Are (or, how are) files uploaded to Cognito Forms protected?
I have found information regarding the form entries being protected but nothing that explicitly stated that the uploads are.
AI: EDIT: Cognito Forms now supports full encryption of all entry data and uploaded files at rest. Furthermore, you can mark sensitive fields as protected to ensure they are not inadvertently transmitted insecurely, such as through email notifications or insecure redirects/webhooks.
Learn more about Cognito Forms security at: http://help.cognitoforms.com/data-security
Sounds like you have already read this question and answer on the topic:
What measures does Cognito Forms take to ensure Privacy/ Security Level for Completed Forms/ User Data?
All files are store in Microsoft Azure datacenters, carefully segmented by organization to keep files safe. All web traffic to/from Cognito Forms is encrypted to ensure the safety of data in transit. Currently, we do not encrypt these files in Azure, but they do require an authenticated user from the organization in order to access them.
We plan to support full encryption of uploaded files as an option for forms later this year, which will additionally prevent files from being transmitted via email or otherwise sent through unencrypted channels. |
H: Google Docs - Default layout when I create a new document
I use Google Drive for work and work only.
I have a very particular protocol for pages I print. This is along the lines of:
Change the document to Verdana font face.
Put placeholder text on the first line
Center placeholder and change font size to 18pt
Put placeholder text on line 3
Insert a tab before the text above
Change all font other than the 18pt title to 12pt
Insert a footer
Set the font to 12pt Verdana
Align the footer body right
Populate line 1 of the footer with static text ('Work of {NAME}, {Division}')
Populate line 2 of the footer with today's date.
Populate line 3 with 'Page {PAGE_NUMBER} of {PAGE_TOTAL}' where the number and total characters are variable, offered by Google Docs for document footers.
I've read about Google scripts. How do I make it so that when I create a new document, the above layout is implemented?
AI: For new documents you can use ready-made templates.
Google Docs has a template system for new documents.
You can submit your own template and use it every time you want to create a document. Your own templates are here (and are public).
You can create a bookmark to your "Preview template"-link so it's easy to reach. You only need to click Use this template-button to create that document. If you have multiple templates you can use the link above to get to all your templates quickly. |
H: Google Spreadsheet: Count column if criteria is met in the respective column and another column
Is there a way to COUNT the cells in column A if the cell in column A equals "X" and the adjacent cell in column B equals "January"?
AI: In case you want to count the occurrences of 'X' (text) with 'January' in adjacent cell, try:
=countif(filter(A:A, B:B="January"), "X")
In case 'X' is actually a numeric value, and you want to sum all those numbers who have 'January' in the adjacent cell, try:
=sumif(B:B, "January", A:A) |
H: How to tell if YouTube is rendered in HTML5 or not?
I read in the Inquirer and elsewhere that YouTube uses HTML5 by default in some players, including beta Firefox. What does that mean? What is the case with Firefox 36?
How can one tell when HTML5 is used (no matter the browser)?
AI: Right-click the video when it is playing or not and the context menu that pops up will tell you if you are using Adobe Flash Player or the YouTube HTML5 Video Player.
This is the right-click menu for the two cases:
In Firefox 36:
Google Chrome 41.0:
You can find out if you are using YouTube HTML5 Video Player as the default player for playing YouTube videos by opening a new web browser tab and visiting the YouTube HTML5 Video Player webpage from the new browser tab.
YouTube HTML5 Video Player is the default player for playing YouTube videos on most popular Web browsers such as Chrome, Safari 8, IE 11 and in some beta versions of Firefox, but not in Firefox 36, 37, 38 or Firefox 39. Starting with Firefox 40, the YouTube HTML5 Video Player is the default video player for playing YouTube videos. The gist of this YouTube Developers and Engineers Blog article is that the YouTube HTML5 Video Player is now the better YouTube video player and the precursor of even better things to come. |
H: Google (Drive) Photos - remove non-auto awesome
So Google Drive is telling me I'm almost out of space for photos. I only use that storage so it can auto-awesome things.
Is there a way to remove all photos not used for auto-awesome, to free up space? Or grab all auto-awesome and download/move them to somewhere else and then clear out everything?
Or maybe I am misunderstanding auto-awesome, are those not single files that have been created and therefore can't be separated? When I search for only auto-awesome, it seems each search result is an entire day of pictures even if they weren't all used to make the auto-awesome.
There was a question about deleting auto-awesome, but it hasn't been answered and is the opposite of what I'm trying to do.
The KB article on auto-awesome doesn't say much about how to locate the specific file or file types.
AI: If you just want them for Auto Awesome, maybe you don't need to upload them in full resolution. (Since the resolution of most Auto Awesomes is downgraded at creation anyways). Then the photos won't count towards your Google Drive Space at all (free storage).
So go to Google+ settings, and pick the option to upload photos in "standard" size (rather than full size). This way the uploaded photos will be scaled down so that their bigger dimension has 2048 pixels, but they will be stored for free. You won't even need to delete them anymore.
From Storage limit KB:
Items that count toward your storage limit
Gmail: All the messages and
attachments in your mail, including those in your Spam and Trash
folders.
Drive: Files you’ve stored in Drive, like PDFs, images, and
videos. Anything you’ve made with Google Docs, Sheets, and Slides
won’t count toward your storage limit.
Google+ Photos: Only photos
over 2048x2048 pixels and videos longer than 15 minutes count toward
your storage limit.
As I mentioned, some auto-awesome effects will not even be impacted by this reduction of resolution. For instance, the output of Motion auto-awesome (which animates consecutive shots) is always a low-resolution image, even if the original images are uploaded in full resolution.
For others, like Effects auto-awesome (which puts a frame around the image and adds an effect automatically), the difference will be that the final image will also be 2048x2048, because it is made from a 2048x2048 image. A full-resolution uploaded image would result in a higher-resolution output. |
H: How to make my Facebook profile picture private for non-friends?
I've set my profile picture only available for Friends.
However it's still visible for the public.
Non-authenticated users can see the profile thumbnail and authenticated (non-friends) can still click and see the full picture.
I've already activated option 'Limit Past Posts' in Privacy, but it didn't solve the problem.
AI: You can't!
Facebook won't allow you to hide your profile picture and cover photo (these will be always public, no matter what are you settings). The workaround is to simply change/blur the profile picture, create a fake profile (which isn't allowed) or deactivating your account for some period of time.
On Facebook Help Centre we can read:
Anyone can see your public information, which includes your name, profile picture, cover photo, gender, username, user ID (account number), and networks (learn why).
What information is public?
Information you share that is always public: Some of the information you give us when you fill out your profile is public, such as your age range, language and country. We also use a part of your profile, called your Public Profile, to help connect you with friends and family. Your Public Profile includes your name, gender, username and user ID (account number), profile picture, cover photo and networks. This info is also public. Some of the ways this helps us connect you are:
Your name, profile picture and cover photo help people recognize you
Gender helps us describe you (ex: "Add her as a friend")
Listing your networks (ex: school, workplace) allows others to find you more easily
Username and user ID (ex: your account number) are in the URL of your profile
Age range helps provide you with age-appropriate content
Language and country help us provide appropriate content and experiences
See:
What is public information?
How do I control who can see what's on my profile and Timeline?
(news) Facebook Removing Option To Be Unsearchable By Name, Highlighting Lack Of Universal Privacy Controls |
H: How to prefill date field in Cognito Forms when embedding
I am trying to prefill a date field for an embedded Cognito form.
Below is shown the JavaScript code which I'm using in order to preload a form for the Controls Textbox, MultiLine Textbox, Radio Buttons, Date Field and Drop Downs. But the Date of Birth, which is a Date Field, does not populate with the prefill data.
Cognito.load("forms", { id: "1" , entry: {
"FormId": getParameterByName("encid"),
"Name": getParameterByName("name"),
"Address": getParameterByName("addr"),
"Date of Birth": getParameterByName("dateofbirth"),
"Sex": getParameterByName("sex"),
"Form Number": getParameterByName("formnumber"),
} });
What is the syntax/format for prefilling dates in Cognito Forms?
AI: Great question!
Dates are tricky things on the web due to a lack of an official standard for formatting. However, Cognito Forms uses the defacto standard, ISO 8601, as the format for dates in the JSON format. So in your example, the date would need to be something like "1962-03-29" in order to be processed. Also, when prefilling, the value can be a real JavaScript date, which is not supported in JSON, but is supported by prefill because it accepts a real JavaScript object.
However, this is likely not the cause of your issue. In order to ensure form field names are unique and well-formed in the JSON and code, the field label is used to create a field name that is used when writing calculations, converting to JSON, exporting to Excel, etc. So the name of your field in the JSON likely should be DateOfBirth instead of "Date of Birth".
In order to see the full structure of the form you are trying to prefill, we recommend using RequestBin to see what your form entries look like as JSON. Click on Create a RequestBin, copy the url, select Post JSON data to a website? under Submission Settings, paste the RequestBin url and save your form. Then fill out your form just like your end users would and refresh the RequestBin page to see the JSON. |
H: How to change or hide my name on Twitter?
Does anybody know how to change or hide my name on Twitter?
I found some tutorials on the internet, but they seem to be outdated.
I have gone through the all the settings, but I do not see any option.
AI: Assuming you mean your display name:
Log in
Click your picture in the upper right and choose "View Profile"
On the right side of your profile, click "Edit Profile"
Under your profile picture, you'll be able to edit your display name, description, location, website, and theme color
Click "Save changes"
If you want to change your @username:
Log in
Click your picture in the upper right and choose "Settings"
Change your username
Click "Save Changes" |
H: Internal Google Apps emails being marked as spam
Today a bunch of users have complained about internal emails ending up in their spam boxes in Gmail. Especially when they send it to the email group.
How do I fix this?
AI: Make sure you have configured your SPF records properly.
To create an SPF record for a domain:
Log in to the administrative console for your domain.
Locate the page from which you can update the DNS records. You may need to enable advanced settings.
Create a TXT record containing this text: v=spf1 include:_spf.google.com ~all.
Publishing an SPF record that uses -all instead of ~all may result in delivery problems. See Google IP address ranges for details
about the addresses for the Google Apps mail servers.
To authorize an additional mail server, add the server's IP address
before just before the ~all argument using the format ip4:address or
ip6:address. (See Sender Policy Framework for more details on the SPF
format.)
If your registrar also requires a host setting (such as @), see the TXT records for specific domain providers list for precise
instructions.
Save your changes. Keep in mind that changes to DNS records may take up to 48 hours to propagate throughout the Internet.
Also, you can adjust your Spam filter settings by following Google's tutorial here. |
H: How to search for website contains some keywords in its main domain?
I remember a website whose URL contains a specific word ("Hamilton", in my case) but I don't remember exactly the URL. I have tried google it with the keyword's syntax "Hamilton" feature of page but don't success.
I have tried to use to site: operator but it only "get results from certain sites or domains" that I know; related: is better, but not all results have the hamilton in its URL (see operations for Google Search). I also have tried using WhoIs or GoDaddy but they only show whether that domain is taken or not.
How do I search for website contains some keywords in its main domain?
AI: I believe the operator you are looking for is inurl: (e.g. https://www.google.com/search?q=inurl:hamilton) which will search for keywords in the url. Hopefully you can use this along with some keywords to find the site you are after. |
H: Conditionally change sign of decimal value in cell for each row
Here's a preview of the spreadsheet I'm editing in Google Drive:
The transaction type cell has a value of "debit" if the row is for an expense, and "credit" if it is income.
I would like a script to go through each row, and add a minus sign before the value in the "amount" column, if the value in the "transaction Type" column has a value of "debit".
AI: Maybe give this a try:
function onOpen() {
SpreadsheetApp.getUi().createMenu('Custom Menu')
.addItem('Make Negative', 'makeNegative')
.addToUi();
}
function makeNegative() {
var res = [],
range = SpreadsheetApp.getActiveSheet().getRange('D2:E'),
val = range.getValues()
.forEach(function (r, i) {
r[0] = r[1] === 'debit' && r[0] > 0 && typeof r[0] === 'number' ? r[0] * -1 : r[0]
res.push(r)
})
range.setValues(res);
}
Add above script to the script editor and run onOpen() by clicking the 'play' button. Then go back to the sheet, where you should see a newly created menu-item 'Custom Menu'. From there click on 'Make negative' and see if this works. |
H: Google+ repeating events
Is there any way to set up a repeat event for a Google+ group?
I have a group that has regular meetings twice a week and setting up the events manually is really annoying (plus I forget sometimes).
AI: Google+ does not support repeating events. This is the currently offered date/time options for events. |
H: Searching through sheets
I need to search multiple sheets like this for certain words like #work and #hobbies and add up the numbers on the adjacent column.
https://docs.google.com/spreadsheets/d/1XRI6PtrTTIPK5wGj6cWaa9puWBjwdMimuxLnIp1sGFE/edit?usp=sharing
In this sheet, I need to add up the values in "Sheet 2" and "Sheet 3", for the cells in column B adjacent to the words #work and #hobbies. After I add them up, I want to put the total for #work and #hobbies in the cell adjacent to #work and #hobbies in "Sheet 1".
Essentially I want to assign "Sheet 1!B1"="Sheet 2!B1"+"Sheet 3!B3"
and
"Sheet 1!B4"="Sheet 2!B4"+"Sheet 3!B9"
Since I don’t know the location of these words, #work or #hobbies a priori, I need to search in column A, and find out the values and then add them up.
What code or function will help me evaluate this and do this job?
AI: You can use the SUMIF formula to perform this type of calculation.
Formula
=SUMIF(Sheet2!A:A, A1, Sheet2!B:B) + SUMIF(Sheet3!A:A, A1, Sheet3!B:B)
Screenshot
Sheet2 & Sheet3
result
Explained
The first parameter of the SUMIF formula takes on the criterion range (column A in your example). The second parameter is the criterion itself. I needs to look for the entry in sheet 1 in column A: A1. The third parameter is the range to sum (if it differs from the criterion range), if the criterion is met. |
H: Give a name to a cell in Google Sheets
Excel has a little box on the upper left corner that displays the name of the cell (for example A8, C20, BC104, ...) and this name can be changed to a string of choice (like Force, mass, acc, ...) so that when one wants to do a calculation in some cell, one doesn't have to enter the meaningless default names (e.g. =A8*C20), but one can enter the specified names (e.g. =mass*acc).
How can I do this in Google Sheets?
AI: You'll want to make use of Named Ranges. In this case, the range of cells is one.
Select your cell
Toolbar → Data → Named ranges... (or right-click on cell and select Define named range)
On the right you will notice a new Named ranges sidebar appear
Edit out "NamedRange1" to whatever you prefer to name the cell
Double-check the cell reference below your new cell name is correct
Click Done
Now you can use that reference to point to that cell instead of having to use the row:column reference. |
H: Sort Google+ Photos Albums by name
I'm trying to figure out which folders I backed up with Google?
How do I sort Google+ Photos Albums by name?
AI: You can sort by album title in Picasa Web Albums which shows the same photos/albums as Google+ |
H: Is it possible to search for posts only from a particular Facebook page?
I was just wondering if it's possible to search for specific keywords in a Facebook wall of a certain page.
I found this question but it is 3 1/2 years old now so I thought things might have changed.
Can this be done?
AI: I found out it seems you can do it by doing regular searches like:
posts about "search term" by "page name"
The quotes aren't required, but you will get better results with them when your query and/or page name has more than one word. |
H: How to get a list of all .svg files on Wikipedia.org and commons.wikimedia.org?
I do have a very slow internet connection. Nonetheless it would be fast enough to download a list of the files I'm looking for: I want a list of all .svg files on Wikipedia.org and commons.wikimedia.org. (And later on after that of all svg-files on the other wikipedia and wikimedia pages.)
But my internet connection is not fast enough to find the right search-words by trial and error: It's absolutly tedious to do trial-and-error with 64kbit/sec.
Could anyone point me to the right page on wikipedia or commons.wikimedia where I could start such a search and which keywords and settings to use?
AI: It seems you also asked this at the Wikipedia Help Desk (which, in my opinion, is really a better resource for Wikipedia questions).
The answer you got, which seems to suit your needs, was:
Over at dumps.wikimedia.org is a link to a compressed "all-titles.gz" file containing the names of all pages at Commons. That would take an hour or two to download at 64kbit/sec, but you'd then be able to grep the .svg files. The corresponding list for other wikis could be reached via the dumps index page. -- John of Reading
(Wikipedia diff) |
H: If value of cell equals X, get value of adjacent cell, then add to totals
I have a budgeting spreadsheet, with separate spending categories, and I want to SUM all spending entries based on the category selected. I'm not technical, but here's an explanation of what I'm trying to achieve:
check each cell in column C and column F
if cell = category 1
get adjacent value from column B or column E
add value to relevant category total
I've created an example spreadsheet to demonstrate.
AI: In addition to previous contributions, this should also work:
=sumproduct({$C$3:$C$9; $F$3:$F$9}=A12, {$B$3:$B$9; $E$3:$E$9})
and drag down.
The first literal array {} makes one column out of the C-range and the F-range. The second one does the same with the B-range and the E-range. When the 'first column' equals the contents of cell A12, the 'second' column (or the adjacent cell) is summed. |
H: How do you do a Transifex text search with an "or" operator?
I am tackling a bug on the Japanese site and want to search for three different strings so I can link them to the community.
I would like to search for: refiner OR explainer OR illuminator
How can I do that with the string search in Transifex?
AI: Sam from the Transifex team here. Unfortunately, the search function doesn't support operators at the moment. You'll need to search for strings individually and then share the permalink of each search result with your community. |
H: Forcing a download of a .sys file from Gmail Sent items
I emailed myself a settings file for my backup application so that if I lost my computer I would have all I need to restore files. Unfortunately this is a .sys file and was blocked by Gmail. I didn't realise this at the time but the mail was bounced and never delivered. The mail is still in the Sent items folder though.
My computer has now died and I need the configuration file to restore all the settings for my backup application but I can't download this file. The download is blocked.
Is there any way to force Gmail to let me download this file?
AI: What's cool is that the safety of these files isn't considered until it reaches receiving inbox. The Gmail inbox, specifically. *.sys is Windows, so you should have Outlook installed, right? I've read that you can download these blacklisted files when checking mail from within another email client.
There are fortunately other alternatives if you don't particularly like Outlook: Inky and Thunderbird are good choices.
You should have the file in no time. |
H: What's causing / how to get rid of long web calls in Google Sheets?
I have a Google Sheets that's running into performance problems. It will make really long calls and occasionally freezes up the user interface. Here's an example of the type of call that's being made consistently which takes longer than 50 seconds to respond:
If I inspect one of the 50 second calls, it returns barely any data:
I can guarantee the delay is not a network issue, as I have very consistently high network speeds:
Is there anything I can do to improve the performance?
Sheet Info: Rows: 2,250 Columns: CC
AI: Im going to go with the assumption that what's happening here is not your connection. This is actually caused by Google servers not allocating enough resource to your requests. The reason the calls are so long is because the server is processing them so it waits for the data to return in whole before it stops. If it doesn't get enough data in x amount of time it will end transmission and create another. You could have the fastest internet in the world. But Google serves many people and can't put too much processing power in on one person. If you're not calculating very long equations that require good speed then I have no clue. But if the majority of this is solid maths then you have your answer. Google is awful if you're looking for performance in the cloud.
Also you could try offline mode. I'm assuming it will stop the call times but will stress out a low end rig if it stresses Google servers |
H: How to list by only Amazon product?
Is it possible to list item sorting by only ones sold by Amazon?
AI: Search for what you need. Once on the listings on the right hand side you will see 'sellers'
Just hit +See more to see all the sellers. Amazon.com should be an option. If not, they don't sell it |
H: How to disable birthday notifications
On Facebook, notifications have started showing up for birthdays:
These notifications are a waste of time, they are redundant with the birthday notification zone that already shows up on the news feed.
QUESTION: How to stop birthdays from generating a notification?
Greasemonkey/userscripts accepted if there is no easier solution.
AI: Here are the steps you should follow
Settings
Notification
Birthday
Note:You shouldn't use greasemonkey scripts for Facebook. Unless you read over the code to know what is actually happening. Very sensitive information and greasemonkey support has been removed as native from browsers for many with malicious intent. And the fact that notifications are provided as a server>client thing and the only way a script would stop them from showing up would be to edit the classes on the page. |
H: Delete second row in a cell in Google Spreadsheet
In order to create some list, I've been copy some data from the web.
Unfortunately it looks like it has been added second row for each record it need.
For example:
Each record is in the same line, and I'll need to have only the first line of each record (only "Alpena Community College" from the record "Alpena Community College
Alpena, MI"
AI: Assuming you have a new line character in every cell and you want to extract everything before the new line, try:
=ArrayFormula(iferror(regexextract(A2:A, "^(.+)\n")))
(where A is the column with the addresses and your data starts in row 2 --> change to suit).
After that, you can copy the output and use 'paste special' (values only) to overwrite to original column... |
H: Calculate difference between numbers in 2 columns row-by-row in a spreadsheet
I have 3 columns in a Google Docs spreadsheet: A) Inventory purchased price, B) Inventory sold price, C) Difference between A and B (i.e. profit or loss)
Data is going to be entered manually into columns A and B. How do I make column C to 1) display the calculated amount for each row, and 2) color profitable sales in green and unprofitable in red?
AI: .. and for the first question, assuming your data start in row 2, in C2 try:
=ArrayFormula(if(len(A2:A)*len(B2:B), B2:B-A2:A,))
This formula should automaticcaly output the difference between B and A when data is entered. See if that works ? |
H: I think my Gmail has been hacked!
I think my Gmail has been hacked. I tried logging in but it wouldn't accept my password so I thought I had probably changed it before and can't remember it so I decided to change it and it asked me to put my phone number. I did but it didn't accept it, the last two digits it gave me were "83" and I don't know any number that ends with those two digits.
Can anyone please help me with this problem?
AI: There is one thing you can do. None of us can help you recover an account that could have been compromised. The good thing is you're using Google. Which has better support than any other mail service. Microsoft is a close second.
What you're going to need to do is contact google on the phone is your best bet. They have been able to recover my brothers account that was compromised. When I did it for him they asked a series of questions regarding his account and other information regarding his account. Such as name birthdate past passwords etc. Although they may no longer offer this service over the phone but you must ask. It's a time sensitive matter if your account has been compromised.
Also a big concern to me: If your account is for sure compromised and you haven't physically gave someone your password you will need to virus scan vigorously and look for keyloggers or other information stealing viruses. Make sure there are no suspicious recent downloads you accidentally downloaded. |
H: Filter rows by one unique column of sorted values in Google spreadsheets
I need an equation that filters by unique ID, using only the latest row (most recent row in time), and data found in that row.
I have data that is in the following format:
ID | Price | Area | Status | Date
10 | 20000 | 75 | Buy | 20150301
11 | 30000 | 100 | Buy | 20150201
10 | 23000 | 75 | Buy | 20150101
23 | 4000 | 89 | Sold | 20150601
11 | 34000 | 567 | Sold | 20150120
After applying the filter equation I'd expect to see:
ID | Price | Area | Status | Date
23 | 4000 | 89 | Sold | 20150601
10 | 20000 | 75 | Buy | 20150301
11 | 34000 | 567 | Sold | 20150120
Attempt 1 (DID NOT WORK AT ALL)
=FILTER(A2:E,A2:A<>OFFSET(A2:A,-1,))
From this suggestion: Similar problem from back in 2012 but I could not get this to work for me.
Attempt 2 (MISSING ID 23 & WRONG DATES)
=FILTER(A2:E6, A2:A6 = UNIQUE(A2:A6))
Attempt 3 (MISSING ID 11, RIGHT DATES)
=FILTER(SORT(A2:E6, E2:E6, FALSE), A2:A6 = UNIQUE(A2:A6))
Example spreadsheet with above workings.
AI: Check out this formula I entered in G2 of the sheet 'SHEETJP' in the spreadsheet you shared:
=ArrayFormula(vlookup(query({row(A2:A),sort(A2:E)},"select max(Col1) where Col2 is not null group by Col2 label max(Col1)''",0),{row(A2:A),sort(A2:E)},{2,3,4,5,6},0)) |
H: How to convert a part of the webpage as an image?
I have this link of a structure of a chemical compound (http://pubchem.ncbi.nlm.nih.gov/image/imgsrv.fcgi?cid=4684&t=l) which I want to convert into a .jpg file. Imgur doesn't accept this link directly probably because it doesn't end in .jpg or .png etc. in my mobile version.
I can't save anything locally. An online way of doing this is what I need. A solution based solely on the browser.
How can I possibly do this conversion?
AI: If you open that link in your web browser (for example Google Chrome), and right click on the image, you can choose 'Save image as...'. Choose a filename for the image. You can then freely upload the saved file to a tool like imgur to do the JPG conversion, or perform it yourself easily with Microsoft Paint or GIMP. |
H: Applying formula to lookup value in array of cells in Google Form Responses
I have a Google Form response sheet, part of which contains several columns (say B:G) that will only have a single value between them. The form asks respondents for their county of residence and then their town of residence within that county on separate pages as a means to get around the fact that Forms doesn't have support for dependent questions.
Regardless, I'm trying to figure out a formula to return the value contained in these columns for each row, as well as a way to autopopulate this when new form responses are submitted. I gather this might include the use of ArrayFormula, but I haven't been able to figure it out.
Any advice?
Here's a sample sheet with dummy form data and the ideal return.
https://docs.google.com/spreadsheets/d/1EHcjuoNd1wQLbD7ceb1i6lsxWs0iU4w-Ermz095Qmbg/edit
AI: Try:
=ARRAYFORMULA(transpose(split(concatenate(if(B2:D<>"", B2:D,)&char(9)),char(9))))
or:
=ARRAYFORMULA(transpose(split(concatenate(B2:D&char(9)),char(9))))
or also:
=ArrayFormula(transpose(trim(query(transpose(B2:D),,rows(A:A))))) |
H: How to count specific items in column?
I just started using Google Spreadsheets.
I have a question concerning "counting" a specific word/item in cells.
Example:
Column A
1. HAT
2. HAT
3. SHOE
4. CANE
5. SHOE
6. HAT
7. -
8. -
9. = A1 to A6 = 3 Hats
10.= A1 to A6 = 2 shoes
11.= A1 to A6 = 1 cane
See what I mean? How do I make it count the specific items in that specific column?
AI: Try:
=query({A:A, A:A}, "Select Col1, count(Col2) where Col1 <>''group by Col1")
or if you don't want the header 'count':
=query({A:A, A:A}, "Select Col1, count(Col2) where Col1 <>''group by Col1 label count(Col2)''")
An alternative way would be:
=ArrayFormula({unique(A1:A6),countif(A1:A6, unique(A1:A6))}) |
H: Why does Gmail not find email addresses that I've emailed before?
I'm trying to send an email to an address that I've sent to several times before, but Gmail does not autocomplete it. Is this expected behaviour? Must I add that address as a contact before Gmail can search it?
AI: Must I add that address as a contact before Gmail can search it?
It would seem so.
You've probably turned off this setting, in order to keep Gmail from adding just anybody to your contacts.
According to Gmail Support
When you type an address in the To, Cc, or Bcc field of a message you're composing, Gmail will suggest addresses from your Contacts list. Hit Enter to choose the name at the top of the list, or scroll down to choose a different address. If Gmail doesn't suggest the address you want, just continue typing.
Gmail will first suggest the addresses you send mail to most often. To view a complete list of your most frequently mailed contacts, click Gmail at the top-left corner of your Gmail page, then choose Contacts. Next, click Most Contacted.
So, in order for the auto-complete to work, the person/email address needs to be in your contacts. Your browser may have offered auto-complete before (if you set it to do that with web forms) but Gmail's fields are far from being simple HTML input fields.
If the person is in your contacts and still not coming up in auto-complete, then Google suggests that it's probably your browser. Use a different one or, if you're sure it's supported, clear your browser cache. |
H: How long does Imgur store uploaded images?
Imgur is a great website for hosting images, but are they keeping those images forever?
If not, for how long?
AI: Stated by Imgur under Imgur help → Support → Images
How long do you keep the images?
Forever! An image is only removed if deletion is requested. |
H: Is it ok to use github as a file hosting?
Is it ok to use github as a file hosting ? Now i dont mean it like cloud hosting like dropbox.
For example:
https://dribbble.com/shots/1722076-Free-iPhone-6-4-7-inch-Template-PSD?list=users&offset=57
This guy designed an iPhone 6 template and he uploaded his work to Github for people to download it:
https://github.com/Ramotion/free-iPhone6-template
Is that ok ?
AI: According to the Terms Of Service on GitHub there is no mentioning of not being able to host files on their service, however as always you are responsible for the content. |
H: Search Site on Google Exclude a Folder
I'm familiar with searching a specific website on Google.
site:yahoo.com
I'm in a situation where I need to exclude a certain folder. Which I would have expected to be as follows.
site:yahoo.com -site:yahoo.com/sports/
Is this possible? If so how.
AI: You can AND searches.
I just tested
test site:yahoo.com AND -site:yahoo.com/sports/
which returned something from sports.yahoo.com in with the rest,
so I tried
test site:yahoo.com AND -site:yahoo.com/sports/ AND -site:sports.yahoo.com
which looked good |
H: Permanently disable previews in Slack
How can I disable image and video previews in Slack? I've found the /collapse command, but that only seems to collapse existing media in the current channel. What I want is for future ones not to preview at all.
AI: On the browser view, click on the drop down menu next to your team's name on Preferences. Then click on Messages and media on the left-hand side. Then, under the section Inline Media & Links you will find checkboxes for
Expand images and files uploaded to Slack
Expand links to images, video and audio from external sources
Even if it is an image larger than 2MB
Expand website links to show a preview of the content, when available
Uncheck whichever of those that you want and you are set! |
H: How do I control who can see my Friends List?
I don't want the entire world to see who I am friends with on Facebook.
How do I control who can see my list of friends?
AI: To adjust who can see your Friends section:
Go to your profile.
Click Friends below your cover photo.
Click at the top of the page and select Edit Privacy from the dropdown menu.
Select an audience (ex: Friends, Public, Only me) to choose who you share your friend list with on your profile.
This is well explained on Facebook help page: Who can see the Friends section of my profile |
H: Default value nulls in Cognito Forms
Yes/No boxes always have a default value. Often I want a second box to appear if the value is yes, or a third box to appear if the value is no. Because there is a default value for yes/no, my second or third box is always showing.
I don't want this. I only want the second or third box to appear once the user has checked yes or no in the first box.
To get around this I can use a “choice” box with drop downs and have one of the values as null or blank. However, this means that my form contains a mixture of radio buttons and drop downs which looks ugly.
I could use radio buttons for a choice box but then there would be an odd looking null/blank radio button set as default.
Can default be turned off for yes/no boxes?
AI: I'm a developer with Cognito Forms. Unfortunately, a checkbox can only have two states, checked or unchecked, which equates to true or false in the context of a calculation. However, I do believe you can accomplish your requirement by using the "Radio Buttons" option for the Choice field, without it looking strange or odd. A Choice field does not require a default value therefore you do not need a third option to represent that null state. For a choice field to not have a default selection, the checkbox next to all Choices should be unchecked. I included a couple of screenshots to help explain this configuration. The first one is the configuration for the "Radio Buttons" Choice field and the second is a Yes/No field configured to be visible when the Choice field value is "Yes". I hope this helps. Hopefully, I am not misunderstanding your requirement. |
H: YouTube won't take channel art.
I upload the channel art, adjust the crop, save it, and then it changes from the upload prompt to a white box. If you refresh the page the upload prompt is back. Tried on Chrome.
AI: Make sure the file size is 2MB or less. I had the same problem and this fixed it. They should make sure there is an error that says file is too large so you know. |
H: How to search for the newest files in a Google Drive?
I am running a few file folders for a project in Google Drive. Quite often, collaborators upload or update files in one of the folders.
Is there a way to see the latest changes to the drive, so I can quickly respond to the newly-uploaded files?
AI: Yes. There is a sort button on the top right corner. If u want to see changes, click on the details button. I believe it looks like a circle with the letter "i" on the inside. This will show you a short timeline on the right-hand side of the page.
Transferred from edit by OP to their Q:
Thanks, @aurora-afable, this works pretty well:
1: |
H: Calling a date with CONCATENATE is resolving to strange number
Using:
=concatenate("Review Check on ", B2)
B2 is 4/20/2015, that I created using the date insert shortcut (command+; on Mac).
The final cell resolves to:
Review Check on 42114
The /s have been stripped and the number is strange.
Anyone know what's going on?
AI: All is considered a string when you concatenate elements. Therefore you need to format the text as a date. The following formula does that.
Formula
="Happy " & TEXT(B2, "dd/MM/yyyy")
Reference
Google Spreadsheet help, TEXT() |
H: Combine image and text in Google Spreadsheet
In Google Spreadsheets it is possible to show an image in a cell using the formula =image('http://www.example.com/path/to/image.ext', 3) (where 3 means to use the images' original size).
I would like to include some text in the same cell as the image. I have tried to use concat but that results in #ERROR.
=concat(image(URL,MODE), 'string')
In the same cell, how do I combine an image and text at the same time?
AI: There's no way, that I am aware of, to combine an image and some text in the same cell using the image function.
The concat method concatenates strings, only.
The only "workaround" I can think of, is inserting the image using Insert → Image, and positioning the image next to a text cell. But this is obviously not a perfect solution in any way. |
H: How to insert empty rows under all (already occupied) rows simultaneously in Google Spreadsheets
How do I insert empty rows under all (already occupied) rows simultaneously in Google Spreadsheets?
Lets say in row 1 it says "A" and in row 2 it says "B", "C" in row 3, etc. I would like it to say "B" in row 3, and "C" in row 5, etc. from now on. Inserting a row underneath one by one is simple. I'm asking about inserting empty rows on a larger scale.
AI: I think this requires a script, such as this one:
function myFunction() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var range = sheet.getDataRange();
var values = range.getValues();
for (var i = values.length; i>=1; i--) {
if (values[i-1].join("")) {
sheet.insertRowsAfter(i, 1);
}
}
}
The command getDataRange() selects the range containing data; but since it's possible you have empty rows between filled ones, there is a separate check for nonemptiness of rows: values[i-1].join("") evaluates to True only if some data is present. The offset i-1 is needed because the index in an array is 0-based, while the row numbers begin with 1. I use i for row number.
The rows are inserted from bottom up (i--), to avoid the situation where newly added rows move down the ones that are still to be processed.
To use this:
Go to Tools->Script Editor.
Copy-paste the script there.
Save, renaming to something descriptive like "Extra lines".
Click "Run" button.
At the first execution (only) you'll be prompted to authorize the script. |
H: Complex Sum Function in Google Sheets
Apologies if this is lame, but I can't get a proper value using =SUM to perform order of operations on an employees hours (he has gotten two raises since starting after surpassing expectations). The notes on the cells denotes a pay increase, the first one is a start.
I tried this formula:
=SUM((F15*20)+(F16:F20*25)+(F21:F23*30))
but that returns an error. What am I doing wrong to get the sum of all the hours multiplied by their correct hourly wage?
AI: If you have multiple sums in the formula, you need multiple SUM commands, one for each sum. That is,
=F15*20+SUM(F16:F20)*25+SUM(F21:F23)*30
Have to add things up before multiplying them all by a common factor. |
H: Find and replace text in Google spreadsheet
I have a string of data in one cell:
"Membership and Volunteer Crew - do you like getting to know lots of new people? | Sauna Crew - Spend time sweating and supervising our sauna activity. | Crafters Crew - find and invite and present regional Crafts People at R&S and help them present workshops to our audience."
I need it to become:
"Membership and Volunteer Crew ::: Sauna Crew ::: Crafters Crew"
in another cell on another sheet.
Trying to figure out how best to say please replace everything between '-' and '|' with ":::"
I am trying to create a Google Contact Group import friendly list.
AI: This is a job for regexreplace.
Suppose A1 contains the text
Membership and Volunteer Crew - do you like getting to know lots of new people? | Sauna Crew - Spend time sweating and supervising our sauna activity. | Crafters Crew - find and invite and present regional Crafts People at R&S and help them present workshops to our audience.
Put the following in another cell
=REGEXREPLACE(REGEXREPLACE(A1,"-[^|]*\|",":::")," - .*$","")
The result is
Membership and Volunteer Crew ::: Sauna Crew ::: Crafters Crew
The first application of regexreplace deals with text between - and |, replacing it by :::. The second one trims the end (from " - " to the end of the string), since you do not have | at the end of the original string. |
H: Gmail label vs category
What is the difference between Gmail's category vs label? My take on it is that a category is specific for Gmail's "Inbox" feature and so is quite separate.
A follow-on question is how does this affect filters? My new company uses Gmail/Google Apps and so I'm trying to setup filtering/rules and want to get a better understanding of this.
AI: Categories are tabs you can have display in your Inbox to help you organize your incoming messages automatically. You can almost also treat them like labels.
Labels are "tags" you put on messages. You have to explicitly put the label(s) on a message (or conversation), either through direct action or via a filter.
Categories, on the other hand, are Google's automated attempt to "categorize" your incoming email messages. While you can help adjust the algorithm by marking messages on which Google has guessed wrong, it's still Google automatically adding a category to a message for you. Fortunately, you get to choose which of the four extra categories will be used with your inbox and, if you want, you can have none of them.
As far as filters, by and large that counts as explicit action by you and is how you can automatically apply labels to messages that fit some criteria. But it's still entirely your criteria; Google's algorithm doesn't get involved.
Categories can be treated like labels in that you can have them appear like labels on message records when you're looking at a list of messages and while searching (e.g., label:work vs. category:social).
More information from Google Support: Inbox tabs and category labels |
H: Add a recipient to email notifications based on a field's value
We want a form's email notifications to be sent to different recipients depending on fields' values. We could use calculations to constitute the list of recipients but we would need to be able to use a field's name in the "To" list (which is not the case).
AI: We are considering adding support for multiple conditional notifications. This is on our Idea Board: https://trello.com/c/iXlwst3H
This would allow you to set up multiple notifications and conditionally control which to send based on information on the form. We will likely go this route versus using calculations to determine the email address, as it will make more sense to the majority of our users. |
H: Formula in Google Sheets to lookup contents of another cell
I'm trying to create a formula that brings back a certain cell depending on what another cell has in it. But the formula I'm trying isn't working. It's working for other things (what I thought was the same thing), but for some reason it's not working for this one.
=IF(ISNA(VLOOKUP($E21,Data!$A:$A,1,FALSE)),"",VLOOKUP($E21,Data!$B:$B,1,FALSE))
I have that formula working on several other cells and it's working fine. But when I try and get it to bring back a certain cell based on another, it's not working.
Here is a link to a copy sheet I'm working on.
Want I want:
When cell E21 gets typed in bringing up a certain size, cells E23-E26 are automatically populated with the item number coming from the Data sheet (column A). And then G23-G26 need to be populated with bundle count, from the same sheet, column c.
I've been trying all sorts of different formulas, but honestly, I don't understand most of them.
How can I get this to work?
AI: Let's look first at why the function you've posted isn't working. VLOOKUP needs a two-dimensional data range to work with. It looks for your search_key (param 1) in the first column of range specified (has to be the first column - an unfortunate limitation of VLOOKUP), and returns a value from the matching row. The column returned is specified by param 3, index, essentially 'nth column in my range' (so 1 = your search key).
To get around the first column limitation, you could create an extra column with the data you want to return that is to the right of your search_key column. But it's messy, and looking at your data it won't help anyway.
That's because VLOOKUP only ever returns one value. If you have multiple matches for the search_key, it only gives you the first one it finds. I see that you have a few sizes of product with multiple part numbers, so we're going to need a different function.
I'd suggest FILTER for this job. What FILTER does is take a 2D data range, allow you to filter it down based on any column or row within that range, and return all the matching data - it actually fills neighbouring cells if there's enough data. I always think it's a bit weird to think of a function in a cell that actually acts on other cells, but that's how it works.
So what we could do is (in cell E23 ONLY):
filter(Data!A3:B2000,Data!B2:B2000 = E21)
To break that down, look in all of Data for rows where the value of column B matches E21.
Problem is that will return too many columns, and potentially too many rows. If there's data in the neighbouring cells that Sheets is going to put data into, the function will just fail. So we can use the ARRAY_CONSTRAIN function to limit the result of the filter:
=iferror(array_constrain(filter(Data!A3:B2000,Data!B3:B2000 = E21),4,1))
Fortuitously the data we want is in the left column of the range, so we just have to limit it down to one column (last param), and four rows (as you only have four rows available - you could add more if you like).
I've also added an IFERROR to blank it out if there are no results. It's not strictly what it does, but it's much cleaner than using an IF function to check ISNA, and it does the job.
You don't need to put any formula in the other three cells - the FILTER (limited by ARRAY_CONSTRAIN) will put the data there for you.
From there I'd say the easiest way to retrieve the bundle value is with a VLOOKUP:
=iferror(vlookup(E23,Data!A$3:C$2000,3,false),"")
So, look in our data range for the item value in E23, then return the third column. There might be faster ways, but this is clean, easy, and for a relatively small amount of data I wouldn't worry about the speed of it. Again, wrapped with an IFERROR. I just filled down for the other three rows - something I always get caught out by with VLOOKUP is forgetting to put the $s in where appropriate.
Here's the copy I made to work on, with the formulas filled in to see: https://docs.google.com/spreadsheets/d/1yKv6f9ciySvSPJ0Iy2AmfehpO7dVj38HWnlS2slrc5M/edit?usp=sharing
Unfortuately I don't have enough reputation to post links to each of the functions full documentation, but you can find them all here: https://support.google.com/docs/table/25273?hl=en
Hope that helps! |
H: How do I remove the profile photo from a Yahoo! account?
I have tried following steps from a lot of articles online, but they all seem to be outdated.
AI: Yahoo have changed things so nobody can change/edit/remove their profile pic or nickname. We have been told that we will be able to in the future, so sit and wait. |
H: Get unique values from range of cells
Let's say I have a column of values (e.g., first names). There may be some duplicate data (some first names are very common).
How can I get the unique values?
In SQL I would do
SELECT DISTINCT first_name FROM...
How can I do it in a Google Spreadsheet?
AI: In Google Spreadsheets, you can use the UNIQUE() formula to do that.
Formula
=UNIQUE(A1:A10)
Explained
For the range as seen in the screenshot, there are 10 entries. The UNIQUE() formula accepts a range and filters out the duplicates and returns that range, see screenshot, leaving only 7 unique entries.
Screenshot
Reference
Google Spreadsheets Help: UNIQUE() |
H: Is there a way to force someone to enter a non-empty value/string in a cell in Google Spreadsheet?
I want to make a certain cell to be mandatory in a Google Spreadsheet. Can this be done? I looked through the Data > Validation and the criteria does not have anything for checking null.
AI: Unfortunately, Data Validation is applied only to user-entered data. If there is no data in a cell, validation rules do not run on it. See Empty data cell validation on Stack Overflow.
Some surrogates, which can be used in combination:
Conditional formatting. Make the background red if the cell is empty.
A message in another cell, such as =IF(A2="","Cell A2 is required","") entered in A3. This is effective together with (1), as it provides verbal explanation of the red background.
Data Validation applied to another cell. For example: A1 is the heading "Amount", and A2 is where you expect the amount to be entered. You can apply Data Validation to A1 in the form "Custom Formula" =NOT(ISBLANK(A2)). The drawback is that it's A1 that will show warning, not A2. And it's impossible to reject input in this way, since input happens in A2.
As noted at the beginning, the natural attempt of applying custom formula =NOT(ISBLANK(A2)) to A2 itself won't work because the validity is not checked while the cell is empty. |
H: Can't filter a column to see all cells containing `@` in Google Sheets
I'm trying to filter a column to show cells that contain @ (as in an email address) but when I put @ in the filter box it comes up with a blank.
Any ideas?
An example spreadsheet here. Here is also a screenshot:
AI: The characters you enter in the filter box are matched to the beginning of any word in the cell content. So, @ will match "a @ b" or "a @b", but not "a@b".
To filter based on a pattern that is not a beginning of a word, you can use a workaround with REGEXMATCH, e.g., entering in another column:
=IF(REGEXMATCH(A2,"@"),"email","not email")
and then filtering based on that column.
However, the presence of @ does not guarantee you have a valid email there. I recommend using the ISEMAIL function for accurate filtering: create a column with
=ISEMAIL(A2)
and then filter on TRUE value in that column. |
H: Google Sheets updating after every change, which is too often, slowing everything down
I have a lot of independent functions and information in my sheet, and every time I make a slight change somewhere in the sheet, it seems like the entire sheet is being saved and re-updated. So every (automatic) save slows down my spreadsheets tremendously. It is hard to tell, because sometimes the re-updating occurs immediately, sometimes after a while, and sometimes it doesn't happen at all.
If I am correct about this, how can I change it so my spreadsheet updates only when I prompt it to?
In File->Spreadsheet Settings there are three recalculation options. I'm not sure if they are specific to:
how often NOW, TODAY, RAND, and RANDBETWEEN are updated.
or what that actually means is how often any input is updated, but in any case, all three options include a recalculation after On change, which, if applicable to my case, is too much.
How do I make it that updating of inputs is only when I decide it?
Otherwise, every time I make the slightest change, the entire large document takes its time saving and recalculating the inputs, and I can't get anything done.
AI: What you are seeing is a spreadsheet package's default behaviour.
Google Spreadsehets has an option under File > Spreadsheet Settings > Recalcualtion.
But unfortunately there does not seem to be a "recalculate on user request only" option: instead all the available options include "on change". (This is different to Excel, for example, which does have a manual only option for worksheet calculation).
One option would be to to split your data into multiple sheets, so that the amount of data to be saved in each one is less. |
H: Which regular expression flavour is used by the MediaWiki search and replace dialog?
I recently discovered this search and replace dialog in MediaWiki and have been using it more and more:
But I can't seem to find the documentation on it. On the MediaWiki website I always find info about some extension that does search and replace over an entire wiki when I try to search for this.
I can't tell which regex dialect the dialog uses or which regex features it does and doesn't support. It ought most likely to be JavaScript's dialect yet ^ didn't seem to work nor did other things I tried, so now I'm looking to read the manual, if there is one ...
AI: It is a plain Javascript regex. You probably made some kind of typo. |
H: Who participated in my poll (Google Forms)
Is there a way to find out who voted on my Google Forms poll, given that I required login when created the poll?
Also, on the flip side of the coin, is there a way to authorize only defined users to be allowed to vote?
AI: No, there's no way. Google's help says
Please note that while users will be asked to log in to their Google
Account in order to access and fill out the form, their actual
usernames will not be recorded.
Some alternative approaches (taken from here):
You could make completing the form "inviation only" and email
people a unique code that they have to input, then you don't take account
of any responses that don't have a valid code that you issued. (They may be in the results - you just ignore them.)
If your form is made with a Google Apps user-account, rather than a
standard Google account, then you have an option to limit a Google
Form to only accept responses from users who are in your domain - and
if you do this, the responses-sheet records the person's username as
well. |
H: index() match() join() I want to show all duplicate results disregarding their order
I'm trying to write a formula to make volunteer-task scheduling easier. In the database I have lists with volunteer names that have chosen specific tasks and specific timeslots.
I wrote a formula to match tasks and timeslots and show me all matching names in the same cell, joined by "," as a separator. The cells would show, for example, all volunteers that have chosen timeslot1 and task5.
The results of these will be table crossing all tasks and timeslots.
My problem is: I want to compare two INDEX()MATCH() results and show only and all of the duplicate results. Right now it is only showing the results that are in the same order. Meaning: If Sara is result #1 after the first INDEX()MATCH(), it will only be shown if it is result #1 after the second INDEX()MATCH().
Here is the formula:
=join(", ", filter(index($C$22:$H$26, match(E9, $B$22:$B$26)),index($C$22:$H$26, match(E9, $B$22:$B$26))=index($C$17:$H$21, match(D10, $B$17:$B$21))))
Here is the link to the document. I tried to explain further there:
https://docs.google.com/spreadsheets/d/1qjDfqpOMeJEelqRGFOwk5dKuzB7pB14OY_g0cjljrB4/edit#gid=0
AI: I would filter based on REGEXMATCH. The regular expression would be the join of one of two rows. Suppose the names are in rows 4 and 5, and columns E through J. I'm using row 5 to make a regular expression, joining the names with "or" symbol |:
="^("&JOIN("|", FILTER(E5:J5, LEN(E5:J5)))&")$"
This returns "Lars|Anairis|Emil|Johan|Leela". Note I'm filtering out any blank cells to avoid getting || in regular expression, which would match anything. Also, the ^ and $ symbols ensure that only the entire string will match.
Then filter row 4 by the above regular expression (replaced with ... for readability):
=JOIN(", ", FILTER(E4:J4, REGEXMATCH(E4:J4, ... )))
This returns "Leela, Anairis, Lars", which is the desired result.
When put together, the whole formula is somewhat scary:
=JOIN(", ", FILTER(E4:J4, REGEXMATCH(E4:J4, "^("&JOIN("|", FILTER(E5:J5, LEN(E5:J5)))&")$"))) |
H: For range X, when empty grab column A and list them in a single cell, coma separated
I'm compiling stats for our Boom Beach team, which means I have to log attacks by each players for each operations. An operation is launched every day and all players should perform their attack in that operation.
I'd like to make it easier to list players who did not perform their attack, for each operation.
What I'd like is to have a coma-separated list of players whose attack is blank.
Here's a sample sheet to make it clearer.
What I'd like to automate is the red part, so I can simply copy-paste the value of that cell into our slack chatroom and kick some butts.
Of course, I could CONCAT a bunch of IFS, but the formula would be hell to maintain since I'm constantly adding new players and removing players.
In the end, if I could have a formula that says "For range B2:B6, when empty grab what's in column A and list them in a single cell, comma separated"
AI: Use JOIN subject to FILTER by ISBLANK. For the example spreadsheet below, the command
=JOIN(", ", FILTER(A1:A6, ISBLANK(B1:B6)))
returns "Robert, Jay, Tim"
A B
1 Jon attacked
2 Robert
3 Grace attacked
4 Jay
5 Tim
6 Shog attacked |
H: How to delete a contact in Quip?
I add some contact from my Gmail to Quip. Now I want to delete some of them because they are not work related. I'm using the Personal version of Quip.
How to delete a contact in Quip?
AI: From your Quip desktop, select the account menu in the upper left of the screen, followed by "Edit Profile".
Select "Edit Contacts" - the last option in the edit profile menu.
Click on the red delete icon for each contact that you would like removed
You can find the answer here. |
H: How do I select my highest rated beer/s in a pivot table?
I'm using Google Sheets.
I have a table of ratings of beers:
|---------------------------------------------------------------------------------|
| Beer | Brewery | Style | Rating | Country |
|---------------------------------------------------------------------------------|
| Sundown Lager | Malt Shovel Brewery | Pale Lager | 1 | Australia |
| Freudian Slip | Evil Twin Brewing | Barley Wine | 4 | USA |
| Sly Fox | Feral Brewing Co. | Golden Ale/Blond Ale | 2 | Australia |
| Drunken Monk | Rocks Brewing Co. | Golden Ale/Blond Ale | 3 | Australia |
| Chimay Bleue | Chimay | Belgian Strong Ale | 5 | Belgium |
| etc... |
|---------------------------------------------------------------------------------|
I have a pivot table that groups by brewery, and shows the COUNTUNIQUE() of each beer for that brewery (i.e. the number of beers that I've had from that brewery) and the AVERAGE() of the ratings for that brewery:
|------------------------------------------------------------|
| | COUNTUNIQUE of Beer | AVERAGE of Rating |
|------------------------------------------------------------|
| Rogue Ales | 6 | 3.67 |
| Bridge Road | 6 | 3.33 |
| Zierholz | 7 | 3.29 |
| Wig & Pen | 5 | 3.20 |
| etc... |
|------------------------------------------------------------|
I'd like to add a column that is "the top rated beer (or beers if there are multiple beers with the top rating) from this brewery" - i.e. my favorites from that brewery.
In SQL it'd be something like SELECT GROUP_CONCAT(beer) FROM beer_ratings GROUP BY brewery HAVING rating = MAX(rating).
If it was the maximum rating it'd be easy - I could just add a column for MAX(rating) - but I actually want the value/s of the "beer" column that match up with that MAX(rating), not the MAX(rating) itself.
Is there a way to select the maximum rated beers for each brewery in my pivot table?
AI: The FILTER command does this nicely. Suppose this is your table.
A B C
1 Beer Brewery Rating
2 abc QQ 1
3 qwe WW 3
4 wer EE 5
5 ert WW 2
6 dfg QQ 4
7 sdf WW 3
Then add
9 Brewery MaxRating Favorites
10 WW
where
B10 = MAX(FILTER(C2:C7, B2:B7=A10)
which find the best rating for the brewery listed in A10; and
C10 = JOIN(", ", FILTER(A2:A7, B2:B7=A10, C2:C7=B10))
which finds all beers from that brewery with the maximal rating. Result:
9 Brewery MaxRating Favorites
10 WW 3 qwe, sdf |
H: Turn a table into a list of row/column/value tuples
I want to turn a table like this
| | apple | banana | chia |
|----------+-------+--------+------|
| antelope | 1 | 4 | 2 |
| bear | 6 | 3 | 9 |
| cheetah | 8 | 2 | 1 |
into a table containing the same data, but with one row for each value, explicitly listing the row header, column header, and the value.
| antelope | apple | 1 |
| antelope | banana | 4 |
| antelope | chia | 2 |
| bear | apple | 6 |
| bear | banana | 3 |
| bear | chia | 9 |
| cheetah | apple | 8 |
| cheetah | banana | 2 |
| cheetah | chia | 1 |
Ideally, modifying the original table will automatically update the tuple table.
AI: Alternatively, for a 1-formula solution automatically updating when new rows are added, try:
=ArrayFormula({trim(transpose(split(concatenate(rept(A2:A&char(9),counta(B1:1))), char(9)))), transpose(split(rept(join(char(9), B1:D1&char(9)),counta(A2:A)), char(9))), transpose(split(CONCATENATE(B2:D&char(9)), char(9)))})
NOTE: after adding a name in column A, column B, C and D can not be left blank.
Example spreadsheet |
H: Can I determine which are the "new" tweets on my Twitter feed?
When I read my Twitter feed, I can't tell what's new and what is old at a glance. I have to read things one by one.
With email, one can simply delete old emails or clear them or mark them as read. Is there some kind of similar mechanism with Twitter?
AI: This can't be done within the standard interface of Twitter. But any worthwhile Twitter client will probably have such a feature. For example, Tweetdeck -- which is now owned by Twitter and uses Twitter login. https://tweetdeck.twitter.com/
At the top of a Tweetdeck column, click "Settings" icon, then click "Clear" to remove all tweets. Next time, it will show only the new ones. |
H: Formula to grab specific cells and concatenate them together but only if they are not blank
I have a formula that breaks when 'nothing' is in any of the cells:
=If(ISBLANK(A1),,A1&IF(ISBLANK(B1),,CHAR(10)&B1&IF(ISBLANK(C1),,CHAR(10)&C1)))
I'm expecting this of course, as I haven't told it to do anything when ISBLANK is TRUE.
Am I going in the right direction with this or is there a simpler way?
Because I am afraid that I will have to do every scenario for every TRUE FALSE in each IF() branch and my real problem is that it has 19 cells that I would like to use if they contain something.
I have a sample sheet here "Concat Cells if not empty".
AI: When you find yourself writing a bunch of similar IF statement, you probably need FILTER. For example,
=JOIN(CHAR(10), FILTER(A1:F1, NOT(ISBLANK(A1:F1))))
joins the content of cells A1 through F1, separating them with linebreaks — but the empty cells are skipped as they fail the condition NOT(ISBLANK(...)). |
H: How can I stop my username from being displayed?
I want to stop my Reddit username from being displayed on my own screen. I want to do this in order to prevent other people who see my screen from learning my username and searching for my posts.
AI: Install the Reddit Enhancement Suite (RES) browser extension, then in Settings (gear icon at the side of Reddit preferences link) » Account » Username Hider » set to 'On'. |
H: View the history of a file that got renamed
I committed a file a few times, then renamed it and committed. How to view the history of it prior to its renaming?
AI: I hope there is a better way, but here is one solution (click on red rectangles): |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.