text
stringlengths 83
79.5k
|
---|
H: Is it be possible to get the redesigned Gmail on business accounts?
I have a Google account which is provided by my school. The new (redesigned) version Gmail has many useful features, such as being able to snooze emails and a better user interface for performing actions I take very frequently.
Is there a way to enable the new redesign for business accounts, such as mine? I did not find the same button to enable it in the settings dropdown menu as I did with my personal account.
AI: Yes it is, but you should be patient as the G Suite admin of each organization should migrate their users or to wait until it's generally available.
From New Gmail now generally available
Options for moving your users to the new Gmail
As a G Suite admin, you can migrate your users to the new Gmail at a
pace that makes sense for your organization. Starting now, the
following options are available in the Admin console:
(Follow the above link to learn the available options) |
H: How to make Google Search change preferred language by host without changing config?
For example, sometimes I want to search by a Japanese keyword and get Japanese results (Japanese websites). To do this, I go to https://www.google.co.jp and search. However, it always returns English results.
Going to .co.jp means I want to seach Japanese sites; why doesn’t Google follow this simple rule?
If I change the language in config to Japanese, I have to change it back later, which is inconvenient.
Any idea?
AI: You can probably get around it by bookmarking the language-redirect param, hl. This means appending to the URL:
If there are no other params: ?hl=languageCode
If there are other params: ?otherParam=foo&hl=languageCode
For example:
Japanese: https://www.google.co.jp/?hl=ja (or https://www.google.com/?hl=ja)
Chinese: https://www.google.com/?hl=zh
English: https://www.google.com/?hl=en
If you would prefer not to click on a bookmark, you can force it to redirect every time you visit the homepage on that domain with a userscript. But that is more complicated and fragile. |
H: Is it safe to use macros I created in Google's web apps?
I recorded a macro in Google Sheets, which can be done by going to Tools > Macros. However, when I try to run it, I am asked for permission to for it to be run.
I get the following messages:
Authorization Required
A script attached to this document needs your permission to run.
After I select "Continue," I am asked to:
Choose an account to continue to Recorded Macros (Tasks)
After selecting my account, I am met with the message
Recorded Macros (Tasks) wants to access your Google Account
This will allow Recorded Macros (Tasks) to:
View and manage spreadsheets that this application has been installed in
Make sure you trust Recorded Macros (Tasks)
You may be sharing sensitive info with this site or app. Learn about how Recorded Macros (Tasks) will handle your data by reviewing its terms of service and privacy policies. You can always see or remove access in your Google Account.
Learn about the risks
[Cancel] [Allow]
This seems to be similar to the messages faced when trying to link a third-party app you Google account, and as I mentioned it seemed like these macros is a first-party feature. However, the number of authorizations Google is asking makes it seem like it isn't.
So is it safe to run these macros, which I personally created, on my Google sheets document?
AI: If the macro is created by you then it is totally safe. The warning is general eg. it doesn't differentiate if the macro was created by you or by someone else. The whole procedure is just safety protocol designed to give a user "more control" over possibly malicious (in case you run unknown macro) action. Same happens when you try to add a custom script to your spreadsheet. |
H: In Google Sheets: How do I merge a range of a row (the header) with the range of each column into a single cell?
I want to have a cell with the header values, then a separator, then the values of a row, then a different separator.
And I want this to happen for each row while the header values remain the same.
Example:
Updated Example:
The solution I'm looking for should work for 50 columns
AI: Formula
Initial formula
Formula for 50 columns
=ArrayFormula(JOIN(CHAR(10),$A$1:$AX$1&":"&$A2:$AX2))
Better formula
Formula for 50 columns and the required number of rows.
=ARRAY_CONSTRAIN(ARRAYFORMULA(REGEXREPLACE(TRANSPOSE(QUERY(TRANSPOSE($A$1:$AX$1&": "&$A2:$AX&CHAR(10)),,1000000)),"\n$","")),COUNTA($A$2:$A),1)
Explanation
Description of formula parts
Initial formula
$A$1:$AX$1&":"&$A2:$AX2 creates a text value of headers and values separated by a colon.
CHAR(10) returns a carriage return (new line)
JOIN joins the values of array of second argument
ArrayFormula makes the formula able to make array operations on scalar functions and operators like &
Use instructions
Add the formula to a free cell on row 2 then fill down.
Notes
Using a cell to display row headers and cell values is fine for tables having few columns and not too lengthy values. On large tables, including those having 50 columns or having cells with lengthy values could lead you face some of the following problems:
50,000 characters limit
The in-cell scroll bar for cells higher than the screen doesn't work
Also on sheets having lot of formulas and/or rows could make the spreadsheet slow or even non usable due to large recalcultation times
In cases that a formula like the one described above were not good, try Visor de Registros (Record Viewer), a Google Sheets free add-on developed by me. Currently it's unlisted but very soon I will send it to review by Google. It was published on August 14, 2018.
Note: The website is in Spanish as it's the first language of the firsts users that help me to test the add-on. I hope that the Google Sites built-in translate feature were good enough, but the add-on UI is available in English and Spanish.
Better formula
This formula is better because it doesn't require to fill down in order to get the desired result for the all the rows in the data range.
Instructions
Add the formula to a free cell on row 2
NOTE: The formula assumes that A2:A values are text and there aren't blanks on the data range.
Related Q's
In a Google Spreadsheet, how can I force a row to be a certain height?
Related Google editors help article
Use add-ons & Apps Script |
H: Both style a website and Replace an image and a link?
Today we got the new design at TeX - LaTeX Stack Exchange and I'd like to change the logo of the site (the red TEX at the top left) because it has the wrong colour and does not fit the other elements.
Furthermore, I'd like it to link to https://tex.stackexchange.com/questions instead of https://tex.stackexchange.com.
I already have a script to change the background image:
// ==UserScript==
// @name StackExchange, replace background
// @match *://tex.stackexchange.com/*
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
GM_addStyle ( `
.site-header .site-header--container {
background-image:url("https://i.stack.imgur.com/1d1sg.png") !important;
}
` );
Can this somehow be extended to replace:
<a class="site-header--link d-flex fs-headline1 fw-bold mln6" href="https://tex.stackexchange.com">
<img src="https://cdn.sstatic.net/Sites/tex/img/logo.svg?v=406da02f2f16" alt="TeX - LaTeX">
</a>
with:
<a class="site-header--link d-flex fs-headline1 fw-bold mln6" href="https://tex.stackexchange.com/questions">
<img src="https://i.stack.imgur.com/jd5iY.png" alt="TeX - LaTeX">
</a>
(Note the change of both URL and image)
AI: Several things:
You run at document-start; this is good because it helps reduce annoying flicker associated with the style change. BUT...
This means that the code must now wait before it can effect the HTML of the page. Use the DOMContentLoaded event, or similar, for this.
The new image is considerably bigger than the old image, so you must size it with CSS to avoid busting the layout (since the page did not do this).
You should also trim/size/adjust the image in an image editor -- for better and more performant results.
Since the script uses GM_ functions, it must now @require jQuery, if it wishes to use it.
Putting it all together, here is a complete working script:
// ==UserScript==
// @name StackExchange TEX, replace background and adjust logo
// @match *://tex.stackexchange.com/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
GM_addStyle ( `
.site-header .site-header--container {
background-image:url("https://i.stack.imgur.com/1d1sg.png") !important;
}
.site-header--link > img {
width: 137px; /* Sizes taken from default/native logo*/
height: 47px;
}
` );
document.addEventListener ("DOMContentLoaded", tweakLogo);
function tweakLogo () {
var siteLogo = $(".site-header--link");
if (siteLogo.length === 0) {
console.error ("TRB userscript: Site logo not found. Page structure changed?");
return;
}
//- Change link
siteLogo.attr ("href", "/questions");
//- Change image
siteLogo.find ("img").attr ("src", "//i.stack.imgur.com/jd5iY.png");
} |
H: In Google Sheets, how can paste a copied cell/value into several selected cells at once?
What I need to do is to first copy a cell (or the value of the cell), then select a number of other cells (not necessarily in a continuous range), then I want to paste that cell or value into all the selected cells at once.
What happens is the value gets pasted only into the first selected cell, and not to any of the others.
How can I do this?
I'm not super familiar with the intricacies of this product. I've tried searching, but maybe I'm not very good at it because I couldn't find anyone with the same problem exactly.
AI: method 1:
select desired cell
press SHIFT + ARROW KEY
or SHIFT + CTRL + ARROW KEY
and then CTRL + ENTER
method 2:
select desired cell
press CTRL + C
then select multiple cells where you want to paste by holding CTRL
press CTRL + V
or CTRL + SHIFT + V for values only
or CTRL + ALT + V for format only
for more options see image |
H: Gmail filter to see emails I never replied to
Is there a quick way to search or filter my Gmail inbox to see all the emails I never replied to?
AI: depends on "quick". here is quick tutorial:
go to https://script.google.com/home
on the top left there is New script button
a new tab opens, wait to load and then press CTRL + A
next press BACKSPACE to remove everything unnecessary
copy and then paste this code:
/*
* This script goes through your Gmail Inbox and finds recent emails where you
* were the last respondent. It applies a nice label to them, so you can
* see them in Priority Inbox or do something else.
*
* To remove and ignore an email thread, just remove the unrespondedLabel and
* apply the ignoreLabel.
*
* This is most effective when paired with a time-based script trigger.
*
* For installation instructions, read this blog post:
* http://jonathan-kim.com/2013/Gmail-No-Response/
*/
// Edit these to your liking.
var unrespondedLabel = 'No Response',
ignoreLabel = 'Ignore No Response',
minTime = '5d', // 5 days
maxTime = '14d'; // 14 days
// Mapping of Gmail search time units to milliseconds.
var UNIT_MAPPING = {
h: 36e5, // Hours
d: 864e5, // Days
w: 6048e5, // Weeks
m: 263e7, // Months
y: 3156e7 // Years
};
var ADD_LABEL_TO_THREAD_LIMIT = 100;
var REMOVE_LABEL_TO_THREAD_LIMIT = 100;
function main() {
processUnresponded();
cleanUp();
}
function processUnresponded() {
// Define all the filters.
var filters = [
'is:sent',
'from:me',
'-in:chats',
'(-subject:"unsubscribe" AND -"This message was automatically generated by Gmail.")',
'older_than:' + minTime,
'newer_than:' + maxTime
];
var threads = GmailApp.search(filters.join(' ')),
threadMessages = GmailApp.getMessagesForThreads(threads),
unrespondedThreads = [],
minTimeAgo = new Date();
minTimeAgo.setTime(subtract(minTimeAgo, minTime));
Logger.log('Processing ' + threads.length + ' threads.');
// Filter threads where I was the last respondent.
threadMessages.forEach(function(messages, i) {
var thread = threads[i],
lastMessage = messages[messages.length - 1],
lastFrom = lastMessage.getFrom(),
lastTo = lastMessage.getTo(), // I don't want to hear about it when I am sender and receiver
lastMessageIsOld = lastMessage.getDate().getTime() < minTimeAgo.getTime();
if (isMe(lastFrom) && !isMe(lastTo) && lastMessageIsOld && !threadHasLabel(thread, ignoreLabel)) {
unrespondedThreads.push(thread);
}
})
// Mark unresponded in bulk.
markUnresponded(unrespondedThreads);
Logger.log('Updated ' + unrespondedThreads.length + ' messages.');
}
function subtract(date, timeStr) {
// Takes a date object and subtracts a Gmail-style time string (e.g. '5d').
// Returns a new date object.
var re = /^([0-9]+)([a-zA-Z]+)$/,
parts = re.exec(timeStr),
val = parts && parts1,
unit = parts && parts2,
ms = UNIT_MAPPING[unit];
return date.getTime() - (val * ms);
}
function isMe(fromAddress) {
var addresses = getEmailAddresses();
for (i = 0; i < addresses.length; i++) {
var address = addresses[i],
r = RegExp(address, 'i');
if (r.test(fromAddress)) {
return true;
}
}
return false;
}
function getEmailAddresses() {
// Cache email addresses to cut down on API calls.
if (!this.emails) {
Logger.log('No cached email addresses. Fetching.');
var me = Session.getActiveUser().getEmail(),
emails = GmailApp.getAliases();
emails.push(me);
this.emails = emails;
Logger.log('Found ' + this.emails.length + ' email addresses that belong to you.');
}
return this.emails;
}
function threadHasLabel(thread, labelName) {
var labels = thread.getLabels();
for (i = 0; i < labels.length; i++) {
var label = labels[i];
if (label.getName() == labelName) {
return true;
}
}
return false;
}
function markUnresponded(threads) {
var label = getLabel(unrespondedLabel);
// addToThreads has a limit of 100 threads. Use batching.
if (threads.length > ADD_LABEL_TO_THREAD_LIMIT) {
for (var i = 0; i < Math.ceil(threads.length / ADD_LABEL_TO_THREAD_LIMIT); i++) {
label.addToThreads(threads.slice(100 * i, 100 * (i + 1)));
}
} else {
label.addToThreads(threads);
}
}
function getLabel(labelName) {
// Cache the labels.
this.labels = this.labels || {};
label = this.labels[labelName];
if (!label) {
Logger.log('Could not find cached label "' + labelName + '". Fetching.', this.labels);
var label = GmailApp.getUserLabelByName(labelName);
if (label) {
Logger.log('Label exists.');
} else {
Logger.log('Label does not exist. Creating it.');
label = GmailApp.createLabel(labelName);
}
this.labels[labelName] = label;
}
return label;
}
function cleanUp() {
var label = getLabel(unrespondedLabel),
iLabel = getLabel(ignoreLabel),
threads = label.getThreads(),
expiredThreads = [],
expiredDate = new Date();
expiredDate.setTime(subtract(expiredDate, maxTime));
if (!threads.length) {
Logger.log('No threads with that label');
return;
} else {
Logger.log('Processing ' + threads.length + ' threads.');
}
threads.forEach(function(thread) {
var lastMessageDate = thread.getLastMessageDate();
// Remove all labels from expired threads.
if (lastMessageDate.getTime() < expiredDate.getTime()) {
Logger.log('Thread expired');
expiredThreads.push(thread);
} else {
Logger.log('Thread not expired');
}
});
// removeFromThreads has a limit of 100 threads. Use batching.
if (expiredThreads.length > REMOVE_LABEL_TO_THREAD_LIMIT) {
for (var i = 0; i < Math.ceil(expiredThreads.length / REMOVE_LABEL_TO_THREAD_LIMIT); i++) {
label.removeFromThreads(expiredThreads.slice(100 * i, 100 * (i + 1)));
iLabel.removeFromThreads(expiredThreads.slice(100 * i, 100 * (i + 1)));
}
} else {
label.removeFromThreads(expiredThreads);
iLabel.removeFromThreads(expiredThreads);
}
Logger.log(expiredThreads.length + ' unresponded messages expired.');
}
click on the clock icon
press OK button
click on No triggers set up. Click here to add one now.
change Hour timer to a different frequency if you want
when done hit Save button
then hit Review Permissions button
select your account
on the bottom left select Advanced
scroll down and click on "Go to Untitled project (unsafe)"
press that Allow button
now open your Gmail (or reload with F5 key) and when the trigger gets activated (based how you've set it up) you will see two new labels:
Ignore No Response
No Response |
H: How do Amazon AWS websites determine localization?
After short trip to Russia all websites insist on showing me Russian versions in Chrome.
IE, I open the following in Chrome Incognito window
https://aws.amazon.com/ec2/spot/pricing/
And I'm redirected to
https://aws.amazon.com/ru/ec2/spot/pricing/
Any idea how they are determining that I'm in Russia and how to fix this?
Safari is unaffected (MacOS 10.13.6)
AI: clear your browsing data - CTRL + SHIFT + DELETE |
H: Conditional Formatting in GSheets
I have a sheet tracking activity scores for players across multiple accounts in a game I play.
I am trying to format the scores so that the monthly cells (Columns I through T) will be red if the number for the month is less than the minimum required (column B), however, nothing I have tried seems to work from other similar questions I have looked at.
I tried a simple =I2<B2 but that ignored the 0 cells, which could be because they are results of a function which returns 0 if vlookup returns an error?
Using the Less than option in the drop down returns ever weirder results with only 2 of the cells not being red, both of which should actually be red...
I'm learning as I go so any advice would be appreciated!
AI: select cell I2
set conditional format rules as:
...not sure which one you need:
=IF(I2>$B2,TRUE,FALSE)
or
=IF(I2<$B2,TRUE,FALSE)
https://docs.google.com/spreadsheets/d/ |
H: Conditional Formatting COUNTIFS (Google Sheets)
I'd like column P to be highlighted when:
A contains "x"
E contains "approved"
O < today (date has passed)
P and Q are blank
My formula doesn't work:
=COUNTIFS(A6:A, "x", E6:E, "approved", O6:O, "<"&today(), P6:P, "", Q6:Q, "")
AI: try this one by entering it into desired cell at 6th row and expanding the range (eg. P6:P):
=COUNTIFS(A6, "x", E6, "approved", O6, "<"&today(), P6, "", Q6, "") |
H: MAXIFS: how to get rid of error when there is no max (Google Sheets)
I am using the MAXIFS formula to find the max date if criteria are met. However, when the criteria are NOT met, it is giving a max date of 12/30/99.
How can I get this to be blank when the criteria are not met?
My formula: =maxifs(B:B, A:A, "x", D:D, "cc", E:E, "denied")
The issue: When "denied" is missing from column E, the result is 12/30/99. How can I get it to be blank?
EDIT: I realized the result is 12/30/99 because the cell format is date.
Is there any way to get the MAXIFS formula to be blank when criteria are not met? Or is this a find/replace sort of thing?
I can also use an array formula =ArrayFormula(LARGE(IF((D:D="cc")*(E:E="denied"),B:B),1)), but noticed the array doesn't auto-update when all criteria are met. When criteria are not met (ie column E doesn't have denied, then I get an error: NUM
I tried adding a script to run a find/replace onEdit (found this from another StackExchange Q&A, but it made all cells within my range the same date.
function onEdit(){
var ss = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("inquiries.app date.bonus");
var range = ss.getRange("L2:O4");
var data = range.getValues();
var formulas = range.getFormulas();
for (var i=0;i< formulas.length;i++) {
if(typeof formulas[i] !== "undefined" && formulas[i] != ""){
formulas[i][0] = formulas[i][0].replace(12/30/99, "");
data[i][0] = formulas[i][0].toString();
}
}
range.offset(0, 1).setValue(new Date())
}
This script worked but changed my cell format to automatic. Is there a way to make sure cells are formatted as date?
function onEdit(e){
var ss = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("inquiries.app date.bonus");
var range = ss.getRange("L2:O4");
var data = range.getValues();
var formulas = range.getFormulas();
for (var i=0;i< formulas.length;i++) {
if(typeof formulas[i] !== "undefined" && formulas[i] != ""){
formulas[i][0] = formulas[i][0].replace(12/30/99, "");
data[i][0] = formulas[i][0].toString();
}
}
range.setValues(data).setNumberFormat("0");
}
I tried these formulas, but nothing happened. In fact, it removed the cell formulas and changed it to values.
function onEdit(e) {
var s = e.source.getActiveSheet();
if (s.getName() !== 'inquiries.app date.bonus' || e.value !== '12/30/99') return;
e.range.setValue(s.getRange('never')
.getValue());
}`
and
`function replace(){
var ss = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("inquiries.app date.bonus");
var range = ss.getRange("L2:O4");
var vlst=range.getValues();
var i,j,a,find,repl;
find="12/30/99";
repl="never";
for (var i = 0; i < vlst.length; i++) {
for (var j = 0; j < vlst[i].length; j++) {
a = vlst[i][j];
if (a == find) vlst[i][j] = repl;
}
}
range.setValues(vlst);
}
and
function onEdit(){
var ss = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("inquiries.app date.bonus");
find="12/30/1999";
repl1= "never";
var ss = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("inquiries.app date.bonus");
var range = ss.getRange("L2:P4");
var vlst=range.getValues();
var i,j,a,find,repl;
repl= repl1;
for (i in vlst) {
for (j in vlst[i]) {
a=vlst[i][j];
if (a==find) vlst[i][j]=repl;
}
}
range.setValues(vlst);
}
AI: you can wrap it into IFERROR() to set custom #NUM! (in your case: if #NUM! then blank)
=IFERROR(ARRAYFORMULA(LARGE(IF((D:D="cc")*(E:E="denied"),B:B),1)),) |
H: How to See Full Header in Outlook Mail Online? (2018)
I received this phishing email and I want to see its full header. How can I do this on outlook.com?
Here is a screenshot of what I see
AI: The command you're looking for is actually in the message menu next to the "Reply" button.
Click the down arrow to open the menu.
Choose "View message source"
That'll give you the raw email message, including all the headers. |
H: YouTube subtitle text search?
If I have a list of YouTube video URLs, how do I search text strings in the English subtitles?
The automatically generated subtitles should be used if possible: use human subtitles if they are available.
AI: to mass-download subtitles:
download this: https://yt-dl.org/latest/youtube-dl.exe
in a folder where you downloaded youtube-dl.exe create batch file BATCH.cmd with content:
youtube-dl.exe -o %%(autonumber)s-%%(title)s.%%(ext)s --all-subs -a feed.txt
in a folder where you downloaded youtube-dl.exe create text file feed.txt with content like:
https://www.youtube.com/watch?v=nsnyl8llfH4
https://www.youtube.com/watch?v=66OpdgDgjBQ
https://www.youtube.com/watch?v=gB9n2gHsHN4
run/execute BATCH.cmd by double-clicking
wait until cmd window closes (it can take a time - depends on your internet speed) |
H: Disable auto pause on mobile YouTube site
I'll play some videos from YouTube and I'll add them to my playlist on Spotify. But everythime I'll change from the mobile YouTube website to the Spotify app, YouTube will pause the video. I hate this feature and would disable it. But how can I do that? I didn't find any setting to do that.
AI: unfortunately, there isn't such a setting do disable this future on mobile. it has to do with "auto-focusing-on-active-app". you can try a few alternatives like:
https://github.com/MinTube
https://github.com/NewPipe
another approach would be not to use mobile YouTube site:
open youtube.com in your mobile browser (Chrome / Firefox)
go to the browser menu and choose Desktop Site to switch to the desktop version of the YouTube website
tap the play button to start the YouTube video and then switch to any other app on your phone.
YouTube will stop playback - no problem - just pull down the notification bar and tap the play icon in the drawer to resume playback.
done... YouTube will now play in the background while you multi-task. |
H: Conditional format based on count of spaces in cell
For Google Sheets, there's plenty on how to format based on length, and there's plenty on how to count spaces, but I'm struggling to combine the formula.
I understand the usage of ranges for formatting on length:
=len(A:A)>30
And for counting spaces:
=len(A1)-len(SUBSTITUTE(A1," ","")
But how do I apply ranges to the above so that it can be used in conditional formatting?
My goal is to format a cell red if there are more than N spaces in it.
AI: Try using the formula:
=len($A1)-len(SUBSTITUTE($A1," ",""))>N
and the Range of the Conditional Format as A:A |
H: draw.io - how to snap to minor grid on arrow press
Sometimes when I move items on the grid with the arrow keys, I don't want them to move a single pixel, I would like them to move to the minor line of the grid so I can easily and quickly align items.
Is there a way to do this or is there another way of aligning items? I am using the multi-lane flow chart to diagram the flow between web services.
Going to https://www.draw.io/shortcuts.svg doesn't seem to have a way to set this.
AI: SHIFT + ARROW KEY could do the trick |
H: How to make the default Gmail account different from Chrome profile account?
I've tried other solutions to change the default Gmail account but they have only worked temporarily on Chrome. My Chrome is set to sync with the account with email A (and I want it to stay that way) but I want my default Gmail account to be email B. Is that possible?
AI: closest you can get is to set your Account B as "another person". then you will be:
signed in into Account A (not necessarily - you can log out and still be synched with Chrome)
signed in into Account B at the same time and use it as default
to set it up:
click on that button on top right of the browser (shown on image)
window opens and then click on ADD PERSON
when done just login into your Gmail from "new person" and stay logged in |
H: Diference between onEdit or onChange trigger?
From what I've gathered online, onEdit only works when you edit a cell (not when a row is added or when a note/comment is added) and onChange will capture that a change has occurred and trigger when appropriate.
What is the difference between onEdit and onChange?
What criteria should I use in deciding which to use?
AI: based on a quick search these are the differences between onEdit(e) and onChange(e):
onEdit(e):
brief description:
The onEdit(e) trigger runs automatically when a user changes the value of any cell in a spreadsheet. Most onEdit(e) triggers use the information in the event object to respond appropriately. For example, the onEdit(e) function below sets a comment on the cell that records the last time it was edited. An installable edit trigger runs when a user modifies a value in a spreadsheet.
onEdit(e) can be simple trigger or installable trigger:
Simple Triggers let Apps Script run a function automatically when a certain event, like opening a document, occurs. Simple triggers are a set of reserved functions built into Apps Script, like the function onOpen(e), which executes when a user opens a Google Docs, Sheets, Slides, or Forms file. Installable triggers offer more capabilities than simple triggers but must be activated before use. For both types of triggers, Apps Script passes the triggered function an event object that contains information about the context in which the event occurred.
these are the disadvantages:
Because simple triggers fire automatically, without asking the user for authorization, they are subject to several restrictions:
The script must be bound to a Google Sheets, Slides, Docs, or Forms file.
They do not run if a file is opened in read-only (view or comment) mode.
Script executions and API requests do not cause triggers to run. For example, calling Range.setValue() to edit a cell does not cause the spreadsheet's onEdit trigger to run.
They cannot access services that require authorization. For example, a simple trigger cannot send an email because the Gmail service requires authorization, but a simple trigger can translate a phrase with the Language service, which is anonymous.
They can modify the file they are bound to, but cannot access other files because that would require authorization.
They may or may not be able to determine the identity of the current user, depending on a complex set of security restrictions.
They cannot run for longer than 30 seconds.
In certain circumstances, add-ons for Google Sheets, Slides, Docs, and Forms run their onOpen(e) and onEdit(e) simple triggers in a no-authorization mode that presents some additional complications. For more information, see the guide to the add-on authorization lifecycle.
onChange(e):
brief description:
An installable change trigger runs when a user modifies the structure of a spreadsheet itself—for example, by adding a new sheet or removing a column.
onChange(e): is only installable trigger:
Like simple triggers, installable triggers let Apps Script run a function automatically when a certain event, such as opening a document, occurs. Installable triggers, however, offer more flexibility than simple triggers: they can call services that require authorization, they offer several additional types of events including time-driven (clock) triggers, and they can be controlled programmatically. For both simple and installable triggers, Apps Script passes the triggered function an event object that contains information about the context in which the event occurred.
Even though installable triggers offer more flexibility than simple triggers, they are still subject to several restrictions:
these are the disadvantages:
They do not run if a file is opened in read-only (view or comment) mode.
Script executions and API requests do not cause triggers to run. For example, calling FormResponse.submit() to submit a new form response does not cause the form's submit trigger to run.
Installable triggers always run under the account of the person who created them. For example, if you create an installable open trigger, it will run when your colleague opens the document (if your colleague has edit access), but it will run as your account. This means that if you create a trigger to send an email when a document is opened, the email will always be sent from your account, not necessarily the account that opened the document. However, you could create an installable trigger for each account, which would result in one email sent from each account.
-A given account cannot see triggers installed from a second account, even though the first account can still activate those triggers.
important note:
The type of change for onChange(e):
EDIT
INSERT_ROW
INSERT_COLUMN
REMOVE_ROW
REMOVE_COLUMN
INSERT_GRID
REMOVE_GRID
FORMAT
or OTHER
onChange(e) trigger needs to be installed eg. simply changing "onEdit" to "onChange" is not enough. this is the installation code:
function createSpreadsheetOpenTrigger() {
var ss = SpreadsheetApp.getActive();
ScriptApp.newTrigger('myFunction')
.forSpreadsheet(ss)
.onOpen()
.create();
} |
H: What happens when I block someone on LinkedIn?
As the title says, what happens when I block someone on LinkedIn?
What kind of information am I actually "blocking" them against?
Will my profile be visible? And if not, won't this be a clue for the other person that he has been blocked?
Will my posts and activity be visible or hidden? What should I do to only make my activity hidden from someone but leaving my profile visible (in order not to give clues)?
AI: When you block a member on LinkedIn, here's what will happen:
You won't be able to access each other's profiles on LinkedIn
You won't be able to message each other on LinkedIn
You won't be able to see each other’s shared content.
If you're connected, you won't be connected anymore
LinkedIn will remove any endorsements and recommendations from that member
You won't see each other under Who's Viewed Your Profile
LinkedIn will stop suggesting you to each other in features such as People You May Know and People also Viewed
Note: LinkedIn won't notify the member that you blocked them, and only you’ll be able to unblock them.
https://www.linkedin.com/help/member-blocking |
H: Does IMPORTRANGE automatically update the destination if the source is changed?
Not sure if this has been answered else ware but, I'm trying to use the importrange function in Sheets to import a list of dates from spreadsheet A to spreadsheet B. That part works fine, however, if a date is changed in A, the importrange function won't auto-update B. Is there a way to get that auto-update to work?
I've looked at possibly using Google Script--I was hoping there was a way to run the importrange function using some sort of button (I don't mind clicking a button to update all importrange functions in B).
AI: with IMPORTRANGE you can experience ~1 second delay:
here I give you Spreadsheet A: https://docs.google.com/spreadsheets/d/
and here is Spreadsheet B: https://docs.google.com/spreadsheets/d/
IMPORTRANGE formula is:
=IMPORTRANGE("1FHFuMQYYYsKgraElTAEIEyzQLLsFOXX1U9udWPtSNsI", "Sheet1!A:A")
gif proof: https://i.stack.imgur.com/oo1Ed.gif (open in new tab) |
H: Multiple IF statements: IF, AND, ISDATE, THEN formula
I'm trying to get a nested formula to work, but I keep getting an error. I tried using the generic formula =IF(AND(A1="this",B1="that"),"x","") but couldn't figure out how to make sure Q6=date. I had another reviewer write a code for me to conditionally format a cell with similar criteria and it worked so I figured I could use it for this situation. Unfortunately, it doesn't work. Can someone kindly help me understand what I did wrong?
If both these conditions are met:
P6 = "closed"
AND
Q6 = date
Then:
Q6-P6 (subtract)
otherwise, leave blank
EDIT: added this second condition: any errors or negative values that result become "NA". I think it will be some sort of nested statement?
IF: negative number or error (#VALUE!)
THEN: "NA"
Formulas I tried:
=IF( AND(ISDATE(Q6), COUNTIFS(P6, "closed", Q6, ">"&DATE(0,1,1)), "Q6-B6", ""))
AND
=IF(AND(P6="closed", Q6">"&DATE( 0,1,1), Q6-B6, ""))
AND
=IF(AND(P6= “closed”, ISDATE(Q6 ">"&DATE(0,1,1))), Q6-B6, "")
Solution #1
I figured it out! Was a simple fix; just set the second condition as any date less than today.
=IF(AND(P6="closed", Q6<"Today()"), Q6-B6, "")
BUT now if I get a negative number (because column B doesn't have a start date), how can I make this formula return "NA?"
I tried this formula (got an error):
=IF(AND(P6="closed", Q6<"Today()", Q6-B6, ""), IF(R6<0, "NA", IF(R6="VALUE!", "NA", "NA")))
Am I on the right track? Does this fail because if it errors/is negative is circular (it's the result of the first part of the formula running)? I got the negative value to disappear using conditional formatting and making the text font white (thank you, @user0!)
Should the error piece be written as an array/error trap? the IFERROR code completely confuses me. I tried these but still got Formula parse error:
=iferror(ArrayFormula(IF(AND(P6="closed")*(Q6<"Today()"),Q6-B6), "NA”))
=iferror(ArrayFormula(IF(AND(P6="closed")*( Q6<"Today()"),Q6-B6, “”),1)
=iferror(ArrayFormula(IF(AND(P6="closed")*( Q6<"Today()"),Q6-B6, “”),1,"NA")
Solution #2
Wow. I feel pretty accomplished. Lots of trial and error, but this formula seems to work for all cases. Gives me the count Q6-B6, NA if there's an error, and blank if conditions aren't met (the negative values I used conditional formatting to hide).
=IFERROR(IF(AND(P6="closed", Q6<"Today()"), Q6-B6, ""), "NA")
AI: Solution #1
I think I figured it out! I just set the second condition to be a date less than today (since the dates in column Q will be the closure date, they are dates in the past). I modified the generic IF-AND formula:
=IF(AND(P6="closed", Q6<"Today()"), Q6-B6, "")
Solution #2
For the negative values, I used conditional formatting and made the text white (credit goes to @user0, who helped me with another issue and used this ingenious trick)
For the errors, I used an error trap formula (also thanks to @user0). Took a little tweaking and a lot of trial and error, but I finally got it to work!! :)
=IFERROR(IF(AND(P6="closed", Q6<"Today()"), Q6-B6, ""), "NA") |
H: how add comment at end of text not numbers in Google sheets
I understand for numbers you can use the n() function because if you do +n("comment") to a number it doesn't change the number.
What about string text? I can't use +n() and add a number to a string.
AI: assuming you refer to:
=IF(A1="hello"; 10; 20)+N("add comment") works
=IF(A1="hello"; "x"; "y")+N("add comment") not working
for appending a hidden comment to text values you can do:
=IFERROR(IF(A1="hello"; "x"; "y");"add comment")
use it with wisdom |
H: How do I attach a file to an email in the new Gmail interface?
I updated my Gmail to the new interface, and all of the buttons to attach a file, format the text, etc. are gone. See the image below. Is this a bug in the interface, or something wrong with my browser?
My browser is Chromium version 68.0.3440.75, running on Debian 9.5 (64-bit).
AI: try to toggle Plain text mode:
Windows: 7 Ultimate SP1 64bit
Chrome: Version 68.0.3440.106 (Official Build) (64-bit) |
H: Use checkbox to change the background color of a range of cells in Google Sheets
I'm trying to have a checkbox change the background color of a range of cells using conditional formatting custom formula =$N123=True. With the range defined in conditional formatting only the first cell changes color when the checkbox is checked. Why would only one cell be effected?
AI: you need to lock the row number otherwise, it will look for next row and the next row have not the given criteria (TRUE)
custom formula: =COUNTIF($A$1, "=TRUE") |
H: Adding cells from multiple Google Sheets into a "master" sheet
I have 20 Google Sheets, not 20 tabs in 1 sheet, but 20 separate files each with 3 tabs called Identify | Protect | Detect.
I would like to add or collate the numbers from each of these separate files into 1.
For instance, put the sum all the numbers from C41 in each of the 20 sheets into cell C41 of the "master" spreadsheet
In excel you could just use:
=SUM('file_path\[file1.xls]sheet1!$C$41)+('file_path\[file2.xls]sheet1!$C$41)
All the Google Sheets live in the same Google Drive directory
AI: you need to use =IMPORTRANGE for that... 20 times and wrap it in =SUM
this is how =IMPORTRANGE works:
=IMPORTRANGE("1W8yfNmNBBZuEKqk56k-ZxaKrLOiGOBASrkRCQNVxOSA"; "Sheet1!A1")
where the "code" from first quotes is ID of the spreadsheet (which can be found in URL of the particular spreadsheet) and 2nd phrase in the quotes is a combination of sheet name and cell reference/range.
the ID 1W8yfNmNBBZuEKqk56k-ZxaKrLOiGOBASrkRCQNVxOSA is from:
https://docs.google.com/spreadsheets/d/1W8yfNmNBBZuEKqk56k-ZxaKrLOiGOBASrkRCQNVxOSA/edit
so basically you need to modify this formula by adding ID and sheet name:
=SUM(IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41");
IMPORTRANGE("ID"; "'sheet name'!C41"))
NOTE: you may be prompted to allow connection between those spreadsheets of yours... |
H: What exactly do Gmail's "Yes, that would be fine" answer buttons under a mail message containing a question do?
After I switched to the new Gmail web interface I've received a mail message of the form
Would it be acceptable to you if <...>
To my surprise I found three buttons under the message below the signature:
Yes, you can do that. Yes, that would be fine. No, it doesn't.
If I click "Show original" in the message menu, I see that these buttons are not part of the message, so I suppose it's the Gmail engine which has analyzed message contents and is trying to be helpful.
However, I'm hesitant to use these buttons, since I'm not sure what they'll do. So, my question: what exactly do these buttons do? Do they simply send the answer without further interaction? Or do they simply let me start with a message template corresponding to the answer I choose? Or is this simply a means to provide Google with some sort of statistics/feedback on their AI mail analyzer?
Trying to search the web for the exact phrases led me nowhere...
AI: Those are "Smart Replies". Using machine learning tech, Google is making a guess at what would be a reasonable response. It might save you a little time.
Google Blog: Save time with Smart Reply in Gmail
It’s pretty easy to read your emails while you’re on the go, but responding to those emails takes effort. Smart Reply, available in Inbox by Gmail and Allo, saves you time by suggesting quick responses to your messages. The feature already drives 12 percent of replies in Inbox on mobile. And starting today, Smart Reply is coming to Gmail for Android and iOS too.
Smart Reply suggests three responses based on the email you received:
Once you’ve selected one, you can send it immediately or edit your response starting with the Smart Reply text. Either way, you’re saving time.
Smart Reply utilizes machine learning to give you better responses the more you use it. So if you're more of a “thanks!” than a “thanks.” person, we'll suggest the response that's, well, more you! If you want to learn about the smarts behind Smart Reply, check out the Google Research Blog. |
H: Why does Gmail force a dot in my email address?
Google insists that dots don't matter in an email address.
However:
If I attempt to log in with firstnamelastname@gmail.com then it tells me I'm logged in as firstname.lastname@gmail.com.
I am unable to send an email as firstnamelastname@gmail.com, it always comes from firstname.lastname@gmail.com.
If I go into myaccount.google.com then I'm told my Google Account email is firstname.lastname@gmail.com and that this cannot be changed.
If dots really don't matter, why do they appear to matter?
AI: Because the dots don't matter in an email address, but they do matter in your login name, which is what your Gmail account name is.
So, your account is firstname.lastname. (Actually, it's firstname.lastname@gmail.com because you can create a login with a non-Gmail email address.)
You can receive mail sent to firstname.lastname@gmail.com, firstnamelastname@gmail.com, first.namelast.name@gmail.com, etc.
But when you log in you need that dot in the right place.
As for sending without the dot, you can do that too, but you have to set up an alias in your Gmail settings. (See: Change my Gmail sender address from firstname.lastname to firstnamelastname) |
H: AVERAGEIFS ERROR "Divide by Zero"
I'm trying to calculate an average # days an account has been open if all 3 specific conditions are met.
Average range: R6:R102
Conditions:
A6:A102 = "x"
S6:S102 = "* EWS *" (contain part of EWS)
B6:B102 = past 3 years
For last condition, the easiest solution was to put a formula in A3 (where A3= =TODAY()-1095) and then reference it in my AVERAGEIFS formula.
=AVERAGEIFS(R6:R102, A6:A102, "x", S6:S102, "*EWS*", B6:B102, ">A3")
Formula worked fine until I added condition #3. Now, I get a DIVIDE BY ZERO error. Why does it give me an error? Should I be making the last condition a date between today and 3yrs ago?
appreciate any insight you can provide. thank you!
AI: =TODAY()-1095 doesn't count for leap years etc. so:
=AVERAGEIFS(R4:R102, A4:A102, "x",
S4:S102, "*EWS*",
B4:B102, ">"&MONTH(TODAY())&"/"&DAY(TODAY())&"/"&YEAR(TODAY())-3) |
H: Split columns in to rows in google spread sheets
I have following table:
ID Event Event2 Event3
102 181 182 184
103 5 7 8
I want to convert in into:
ID Event
102 181
102 182
102 184
103 5
103 7
103 8
I tried with pivot table but no success. How to do this?
AI: try this:
=ARRAYFORMULA({SPLIT(TRANSPOSE(A2&"|"&"|"&$B$2:$D$2);"|");
SPLIT(TRANSPOSE(A3&"|"&"|"&$B$3:$D$3);"|")})
custom formula builder: https://docs.google.com/spreadsheets/d/ |
H: How do I get Gmail to wrap my paragraph text in the default HTML mode?
I've been noticing of late that when I write paragraphs that end up needing word-wrapping as Gmail will make these lines extremely long and cause horizontal scroll bars and hence make having to read the email very annoying.
I have done some testing and most clients will keep it this way and hence cause issues for the receiver; however, I noticed Thunderbird wraps long lines nicely.
I have tried sending the exact same message from Thunderbird and it wraps the lines nicely (I have the format on auto-detect).
I can't use plain-text mode as I have a HTML signature included; is there a fix for this? Surely there must be a fix for this for such a large email provider?
I am using GSuite (formerly Google Apps) if it matters.
AI: Ok, seems it wasn't a Gmail issue at all; it was caused by my email signature.
I had set my HTML email signature to 100%, such as…
<table width="100%" style="width: 100% !important;">
so this was what was creating a long page width and the text was just utilising the space already created; I removed the width parameters and everything looks great! |
H: Color all cells in Google Sheets that contain data present in a set
I have a Google Spreadsheet having possibly thousands of IP addresses extending from column A1 to column CS2990
And
I have a list of about 100 IP addresses
I need to color all the cells in Green which contain any IP addresses that is in the list of those 100 IP addresses.
The sheet contains IP addresses as 1.2.3.4/32 or 7.8.9.10/28 or something where number after / can change
And the list that I have contains IP addresses in the format of 1.2.3.4
So color the cells having 1.2.3.4, doesn't matter if it was 1.2.3.4/32 or 1.2.3.4/28
AI: you can try this as a custom formula:
=COUNTIF(A1; "*1.2.3.4*")
for 100+ conditions you can do:
=OR(COUNTIF(A1;"*2.2.2.2*");COUNTIF(A1;"*1.2.3.4*");COUNTIF(A1;"*5.5.5.4*"))
or you can set a new sheet with references:
=OR(COUNTIF(A1;"*"&newsheet!A1&"*");COUNTIF(A1; "*"&newsheet!A2&"*"))
or you can use formula builder:
https://docs.google.com/spreadsheets/d/ |
H: Updating a cell with fixed format without using code, formulas only
I have cell A1 = 1,0,0,1 cell B1=,1,,-1
I need a formula that would be the equivalent of =update(A1,B1).
The numbers between the commas can be any number. I need B1 to replace data in A1 where there is a number.
Cell C1 output: 1,1,0,-1
Note: A1 and B1 will always be in that format, 4 numbers separated by commas.
more examples:
A1 = 1,0,0,1 cell B1=,1,,-1 --> 1,1,0,-1
A1 = 10,0,0,1 cell B1=,1,,-1 --> 10,1,0,-1
A1 = 10,0,0,01 cell B1=,1,,-1 --> 10,1,0,-1
A1 = 10,0,-1,0 cell B1=,1,,-1 --> 10,1,-1,-1
A1 = 10,1,0,1 cell B1=,0,,-1 --> 10,0,0,-1
A1 = 10,0,0,01 cell B1=-1,1,, --> -1,1,0,01
General:
A1 = a,b,c,d B1 = e,f,g,h --> make C1 by replacing a with e, b with f... etc, if e,f,g,h are not blanks.
AI: How about this sample formula? I think that there are several answers to your situation. So please think of this as one of them.
Sample formula:
For example, when "A1" and "B1" are 1,0,0,1 and ,1,,-1, respectively. Please put this formula to "C1".
=JOIN(",",ARRAYFORMULA(IF(
ISBLANK(SPLIT(REGEXREPLACE(B1,"([-\d]+)","\'$1"),",",true,false)),
SPLIT(REGEXREPLACE(A1,"([-\d]+)","\'$1"),",",true,false),
SPLIT(REGEXREPLACE(B1,"([-\d]+)","\'$1"),",",true,false)
)))
Add ' before a number. By this, for example, 01 can be used as 01.
Split the string in the cell.
Compare each element.
If there is no value in "B1", the element of "A1" is used.
If there is a value in "B1", the element of "B1" is used.
Join each element as a string value.
Result:
References:
SPLIT
REGEXREPLACE
JOIN
If I misunderstand your question, I'm sorry.
Edit :
If you want to use 01 as 1, please use the following formula.
=JOIN(",",ARRAYFORMULA(IF(
ISBLANK(SPLIT(B1,",",true,false)),
SPLIT(A1,",",true,false),
SPLIT(B1,",",true,false)
))) |
H: How do I list Nth matches in Google Spreadsheet?
On MS XLS I can do some aggregate or leech off a structured reference, but I really don't know how to find the Nth result based on word match on Google Sheets.
I have huge columns - name, role. I need to pull out the first 10 people off any given role. Obviously, this can be done by sorting and filtering, but due to the non-stop changes to the list, it's better to get it by a formula that I can copy 10 times to get 10 matches.
Here is how to find the last match in case anyone is interested:
=LOOKUP("keyword",C1:C100,D1:D100)
(a word you match, search range, result range)
AI: try:
=ARRAY_CONSTRAIN(QUERY(C5:D, "select D where C = '"&$C5&"'",0), 3, 1)
or:
=ARRAY_CONSTRAIN(QUERY(C5:D, "select D where C = '"&"west"&"'",0), 3, 1)
to get first 10 matches
=ARRAY_CONSTRAIN(QUERY(C5:D, "select D where C = '"&$C5&"'",0), 10, 1) |
H: How can I find my Google Account name?
I can't remember the name of one of my Google accounts (account a), but it was signed in on a computer that was signed in to a different account (account b). is there a way to find account a in the history of account b?
AI: If Account B's email address was set as an alternate login or as the recovery address for Account A, you would have received an email message to that effect when you created the account.
Beyond that, no, there's no way for a mortal to connect two disparate Google accounts. |
H: Google Forms: Number Ranges Appear as Dates
I have a Google form intended to be filled out by teachers. One of the questions is about student ages. The choices are checkboxes with age ranges, so [ ] 0 - 5, [ ] 6 - 11 and so on.
The two ranges 6 - 11 and 12 - 14 show up formatted as dates, 11-Jun and 14-Dec, in the CSV spreadsheet. The others (0 - 5, 15 - 19, and 20+) show up as text. If I format the entire column as text, I get the numbers 43262 and 43448, which are presumably day numbers.
Since the munged content is predictable, I know I can fix this manually, but I'd surely like to prevent it from happening. How can I prevent this behavior?
Edit:
Here's what the form looks like:
The resulting spreadsheet looks like this before formatting:
After formatting column B as text, it looks like this:
AI: you can use forced formatting so instead just 6 - 11 / 12 - 14 type in:
="6 - 11"
="12 - 14"
or:
'6 - 11
'12 - 14
or:
=TEXT(; "6 - 11")
=TEXT(; "12 - 14")
or:
=T("6 - 11")
=T("12 - 14")
update:
you can try to format it as @
or you can fake it to still be a date but look like you need it: |
H: Is it possible to change Microsoft Outlook web interface's settings so that opened emails from the unread email list are marked as read?
When I list unread emails in Microsoft Outlook web interface:
then open one of the unread emails, the email is still marked as unread.
Is it possible to change Microsoft Outlook web interface's settings so that opened emails are marked as read?
AI: This looks like a bug in Outlook's settings when viewing using Filters. However, you can work around it by manually marking the email as read when you have it open.
To do so,
click the ellipsis icon in the email actions shown above the message (when it's open)
click the "mark as read" option from the dropdown menu.
Now when you close the message and return to the filtered list view, it will no longer appear as "unread" |
H: Creating a Dashboard in Google Sheets which multiple people use issue with multiple users
this may be open-ended but let me put this forward.
I have a very complex dashboard which works out staff hours across the country. In this dashboard our team members have a drop down to choose their store which populates the same sheet with data relevant to their store, all to do with staff hours.
Now historically, the teams have used excel to do this but due to excels limitations and the amount of time it takes to update the data when changing the drop down (seconds in google sheets and about 5 minutes per drop down in excel!) I have decided to move to google sheets.
the issue lies when we have multiple users using the same sheet, if two of my area managers used the sheet at the same time then they would essentially be fighting for to see their data. With excel we would just email out the report and everyone would have their own copy. So what I'm after is a filter views sort of solution.
I've thought of the following:
Create n number of sheets in the same workbook using javascript to parse through an array of Area Names whilst duping and changing the reference cell to the cell reference in the array. I could then create a front page in google sheets which links to each page like a table of contents.
Issues with this is that the workbook would become massive and I may go past my 2mil cell limit.
I really do not know of any other way except for perhaps getting a BI tool like PowerBI and creating a dashboard there and putting the data into SQL server.(which I cannot do for the mo as I've just started and we don't have PBI or sharepoint yet!)
Does anyone have any pointers or guidance to the above?
AI: how about to have a master sheet and create slave sheets (or spreadsheets) which will use =IMPORTRANGE from a master and each of your managers gets 1 such slave sheet (or spreadsheet) which can be filtered as pleased
then such sheets can be locked per manager and act as "dedicated filtering sheet" for such manager while master can be editable |
H: Adding condition to existing formula to not trigger formula if another cell is blank
I'm new to adding formulas etc. in Google Sheets, and I'm currently trying to set up a library borrowing/returns spreadsheet.
I have three columns formatted to dates: 'G' (date borrowed), 'H' (date due) and 'I' (date returned).
In 'H' I have the following formula to count 20 days from the date in column 'G', whilst also not firing if 'G' is blank:
=ArrayFormula(if(ISBLANK(G6),"",DATEVALUE(G6)+20))
This works great.
I also have conditional format to highlight 'H' in red if the date becomes overdue, which is:
Value is less than
=TODAY()
This does the job initially, except that I need the format which makes 'H' highlight red NOT to fire if there is a return date entered in column 'I' (otherwise every entry will eventually turn red, and that's not really helpful for what I'm doing!).
I'm having a hard time figuring it out.
I feel it should be simple to add an ISBLANK type command into the =TODAY() format, but I'm clearly missing something.
Any help would be greatly appreciated.
AI: a custom formula you are after:
=IF(I5="",COUNTIF(H5,"<"&TODAY()),) |
H: Is there a way to set a default font in Google Sheets?
I know that there is a way to set a default font on Google Docs, but I was wondering if there's a way to set a default font in Google Sheets?
AI: As far as I can find online, there is no way easy way to set a default font on Sheets.
The only thing I could find on the subject is this Product Forum post from 2016: "This does not work on Google Sheets. It even says that in the Help article that you linked to: "Note: At the moment, this feature isn't available for spreadsheets." |
H: Is there a way to lock or protect conditional formatting in Google Sheets?
I have several columns that indicate the current state of a project task. When I complete some task (for example), I copy the "complete" text from some other cell and paste it in the new cell to avoid typing it (task states change often and it would be a massive pain to have to type every state manually).
How can I prevent conditional formatting from changing or moving when I copy/paste/move cells in Google Sheets?
Is it possible to "lock" or protect the conditional formatting? Or perhaps is there a way to tell conditional formatting to use absolute cell references instead of relative?
It's incredibly annoying that I don't seem to be able to apply it to a whole column regardless of how I move data around. I'm aware I can edit the cell and copy/cut/paste the text inside without affecting formatting, but that doesn't help when I need to change several cells at once.
Here's an example spreadsheet. Cut cells E14:G14 and paste them down one row to make room for another subtask of "Do something arty", then try to type "up next", "in progress" or "complete". There will be no coloured background because the conditional formatting cell references have become messed up.
AI: I'm afraid that currently it's not possible to use cut & paste / drag & drop. Consider to send a feature request directly to Google through Google Feedback: Click on menu Help > Report a problem.
An alternative to using Cut and Paste is to use Insert Cells > Shift down
Select E14:G14
Right clic over the selected range
Click on Insert Cells > Shift down
NOTE: Keyboard shortcut for Spanish Latinamerican layout Ctrl++ with override Chrome shorcuts enabled. |
H: What does the blue shield badge mean on Facebook?
I've recently started coming across a few Facebook users whose profiles boast blue badges containing what appears to be some sort of shield. These display on the lower frame of the user's profile picture, as seen here:
I initially assumed this was related to being some sort of verification process, though Facebook's Help Center article on verification makes no mention of it, indicating that the classic blue tick is the only verification symbol that exists.
What exactly does this badge mean, and how does a user get it?
AI: That blue badge is actually indicator of Facebook's profile picture guard. Using this guard users will be able to control who can download and share their profile pictures.
If a user turns on profile picture guard, the blue shield badge will show on their profile, and it publicly people will not be able to share or download the picture. In some cases it also prevent to take the screenshot of the photo.
Note: This feature isn't available everywhere at this time.
Read this article for more info. |
H: How to insert numerical values in a cell of a Google Sheet and how I can find their sum?
I use Google Sheets mobile(Android).
I have one column with dates, and anoter column where in each cell I want to input several numerical values that corespond in each date, and in a third column the sum of those numerical values ( actually I plan to do 50 pushups every day for 5 days in several sets in each days, but I dont know the number of the daily sets).
The problem is that when I input numbers in column B seperated by either commas or spaces, the sheet converts the numbers into a date.
For example when I insert in B2 5,5,2 it converts it in 5 5 2002
How can avoid this problem?
(maybe with something like an arraylist? )
And if there is solution to the above problem, is there any way to input in the C column the sum of those numbers?
I don't know the number of columns, each time the number of sets are different
AI: you can try entering numbers in B column like:
'5,5,2
or
="5,5,2"
or
=TEXT(; "5,5,2")
or
=T("5,5,2")
and then SUM it with a formula like:
=SUM(SPLIT(B247;",";1;0)) |
H: Fetch Random String From Array For Each New Form Entry
!Sheet1 is populated with entries coming from a Google form
!Sheet2 has an array of 12 employee names in array A2:A13
How can I automatically populate the cell on the right column of every new line form entry so it will display a random employee name to the right of every new line?
AI: all you need is this formula:
=INDEX(Sheet2!A2:A13; RANDBETWEEN(1; COUNTA(Sheet2!A2:A13))) |
H: Can you disable Gmail but still hold the address to prevent impersonation?
I want to disable my Gmail account and have all emails rejected.
But I do not want anyone else to register my old name and receive my emails or pretend to be me.
Is this possible?
AI: You can just delete the account. The address will not become available for registration.
Source:
You won't be able to get a certain Gmail address if the username you requested is:
[…] The same as a username that someone used in the past and then deleted |
H: Hebrew Calendar in Google Spreadsheets?
Does Google Spreadsheets support the Hebrew Calendar in any way?
If not, are there any workarounds for representing dates in this format?
AI: One manual way to achieve that is by adding a hidden column that contains the Gregorian date (converted manually).
Obviously not an efficient way, but does the job. |
H: Conditional formatting of Google SpreadSheet's cell based on proximity to upcoming date not working as expected
A picture is worth thousand words
So, why isn't the first date cell yellow? It's in the selected range
AI: you did not use valid formula...
=TODAY()
=TODAY()+30 |
H: How can I copy all events from one calendar to another?
Normally if you want to copy all Google Calendar events from one calendar to another, you'd export from one and import into the other. However, if the calendar isn't your own, the export feature isn't available. Is there another way to accomplish this short of copying each event individually?
AI: If the other calendar is shared with you and available in the "Other Calendars" section in Google Calendar, you can save the ICS version of the calendar and import that into your own.
To do this:
Go to Google Calendar Click the ellipsis to the right of the "other
calendar" that has all the events.
Select Settings.
In the Integrate Calendar section, find and copy the Public address in iCal format url, similar to the example screenshot below.
Then, paste the url into a separate browser tab/window.
Depending on your browser settings, you may be prompted to save the file once the page loads; otherwise, if it renders in the browser, choose File > Save As, and save the .ics file to your computer.
Finally, go to Settings > General > Import. Select and import the .ics file into your personal Google Calendar. |
H: How to remove 'fake' employees of a company in LinkedIn
How can I remove 'fake' employees of a company in LinkedIn?
There are multiple fake employees who say they work for a company LinkedIn page I am managing, but they do not, nor never have. How can I remove them?
AI: Try filing a "Notice of Inaccurate Profile Information"
From LinkedIn help:
Since members provide this data, it's not possible for an administrator to remove employees from a Company Page or University Page.
If you'd like us to investigate further, you can file a formal complaint using the Notice of Inaccurate Profile Information. We'll review your request and respond as soon as possible. |
H: AP style poll in Google Sheets
I'm trying to set up an AP Top 25 style poll via Google Sheets ( https://en.wikipedia.org/wiki/AP_Poll ). What I want to do is list the voters' choices on one sheet, and have them totaled and sorted on another. I'll set up a set of examples to describe what I'm trying to do.
Under this example voting scheme, a school gets 5 points for a 1st place vote, four for 2nd, three for 3rd place, two points for 4th place, and one point for 5th. Let's say I manually enter three sets of votes as such:
Under this setup, Alabama should have 11 points, Georgia 8 points, Clemson 10 points, Ohio State 9 points, and Washington 7 points. What I want to do is have another tab of the same sheet calculate the point totals of each school based on which cell they're placed in, display that point total, and sort itself from the greatest number of points to least number of points.
Now, I already understand some basic google sheets functions like sum, product, etc. What I'd like to do is have the "totals" tab populate automatically based on whats entered on the votes tab, without having to type out each individual school. So I need a way for the "totals" tab to look at the first entry in B2 on the votes tab, see "Alabama", make its own entry for "Alabama" on the totals tab, and then add the score for each subsequent entry for "Alabama" on the votes tab based on what column position its in in its respective row. Then do the same for any other unique school entry on the votes tab. Am I making sense?
AI: assuming your dataset is in this format at same columns under Sheet1:
you can add +1 sheet with calculations where:
A2: =ARRAYFORMULA(IF(Sheet1!B2:B="";;Sheet1!B2:B&"_"&ROUNDUP(COLUMN(Sheet1!B2:B)+3)))
B2: =ARRAYFORMULA(IF(Sheet1!C2:C="";;Sheet1!C2:C&"_"&ROUNDUP(COLUMN(Sheet1!C2:C)+1)))
C2: =ARRAYFORMULA(IF(Sheet1!D2:D="";;Sheet1!D2:D&"_"&ROUNDUP(COLUMN(Sheet1!D2:D)-1)))
D2: =ARRAYFORMULA(IF(Sheet1!E2:E="";;Sheet1!E2:E&"_"&ROUNDUP(COLUMN(Sheet1!E2:E)-3)))
E2: =ARRAYFORMULA(IF(Sheet1!F2:F="";;Sheet1!F2:F&"_"&ROUNDUP(COLUMN(Sheet1!F2:F)-5)))
which will assign points based on your request:
1st place = 5 points
2nd place = 4 points
3rd place = 3 points
4th place = 2 points
5th place = 1 point
next step is sorting all of it under one column with formula:
F2: =SORT({A2:A; B2:B; C2:C; D2:D; E2:E}; 1; 1)
then you need to split the whole column into two columns (one for participants and another for points) with a formula:
G2: =IFERROR(ArrayFormula(SPLIT(F2:F;"_";1;1));)
in the next step, you need to create a feeding ground for =QUERY with a simple formula:
I2: =UNIQUE(G2:G)
now you can feed =QUERY from a range G2:H with unique values from I column by using a formula (which needs to be dragged all the way down):
J2: =IFERROR(QUERY($G$2:$H;"select G, sum(H) where G = '"&I2&"' group by G label sum(H)''");)
and now you can use one more =QUERY formula to get your desired sorted data:
=QUERY(calculations!J2:K;"select * where J is not null order by K desc")
summary:
and here is the whole sheet: https://docs.google.com/spreadsheets/d/ |
H: Gmail: How to open emails in an 'independent' new tab?
When using CTRL+Left Click to open emails in new tabs they are 'dependent' on the tab from which they were opened, which I don't want.
Example of problem:
From Tab 1: Gmail inbox I CTRL+Left Click an email, and it opens in Tab 2: Email with an URL on the form https://mail.google.com/mail/u/0/?ui=2&view=btop&ver=...
I close Tab 1: Gmail inbox, and Tab 2: Email also closes, which is undesired. There are some other similar undesired effects of this dependent mode.
When an email is opened normally with just a Left Click the URL is on the form https://mail.google.com/mail/u/0/#inbox/... and the tab is completely independen of all other tabs.
I am looking for a convenient way of opening emails in new tabs that are independent from the tab from which it was opened.
AI: there is the option to use old school basic view with URL: https://mail.google.com/mail/u/0/h/
then you can use freely even middle-button-mouse-click |
H: How to make Google Sheets draw trends in a spreadsheet
I have a graph on Google Sheets (based on two columns) that plots many points (think of it like the stock market):
I would like the graph to not show the micro data and instead show trends.. something like this:
ideas?
AI: Use the SMA (Simple moving average). It works as follow
Take W points back (e.g. 3, 5 or 10, that's your window size) and do an average for them. This will create a new point
Use those newly created points to plot your line.
NOTE: at the end you'll have N-W+1 points where N is original number of points and W is your window size
Here is an example google sheet for Milk production per pound per month with smoothing via a window 3 and window 10 and the trend line (straight line) |
H: Deleting a LinkedIn account where I no longer have access to email address
I created a LinkedIn account using email address created by my employer (the company used G Suite for emails). I no longer work for the employer, and hence no longer have access to the email address.
I wish to delete the said LinkedIn account as that's not my primary (personal) account. It also shows up prominently in Google searches.
What are my possible options to get that account deleted (if any)?
AI: From LinkedIn Help
There are instances when you no longer use or have access to the email address used to register your LinkedIn account. LinkedIn suggests first trying to sign in with a secondary email address that's associated with your account. LinkedIn allows you to sign in with any email address associated with your account.
If you still can't access your account:
If you haven't been able to recover your password or don't have access to an email address associated with your account, LinkedIn can help by verifying your identity. To do this, LinkedIn uses a technology that processes encrypted scans of your government-issued ID so that LinkedIn can help get you back into your account as quickly and securely as possible.
[LinkedIn only] uses the ID information you provide to verify who you are, and [LinkedIn] only holds onto it for a short period of time while your account issues are being resolved. Generally, scans and any associated personal information are permanently deleted within 14 days.
To get started, you'll need:
A smartphone or a computer with a webcam.
Your driver license, state-issued ID card, or passport.
An email address where LinkedIn can reach you.
Access to a desktop computer.
Follow the steps below on desktop:
Once you begin the identity verification process, you'll be asked to take a photo of your ID with your smartphone or webcam.
Enter the email address associated with your account so that we can locate your account, and follow the onscreen instructions.
On the following page, click I don't have access to my email address. First, LinkedIn asks you for a new email address. Next, LinkedIn asks you to provide a valid passport or government ID.
After you're finished, LinkedIn processes your information and be in contact to assist you further.
Follow this link to verify your identity.
Note: If you only have one email address and it has bounced, you will not be able to send a confirmation link to yourself. You will have to verify your identity to regain access to your account.
Closing account:
Once you regained access to your account you can use this link to close your account instantly:
https://www.linkedin.com/help/linkedin/closeaccountnow
From LinkedIn Help
To close your LinkedIn account from the Settings & Privacy page:
Click the Me icon at top of your LinkedIn homepage.
Select Settings & Privacy from the drop-down.
Under the Account management section of the Account tab, click Change next to Closing your LinkedIn account
Check the reason for closing your account and click Next.
Enter your account password and click Close account. |
H: How can I merge multiple Google searches
How can I combine all of these searches into one and get all the results from one search?
Search 01: [keyword] site:docs.google.com/document/d
Search 02: [keyword] -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mp3|mp4|pdf)
Search 03: [keyword] parent directory
For example, I have tried something like this. But, it seems to be not working.
[keyword] (site:docs.google.com/document/d OR -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mp3|mp4|pdf) OR parent directory)
AI: the general rule of searching is: more you add to your search query - the fewer results you will get
your (About 14,700 results):
[keyword] (site:docs.google.com/document/d
OR intitle:index.of “last modified” (mp3|mp4|pdf)
-inurl:(htm|html|php|pls|txt)
OR parent directory)
is the same as (About 14,700 results):
keyword site:docs.google.com/document/d
OR intitle:index.of "last modified" (mp3|mp4|pdf)
-inurl:(htm|html|php|pls|txt)
OR parent directory
but you can try (About 11,700 results):
"keyword" site:docs.google.com/document/d
OR intitle:index.of "last modified" (mp3|mp4|pdf)
-inurl:(htm|html|php|pls|txt)
OR parent directory |
H: Auto set datetime of new rows in Google Sheets
I have a sheet. What I am trying to do is when I click on a new row to automatically set the first column in the row to =now().
I tried setting =Now() in the cell but it appears to be updating it all time time.
So I tried doing some kind of if statement. IF the next cell is empty then I set the first cell to now. If its not then I leave it to the original value.
=IF(ISBLANK(CONCAT("b",ROW())), NOW(), CONCAT("a",ROW()))
This didn't work as it becomes a circular reference.
Is there a way to configure my sheet so that the first column is always filled out with the current date? the time stamp of when the row was created.
AI: function onEdit(e) {
e.range
.getSheet()
.getRange(e.range.getRow(), 1, e.range.getNumRows())
.setValue(new Date())
.setNumberFormat('dd.MM.yy, hh:mm:ss');
}
demo sheet
or try this:
function onEdit(e) {
var range = e.range;
var sheet = range.getSheet();
var row = range.getRow();
var rows = range.getNumRows();
var date = new Date();
var dates = sheet
.getRange(row, 1, rows)
.getValues()
.map(function(row) {return [row[0] || date];});
sheet
.getRange(row, 1, rows)
.setValues(dates)
.setNumberFormat('dd.MM.yy, hh:mm:ss');
} |
H: Who has invited somebody, when and how to a Google Drive Spreadsheet?
We have a sheet at my company with logins and passwords, shared with all the team, so all the people may enter in the supplier's intranets.
Today, in "shared with", where normally there are 6 to 8 people, I see a person that I don't know and does not belong to my team.
I need to know:
who of my team made the invitation,
when it was done, and
if it has been by manually writing the address in the "share with" box or it has been done by a sharing a link.
How can I "audit" this security issue? I'm the account admin. It's a free account.
AI: Based on the answer in Seguridad: ¿quién ha invitado a alguien, cuándo y cómo, a un spreadsheet? by Enoc Rosales
Locate the file on Google Drive
Select the file
Open the Details panel
Right click the file and select See details
Click on the i button on the Google Drive toolbar
Open the Activity tab
There will be listed who made what and when, including who shared a file. |
H: Send email when theres a change in a particular column on a particular sheet
I want an email to be sent when a cell is changed from "No" to "Yes" in column C from a particular sheet - sheet1.
The email body would need to include information from cells in columns D,E,F,G,H,I,J from the same row as the cell that changed to Yes, in addition to of course the email subject and email recipient.
I'd like this script to be modified to do that or if there is another script that could do the above.
function sendNotification(e){
if(e.range.getColumn()==3 && e.value=='YES'){
var recipients = "***********@gmail.com";
var subject = "Update"+e.range.getSheet().getName();
var body = "This cell has changed";
var valColB=e.range.getSheet().getRange(e.range.getRow(),2).getValue();
MailApp.sendEmail(recipients, subject, body)
}
}
Hello XYZ,
Please find order details below.
{Cell D} (Its in this format xxxxxx-ABC0001, I need the second part after "-" from this cell here)
Size - Width: {Cell E} x Height: {Cell F}
Quantity - {Cell H}
It needs to be tube {Cell I}.
Shipment to {Cell J}.
Order image is {Cell G}
The order is for a customer from {Cell J}
Thanking you,
ABC
The subject needs to have
{Cell J} New Order No. {Cell D}
The recipient is always the same
Any help would be highly appreciated. Thanks.
Update - Solution - Thanks to Ron
function sendNotification(e){
var s = SpreadsheetApp.getActiveSpreadsheet();
var ss = s.getSheetByName("Order Details")
if(e.range.getColumn()==3 && e.value=='Yes'){
var cell = ss.getActiveCell();
var row = cell.getRow();
//var row = ss.getRange().getRow();
//var sku = ss.getRange("D2").getValue();
var sku = ss.getRange(row,4).getValue(); //Column D
var array1 = [{}]; array1 = sku.toString().split("-")
//var sku = "D2"; var array1 = [{}]; array1 = name.toString().split("-")
var sizewidth = ss.getRange(row,5).getValue(); //Column E
var sizeheight = ss.getRange(row,6).getValue(); //Column F
var qty = ss.getRange(row,8).getValue(); //Column H
var country = ss.getRange(row,10).getValue(); //Column J
var tube = ss.getRange(row,9).getValue(); //Column I
var paintingimage = ss.getRange(row,7).getValue(); //Column G
var orderlink = 'HYPERLINK("http://testly/Km45S", "Order Details")';
MailApp.sendEmail({
to: "xxxx@gmail.com",
subject: country + " New Order No. " + array1[1], // note the spaces between the quotes...
htmlBody: "Hello XYZ, <br>"+
"Please find order details below. <br><br>"+
sku + "<br><br>" +
"Size - Width: " + sizewidth + " x " + "Height: " + sizeheight + "<br><br>"+
"Quantity - " + qty + "<br><br>"+
"- It needs to be tube rolled"+
"- Shipment to " + country + "<br>" +
"- Order image is " + paintingimage + "<br>" +
"The order is for a customer from " + country + "<br><br>" +
"Thanking you, <br>" +
"Abc",
})
}
}
AI: Ok. Now that we have the info needed, we can construct an email...
You have:
function sendNotification(e){
if(e.range.getColumn()==3 && e.value=='YES'){
var recipients = "***********@gmail.com";
var subject = "Update"+e.range.getSheet().getName();
var body = "This cell has changed";
var valColB=e.range.getSheet().getRange(e.range.getRow(),2).getValue();
MailApp.sendEmail(recipients, subject, body)
}
}
You want the email sent when 'Yes' is in Column C, so Line 2 is good.
You want the Subject and body to contain data from cells D - J in a row. This means you will need to collect the data in an array, or you could create a variable for each item, i.e.:
var customer = ss.getRange("J2").getValue();
var tube = ss.getRange("I2").getValue();
var qty = ss.getRange("H2").getValue();
For the variable for cell D, where you want just the portion after the dash, look into split.
You can also use hyperlinks for variables, to allow for clickable links in the email.
Once you have your data together, you can work on the email.
The recipient never changes, so Line 3 is ok. But to keep things easy, I would put it below all of the data variables, and keep it with the rest of the email variables.
Lines 4 and 5 (Subject and Body) are what needs the most work.
Here is how I would format the email portion:
MailApp.sendEmail({
to: "********@gmail.com",
subject: customer + " New Order No. " + {var for cell D}, // note the spaces between the quotes...
htmlBody: "Hello XYZ, <br>"+
"Please find order details below. <br><br>"+
"{Cell D} <br><br>"+
"Size - Width: {Cell E} x Height: {Cell F} <br><br>"+
"Quantity - {Cell H} <br><br>"+
etc...
Check out the enum glyphtype for bullets.
Line 6 is useless. Delete.
I should have provided enough to get you there. Let me know if you have any more questions. |
H: copyTo is failing to copy data
I have a pretty simple problem that is for some reason killing me. I have the following script which should just autofill a formula down column O, then copy the values to column P (excuse my amateur coding):
function processData() {
var ss = SpreadsheetApp.getActive();
var sheet = ss.getActiveSheet();
var lastWorkDate = dateCheck();
sheet.getRange('O1').setValue("=index('"+lastWorkDate+"'!O:O,match(B1,'"+lastWorkDate+"'!B:B,0))");
sheet.getRange('O1').autoFillToNeighbor(SpreadsheetApp.AutoFillSeries.DEFAULT_SERIES);
Utilities.sleep(1000);
freeze();
};
function freeze() {
var ss = SpreadsheetApp.getActive();
var sheet = ss.getActiveSheet();
sheet.getRange('P1').activate();
sheet.getRange('O:O').copyTo(sheet.getActiveRange(), SpreadsheetApp.CopyPasteType.PASTE_VALUES, false);
};
However, the copying just isn't doing anything. The script will successfully autofill O:O, but will fail to copy the values to P:P.
Manually running freeze() itself after running processData() (and thus already having O:O filled) works fine, so I figured it might be running too quickly and added the Utilities.sleep(1000), however, that's not helping either.
AI: In your processData() function, use the SpreadsheetApp.flush(); function just before calling freeze();. This will force any pending changes (such as updates to a large number of cells) to finish right away. See the API documentation for more information: SpreadsheetApp.flush() |
H: How to get keyboard shortcuts Gmail HTML version?
I want to be able to open emails in new tabs using Gmail and Chrome.
I have found that using the HTML version works well for this (see
1
2),
but now my keyboard shortcuts aren't working.
Is there a way to have both 'open emails in tabs' and keyboard shortcuts?
AI: that's unfortunately not possible as it's stated on the help page
When you're in Basic HTML view, you won't see some Gmail features, including:
...
Keyboard shortcuts
...
however, there are other ways how to have custom shortcuts. for example, you can create them with AutoHotKey |
H: Combine text from multiple cells into a single cell on other Sheet?
I need help, I want to combine multiple cells in one other cell in another sheet.
I have 4 Collums in my first Sheet1, filed with data:
Id's (A1:A)
Dates(B1:B)
Name(C1:C)
Comments(D1:D)
And on my other Sheet2, I can select Id's(G3) from a dropdown and get more data from other sheets.
Now I want to Combine all Dates, Name and Comment in one cell on my Sheet2.
I want something like, I pick an Id on Sheet2 and get every Comment with name and Date from Sheet1 in one cell.
I want it like
1.1.2018 peter Comment
2.1.2018 hans Comment
15.1.2018 peter Comment...
The cell can expand I only need everything in one cell.
Is that possible and how?
AI: if you need it everything in one cell, try this:
=JOIN(CHAR(10); FILTER(ARRAYFORMULA(Sheet1!B1:B &" "&
Sheet1!C1:C &" "&
Sheet1!D1:D); Sheet1!A1:A=G3))
blank error fix:
=IF(G3<>""; JOIN(CHAR(10); FILTER(ARRAYFORMULA(Sheet1!B1:B &" "&
Sheet1!C1:C &" "&
Sheet1!D1:D); Sheet1!A1:A=G3));) |
H: Send Whatsapp message from browser (web.whatsapp.com) to people not yet in my contact list?
My smartphone is not by me, but it's charging and well connected to Internet, anyhow I am using whatsapp through web.whatsapp.com at the moment.
The real problem is I urgently need to contact specifically OVER WHATSAPP some new people that are not between my contacts, whose phone numbers I DO have with me (calling them or another type of communication is not an option).
Already tried adding them to my synchronized contacts, but the phone doesn't seem to be updating the contacts list as it should, or whatsapp doesn't synchronizes the new contacts to it's own internal list, therefore they never appear as option to be contacted.
I believe Whatsapp Web should have an option but there's neither an option to start a new conversation with non-existent contacts, nor to add a new contact to the smartphones contacts, nor to the inner whatsapp contacts list.
Has anyone a solution to contact this people over Whatsapp from my same whatsapp number?
AI: Using the official "Click to Chat" API
The current API URL procedure now comes in a shorter format and also allows including the text message (very nice!):
https://wa.me/NUMBER/?text=MESSAGE
(where NUMBER is a full phone number in international format [only numbers, no spaces or symbols] and MESSAGE is the URL-encoded pre-filled message)
It's also possible to assign a message to be sent with no user being specified, allowing to send the same message to many people at once (just perfect for what I needed to do at this moment). It works like this:
https://wa.me/?text=urlencodedtext
Anyone can simply copy, modify and visit this URLS to get the contact being made.
The complete official and current information is in here:
https://faq.whatsapp.com/en/android/26000030/
(Nice job Whatsapp!)
Using another native App
Another possible solution for this situation could have been using an app called WhatsDirect, but haven't tried it, rather prefer a solution with no new apps needed. |
H: View history of anonymous users
I have a Google Spreadsheet, which is accessible (only view) by anyone who has the link. I want to have an overview of every timestamp the document was opened by an not-logged-in (= anonymous) user. How can I do this?
AI: I was hoping to answer your question with a Google Apps script. There is an onOpen event, but it fires only on users that have edit access to the spreadsheet. Since your users only have view access, a script won't work like that.
If you're willing to give anonymous users edit access (which will let anyone in the world who knows the URL edit), you could log all visits to your spreadsheet to a separate Access Log spreadsheet.:
Create a new spreadsheet document, and create a sheet (tab) on it, let's call the sheet Access Log.
Note the ID of the created spreadsheet. You'll find the ID in the browser's location bar:
Open the spreadsheet you're going to make public
Go to Tools → Script editor
Paste the following script into the script editor window:
function onOpen() {
var sheet = SpreadsheetApp.openById("11evsXXXXXXXXXXXXXX8Xt3E6vI").getSheetByName("Access Log");
sheet.appendRow([new Date(), Session.getActiveUser().getEmail()]);
}
... replacing 11evsXXXXXXXXXXXXXX8Xt3E6vIis the ID you copied in step 2
Click the Run button, a dialog will open asking you to grant access to the script (you only have to do this once)
Close the script editor window
From now on, anyone visiting your sheet will cause a line to be appended to the Access Log sheet.
I have setup an example spreadsheet to demonstrate. It does not allow anonymous users to edit, so it will not log anything, but feel free to copy it and use it as a basis for your own sheet.
The script explained:
The onOpen function name tells Google Sheet to run this script whenever the sheet is opened by someone. ...openById(...).getSheetByName("Access Log") gives a reference to the sheet named Access Log in the separate spreadsheet document. Finally, sheet.appendRow([...]) appends a new row to the log sheet, with a timestamp and the current user's email address (which in case of an anonymous user will be empty).
An alternative solution is to use a URL shortener with analytics, such as bit.ly. It will allow you to make a short link that you will distribute to your users. When your users visit the link, they will be redirected to your spreadsheet.
By logging in to bit.ly, you will be able to see simple click stats.
Now, obviously, this will only work if your users only use the short link when visiting your spreadsheet. You won't be able to count anyone going directly to your spreadsheet by its long URL. |
H: How to send email from Gmail with sub-addressing tag?
I have subscribed to mailing lists using Gmail's sub-addressing feature using plus '+' symbol.
The subscribed email address is of the format hikingfan+mailinglists@gmail.com and I can receive emails on the same address. But when I reply to an email it is sent without the sub-address tag i.e. hikingfan@gmail.com.
The sent message is being held until the list moderator can review it for approval since the list considers it as a post by a non-member to a members-only list.
Since hikingfan+mailinglists@gmail.com is already a member of the list, is there any way to send emails with the sub-addressing tag?
AI: You need to setup your + address for sending.
Go to Gmail settings by clicking the cog wheel button:
Click the Accounts tab.
Click Add another email address.
In the popup window that appears, fill in your + address. Leave Treat as an alias checked. Click Next step.
That should be it, really.
From now on, you'll be able to select hikingfan+mailinglists@gmail.com when composing a new email - notice how the From box is now a dropdown list of options: |
H: Combining Formulas of different types
I'm trying to combine all info from a given number of cells into one cell and to convert all of the information in that one cell to uppercase. Is there a way to make this happen?
More specifically, I'm using the formula =TEXTJOIN("", TRUE, A2:K2) to combine the info from A2:K2 into one cell (A4). I want the letters that end up in A4 to always be uppercase, no matter how it is entered into A2:K2. Is there a way to add =UPPER() to this formula?
AI: use:
=UPPER(TEXTJOIN(""; 1; A2:K2)) |
H: Auto-increment a form from a list of words
I have no skills in this kind of technologies, but I know it can do some awesome stuff. So I hope you will be able to help me.
Here is my project: I want to create a form on which I can submit a list (with a predetermined separator) and it will take all the elements of the list, and increment a number for each occurrence.
The objective is to have a statistic result.
Example: I have two lists, one with 3 times the word apple and 2 times the word car, and another with the same words, 5 times and 1 time. I would be able to paste one list in a text answer and get as a result 3 and 2, in the categories apple and car, and when I paste the second list, it would add the result and become 8 and 3.
I'm sorry, I know it's confusing, because of my lack of knowledge of those technologies and also my English, which is far from perfect.
I hope someone understands my request and can help me with that, it would be awesome!
AI: you would need to do something like:
=COUNTIF(SPLIT(B5; ","; 1; 1); "apple")
where you count occurrences of "apple" in cell B5 where there is predetermined a comma separator ","
and here you can try it out: https://docs.google.com/spreadsheets/d/ |
H: Change Folklore.org account password
I have an account on Folklore, a popular website collecting stories about Apple's history.
I wish to change my account password, but unable to find any link to access my profile or settings. Neither do I find the forgot password link which is generally an alternative way to reset a password on many websites.
Can someone with experience using the site shed some light on how could it be achieved?
AI: Unfortunately, there's no account management feature on the website. So your options are:
Create a new account
Contact administrator at bugs@folklore.org |
H: ARRAYFORMULA for a column, but only for blank cells
I'm trying to fill a formula down a column using ARRAYFORMULA. However, there are certain cells in this column which I would like to overwrite, but all the other cells should use the ARRAYFORMULA.
Is it possible to use ARRAYFORMULA with overrides? Whenever I try to override a cell's data currently in the column, I get the following error:
Array result was not expanded because it would overwrite data in (some cell).
AI: array result was not expanded because it would overwrite data in (some cell).
this error indicates that some cell isn't empty therefore array won't be executed on a given range/scale. your options are:
delete the content of some cell
use multiple ranges in the array formula to skip excluded cells
=ARRAYFORMULA({C1;C3:C7;C9:C})
use array formula 3 times in C1, C3 and C9 |
H: How to duplicate a post?
A post on Slack is a great way to quickly create and share structured and formatted information. I use it mostly to document custom features of our Slack workspace for our users.
I am now looking into making a checklist for onboarding and I want to create a template and then duplicate that template each time I need to use the checklist.
However, there does not seem to be a way to duplicate an existing post. Does anybody know a way to do it?
AI: The Slack support team answered my question and its indeed not possible to duplicate posts. However, they suggested a workaround.
Here is the reply from the Slack support team:
There isn't a way to duplicate messages natively in Slack just yet,
but I am more than happy to pass your message along to the team so
they can consider adding this down the road!
Currently, the way we work around this in Slack is to create templates
and pin them to channels. You can make sure the template Post isn't
modified by unticking the box to "Let others edit this Post" when
sharing the Post initially. Similarly, formatted messages can only be
modified by the creator of the message so you won't need to worry
about these being modified. |
H: React and Wordpress under same Domain with NGINX
I have some content in WordPress for pages with static content or Marketing landing pages. We decided to go on this way because of reasons...
So for doing that I have the configuration below in NGINX
server {
server_name mydomain.com;
location / {
root /var/www/webapp;
index index.html index.htm;
try_files $uri /index.html;
location ~* \.(eot|ttf|woff)$ {
add_header Access-Control-Allow-Origin *;
}
access_log /var/log/nginx/webapp.access.log;
error_log /var/log/nginx/webapp.error.log;
}
# Alias for discover when is Wordpress related content
location /discover/ {
index index.html index.htm index.php;
root /var/www/wordpress;
try_files $uri $uri/ /index.php$is_args$args;
access_log /var/log/nginx/wordpress.access.log;
error_log /var/log/nginx/wordpress.error.log;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
}
Sadly this is not working, it's always rendering or try to render the react app even when I go to mydomain.com/discover/ or /discover/something
I configured WordPress URL to mydomain.com/discover in the WP Configuration.
The error for this configuration is
FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client:
If I move the PHP extension file configuration outside of /discover I remove the FastCGI Primary script unknown error but I still NGINX resolve everything to the react app.
Some I'm quite new with NGINX I've been using Apache my whole so might be a really noob error, but it's killing already.
I tried moving things around even as default but similar errors.
Any help or guide will help me.
AI: To access a path like /var/www/wordpress/ with a URI like /discover/, you will need to use alias rather than root. See this document for details.
For example:
location ^~ /discover {
alias /var/www/wordpress;
access_log /var/log/nginx/wordpress.access.log;
error_log /var/log/nginx/wordpress.error.log;
index index.php;
if (!-e $request_filename) { rewrite ^ /discover/index.php last; }
location ~ \.php$ {
if (!-f $request_filename) { return 404; }
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
The location value and the alias value should either both end with a / or neither end with a /.
Note that when using alias, $request_filename should be used to find the path to the filename.
There is a long standing bug related to using alias and try_files together, which is why these blocks use the if directive instead. Note this caution on the use of the if directive. |
H: How to sort Google Sheet by number of empty cells per row?
In my sheet, there are 5 columns of data. Some rows are fully filled and some rows have some empty cells. Now I want to sort my sheet from most-filled row to least-filled row. How can I do it?
AI: Simply use =COUNTA(range) in a new column, and then use that column to sort.
X X X X X =COUNTA(A1:E1)
X X X X =COUNTA(A2:E2)
X =COUNTA(A3:E3)
X X X =COUNTA(A4:E4)
X X =COUNTA(A5:E5)
X X =COUNTA(A6:E6)
Results in
X X X X X 5
X X X X 4
X 1
X X X 3
X X 2
X X 2
Then use column F to sort your data. |
H: How to highlight entire row (conditional formatting) using COUNTIFS
For the range C2:Z100 we apply the following formula to find duplicate students' enrollments using conditional formatting:
=COUNTIFS($C:$C,C2 , $D:$D,D2)>1
(where column C is the last name and D is the first name e.g. John Smith)
Unfortunately, we only get single duplicate cells in column C highlighted.
But... We want to have the entire row highlighted.
We have tried different variations and suggestions from the site as here and here or here (as well as many others). Nothing seems to work for the entire row. Also tried with COUNTIF , =AND (COUNTIFS($C:$C,C2 , $D:$D, D2)>1), COUNTA.No luck.
On the other hand this formula =$B2="G" highlights an entire row
What do we do wrong?
EDIT:
This is a link to a demo sheet as requested
AI: Conditional formatting is based on the single reference which is then multiplied on a given range. To assure reference is single you need to lock it down with $ symbol. In this particular case, you need to lock columns because conditions are static column-wise and keep them dynamic row-wise. Therefore:
US syntax: =COUNTIFS($C:$C, $C2, $D:$D, $D2)>1
EU syntax: =COUNTIFS($C:$C; $C2; $D:$D; $D2)>1 |
H: Facebook showing accounts on my phone number
I created 3 Facebook accounts on one phone number. I removed phone numbers from these 3 accounts. But still Facebook shows those 3 accounts whenever I enter my phone number in "Forgotten password". I don't want any accounts to show up whenever I type my phone number. How to solve this problem?
AI: First thing you have violated Facebook Community Standard by creating multiple accounts:
From Facebook Help Center:
Facebook is a community where people use their authentic identities. It's against the Facebook Community Standards to maintain more than one personal account.
Next, hope you have followed the process to remove you mobile number from Facebook account.
Now, if it is showing all three account when you are entering phone number, I suspect you have not added email address, because when you add a mobile number to a Facebook account which is already being used by other Facebook account, it would be removed from that account and will be added to new account.
So, if you want it should not show all the account, login (or recover) one by one account and add an email address to every account. If after that if possible delete all account which is not necessary. I don't see any other way. |
H: Maximum number of Google accounts using the same mobile number
I have created a few Google(Gmail) accounts for separate purposes. I often provide my primary Gmail account and my (only) mobile number as the recovery email and phone number.
My concern is that at some point Google may stop allowing me to use a specific phone/email combo as recovery contact.
Is there a hard limit (preferably documented) on the number of Google accounts that I can create using the same email/phone combo?
AI: If the purpose is solely be used for account recovery purposes, I don't think that there is a limit, by the other hand, the phone number used for account verification purposes certainly has a limit.
From Verify your account
"This phone number cannot be used for verification"
If you see this error message, you'll have to use a different number. In an effort to protect you from abuse, we limit the number of accounts each phone number can create.
Usually Google doesn't reveal limits like this to avoid system abuse. |
H: how to auto calculate values
I'm new to Google Sheets and I need help.
I want to create a "calculator" working on that base:
I enter a number in a case for example A3
It will take that number and subtract 50% of the value in the case B1 to this value (A3).
And then subtract that value to the number in A1.
So it will be: A1 - (A3-50% of B1) and then the case A3 will auto clean for the next operation.
I don't know if it is possible so I'm asking you.
AI: to calculate it you need: =A1-A3-B1*50%
to ensure no errors, final formula would be: =IF(AND(ISNUMBER(A1);
ISNUMBER(B1);
ISNUMBER(A3)); A1-A3-B1*50%; )
and for clearing A3 you can use this script assigned to the button so you can clear A3 with a click:
function moveValuesOnly1() { var ss = SpreadsheetApp.getActiveSpreadsheet();
var source = ss.getRange("Sheet1!A2");
source.copyTo(ss.getRange("Sheet1!A3"),
{contentsOnly: true}); }
demo spreadsheet: https://docs.google.com/spreadsheets/d/ |
H: Image beside text in Gmail signature?
I found here how to copy an HTML signature to a Gmail address: Insert HTML markup into Gmail signature
I would like to get something like this:(image is hosted on a server):
However, I did not manage to align the image left of the text with the Rich Text editor. Is this possible? That's what I managed so far:
AI: you can create customized HTML table at: https://www.w3schools.com/html/tryit
<table>
<tr>
<td><img src="https://i.imgur.com/heRClds.jpg?1">
</td>
<td></td><td></td><td></td><td></td><td></td>
<td>
Aerys II Targaryen<br/>
<b>House of Targaryen</b> - Dragonstone<br/>
<a href="https://i.imgur.com/CTpv3kp.jpg">no-internet-in-westeros.edu</a>
</td>
</tr>
</table>
and then copy/paste this code to the signature box by force:
first, right-click on the signature box and select Inspect
then right-click on the highlighted div and select Edit as HTML
paste your HTML code between div tags and click into signature box again when done and press SPACE key otherwise code won't be accepted as input |
H: Using conditional formatting to highlight entire area instead of just one cell
Here's a screenshot of the situation:
When I hover over the rule to the right which I defined, the wanted area is highlighted entirely, so I would presume I entered everything correctly, but only one cell actually assumes the wanted color (the one in the top left corner).
What do I have to do so that the entire area becomes green if B1="September" (which it is)
Any help is appreciated.
AI: you need to lock it down with $ symbol otherwise:
cell F1 thinks that should look in C1 for September ...
and cell E2 thinks that it should look in B2 for September ...
etc.
correct it to this: =$B$1="September" |
H: Google Spreadsheet: Conditional format used together with a range doesn't seem to format cells correctly
I'm trying to create a small calendar, which is built like this:
A1: = DATE(2018, 1, 1);
B4: = A1
C4: = A1 + 1
D4: = A1 + 2
…
This works fine and the columns B2 … D4 looks ok:
Mon, 01/01 | Tue, 02/01 | Wed, 03/01
Now I want to fill all weekends and their following rows gray, like:
Fri, 05/01 (F4, white) | Sat, 06/01 (G4, gray)
white | gray
white | gray
white | gray
I come up with this formula:
=OR(WEEKDAY(F4)=1,WEEKDAY(F4)=7)
which works fine for one cell. Now I wanted to apply this to the whole column, like:
Apply to range: F4:F25
Apply to range: G4:G25
But, this is what it looks like now:
Fri, 05/01 (F4, white) | Sat, 06/01 (G4, gray)
gray | gray
gray | gray
gray | gray
Why isn't this working as expected? Do I need to create a custom format for every single cell? That would be a huge letdown, especially, when copying a cell with conditional formatting, this cell is simply added to the range.
AI: you need to lock it down with $ symbol otherwise it will be offset (like in your case) or not working as it should.
the custom formula you are looking for is: =OR(WEEKDAY(B$4)=1, WEEKDAY(B$4)=7) applied to B4:I25 |
H: Google Product Forums - Post formatting icons grayed out?
There doesn't seem to be a help forum for Google's Help Forum software.
I want to post a detailed question in the Google Drive help forum but all the formatting functions are grayed out for me, so my post ends up being displayed as a single unreadably long paragraph.
What's the magic incantation to enable the formatting icons?
AI: Questions about using Google Products Help forum could be posted in the forum where you are having questions about or issues.
Regarding the formatting options being grayed out that could happens due to the specific forum settings that limit those tools for new users.
The same happened to me recently on the Blogger forum in Spanish and just went to the Google Drive Help Forum and I'm facing the same, the editing tools are greyed-out.
Once you make more posts and get +1 and better answers you will gain higher levels and some restrictions will be removed.
Sidenotes:
The Help Center for Google Products Help Forum is https://support.google.com/groups
I'm a Top Contributor on several of the Google Product Help Forums from years, but now most of the time I'm using a "new" account. |
H: How to sum up occurrences from range?
I am attempting to calculate how many same duration between two timestamps I have in a given range.
The range is Sheet1!A1:B10. I have two columns - first consists of starting time and second consist of ending time. So far I am able to count duration with formulae =B1-A1 which returns 8:30. Is there a way how to count occurrences at a given range and sum them up and print it in a cell of Sheet2?
Example sample:
A | B
01:00 | 09:00
01:30 | 12:00
02:45 | 10:45
00:00 | 08:30
04:00 | 12:00
10:00 | 18:30
AI: try this: add 1 more column with =COUNTIF(B2-A2,"="&"8:30")
and then you can sum this column with a formula: =SUM(Sheet1!C1:C10)*8.50 |
H: How do I put other people as friends on YouTube?
My sibling somehow added me as a friend on YouTube, but I don't know how. I would ask, but I am wanting to know for to contact others for a mini movie series. So I am hoping someone can tell me an updated version on how to add a friend on YouTube.
AI: Open YouTube
Click on messages icon and open one dialog box
In Dialog box click on Friends option
After click on friends option show Add connection option click and send
invite link to other people |
H: How do I insert an image from Google Drive into email body with script
Could anyone help me?
I've created a Google Form that uploads a file (image) to a private drive folder, the form also sends responses to a Google Sheet including the image's URL. The code below gets the file id and sends the image as an attachment but it doesn't do it in the body of the email. The folder must be private.
function sendImage(){
var sheet = SpreadsheetApp.getActive().getActiveSheet();
var fileUrl = sheet.getRange('C2').getValue();
var index = fileUrl.indexOf('=') + 1;
var fileId = fileUrl.substring(index);
var img = DriveApp.getFileById(fileId).getBlob();
MailApp.sendEmail({
name: "my Name",
to: 'myEmail@email.com',
subject: "Test 1",
body: img,
attachments: img,
});
}
AI: How about this modification? You can send an email including images using inlineImages of Advanced parameters at MailApp.sendEmail(). You have already been able to retrieve the image blob. In this modified script, the blob is used.
Modified script:
function sendImage(){
var sheet = SpreadsheetApp.getActive().getActiveSheet();
var fileUrl = sheet.getRange('C2').getValue();
var index = fileUrl.indexOf('=') + 1;
var fileId = fileUrl.substring(index);
var img = DriveApp.getFileById(fileId).getBlob();
MailApp.sendEmail({
name: "my Name",
to: 'myEmail@email.com',
subject: "Test 1",
htmlBody: "<img src=\"cid:sampleImage\">", // Modified
inlineImages: {sampleImage: img} // Modified
});
}
Reference:
inlineImages of Advanced parameters |
H: Adding a Generated QR Code from Google Sheet to an Avery "Mail merge" template in Google Docs
Using the Avery Google Docs Add-on I am attempting to make some labels with QR codes on them.
You will need to open Google Docs then install the add-on in docs. you will also need a spreadsheet with a couple columns and rows of data to use it.
In my case; I can use the deprecated Google Docs Chart and a free QR Code API to create QR codes in Google Sheets. Both using the same =IMAGE(URL, [mode], [height], [width]) formula.
For example
=IMAGE("https://api.qrserver.com/v1/create-qr-code/?size=100x100&data="&ENCODEURL(A2),3)
and
=IMAGE("https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl="&ENCODEURL(A2),3)
Cell A2 holds the data I want in the QR Code.
Example Google Sheet
The Avery add-on doesn't seem to add the QR Codes from either column. It just creates a table to match the Avery template with any text I've included. Nothing more. I have found manually copy-pasting works but that defeats the purpose of a merging app.
Does anyone have any other methods to auto-merge QR codes from google sheets or other solution?
AI: Unfortunately, this is a limitation of Google Docs, not add-on Avery Label Merge. The issue is that Google Document is unable to read =IMAGE() formula from Google Spreadsheet, therefore not auto-importing any images (while mare 1-by-1 copy/paste works). |
H: Google Sheets, how to sort query results manually (Not in query)
My google sheet is importing data from another tab just for sorting purpose, however, when the sort is done manually (through Google Sheet menus), results are unpredictable.
The sheet is populated through:
=query(tabname!A4:G2000)
AI: you can't use Data > Sort sheet by...
your sheet needs to be manually sorted by creating a filtered view by selecting your column and then: Data > Filter views... > Create new filter view > Sort A - Z
a downside is that it's a view so it won't stay like that after closing your spreadsheet. also, note that formula needs to be outside or inside of the filtered area (eg. filter can't be created right on the formula)
EXAMPLE:
another approach would be to use:
=QUERY() in =SORT() like: =SORT(QUERY(tabname!A4:G2000); 1; 1)
=QUERY(tabname!A4:G2000; "select * order by A desc, B asc"; 1) |
H: How to limit Team Drive search to a single team drive?
I'm trying to search for files with a particular term in a single specific team drive. But when I search, I get hundreds of results across 15 different team drives, most of which aren't the one I am looking for.
I tried adding "owner:" to the search, but then nothing was found. This isn't right, because in the first few pages of results I see that there are files that match in the team drive I specified.
So how can I limit my search?
AI: Short Answer
Use the advanced search and select Location > Team Drives > Specific Team Drive
Detailed instructions
Go to https://drive.google.com using your G Suite account
Click on the dropdown button at the right of the Google Drive's search box.
Click on the button next to Location, click on Team Drives, then on the name of the team drive that you want to search on.
Type the search terms and click on the search button or press Enter
Reference
Find files in Google Drive |
H: Clicking on List-Unsubscribe for low reputation senders
In Gmail, there's an unsubscribe option but it's only shown for senders with a high reputation when "the most basic requirements are including a standard "List-Unsubscribe" header in your email with a "mailto" URL".
What if a low reputation sender does it and I decide to trust it despite what Gmail thinks on the matter? Is there any way to use that unsubscribe link despite what Gmail wants?
AI: In case there's no answer, I'll write this in advance - right now my solution is to:
See the source code
Find "List-Unsubscribe: " (with a space) and copy the relevant data
Compose a new message
Paste the data there and send away |
H: How to sum max from date range in one cell?
I have a column with dates which looks like this:
24-7-2002
25-4-2004
13-4-2012
6-9-2018
25-4-2004
8-11-2022
etc...
I would like to find out how many times the highest date appear and sum them together in one cell preferably without helping columns. Is that achievable in one-line formulae?
AI: it depends on what do you mean by "and sum them together" ...could be:
=COUNTIFS(A1:A; "="&MAX(A1:A))
=COUNTIFS(A1:A; "="&MAX(A1:A))*MAX(A1:A) |
H: How to create a playlist form a list of links (not from bookmarks)?
I have something like that https://pastebin.com/ssmtZhW2 how do I convert this to a YouTube playlist?
AI: also, you can create it manually if you take this URL and add comma separated IDs:
1. https://www.youtube.com/watch_videos?video_ids= like:
2. https://www.youtube.com/watch_videos?video_ids=AwyRYse4kss,QoitiIbdeaM,drlB2RT_XiA,etc...
3. then paste it into the browser's search box and hit ENTER
4. this will create a special playlist URL called "Untitled Playlist" where you will have your videoshttps://www.youtube.com/watch?v=0rL1HcFc-Fg&list=TLGG2e3mUQob0B0wOTA5MjAxOA
SIDE NOTE: unfortunately there is one downside... such playlist is limited only to 50 videos
5. to save such playlist, be sure that you are logged in into youtube
6. add &disable_polymer=true at the end of the URL and hit ENTER https://youtu.be/watch?v=0rL1HcFc-Fg&list=TLGG2e3mUQob0B0wOTA5MjAxOA&disable_polymer=true
7. then, somewhere around Subscribe button will appear + Add to button (or 3-dot/3-slash button with plus sign)
8. select Create a new playlist name it and press Create button
9. done! |
H: Google Sheets query column=column
I am not familiar with google sheets, but I have been sent an assignment and I don't want to take the time to convert the whole thing over to an actual database. Is a way to take one column of values (A) and another (B) and check if there is any value in A that is equal to any value in B via queries. I tried
=query(*table*, "SELECT *name of row* WHEN A=B", 1)
but that just seems to check each row.
For you visual types, I have a database
| A | B |
--+---+---+
1 | 1 | 0 |
--+---+---+
2 | 1 | 2 |
--+---+---+
3 | 1 | 1 |
--+---+---+
4 | 2 | 3 |
I want to select rows 2 and 3.
I didn't see a duplicate. Doesn't help how Google doesn't really document this stuff very well.
AI: this is how you use query:
=QUERY(A1:B; "select B where A = '1'"; 0)
A1:B - the range you want to import
select B - select all columns of given range
where A = '1' - where in column A are cells with content 1
1 - stands for 1 heading row (0 for no rows, 2 for two rows, etc.)
but maybe you seek this:
=ARRAYFORMULA(IF(A1:A=B1:B; "match"; ))
and query version would be:
=QUERY(A1:B; "select A where A=B"; 0) |
H: IFS formula with OR condition inside
Why is the following formula not working?
=IFS($B$29=(OR(1;4;10));8310;$B$29=6;9510;$B$29>0;"")
When $B$29 is 10, should display 8310, but becomes the empty result.
AI: or if you really need IFS solution:
=IFS(OR($B$29 = 1 ;
$B$29 = 4 ;
$B$29 = 10); 8310;
$B$29 = 6 ; 9510;
$B$29 > 0 ; ) |
H: Dependant Multi Conditional Formatting
So I am building a spreadsheet and everything was working fine but then I kept tinkering with it and making it more intuitive (and less work on the user) and ran into a snag. What I am trying to do would really be best for a database but I digress.
First I will set the stage:
Column A | Column B | Column C
------------------------------
01 | D1 | Name
01 | P1 | Name
03 | D1 | Name
03 | D1 | Name
So this is in a nutshell what I have. Name is included but not relevant really. I know that if I do
=countif(A:A, A2)>1
in the conditional formatting, all 4 rows will be red (duplicate). This is cause there are two 01s and 03s. But in the realm of what I am doing this is not a duplicate. It should only be red if there are more than one duplicate matching in A Column containing the same B Column data. So row 1 and 2 are not duplicates but 3 and 4 are cause they both have D1 in the Column B and match in Column A.
I am not entirely sure what I should even look for here but I have spent the past 3 hours looking. Can someone here help me out on this? Thanks in advance.
Note 1:
I have tried something like this but it works but fails my purpose. It returns true because there is in fact more than 1 D1 in column B as there should be. But it doesn't take into consideration I only care about exactly matching column A and B marking red.
=AND(countif(A:A, A2)>1, countif(B:B, B2)>1)
AI: you need to use COUNTIFS:
EU: =COUNTIFS($A:$A; $A1; $B:$B; $B1)>1
US: =COUNTIFS($A:$A, $A1, $B:$B, $B1)>1 |
H: Match range to closest of 1 of 3 variables
consider the following sheet
ID Hours
1 16
2 24
3 50
4 36
now I need to match the values in Col B to one of 3 variables
16, 25, 30
so what I'm trying to do is match the number in B2:B to the closest number of the above three variables... not able to work this out with =match... can anyone help?
adding a sheet for clarity:
Basically, what I want to do is assign a variable to a store based on their hours. so if ID 3 is 50 then they will be assigned the variable of 30 and have 20 left over, so essentially they have will two variables, one of 30 one of 16 with a remainder of 4. I've done this now with a few if/match statements but I was wondering if there was a one formula method to match one variable to another.
sheet: https://docs.google.com/spreadsheets/d/
AI: in case you want to round it between 3 numbers on a linear plane use nested IF like:
=IF( B2 < 20.5 ; 16;
IF(AND(B2 >= 20.5 ;
B2 < 27.5); 25;
IF( B2 >= 27.5 ; 30; )))
which divides plain into:
16 25 30
-∞ __________|_________|_____|___________ ∞ +
| |
20.5 27.5
UPDATE:
basically, all you need is this simple formula pasted in C2 and dragged down - (it can devide inputs from B column up to 360h):
=SPLIT(IF(AND(B2>=16;B2<25);16;IF(AND(B2>=25;B2<30);25;IF(B2>=30;30;)))&" |"& IF(SUM(B2-30)>=16;IF(SUM(B2-30)<25;16;IF(AND(SUM(B2-30)>=25;SUM(B2-30)<30);25;IF(SUM(B2-30)>=30;30;)))&"|";IF(SUM(B2-30)>=0;IF(SUM(B2-30)=0;;SUM(B2-30));IF(SUM(B2-25)>=0;IF(SUM(B2-25)=0;;SUM(B2-25));IF(SUM(B2-16)>0;SUM(B2-16);))))& IF(SUM(B2-SUM(30*2))>=16;IF(SUM(B2-SUM(30*2))<25;16;IF(AND(SUM(B2-SUM(30*2))>=25;SUM(B2-SUM(30*2))<30);25;IF(SUM(B2-SUM(30*2))>=30;30;)))&"|";IF(SUM(B2-30-30)>=0;IF(SUM(B2-30-30)=0;;SUM(B2-30-30));IF(SUM(B2-30-25)>=0;IF(SUM(B2-30-25)=0;;SUM(B2-30-25));IF(SUM(B2-30-16)>0;SUM(B2-30-16);))))& IF(SUM(B2-SUM(30*3))>=16;IF(SUM(B2-SUM(30*3))<25;16;IF(AND(SUM(B2-SUM(30*3))>=25;SUM(B2-SUM(30*3))<30);25;IF(SUM(B2-SUM(30*3))>=30;30;)))&"|";IF(SUM(B2-SUM(30*2)-30)>=0;IF(SUM(B2-SUM(30*2)-30)=0;;SUM(B2-SUM(30*2)-30));IF(SUM(B2-SUM(30*2)-25)>=0;IF(SUM(B2-SUM(30*2)-25)=0;;SUM(B2-SUM(30*2)-25));IF(SUM(B2-SUM(30*2)-16)>0;SUM(B2-SUM(30*2)-16);))))& IF(SUM(B2-SUM(30*4))>=16;IF(SUM(B2-SUM(30*4))<25;16;IF(AND(SUM(B2-SUM(30*4))>=25;SUM(B2-SUM(30*4))<30);25;IF(SUM(B2-SUM(30*4))>=30;30;)))&"|";IF(SUM(B2-SUM(30*3)-30)>=0;IF(SUM(B2-SUM(30*3)-30)=0;;SUM(B2-SUM(30*3)-30));IF(SUM(B2-SUM(30*3)-25)>=0;IF(SUM(B2-SUM(30*3)-25)=0;;SUM(B2-SUM(30*3)-25));IF(SUM(B2-SUM(30*3)-16)>0;SUM(B2-SUM(30*3)-16);))))& IF(SUM(B2-SUM(30*5))>=16;IF(SUM(B2-SUM(30*5))<25;16;IF(AND(SUM(B2-SUM(30*5))>=25;SUM(B2-SUM(30*5))<30);25;IF(SUM(B2-SUM(30*5))>=30;30;)))&"|";IF(SUM(B2-SUM(30*4)-30)>=0;IF(SUM(B2-SUM(30*4)-30)=0;;SUM(B2-SUM(30*4)-30));IF(SUM(B2-SUM(30*4)-25)>=0;IF(SUM(B2-SUM(30*4)-25)=0;;SUM(B2-SUM(30*4)-25));IF(SUM(B2-SUM(30*4)-16)>0;SUM(B2-SUM(30*4)-16);))))& IF(SUM(B2-SUM(30*6))>=16;IF(SUM(B2-SUM(30*6))<25;16;IF(AND(SUM(B2-SUM(30*6))>=25;SUM(B2-SUM(30*6))<30);25;IF(SUM(B2-SUM(30*6))>=30;30;)))&"|";IF(SUM(B2-SUM(30*5)-30)>=0;IF(SUM(B2-SUM(30*5)-30)=0;;SUM(B2-SUM(30*5)-30));IF(SUM(B2-SUM(30*5)-25)>=0;IF(SUM(B2-SUM(30*5)-25)=0;;SUM(B2-SUM(30*5)-25));IF(SUM(B2-SUM(30*5)-16)>0;SUM(B2-SUM(30*5)-16);))))& IF(SUM(B2-SUM(30*7))>=16;IF(SUM(B2-SUM(30*7))<25;16;IF(AND(SUM(B2-SUM(30*7))>=25;SUM(B2-SUM(30*7))<30);25;IF(SUM(B2-SUM(30*7))>=30;30;)))&"|";IF(SUM(B2-SUM(30*6)-30)>=0;IF(SUM(B2-SUM(30*6)-30)=0;;SUM(B2-SUM(30*6)-30));IF(SUM(B2-SUM(30*6)-25)>=0;IF(SUM(B2-SUM(30*6)-25)=0;;SUM(B2-SUM(30*6)-25));IF(SUM(B2-SUM(30*6)-16)>0;SUM(B2-SUM(30*6)-16);))))& IF(SUM(B2-SUM(30*8))>=16;IF(SUM(B2-SUM(30*8))<25;16;IF(AND(SUM(B2-SUM(30*8))>=25;SUM(B2-SUM(30*8))<30);25;IF(SUM(B2-SUM(30*8))>=30;30;)))&"|";IF(SUM(B2-SUM(30*7)-30)>=0;IF(SUM(B2-SUM(30*7)-30)=0;;SUM(B2-SUM(30*7)-30));IF(SUM(B2-SUM(30*7)-25)>=0;IF(SUM(B2-SUM(30*7)-25)=0;;SUM(B2-SUM(30*7)-25));IF(SUM(B2-SUM(30*7)-16)>0;SUM(B2-SUM(30*7)-16);))))& IF(SUM(B2-SUM(30*9))>=16;IF(SUM(B2-SUM(30*9))<25;16;IF(AND(SUM(B2-SUM(30*9))>=25;SUM(B2-SUM(30*9))<30);25;IF(SUM(B2-SUM(30*9))>=30;30;)))&"|";IF(SUM(B2-SUM(30*8)-30)>=0;IF(SUM(B2-SUM(30*8)-30)=0;;SUM(B2-SUM(30*8)-30));IF(SUM(B2-SUM(30*8)-25)>=0;IF(SUM(B2-SUM(30*8)-25)=0;;SUM(B2-SUM(30*8)-25));IF(SUM(B2-SUM(30*8)-16)>0;SUM(B2-SUM(30*8)-16);))))& IF(SUM(B2-SUM(30*10))>=16;IF(SUM(B2-SUM(30*10))<25;16;IF(AND(SUM(B2-SUM(30*10))>=25;SUM(B2-SUM(30*10))<30);25;IF(SUM(B2-SUM(30*10))>=30;30;)))&"|";IF(SUM(B2-SUM(30*9)-30)>=0;IF(SUM(B2-SUM(30*9)-30)=0;;SUM(B2-SUM(30*9)-30));IF(SUM(B2-SUM(30*9)-25)>=0;IF(SUM(B2-SUM(30*9)-25)=0;;SUM(B2-SUM(30*9)-25));IF(SUM(B2-SUM(30*9)-16)>0;SUM(B2-SUM(30*9)-16);))))& IF(SUM(B2-SUM(30*11))>=16;IF(SUM(B2-SUM(30*11))<25;16;IF(AND(SUM(B2-SUM(30*11))>=25;SUM(B2-SUM(30*11))<30);25;IF(SUM(B2-SUM(30*11))>=30;30;)))&"|";IF(SUM(B2-SUM(30*10)-30)>=0;IF(SUM(B2-SUM(30*10)-30)=0;;SUM(B2-SUM(30*10)-30));IF(SUM(B2-SUM(30*10)-25)>=0;IF(SUM(B2-SUM(30*10)-25)=0;;SUM(B2-SUM(30*10)-25));IF(SUM(B2-SUM(30*10)-16)>0;SUM(B2-SUM(30*10)-16);))));"|")
demo spreadsheet: https://docs.google.com/spreadsheets/d/ |
H: How do I watch my own videos?
Google moved My Videos section to YouTube Studio, I can't actually figure out a way to make a video I've uploaded play, let alone find a link to it. I see all sorts of options to change the thumbnail, description etc., but not the most important one.
AI: In the YouTube Studio, if you hover above an entry, it shows a quicklink to the watch page (the YouTube icon), as well as a ... next to it, which allows you to get shortlinks to share on social media.
The Studio is still in beta, so send feedback if you want a link to your video somewhere else, too – it's more likely that they'll make changes to the system now. |
H: Google Calendars - Embedding into webpage loses one of the shared calendars
Background
So I have 3 google accounts:
Account A
Account B
Account C
I want to share Account A and Account B's calendars on Account C. I have initiated the sharing of calendars so that it appears like this when viewing from Account C:
I have Account C on both Account A and Account B as "Make changes and manage sharing"
When I view the calendar from calendar.google.com on Account C, I see all my events fine from all 3 calendars like I should.
Problem
So when I try to embed the calendar from Account C, I follow the instructions:
Settings
Click Account C
Click Integrate Calendar
Copy Embed code
Now when I view the embedded calendar, it shows items from Account C and A but Account B does not show up (even though it does when viewed from calendar.google.com). Is there a setting I need to change for Account B to show up? I do see that it is listed under "Other Calendars" instead of "My Calendars" so possibly this is the reason? I am not sure what triggers that too.
Update
I managed to get Account B to appear under "My Calendars" by ensuring that Account B allowed Account A to control it however it still will not appear on the embedded version..
AI: So here is what has to be done to share all 3 calendars with each other:
Account A:
Goto Settings, Select Calendar, "Share with specific people", "Add People"
Share in this way with both Account B and Account C
Share as "Share all event details" or "Make changes and manage sharing"
Account B:
Repeat same steps done in Account A but to share with Account B and Account C
Account C:
Check that both Account A and Account C show up on the calendar under "My Calendars" and not "Other Calendars"
If this is true then goto Settings, Select Calendar, "Integrate Calendar"
Under Embed code click "Customize"
Change the rest of the settings to whatever you want but the important part here is to check the "Calendars to Display". This changes the generated code appropriately to allow the other calendars. Once this is done then simply copy the HTML code at the top to your site. (This is the part that I was missing) |
H: Sending e-mails from the dotted version of my Gmail address
I am locked out of one of my accounts due to the fact that I had subscribed with the dotted version of my Gmail address, and now I can't send verification e-mails they except from that very address. I added the dotted version in the settings both as and not as an alias, made it default sending address, deliberately chose it while sending an e-mail, with no luck.
How can we send an email from the dotted version, please?
Thanks in advance.
AI: I finally managed to send an e-mail from the dotted version of my address, thanks to Thunderbird. Apparently, we can simply add a dot character to the address specified in Thunderbird configuration, https://support.mozilla.org/en-US/kb/manual-account-configuration, and that works.
PS: I will not accept my answer for now, to see if there are better answers that lets me to do this directly on Gmail interface.
PSS: I even tried the https://docs.python.org/3/library/smtplib.html, with no luck. |
H: How can I create a filter view with MOD custom formula?
I want to split a spreadsheet tab (called main) so to have (say) N = 3 people working on it without interfering with each other.
For the purpose, I thought to create 3 filter views, each containing rows whose ID modulo 3 has the same result.
In a new worksheet, this is easily accomplished with a filter like
=filter(main!A2:B, MOD(main!A2:A, 3) = 0)
(replacing 0 with 1 or 2 to get the other IDs) so that I get (in the case of modulo = 0)
How can I achieve this with a filter view with custom condition (which is handy to share separate URL links with collaborators)?
AI: You are already filtering. You don't need =filter(A:A. =MOD(A:A, 3) = 0 should do it instead. |
H: IMPORTRANGE syntax when using query on multiple tabs
I am using IMPORTRANGE within a query to extract data from sheet 1 to sheet 2. The following code is in a cell in tab A of sheet 2, and works as intended:
=query(importrange("URL-A","E:J"), "select * where Col6 = TRUE AND Col4 IS NOT NULL")
That is, it extracts the correct data from sheet 1, tab A. Note that URL-A is specific to tab A.
However, when I attempt to extract data from tab B:
=query(importrange("URL-B","C:J"), "select * where Col2 IS NOT NULL AND Col8 = TRUE AND Col6 IS NOT NULL")
where URL-B is specific to tab B, the data is still being extracted from tab A.
In other words, IMPORTRANGE seems to be extracting data from the first tab, despite specifying URLs that are specific to other tabs.
Is there additional or different IMPORTRANGE syntax required to refer to different tabs?
AI: Instead of using "E:J" and "C:J" use "tab a!E:J" and "tab b!C:J" where tab a and tab b are the tab names.
NOTE: To avoid confusion, instead of using URL use the spreadsheet key, because this makes clear that the first parameter refers to the spreadsheet only. |
H: How to search to find a video NOT in YouTube?
I want search some videos that are NOT listed in YouTube. I tried -YouTube, but it does not return any results.
How I can do that?
AI: -site:"youtube.com" intext:"hello"
then click the videos tab
just read this to make the above
https://www.quora.com/How-do-I-use-Google-dorks-1 |
H: Gmail: group email, different content per user
I would like to create an email in Gmail where the recipients list is visible to everyone but it still gives each person slightly different email content. Is it possible? With an addon? Is it possible to also alter the subject?
AI: According to RFC-5322 the recipients ("To", "Cc", or "Bcc") and Subject are tied to the Message-ID.
The "Message-ID:" field provides a unique message identifier that refers to a particular version of a particular message. The uniqueness of the message identifier is guaranteed by the host that generates it. All recipients receive exactly the same message.
If you want to send each person a different message and include in the body a list of people whom you sent the message to you are permitted to do that, of course, but the emailer won't read your message and automatically move body text into sender fields.
The closest you can get to what you are asking for is to use To, and CC, (and everyone's email addresses) in the Header and in the body for the first line write (for example) To: Tom, Jerry, Joe, Sue, Others ...
Now if one person replies then everyone in the Header will see the reply and at the bottom of this message will be a copy of the message you originally sent.
The other way is to send each person an individual message, but then you can't use CC or BCC (which wouldn't make much sense) since that would cause a copy of each message going to each person (showing each person the other's customized messages) to generate multiple incoming messages for everyone (probably not what you want).
Much like making a conference call or talking to a group of people everyone sees (reads/hears) the same thing, you would need to address each person during the conversation (in which case the others hear it too) or take each person aside to give them a private message (and then non-recipients couldn't reply).
To do what you are asking would require a custom program on each end and that means leaving GMail (or any other RFC-5322 compliant mailer) out of the loop. |
H: Joining and sorting strings: how to turn week menu into shopping list?
Every Sunday I define with my girlfriend a menu for the coming week. We use Google Sheets for that: each cell is a comma-separated list of products to prepare a meal. We enter those data manually. Then I manually create a shopping list of products to buy, going through the menu. How can I automate this process?
I was thinking about the following algorithm:
Concate products from selected cells into an array.
Split each element of the array by comma, so that the result is an array of arrays of single products.
Flattenize the output of the previous step, i.e., turn the array of arrays into 1-dimensional array of products.
Remove duplicate products or at least sort them lexically.
Join all products into a single string with comma-separated elements, so that the final output can be displayed in a single cell.
Here's an example of how it works with input (selected menu) and output (shopping list). Click the screenshot to go to the original document.
I have programming background (Java), but I am not familiar with Google Sheets abstractions, e.g., whether there's a concept of an array.
Is my algorithm implementable in Google Sheets? What functions should I use?
AI: Adding this as an answer, got your desired result (bar the commas), finally got around to testing it.
=ARRAYFORMULA(TEXTJOIN(CHAR(10),TRUE,TRIM(SPLIT(JOIN(",",B2:B5,C2:C5,D2:D5,E2:E5,F2:F5),",",true,true))))
Working backwards,
first we join our cells using the JOIN command, essentially creating an array.
we then pass the SPLIT function to split this array.
we apply TRIM to remove and leading and trailing white space.
We use the TEXTJOIN command passing CHAR(10) (ASCII code for end of line) as our argument.
we finish using an ARRAYFORMULA which actually is necessary for the TRIM function. I'm not 100% sure why, but my guess would be the trim needs to be inside an array to function across a wide-range of cells.
and there you have your groceries.
Sheet as an example.
https://docs.google.com/spreadsheets/d/1qONq_DpPdb7h8NYO2LYYlBc74oc_UMFM3Ob-TOZ9pNs/edit
EDIT : Updated Criterion:
the best I could do is pass a sort and a transpose which sorts the cell but the case-insensitive bit is beyond me, maybe someone else can help?
=ARRAYFORMULA(TEXTJOIN("," & CHAR(10),TRUE,sort(TRANSPOSE(trim(split(JOIN(",",B2:B5,C2:C5,D2:D5,E2:E5,F2:F5),",",true,true)))))) |
H: Get a SMS or Push Notification instantly when an email is send to Gmail
I have integrated my business email to be checked via my Gmail account, using the "Check email from other accounts:" option using POP3.
I want to get an instant SMS or push notification on my Android phone when any email is sent to my business email address me@mybusiness.com.
What platforms exist or ideas are there that can do this for free? I want to try and avoid the automation platforms such as Zapier etc and perhaps have some form of app installed on my phone that can trigger the push or SMS.
AI: Go to settings and tap on yourname @gmail.com:
Now go to "Manage Labels" and ensure that you have sync turned on for all your mail:
That isn't turned on by default.
While you are in the Settings you might as well check to ensure that you didn't accidentally disable the default Notifications ("Manage Notifications"). |
H: What are the storage limits for Telegram's groups?
We can read that:
Since Telegram's launch in 2013, you can send files up to 1.5 GB and access them from any of your devices, including computers. Source: Shared Files and Fast Mute.
Although it doesn't say anything about the groups.
So my question is, what is the storage limit for the group I've created?
Is it still 1.5GB per person (sent files), or there is some other limit per group?
AI: Yes, it's 1.5GB per person per file, regardless of the chat type.
Maybe the sentence you quoted wasn't clear enough:
you can send files up to 1.5 GB
Generally, you can send in Telegram
AND
access them from any of your devices
i.e. not only from the device you sent them
Another way of writing this, that maybe would've been more clear to you about that, is:
Since Telegram's launch in 2013, you can:
Send files up to 1.5 GB
Access your files from any of your devices, including computers.
Why/what is it good for? Because it's perfect for everything from studying to sharing personal archives. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.