text
stringlengths 83
79.5k
|
---|
H: What wildcard operators are supported in Kronos WFC searches?
What types of wildcard operators are supported when searching database entries in Kronos Workforce Central 6.3? Specifically when attaching jobs in the Organizational Map Editor.
I know that you can use asterisks * when searching for job codes, but are there any other modifiers that can be used?
AI: My own experimentation seems to show that Kronos partially follows the list of .Net operators, but it doesn't seem to be an exact match. There also doesn't seem to be any official documentation to verify.
Based on my own testing, here is an incomplete list of search operators when searching jobs:
Supported search modifiers
Asterisk *: Substitute for zero or more characters
Question Mark ?: Substitute for a single character
???? = Any 4 character string
S??? = Any 4 character string that starts with S
Underscore _: Substitute for a single character
Not supported
Brackets {}
Exclamation Point !
Lazy quantifier *?
Question mark is interpreted as a random character
Notes
Certain search fields in Kronos may not support wildcards, such as when editing Function Access Profiles
Searches support URL encoded characters using %.
Spaces can be encoded as a plus + or as %20 |
H: Why does sumif() fail with certain values unless I math manipulate them?
I have a perplexing issue with sumif() in a Google Spreadsheet. It is correctly summing some, but not all, of the values that match the required critera. If however I take the value that is failing to be summed, and divide it by 1, then the sumif functions correctly.
Also I have found that using round() around the "offending" data also causes the sumif() to function correctly. So it seems that this particular value just requires some extra manipulation, but I don't know why. The value is simply a cell reference to another cell containing a numeric value.
Why on earth would this be happening and how can I get sumif to behave consistently without having to mathematically manipulate certain cells?
AI: So as @pnuts pointed out, this was merely an issue of formatting. Most of the data I was pulling from another sheet was in fact formatted numerically, but just a few cells were for some reason formatted as text, and therefore the sumif() was failing to include them unless mathematically altered, forcing them to a text type.
The solution was simply to go into my main data sheet, and format all cells as numeric in the format I needed. |
H: Get all email addresses associated to a specific Gmail label
How to get the list of all emails addresses associated to a Gmail label?
i.e. in a similar way than this question, but limited to a specific label?
Note: I post here with Answer your own question – share your knowledge, Q&A-style, because I don't have enough rep to post an answer in the aforementioned question.
AI: Create a new script on http://script.google.com,
Past the code below,
Open the menu Publish > Deploy web app..., and copy/paste the script URL(*),
Run the script with the URL (accept the permission questions about Gmail):
https://script.google.com/macros/s/.../dev?label=nameofthelabel
It will directly display the addresses in the browser, without needing a spreadsheet or anything else.
Code:
function doGet(e) {
var max = 100;
var offset = 0;
var searchThreads = [];
var addresses = [];
while (true) {
var threads = GmailApp.search("label:" + e.parameter.label, offset, max);
searchThreads = searchThreads.concat(threads);
if (threads.length < max) { break; }
offset += max;
}
for (var i = 0; i < searchThreads.length; i++) {
var messages = searchThreads[i].getMessages();
for (var j = 0; j < messages.length; j++) {
addresses.push(messages[j].getFrom());
}
}
function onlyUnique(value, index, self) { return self.indexOf(value) === index; }
var addr = addresses.filter(onlyUnique).join('\n');
return ContentService.createTextOutput(addr).setMimeType(ContentService.MimeType.TEXT);
}
(*) Choose the "latest code" link, ending with /dev , it avoids to redeploy each time you do a tiny modification in code, as detailed here. |
H: Is there a way to alter Facebook video player behavior?
I have two main issues with the Facebook video player:
When I scroll down from it, it floats to the side and continues playing.
When I click on it, instead of pausing the video (like virtually every other player, it opens it in theatre mode or whatever.
Is there any way to fix these?
AI: Facebook is testing a new feature that prompts users to “continue watching” videos that they’ve seen in News Feed, but never finished. The feature is a test, according to a company spokesperson, and appears at the top of some users’ News Feeds, but only on Facebook’s web version. This test is in its “early stages,” and as with all Facebook tests, it’s possible that the “continue watching” feature may never make it to all users.
So:
Video moving to the side when you scroll is the new feature* of Facebook. You can't do anything about this, but you can send your Feedback to Facebook.
Instead clicking on video, hover over mouse on video, options will appear, click on pause button at bottom left side to pause video or on X mark at upper right corner to close it.
*For some countries this feature has been introduced a year back. |
H: Jump to own cursor in Google Spreadsheets
If multiple people are editing a spreadsheet, one just has to click the avatar of another person present to jump to their cursor.
Is there any way to quickly jump to my own cursor? Fox example, when scrolling around to find some data, it's easy to get lost in a long table, but there's no easy way to get back - except for remembering the cell coordinates.
AI: Use the arrow keys to move the focus one cell then again to return to the original cell, i.e. right arrow, left arrow. |
H: Integration help with styles and pagination
I am testing integration of Cognito Forms for my website which has multiple forms. I have registered with free version and tried to integrate it on my site. But I am now facing these issues:
Is it possible to change / update animation when we go to next step?
Currently it scrolls to the top and slides the next step in.
Can we use just use fade effect or no effect on forms and just scroll on
top?
Is there any way to make form labels coming on left instead of above fields?
Is there any ability to add link as part of label?
I need this for the checkbox I use to agree terms and conditions.
Is there any ability to add text on right side of the field?
Eg. I have a field for a Travel. So I need Field Label in first column
then Field and then unit text "kms" next to the fields?
I really like all other features that Cognito Forms has but just found above restriction on customizing forms on my website.
It will be good if you can update me with possible options to resolve this so I can upgrade my account and start integrating more forms.
AI: Cognito Forms provides a ton of flexibility for customizing the layout and appearance of forms. At the same time, the forms are designed to be easy to build, easy to maintain, and work responsively on a variety of devices. This is why we do not overwhelm users with field layout options, or try to recreate paper forms, as the goal is a bit different.
That being said, here are some possible ways to answer your formatting needs:
Disable Animations
In your seamless embed code, change:
Cognito.load("forms", { id: "*your form number*" });
to:
Cognito.load("forms", { id: "*your form number*" },
{ success: function() { ExoJQuery.fx.off = true; }});`
Align Labels with Custom CSS
Add custom CSS alongside your embedded form, such as:
.cognito .c-label {
width: 80px;
}
.cognito .c-editor {
width: calc(100% - 80px);
display: inline-block;
}
Add Content Fields to Insert Links
Add a content field adjacent to the checkbox field. Insert a link in the content field linking to the terms and conditions.
Helptext to Right of Field
a. Add a content field to the right of the field and enter the help text, or
b. Use CSS to right align the existing field helptext .c-helptext, or
c. Our upcoming placeholder text feature will also help provide new user prompt options |
H: How do I get a substring from a cell in Google Apps Script?
How do I get a substring from a cell in Google Apps Script?
I'm trying to retrieve some data from a website.
I've already got the whole HTML code
and put it into a cell (thou it could be better put into a String variable)
I'm stuck in a simpler task:
How do I get the part of that cell/string I'm interested in,
(since I know it is always located in the same position/offset)
I tried string.substring(offset, length)
but it doesn't work.
How can I do that?
Help appreciated.
AI: Sorry. My mistake.
The right usage of substring method is:
string.substring(starting-offset, ending-offset)
Here's the whole code. Already ready. Improvements may come later.
function Agrega_Valores_Actualizados() {
var Libro = SpreadsheetApp.getActiveSpreadsheet();
var Hoja_0 = Libro.getSheets()[0];
Hora = Utilities.formatDate(new Date(), 'GMT-4', 'HH');
if (Hora > 17) {
Fecha_B3_Simple = Hoja_0.getRange("B3").getDisplayValue();
Hoy_Form_Simple = Utilities.formatDate(new Date(), 'GMT-4', 'dd-MM-yy');
if (Fecha_B3_Simple != Hoy_Form_Simple) {
//Inserta línea entre 3 y 4
Hoja_0.insertRowAfter(3);
//Copia línea 3 a la 4
Linea3 = Hoja_0.getRange("B3:F3");
Linea4 = Hoja_0.getRange("B4:F4");
Linea3.copyTo(Linea4);
F3 = Hoja_0.getRange("F3"); F3.setValue("=E3-E4");
F4 = Hoja_0.getRange("F4"); F4.setValue("=E4-E5");
//Borra contenido de celdas C3 y D3
Valores_A_y_B_Linea3 = Hoja_0.getRange("C3:D3"); Valores_A_y_B_Linea3.clearContent();
//Coloca fecha actual en celda B3
Fecha_Linea3 = Hoja_0.getRange("B3"); Fecha_Linea3.setValue(Hoy_Form_Simple)
//Busca Valor de Acciones en Página de Índice Bursátil
var Contenido_URL = UrlFetchApp.fetch('http://www.bancaynegocios.com/indice-bursatil-caracas/');
var HTML = Contenido_URL.getContentText();
P1 = HTML.search("Mercantil Servicios Financieros Clase A");
C3 = Hoja_0.getRange("C3"); C3.setValue(HTML.substring(P1+110,P1+110+8));
P2 = HTML.search("Mercantil Servicios Financieros Clase B");
D3 = Hoja_0.getRange("D3"); D3.setValue(HTML.substring(P2+110,P2+110+8));
}
}
} |
H: Google Sheets formula to place message in cell when range contains the text "0"
I have a spreadsheet with three columns. In Column A and B are two numbers, and in Column C is a formula to produce a ratio from those two numbers. Here is that formula:
=CONCATENATE(round(B2/min(B2,C2),2)," : ",round(C2/min(B2,C2),2))
My problem is that sometimes one of these numbers is zero, and that causes the formula to produce the error:
Function DIVIDE parameter 2 cannot be zero.
Self-explanatory.
How can I change my formula to instead produce a ratio with a zero in it? So for example:
1.89 : 0
AI: Does this do what you want:?
=CONCATENATE(if(C6=0,B6,round(B6/min(B6,C6),2))," : ",if(C6=0,"0",round(C6/min(B6,C6),2))) |
H: Setting up "Send As" on Gmail to an outlook account gets "Missed upload deadline" error
I was trying to set up "Send As" on gmail for my school account and even though I was certainly using the instructions on outlook, and the correct password and username I was getting "Missed upload deadline (9.9 sec)".
After some searching I found a popular answer that I should be pinging "smtp.office365.com" and be using the result. That did not work either. As I found the answer I will be posting it below but please add a better one by all means.
AI: The solution in my case was to VPN to a location close to where my school was and then ping. It seems that outlook smtp is located close to where your account was opened, not where you are at the moment.
As my school was in Melbourne (while I am in Athens) before the VPN I was getting outlook.ms-acdc.office.com as the result of
ping smtp.office365.com
but when I VPNd to Melbourne I got outlook-au.office365.com which worked.
As I have lost a couple of hours doing that I am posting this here in the hope that it will help someone. |
H: How to change my name that appears in email depending on language?
I write emails in Russian and English and I'd like to send my Russian emails with Russian name and emails in English with my name's translation to English. Is there an easy way to do this?
AI: Unfortunately, there's no "easy" way to set that up. However, with a little configuration, there is a fairly user-friendly solution.
What you could do is set up a second Gmail account (or Yahoo!, or Hotmail, or any other webmail account) and specify your name for that account as your Russian name. Then, add that account to your main Gmail account as an account that you own (instructions for doing that can be found here).
Once you've set up the second account and added it to your main Gmail account, you can now switch between the two when you send emails. When you send an email in English, you won't have to do anything, and when you send one in Russian, just click the From button in the compose email window and select your second account. (Instructions for doing that can also be found in the link above.)
It's not ideal, but it does allow you to switch "from" addresses with just a click or two, after the initial setup. |
H: SUMIF parse error
I would like to choose from dropdown list in L1 (same as J2:J600) and sum up all prices from F with specified value from J.
AI: Try replacing , with ;:
=SUMIF(J2:J600; L1;F2:F600)
Your country uses , as decimal separator and thus cannot be used in any formula. |
H: Totally confused by my arrayformula(IF+FILTER+IF) function
I'm trying to check how much of the my data are collected during worktime.
(between 10am~5pm). So I made a IF function for this, which I had to drag down every single time when new rows are added.
My original function was like this:
=IF(AND(B4:B>TIMEVALUE("10:00:00"),B4:B<TIMEVALUE("17:00:00")),"Yes","Not"))
And I get to know this awesome arrayformula function that automatically fills up to the newly added rows, and applied it here:
=ArrayFormula(IF(filter(A4:A,A4:A<>""),IF(AND(B4:B>TIMEVALUE("10:00:00"),B4:B<TIMEVALUE("17:00:00")),"Yes","Not"),""))
Sorry about my messy, 'Inception-like' IF function, but this is pretty much all i can think of.
Also, I added FILTER function so that arrayformula stops before the blank rows.
Apparently it does shows some values, but it doesn't show any correct values on my sheet...
Conclusion
Can I please get some help with this ARRAYFORMULA(IF+FILTER+IF) Function?
Also, is there any way that I can show "weekend" on the data that are collected during the weekend?
Below is sample Google Spreadsheet that shows what exactly is my problem.
https://docs.google.com/a/meshkorea.net/spreadsheets/d/14X9zYMuU_0tJE43W8lHFO3F_yjA3qnVq1LhGLex1jqo/edit?usp=sharing
AI: Try
=ARRAYFORMULA(IF(A4:A="","",IF(B4:B>TIMEVALUE("10:00:00")*(B4:B<TIMEVALUE("17:00:00")),"Yes","Not")))
There's no room for FILTER here. It has other uses. |
H: How can I add N more columns?
As of this writing, the default number of columns in Google Sheets is 29 columns.
I need more than 29 columns.
I would like to add N columns where N is something like 10 to 30 columns.
My request is similar to the "add N more rows bottom" button at the bottom of each Google Sheet GUI.
Is there a way to add N columns via the default GUI? If yes, how?
AI: Select a column where you want to add your N columns (left of there or right of there)
Shift-select the N number of columns that you want to add
Right-click
Click on "Insert N columns on left" or "Insert N columns on right" |
H: Is there a way I can see all currently running Google Apps Scripts?
I have lots of GSheets with google apps scripts in them. Is there a way I can see which ones are currently running on my account?
AI: If "currently running" means "have a trigger that runs them periodically or under certain conditions, then the answer is to go to Script Editor, select Edit -> All my triggers.
The triggers not associated with the currently opened script will appear in light grey, which makes them look as if they are inactive items that can't be edited. And indeed, they cannot be edited from here - but they can be deleted from this menu by clicking x on the left. |
H: How to prevent Gmail from creating map link from address?
When Gmail detects an address within the text of an email, it automatically converts that address into a link to Google Maps.
(I think this "feature" must be new because it hadn't happened in the past.)
I'm using Active Campaign to send emails to prospective clients, and the footer of the email contains a mailing address (which I think is required due to spam laws).
Gmail users who receive my emails see the mailing address in the footer as a blue hyperlink, which distracts from the main content of my emails.
I already know about this trick for preventing Gmail from converting email addresses into links.
How can I ensure that Gmail doesn't mess with the formatting of my mailing address text?
I just want it to be gray text (and not link to anything).
AI: The following approach seems to work!
<a href="" style="text-decoration:none;color: rgba(227,227,227,0.5);">%SENDER-INFO-SINGLELINE%</a>
Basically, I'm now preemptively making the address into a link, but it's a link to nowhere (href=""), and its underlining is removed (text-decoration:none;).
I adapted an answer I found here from Abby Wentzel. |
H: Replace more than one line break (\n) in a cell from a range
I have this script that replaces line breaks for a comma and space and triggered by edit event. However, it only replaces one line break per edit event. My sheet is populated by a form (not Google Forms) and in three columns I always receive up to four line breaks in cells of columns M, N and O (result of a multiple-choice fields in the form).
function testReplaceInSheet(){
var sheet = SpreadsheetApp.getActiveSheet()
var range = sheet.getRange("M2:O");
replaceInSheet(sheet,'values','test');
}
function replaceInSheet(sheet, to_replace, replace_with) {
//get the current data range values as an array
var values = sheet.getRange("M2:O").getValues();
//loop over the rows in the array
for(var row in values){
//use Array.map to execute a replace call on each of the cells in the row.
var replaced_values = values[row].map(function(original_value){
return original_value.toString().replace("\n",", ");
});
//replace the original row values with the replaced values
values[row] = replaced_values;
}
//write the updated values to the sheet
sheet.getRange("M2:O").setValues(values);
}
With this code I have to edit my sheet every time I need to remove a line break so it only replaces one line break at a time. How do I replace this:
COLUMN M, N, O:
word1
word2
word3
word4
into this:
word1, word2, word3, word4
without having to edit my sheet three times?
I already set the trigger in three ways: "on edit", "on change", and "on form submission" but that does not remove all line breaks after form submission.
AI: pnuts already pointed out the solution; use global flag "g" for global string replacement, replace(/\n/g, ",").
Your script also has a side effect of converting everything to strings. What if the user entered a number or a date? I would do
return (original_value.replace ? original_value.replace(/\n/g, ",") : original_value);
This performs the replacement if it makes sense (on data types that have .replace method, i.e., strings) and otherwise leaves data unchanged.
Also, consider using Event Objects which allow triggered scripts to act only on the range that was actually modified, instead of the entire data set. As is, your script re-runs over the old cells repeatedly. Along these lines, refocus the script on range instead of sheet as follows:
function triggeredFunction(e) {
var range = e.range; // or var range = sheet.getRange("M2:O") if not using event object
replaceInRange(range, 'values', 'test');
}
function replaceInRange(range, to_replace, replace_with) {
var values = range.getValues();
newValues = values.map(function(row) {
return row.map(function(originalValue) {
return (originalValue.replace ? originalValue.replace(/\n/g, ",") : originalValue);
});
});
range.setValues(newValues);
}
This is cleaner in several ways:
The edited range is not hardcoded in the replacing function, it's received as a parameter.
Even if the edited range is hardcoded in triggeredFunction, that's only one place where "M2:O" appears. So if the columns change, only one line of code will need a revision.
The array iteration is consistently .map instead of a mix of map and for-loop.
camelCase is used consistently |
H: How can I improve my current spreadsheet time formula?
=ARRAYFORMULA(IF(filter(A4:A,A4:A<>""),IF((B4:B>TIMEVALUE("10:00:00"))*(B4:B<TIMEVALUE("17:00:00")),"Yes","Not")))
I succeeded at making my time table to show whether it's collected during work time or not. But since I don't work during weekends, I need it to show whether it's collected during normal weekday or during weekend. (I'm trying to find the average of the general response time for my company's inbound calls)
Can I please get a help on this?
In short, I need to make my last column show:
For the data collected during workdays whether it was collected between 10:00am ~ 5:00pm (YES, NOT)
and shows "weekend" for the data that were collected during weekend.
and here's the sample spreadsheet.
AI: I would try to use multiple columns.
In one I would determine if the day is a weekend or weekday.
In the other I would determine if it is during work hours. You could even determine if it was before or after work hours.
Then I would use those cells to determine what category they apply to.
Breaking it into stages may allow you to use a more readable or less complex formula. The answers in those extra columns could also help in creating a pivot table. |
H: Take element-wise maximum of two columns with an array formula
I want to take element-wise maximum of two columns, that is pick whichever is larger in every row. So, with the input
+-------+
| A B |
+-------+
| 3 8 |
| 5 2 |
| 2 7 |
+-------+
the output should be a column with 8, 5, 7.
The function MAX can do this for two values like max(A2, B2) but when I try array formula
=arrayformula(max(A2:A4, B2:B4))
the output is just 8, the overall maximum.
AI: Since it's just two columns,
=ARRAYFORMULA(IF(A2:A4>B2:B4,A2:A4,B2:B4)) |
H: Sum numbers in a range of cells that contain a mixture of text and numbers
I've got a range of cells in Google Sheets that contain a mixture of text and numbers, e.g. Yes 46, Yes 35, No 23, Yes 21, Yes 14, etc.
Can anyone help me with a formula that would add up the numbers in the above range of cells? So the formula should ignore any text, and just add up the sum of the numbers within the cells.
So in the above examples, I'd want the sum of 46 + 35 + 23 + 21 + 14, which would be 139.
Update:
I was trying this previously, but it only works on a single cell, not on a range of cells. It was giving me a #VALUE! error:
=arrayformula(sum(value(if(N4:O4="","",left(N4:O4,find(" ",N4:O4))))))
AI: Try this:
=ARRAYFORMULA(SUM(--REGEXEXTRACT(A1:A6,"(\d+)"))) |
H: Horizontally filter / filter columns?
I'm familiar with vertical filters, but wondered if it can be done so I would only show the the columns that matched my query.
Is it possible to filter horizontally in Google Spreadsheets?
AI: The filter command works equally well with rows and columns. Its format is
=filter("two-dimensional array", "1-dimensional true-false array")
The direction of filtering is determined by the orientation of the true-false array. Think of it as sitting on a margin of the 2D array, which can be a horizontal or vertical margin. For example,
=filter(A1:E10, B1:B10 > 2)
keeps only the rows of the range A1:E10 where the entry in B is greater than 2. On the other hand,
=filter(A1:E10, A3:E3 < 10)
keeps only the columns of the range A1:E10 where the 3rd row entry is less than 10.
Query
The =query function is asymmetrical; it only selects rows meeting some conditions. To use it for filtering columns, apply transpose, for example like
=transpose(query(transpose(A1:E10), "select * where Col3 < 10")))
Note that since the transposed array is built "on the fly" (it's not physically present in the spreadsheet), the query string addresses it as Col1, Col2, etc instead of column labels. The query above picks the columns where the 3rd row is less than 10. |
H: How to make IF function in Google Spreadsheets output nothing?
How do I output nothing with an IF function?
I have created this nested function that takes the average of three cells.
However, if one of those cells is empty, it should only take the average of the other two numbers.
For this I have established this function:
=AVERAGE((IF(B5="",,SQRT((B3-B5)^2))),(IF(B6="",,SQRT((B3-B6)^2))),(IF(B7="",,SQRT((B3-B7)^2))))
Broken down: if cell1 is empty, output nothing, if it is not empty, output the difference)
To achieve spreadsheets to output nothing I've tried setting the second parameters as "" or . When outputting "", it seems to output nothing, but as a string. so the average function fails on that. when outputting , it seems to actually output 0.
The last option obviously messes up the calculation for the average.
I cannot seem to figure out how to output nothing at all.
I've refined my issue to a single spreadsheet that serves as an example for this post.
In cell C8 is the correct result, but achieved by splitting the calculation in steps.
Cell B8 is the entire formula in one cell, which should achieve the same result. It does this, when all of the values in B5:B7 are filled in.
When you leave one cell blank, the results are different.
The different results is equivalent to inserting 0 in C5:C7.
Am I missing something obvious here in regards to outputting nothing or am I over engineering this formula and is there an easier, built in function to achieve the same result?
Link to the example: https://docs.google.com/spreadsheets/d/1Pbirr45aqsVxo1CZo2cRsB6-tkEu-7L4KAouxoJBUq0/edit#gid=0
AI: Try this:
=AVERAGEIF({(IF(B5="",,SQRT((B3-B5)^2))),(IF(B6="",,SQRT((B3-B6)^2))),(IF(B7="",,SQRT((B3-B7)^2)))},">0")
Please note that the parameter for value to return when true is empty |
H: How to update VLOOKUP results in Google Sheets to most recent input from Google form?
I am trying to create a formula that pulls responses from a Google Form and organizes them into rows correlating with a client's name. The name is entered manually in and also appears in a drop-down in the form, so they should always match up.
I used =ARRAYFORMULA(IFERROR(VLOOKUP($A$3:$A,'Form Responses 1'!$B$2:$F, B2,FALSE ),"")), where:
manually entered names are in column A
the column I want results from is in row 2
and the data being pulled is coming from sheet 'Form Responses 1'
In the sample, I have highlighted the data in the Form Responses that I am trying to get to show up for each name in the 'Current List' sheet.
Sample Sheet here
AI: Try this:B3:
=ARRAYFORMULA(IFERROR(VLOOKUP($A$3:$A,SORT(FILTER({'Form Responses 1'!$B$2:$F$7,'Form Responses 1'!$A$2:$A$7},'Form Responses 1'!C2:C7<>""),6,0),B2,0)))
Drag fill to the right.
It looks big only because of the name of your sheet :( Otherwise, It's a simple blank filter and sorting by A( timestamp)
Edit: Formula simplified |
H: Help with ordering a Google Sheets =QUERY
I'm trying to add an ORDER by F to the following query, but every time I do it returns a syntax error.
ORIGINAL QUERY (working)
=QUERY(data!A2:Z, "select G, E, F, I, J WHERE A = " & C1, "")
UPDATED QUERY (not working)
=QUERY(data!A2:Z, "select G, E, F, I, J WHERE A = " & C1, " ORDER by F")
AI: Both your syntax is wrong. Both shouldn't be working and they're not working. You just think that the first one is working.
ORDER by F will not and does NOT cause the parse error.
There should be no , after C1
If C1 is number,
=QUERY(data!A2:Z, "select G, E, F, I, J WHERE A = "&C1&" ORDER by F")
If C1 is text,
=QUERY(data!A2:Z, "select G, E, F, I, J WHERE A = '"&C1& "' ORDER by F")
OR
=QUERY(data!A2:Z, "select G, E, F, I, J WHERE A contains ' "&C1& " ' ORDER by F")
Notice the position of &,' and " in different instances. |
H: How do you add yourself as "member of the team" in a Facebook page?
In Facebook pages, you can add a link to your personal account, under the label "member of the team". I did it once but I don't remember how I did it, I believe Facebook sent me a suggestion to add myself as a member of the team and I just accepted it.
How do you it when you don't get this suggestion, for another Facebook account?
AI: I found the option, here it is |
H: How to remove Slack User Permanently
I can't find a solution on how to do that, but there is a deactivate account but I want to remove the account permanently. How can I do that?
AI: On Year 2017
This answer is provided by Slack itself, Admins or even Owner can't delete the users permanently because of this reason:
Update: 2022
According to Slack, the profile information of the user can now be deleted, the article is here:
https://slack.com/help/articles/360000360443-Delete-profile-information-from-Slack
For full details, visit the link provided. |
H: Who sees Twitter messages starting with @?
When I do a tweet starting by @AnotherUser like this:
@AnotherUser Hello I would like to tell you that ...
will the tweet appear in the timeline of my followers?
If so, it would be annoying because the goal is to do a "Direct message" to someone. (Why don't I do a Direct message? Because you cannot do a direct message to someone who doesn't follow you.)
AI: will the tweet appear in the timeline of my followers?
Assuming it's a new tweet, your followers and the followers of the person you're mentioning will see it.
If it's an actual reply, only those people who follow you and that person you're replying to will see it.
A note: You can direct message someone who doesn't follow you if they've turned on the "Anyone Can send messages" feature.
Sources:
Here's how Twitter @mentions are changing
Twitter Is Finally Putting an End to Tweets That Start with “.@”
Twitter blog: Coming soon: express even more in 140 characters |
H: How can I bypass the annoying Quora login popup?
Sometimes a Google search will show a Quora page and when you visit it, you are forced to sign up or log in. I do have a Quora account but I don't want to sign in on every computer I work on.
How can the login popup be bypassed so that I don't have to spend several minutes in signing in or signing up when I only need to see that Quora question for something very quick?
AI: It is very annoying to see the login popup. They could have used the same model as Stack Exchange when registration is only used to make you vote and ask questions.
Anyways, when you encounter the problem you face, append the following in the URL:
?share=1
and the popup will go away.
Credits of this tip: HowToGeek |
H: Summing categories by just crossing off in a column
WHAT | AMNT | CATEGORY
| | Cat1 | Cat2 | Cat3
----------------------------------
Food | 32 | x | |
Pants | 19 | | x |
Phone | 10 | | x |
Pizza | 93 | | | x
Car | 20 | x | |
----------------------------------
SUM | | 52 | 29 | 93
----------------------------------
Can this be done? If so, how?
AI: Slightly shorter:
=sumif(C4:C8,"x",$B4:$B8)
Presumably in C10 and copied across to E10.
You may require ;s in place of ,s. |
H: How to reference a specific column in a look up table in the display condition
I have a question in my form that references a lookup table. If the user chooses a a specific answer from that multiple choice question, I would like to conditionally display a text entry question for follow up.
In order to do this I want the text field to display if a column in the lookup table is equal to '1' or 'True' in a specific column. For each possible answer choice in the lookup table this column is either 1 or 0. If the answer choice = 1 for that column, I would like the text field to display.
How can I reference this specific column in the lookup table in the display condition for the follow up text entry question?
AI: If I understand correctly you'll want to do:
instance('my_lookup_table')/my_lookup_table[category_column = /data/my_select_question]/value_column = 1
where:
my_lookup_table: the name of your lookup table
category_column: the column in your lookup table that matches the select list answer
data/my_select_question: the question the user answers
value_column: the column that holds true/false values
This filters the table to get just the row that matches the selected item. Then checks if the true/false column is true/false. |
H: Unexpected and confusing "Security alert for your linked Google Account"
We use GSuite for our small business. One of our employees received a "Security alert for your linked Google Account" email at her personal email address. It claims that a her work account has signed into a new iOS device. Here's an anonymized screenshot of the email:
The employee performed no such login to any device. Our GSuite administrator inspected login history and there was no recent activity (success or failure attempts) on that account. We suspended the account until we can figure this mystery out.
I inspected the email HTML and the links take you to the Google website, not some third-party site. So we are left to conclude that the email is likely legitimate and truly from Google, but inaccurate.
If this email is legitimate, it is possible that someone "signed-in" to the Google Account without it recording in the Login Audit Logs?
Are there any other means of confirming the authenticity of this email in GSuite?
AI: As it turns out, iOS devices do not record an audit entry into the admin logs as they use OAuth. I was able to determine what/where a user logged in by:
Changing the user's password, to make sure the user cannot log in again.
Reset sign-in cookies, to make sure any intruder is logged out.
Re-enable the user's account.
Then click the "Check Activity" button on the email the user was sent.
This confirmed that the login was indeed from our network, so we can be somewhat sure, this was not a security breach.
Only speculating here, buy this user has an iPad 2, which she users to connect. She was using it during this period, but claims she performed no log in, so it's conceivable the iPad did this without her knowledge (or she did it without her knowledge). |
H: Gmail IMAP telling me to "please log in using your web browser"
I've started using an organizational Gmail account (i.e. myself@myorg.org where myorg has a Google Applications subscription or whatever it is they call it).
Now, I can log in via the web and read my email and that's all fine. However, if I try to log in with IMAP (using the settings Google's support indicates), my login fails, and I get a message saying:
Alert from account myself@myorg.org@gmail.com:
Please log in via your web browser:
http://support.google.com/mail/accounts/bin/answer.py?answer=78754 (Failure)
I went there, and followed the instructions - up to "App Passwords". When I try generating an "App Password", I get a page saying:
The setting you are looking for is not available for your account.
What should I do?
AI: While it may seem counter-intuitive, Google believes your IMAP client is a "less secure application" relative to your web browser. You must therefore
Allow less secure apps: If you don't use 2-Step Verification, you might need to allow less secure apps to access your account.
Visit https://www.google.com/settings/security/lesssecureapps
(log in if necessary to get there)
Flip the switch named "Allow less secure apps" to the ON state.
You should now be able to login via IMAP. |
H: Cannot share folders on G Suite Google Drive
I just signed up for Google G Suite and created a company shared folder as instructed by the G Suite Learning Center. However for some reason I cannot share the folders with anyone as shown here:
I'm 100% sure I got full share and access rights (after all I created those folders). Any ideas?
AI: As the screenshot shows a background we could say that the folders are included in a "Shared Drive" (formerly "Team Drive"), also the link include in the question refers to a learning article about Team Drives.
Unfortunately, at this time it's not possible to share folders included in a Shared Drive but you could add the users you want to share the folder to the Shared Drive
Reference
How to enable folder sharing in Team Drives? |
H: Select subrange of an array-returning formula like GOOGLEFINANCE()
In Google Sheets, GOOGLEFINANCE returns an array of values, like so:
The formula is entered in A1 but the result extends into other rows and columns. I would like to "select" (not sure what the exact term is) a subset of this data. For example, I would like to select only the prices, without header (so B2:B22 in the image above). And I would like to do that in one formula, without ever printing the full table.
I tried OFFSET, but it doesn't work since it doesn't recognize the GOOGLEFINANCE formula as a range. Conversely, INDEX works, but only returns one cell at a time, so
INDEX(GOOGLEFINANCE("TSLA", "price", TODAY()-30, TODAY(), "DAILY"),2,2)
returns "345.66" for example.
AI: You could use INDEX without a row parameter to return a column
For example,
=INDEX(GOOGLEFINANCE("TSLA", "price", TODAY()-30, TODAY(), "DAILY"),,2)
will return the second column fully. However, To fully manipulate the array, you can use QUERY:
=QUERY(GOOGLEFINANCE("TSLA", "price", TODAY()-30, TODAY(), "DAILY"), "Select Col1,Col2 where Col2>355 limit 6 offset 1",0)
Here I've made the following conditions:
more than 『355』(Remove where Col2>355 if you don't need it )
Total of rows =5
the first row |
H: Set language of Wikipedia article on mobile page
I want to change the language of a Wikipedia article, as you would do on the left navigation bar in desktop view.
Unfortunately I can't find the functionality on mobile view without switching to desktop view.
Is this just too hard to find or is this not present in mobile view?
AI: It's certainly non-obvious.
Under the title of the article, if there are other languages available, is an icon that looks like a kanji letter and the letter "A".
Tap that and it will offer the other languages available for that article. |
H: How to convert single column list to a table?
Here is a subset data (all in one column):
Click to select Starcom
Starcom
Marketing and Advertising
Greater Chicago Area
5001-10,000 employees
View accountSaved
Saved Leads (0)
Click to select R/GA
R/GA
Marketing and Advertising
Greater New York City Area
1001-5000 employees
View accountSaved
Saved Leads (0)
Click to select McCann
McCann
Marketing and Advertising
United States
10,001+ employees
View accountSaved
Saved Leads (0)
Click to select DDB
DDB
Marketing and Advertising
Greater New York City Area
10,001+ employees
View accountSaved
Saved Leads (0)
I would like to create a table as such out of it:
+---------+---------------------------+----------------------------+-----------------------+
| Starcom | Marketing and Advertising | Greater Chicago Area | 5001-10,000 employees |
| R/GA | Marketing and Advertising | Greater New York City Area | 1001-5000 employees |
| McCann | Marketing and Advertising | United States | 10,001+ employees |
| DDB | Marketing and Advertising | Greater New York City Area | 10,001+ employees |
+---------+---------------------------+----------------------------+-----------------------+
As you can see, I only need the first four rows and then it skips three rows.
So far I have been trying to understand how to do this but can't seem to crack it... been trying to work with OFFSET and INDIRECT functions so far to no avail.
This is a handy thing to know how to do, since some data pastes in this format.
Here is my example spreadsheet URL.
AI: Assuming data is in ColumnA, please try in B2, and copied from there across three further columns to the right and then the set of four down to suit:
=offset(indirect("A"&2+7*(row()-2)),column()-2,)
OFFSET
INDIRECT
ROW
COLUMN |
H: How to place a marker on Google Maps in Chrome?
If I search for a place location on Google Maps, that location shows up with a red marker (for example a University). If I click on any other location on the map (for example a museum) the first red mark goes away and a new red mark appears at the new location.
How do I add markers on any custom locations on the map?
I don't need to be able to find directions or get distances, I just want to put up markers so that I can get an estimate of how close or far the various places are.
Is there any way to do this while viewing Google Maps in Google Chrome?
AI: You need to be signed into a Google account to do this.
When you are, you can use the Save button in the legend to save the place as a favourite,
All your favourite places show with a star when you look at a view that includes the place.
If you have so many favourites that a view is confusing, then you may want to delete some: from the hamburger menu (three lines in the right of the search box), click Your places > Saved and you can see and manage your list of favourites.
if the location you want to save is not already a Place in maps, then you need to add a private label for this to work. Read about that here. |
H: Calculation based on first and last value in row
I have a Google Sheets spreadsheet which has intermittent data. I have a column where I'd like to calculate the difference between the first value in each row, and the last value in that row. The first and last columns aren't always the same.
Here you can see that Row 2 has a value in B2 and E2 so the calculation in A is =E2/B2-1
Row 3 has a value only in C3 and D3, so the calculation is =D3/C3-1
How can I make the formula in A automatically detect and use the first value and the last value for the calculation?
AI: For the first value:
=+filter(B2:E2,B2:E2<>"")
For the last value:
=index(B2:E2,match(1E100,B2:E2))
So together for your requirement:
=index(B2:E2,match(1E+100,B2:E2))/(+filter(B2:E2,B2:E2<>""))-1
FILTER
INDEX
MATCH |
H: How to view current and past thread counts of an Azure App Service?
I'm trying to find the metric data for the current 'thread count' of an Azure App Service using the Azure web interface. I've think I've seen this metric before in past iterations of the Azure interface, I could be wrong, but I'm not sure how to navigate to in the latest Azure web interface. There are quite a few different widgets and pages connected to application insights and other metric recorders, but I can't seem to be able to locate the 'Thread Count'.
I've seen some examples of how to do this programmatically, but I'm not sure how to do it with the latest web interface.
What is the simplest way to view the current thread count and/or thread counts for the last 24 hours?
AI: You have to go to the Diagnose and solve problems tab and click Metrics per instance (Apps) in the sidebar of that tab.
In that area you can then select a thread count metric. |
H: How to create chart of stats grouped per month and per user doing them
I have a sheet that counts items acted on by certain users. The problem is that every day the sheet gets refreshed, not with the items done that day, but with the items done up to that day. For example:
Month |Date | User | Items done
_____________________________________________
September |01-09-2017| Mike | 10
September |02-09-2017| Mike | 15
Meaning that on 01-09 the user had acted on 10 items, but on 02-09 he had acted on 15, meaning that from one day to another he just did 5, so the "Items done" is the cumulative amount.
Here is a demo sheet.
How can I plot a chart of
Total amount of items acted on by the sum of all users in each month
Progression of each individual user through the months
I tried to extract the values from a pivot table (you can see it on the demo) but I am finding a problem: In order to get the total value for a user, I need to use MAX instead of SUM, because of what I explained of cumulative amount.
But if I want the total done in one month by all the users, I need to do SUM, because now I really need to sum the values. But when building the pivot table, in "Values" I can select only one option, SUM or MAX. I cannot say "MAX for individual users and SUM for total monthly".
Do you have an idea about how to accomplish this?
AI: You could use some variations of QUERY to achieve the visualization you desperately require:
=QUERY(A1:D197;"select B, Max(D) group by B pivot C")
This will provide the SUM:
=QUERY(QUERY(A1:D197;"select B,C, Max(D) group by B, C");"select Col1,sum(Col3) group by Col1")
Syntax:
QUERY |
H: Difference between flat and hierarchical fixtures in CommCare
What’s the difference between hierarchical location fixture and flat location fixture in CommCare?
AI: The hierarchical location fixture is officially deprecated, and is only available to older projects which were already using it. The flat fixture is easier to reference in your application and automatically makes use of some optimizations on the phone to make it faster.
This is a page on how to migrate from the hierarchical to the flat fixture.
This is a page on how to reference the flat fixture in your application. |
H: How do I reference the value of multiple cells from one spreadsheet to another?
The real kicker here is that I only want to reference certain cells if a cell has been selected.
I am creating a "leads" Spreadsheet on Google. Once a target has been contacted, their information needs to be populated to a different sheet to better track the lead. I am looking for a formula that would only reference the information if a certain cell (or checkbox) is selected.
Example: "A property owner is being sent marketing information from our company; this process is being tracked on Spreadsheet1. If the property owner calls our company, we would put an "X" in the cell titled "Lead Responded" (H2). Once an X is placed in H2, the Owners Name (A2), Address (B2), Phone Number (C2) and Community Name (D2) will be populated into Spreadsheet2.
Is this possible?
AI: =FILTER('Spreadsheet 1'!A2:D,'Spreadsheet 1'!H2:H="X") |
H: Does a CommCare app copy from the latest saved state or the latest deploy?
If I copy a CommCare application from one project space to another, will the copy of the app represent the latest saved state of the original application or the latest deployed state of the application?
AI: It will be the latest saved state. If you want to copy the latest deployed state then you would need to 'revert' to that build before copying.
To keep the latest saved state you could:
create a build (let's call it 'Build Latest')
revert to the build you want to copy
copy the app to the new project space
revert back to 'Build Latest' to restore your app to it's original state |
H: YouTube brand account or not
I'm trying to create a brand account and a channel that's attached to it.
I created a new channel but it didn't ask me to create a brand account in the process. How do I know if this channel is a brand account channel or not?
AI: If you created the channel via https://www.youtube.com/channel_switcher, it definitely is connected to a brand account. If your channel is connected to a brand account, you'll see an option to add managers on https://www.youtube.com/account, and a "you are the owner of this channel and brand account" on https://www.youtube.com/account_advanced. |
H: Are Google Forms meant to be "writable" AND the results also "readable" from a website
Overall, I'm looking to create a website where the user needs to pass a little quiz to see each additional level of content (and ought never have to quiz again for each higher level). He/she will see the first level of content without any kind of registration.
Google Forms can handle registration, but is this information then readable to a website, and how (or does that not work)? Google forms can of course handle quiz questions, but then how would the results of the user passing be read by the website to determine display, or is Google Forms simply not designed for this?
AI: Google Apps Script could be used to create and edit forms and to send and read responses. The specific service is the Forms Service but if send responses to a Google Sheet you could read the responses from there.
Note: Be aware that the responses sent to a Google Sheet are not synced back with the Google Form, in other words, if you change a value o a Google Sheet the original value is kept unchanged on the Google Form. |
H: Share a Google document with a preset group / team, rather than 1 by 1
We have a team of 10 people who all use Google Drive. we share documents between us but sometimes we forget to add everyone to the document so when someone clicks through a link they will need to request access which in turn stops their workflow whilst they try and contact the owner to add them, etc.
Is there a way 'round this by setting up a group / team and adding the entire group / team in one go? Perhaps by setting up a contact in Google Contacts with multiple people attached to it?
There is a mixture of Google Apps for Business users, Google Apps for Business users in a separate company, and free personal Google Drive users that would need to be in this group / team.
AI: Google Drive allow to share files with specific people by adding their email address or by adding the email address of a Google Group.
If you have a G-Suite account, another alternative could be to use Google Team Drive. This could be possible if Team Drive is enabled for your organization and if Google Drive for your organization is configured to allow to share files and folders with users that don't belong to the organization.
From Requirements to manage Team Drives
G Suite editions
This feature is available with the G Suite Enterprise or Business or
Education edition. If your domain has a mix of G Suite Enterprise /
Business and G Suite Basic users, the G Suite Basic users can only
have view access to Team Drives in your domain. They may, however, be
granted edit access to individual files within a Team Drive.
References
Share files from Google Drive
Manage Team Drives |
H: Is it possible to have a custom email address for a Google Group?
We have setup a Google Group which we are using as so we can share Google Documents with group and all the members are automatically added in.
Currently our Google Groups email is like this example@googlegroups.com. Is it possible to brand this with a custom domain / custom email address?
So it would be example@mydomain.com?
We are not on a G Suite paid plan.
AI: No, I'm afraid not. You'll need a G Suite paid plan to do that.
I suppose you could set up an autoforward mailbox from your domain that would automatically send all messages on to the Google Groups address, but messages would still come from the Google Group, munging anyone's reply. |
H: Problem with IMPORTRANGE function in Google Sheets
I’m trying to get IMPORTRANGE to work for me with no success. I made two simple spreadsheets: Destination Sheet and Source Sheet. In the destination sheet I’m using the import range function:
=importrange(“1-5F1_zz0ZpGj7SfeQhewsCe0CsrA0eyPbjfmUrLBsyk”,”Sheet1!a1:a1”)
I tried already:
Replacing the , with ;
Referencing just the key as well as the full URL in the first argument
Switching from “ to ‘
With the sheet name and without it
Not sure what else to do.
Any ideas?
AI: The following are three distinct characters:
" 34
“ 8220
” 8221
and although the help file for IMPORTRANGE mentions only ...either be enclosed in quotation marks or be a reference to a cell containing... the required quotation marks are the "straight" ones.
So just use ". |
H: How to change number stored to a plain text format in Google Sheets?
I have numbers stored in a sheet as (xxx) xxx-xxxx. I want to remove all formatting and make it just xxxxxxxxxx.
How can I accomplish this?
AI: Please try:
=regexreplace(A1,"\D","")
REGEXREPLACE |
H: How to use relative references in an ARRAYFORMULA with DSUM
I have a formula:
Total Hours:
=DSUM(data!A1:B, "Number of Hours", {"Provider Name";A2})
The column A is a dynamic list of all the providers. How do I use an array formula to fill in all the rows that have a provider in column A, using the provider that is in that row in column A?
I tried doing:
Test 1:
=ARRAYFORMULA(IF(A2:A<>"", DSUM(data!$A$1:$B, "Number of Hours", {"Provider Name";A2}), ""))
But the A cell does not change. I get the array down the column like I wanted, but it is all for the provider in A2.
I also tried:
Test2:
=ARRAYFORMULA(IF(A2:A<>"", DSUM(data!$A$1:$B, "Number of Hours", {"Provider Name";A2:A}), ""))
But this gives me a sum of all the provider hours in every cell in the column, not just the provider in that row.
I also tried:
Test3:
=ARRAYFORMULA(IF(A2:A<>"", DSUM(data!$A$1:$B, "Number of Hours", {"Provider Name";INDIRECT(ADDRESS(ROW(),1, 4))}), ""))
But it just does the provider in A2.
What else should I try?
I do not want to copy all the rows every time a new person comes into or leaves column A.
Here is an example spreadsheet:
https://docs.google.com/spreadsheets/d/1aUQ5WHjsvgGU_nZtNLcPTilJDRlOz-Z3prfNbgrJNzw/edit?usp=sharing
AI: It's not possible to use DSUM in the way described in the question. Instead of DSUM use QUERY:
=QUERY(data!A:B,"select A,SUM(B) where A <>'' group by A label SUM(B) 'Total Hours'") |
H: Slack states that we haven't any space left but still uploads files
We are on the free plan of Slack. This means, that we've 5 GB of space for files.
Workspaces on Slack’s Free plan have a total of 5GB of file storage to
share. If you’ve reached the limit, files will remain accessible in
Slack but you won't be able to upload any more. You can delete shared
files to make room for new ones or upgrade to a paid plan.
As we hit the zenith, Slack started to send messages along the uploaded attachments:
Your file was uploaded — it’s safe and sound in Slack. Unfortunately
your workspace doesn’t have any storage space left. To get more space,
you can upgrade to a paid account or delete some of your older files.
What does that mean? This warning is quite confusing. Does it mean we have unlimited space, but it's not guaranteed to last for an eternity? Does it mean older files get deleted to make room for the newly added file? Is it just a temporary thing and sooner or later we really aren't able to upload files anymore?
AI: Slack's documentation says--
Workspaces on Slack’s Free plan have a total of 5GB of file storage to share. If you’ve reached the limit, files will remain accessible in Slack but you won't be able to upload any more...
But as you and I have experienced, it doesn't prevent you from uploading and doesn't prevent team members from retrieving the file. Update: It looks like some files that are uploaded beyond the limit are disappearing from threads and the files panel within 24hrs of upload, leaving only the warning message.
(My guess is that these over-limit files stick around as long as slack users are interacting with them, and eventually time out— becoming unavailable when left alone.)
This is probably Slack's way of not letting it's application become a speed bump for Workspaces.
Importantly, a file upload does count as another message, which causes the 10,000 message limit to come into play. A serious drawback here (that may cause some teams to buy Slack) is not being able to contextually find information by searching through conversations. When trying to find keywords in old conversations, users will meet the 10k limit warning which reads "There's more to this conversation..." paywall.
Source: https://get.slack.help/hc/en-us/articles/115002422943-Message-and-storage-limits-on-the-Free-plan#file-storage-limit |
H: Can I see who has downloaded a shared file?
I am the proud owner of a Dropbox Plus account. I recently shared a .zip file and need to know whether it has been downloaded. I really don't care about how many times it has been downloaded, or by whom (I only shared it with one person) but just a yes/no.
Is this possible?
AI: From Dropbox Community dated 04-08-2015 08:17 AM:
Q: how do I track downloads of any given file that I've uploaded to my account?
A: You can't, Dropbox doesn't provide that feature.
There may be workarounds however. An insecure site has offered two:
1) Short URL services like Bitly and Goo.gl will track how many times
the links are clicked, showing you the count of how many times your
file has been clicked on.
2) Although Dropbox doesn’t have a downloaded link count, it does have
the Dropbox API which allows developers to build plugins to help you
do that. |
H: Google news search results annoying and confusing
I'm looking for latest updates of my favorite YouTuber, Kathryn Morgan. So I googled her and in Web results, I got what I intended. But when I googled her in News Search, the results like this:
[
I know that the results were confusing, as there are a lot of people named either "Kathryn" or "Morgan" but not both full name (like the ballet YouTuber).
The same case when I googled "Jodie Holmes" in Google News Search:
So the results when I googled Jodie in News Search were a lot of about Benedict Cumberbatch, Jodie Whittaker, Sherlock Holmes, and a lot people named Jodie.
What happened in my case?
AI: You need to be more specific in your search terms.
The first thing to do, if you're looking for news about a specific person, is to put their name in quotes.
Next, if that still finds too many results with the same name, you need to add keywords that will narrow your search. So, for your case, youtube would be a good one. This person also seems to be known for beauty and makeup tutorials, so beauty and similar keywords should help.
Finally, you may need to use keyword negation. My wife shares a name with a celebrity chef out west, so if I want to search Google News for my wife I need to include -chef and -california in the search terms. |
H: What EXIF tags does Google Photos use for GPS?
A long time ago I took pictures on a trip, and also collected GPS positions. I wrote a script that uses exiftool to set the GPS metadata on the pictures, e.g.
exiftool -overwrite_original -exif:gpslatitude=25.698618 -exif:gpslongitude=32.640064 -xmp:gpslatitude=25.698618 -xmp:gpslongitude=32.640064 dscf2495.jpg
I can see the correct latitude and longitude in the Details tab of the Windows file info. However, when I upload it to Google Photos, the Info tab doesn't show the geolocation (map and pin) that it shows for pictures from my phone, for example.
Any idea what EXIF tags does Google Photos look at to determine geolocation? I have the feeling I'm missing something silly, like a GPS version or something.
AI: Found it - it's GPSLatitudeRef and GPSLongitudeRef. |
H: Dynamic range in chart
I have a chart of my table, but I keep adding rows to it.
Is there a way to define the chart's Series/X-Axis/Range as part of a formula?
I want the graph to grow as my table grows - dynamically.
AI: Maybe it depends upon the chart type chosen (which you have not mentioned) but incorporating blank rows into the initial selection allows for future expansion. In effect, instead of growing as more data is added, the graph shrinks down to a size to match the data - so as more data is added it just shrinks less. |
H: How can I link from one worksheet to another in Google Sheets?
I have a Google sheet with two worksheets.
Worksheet A contains a big list of people with name, e-mail, age, phone number etc.
Worksheet B contains a small list with specific people and only e-mail as an identifier.
I would like to be able to add a link automatically for people in Worksheet B which can be identified in Worksheet A by e-mail. I would like to have a column in worksheet B which adds a link to the same e-mail row item in worksheet A automatically. Also if new entries are being added to one or both worksheets links should be created without manual work.
Example:
One entry in Worksheet B contains e-mail x@y.tld which can also be found in worksheet A (together with more information). In this case a column for this entry in Worksheet B offers a link to the entry in Worksheet A.
AI: I found a solution here which works for my request: https://www.quora.com/In-Google-Sheets-how-can-a-cell-be-made-to-hyper-link-to-another-cell/answer/Darren-Mac
The formula I was looking for is this:
=CONCAT("https://docs.google.com/spreadsheets/d/.../edit#gid=12967183&range=B";MATCH(B2:B;Sheet2!B:B;0)) |
H: How to add PayPal donate button to my free WordPress blog
I am looking to add a PayPal donate button on my free wordpress.com blog. I am not sure whether -
This is possible and allowable.
If it is allowable what do I need to do to make it workable and any tips that people would like to share.
AI: Yes, PayPal provides information on how to create a donate button on this page.
Short summary:
Login to your PayPal account and go to the PayPal button creation page
Enter the payment details for your organization
Set up the look and feel of the button (optional)
Set the currency and how donators can pay (optional)
Associate email address with transaction instead of merchant id (optional)
Prerequisite: Assumes you have a PayPal Business or Premier Account
Wikihow also has a short guide on setting up a donation button. |
H: Exclude specific words and sites from Google Search
I googled some random keywords and gave me results like this:
I know that planetlagu.site is either a song download site or a Youtube download site. They offer MP3, MP4, and 3GP but all of them are unwanted because they contain a lot of junk.
I also receive a lot of unwanted Wikipedia results (image) and a lot of results from Facebook (image) which also contains information I don't want.
How can I exclude Facebook, Wikipedia, MP3, MP4, and 3GP pages from a Google Search so that they don't show up in the search results?
AI: You can use search operators to remove phrases or sites. For example, to have search results display without the word MP4 in the results, use the search phrase -MP4.
To exclude a site such as facebook, use the search phrase -site:facebook.com.
A combination of these can help to narrow your search results based on what you need.
Exclude words from your search
Put - in front of a word you want to leave out. For example, jaguar speed -car
Search for an exact match
Put a word or phrase inside quotes. For example, "tallest building".
Search for wildcards or unknown words
Put a * in your word or phrase where you want to leave a placeholder. For example, "largest * in the world".
Combine searches
Put "OR" between each search query. For example, marathon OR race.
Search for a specific site
Put "site:" in front of a site or domain. For example, site:youtube.com or site:.gov.
Sources: Google Search Help > Refine web searches |
H: What does "hide comment" mean? What happens if I choose that?
My friend tagged me in a random post and I wanted to remove the tag but unfortunately could not. I selected "hide comment" option but what exactly does that mean? Does that mean that the comment is now hidden from my friends so they can't see it anymore or does it mean the comment is only hidden from me?
AI: From Facebook's Help Center:
When you hide a comment from a post on your Page, the comment will only be visible to the person who wrote it and their friends.
So if your friends are also friends with the comment's poster, then they would still be able to see the comment; otherwise, they wouldn't. |
H: What counts as a “View” on YouTube?
How does YouTube decide that a video was "viewed"?
If a video is 5 minutes long and a viewer watches for 10 seconds, will this be counted as a view?
AI: What is a legitimate view?
A view is an intended watch of a video where the primary purpose is to watch the video; this means that a real human being wishes to see a video, chooses which video to watch and then acts on that choice.
A view should be a metric that reflects genuine interest, not a gauge of how many people mistakenly or unknowingly ended up watching your video.
-- https://support.google.com/youtube/answer/3399767?hl=en
This means three things:
Watching an autoplaying video embedded on an website doesn't count as the viewer may not have wanted to watch the video.
Watching an embedded video in a custom API player doesn't count as view, as the viewer may or may not have been tricked into watching the video.
There is no static percentage or time after which a view counts as view. |
H: Google sheets with conditional formatting not working
Update:
I want one specific cell to become green (filled with green color) if a range of other cells (which contain only dates) count up to 7 or more filled cells AND contain dates within a specific date range.
I have created a logical function which is true but as soon as I want to use it for the conditional formatting the color labeling doesn't work.
Is there a specific reason why the following formula works (=becoming true) in a cell but not in the conditional formatting?
=AND(A2:A>=DATE(2017;10;12);A2:A<=DATE(2017;10;19);COUNTA(A2:A)>6)
I have a feeling that it is related to the DATE range filter but don't know exactly.
Example sheet: https://docs.google.com/spreadsheets/d/1uH2PZ9YmFNQDmml73iKQNz6sv8tEwbETRo0ywxz6yg4/edit?usp=sharing
AI: Based on the edit,
Update: I want one specific cell to become green (filled with green color) if a range of other cells (which contain only dates) count up to 7 or more filled cells AND contain dates within a specific date range.
=ARRAYFORMULA(AND($A$2:INDEX($A$2:$A,COUNTA($A$2:$A))>=DATE(2017,10,12),$A$2:INDEX($A$2:$A,COUNTA($A$2:$A))<=DATE(2017,10,19),COUNTA($A$2:$A)>6))
Apply to A1
This should work, as long as ALL the dates (with no exception) in A column are within the date range specified.
=ARRAYFORMULA(AND(SUMPRODUCT($A$2:INDEX($A$2:$A,COUNTA($A$2:$A))>=DATE(2017,10,12))>6,SUMPRODUCT($A$2:INDEX($A$2:$A,COUNTA($A$2:$A))<=DATE(2017,10,19))>6))
Apply to A1
This should work, If any 7 or more of the entries in column A are within the specified date range.
Note: For both the formulas to work, There shouldn't be any blanks in between two entries.
=ARRAYFORMULA(AND(SUMPRODUCT($A$2:A>=DATE(2017,10,12))>6,SUMPRODUCT($A$2:A<=DATE(2017,10,19))>6))
This will work in spite of blank entries, if any 7 or more of the entries are within the date range.
Tested and works well |
H: Cosette related to Amanda Seyfried in Google Search?
I like Les Mis and Cosette, so when I googled Cosette, the results like this:
Why Google Search related Cosette keyword to her potrayer, Isabelle Allen and Amanda Seyfried? Any relationship between them and Cosette?
AI: You have answered your own question:
Any relationship between them and Cosette?
with
related Cosette keyword to her potrayer, Isabelle Allen and Amanda Seyfried
The two portrayed Cosette (at different ages) in 2012 in the film adaptation of Les Misérables.
This is the start of the former's Wikipedia entry:
Isabelle Lucy Allen (born 16 March 2002) is an English stage and screen teen actress known for her role as the young Cosette in the 2012 film adaptation of Les Misérables.
and this included in the latter's:
Later that year, she played Cosette in the film adaptation of the musical Les Misérables.
Google cosette played by and these are the first two images:
Both are the most recent entries for films at Les Misérables Wiki. And so on throughout the Internet. There are very many pages on which Cosette and Seyfried appear together and very many pages on which Cosette and Isabelle Allen appear together. Google's indexing system has noted such "pairs" and when you asked for one of the pair it has offered you the choice of the other.
Google will also be aware the search terms are connected because of the number of people who used search terms such as cosete sayfried, allan les mis and innumerable other combinations.` |
H: How to change Google Sheets hyperlinks into HTML "a href" links?
I need to change the multiple links in a Google Sheets from normal sheet hyperlinks such as:
=HYPERLINK("https://traveltractions.com","Travel Tractions")
into:
<a href="https://traveltractions.com">Travel Tractions</a>
How can I do this in bulk?
AI: Could be impractical if your links are scattered throughout a sheet, but should be viable if say all in a column (assumed A):
Replace all = in ColumnA with say # with Also search within formulae
Enter, say in B1, and copy down to suit:
=substitute(trim("<a href="&mid(A1,12,find(",",A1,12)-12)&">"&mid(A1,find(",",A1)+2,len(A1))),char(34)&")","</>")
Copy ColumnB, Paste special, Paste values only over the top
Replace all # in ColumnA with = (or delete ColumnA?) |
H: Conditionally format row borders
I'd like to have a medium black top border across each row whose A column cell contains text in a Google Spreadsheet.
I'd also like to have the same top border across each row whose whole row is blank.
I understand Conditional Formatting doesn't include border formatting as it does in Excel, and I am as of yet unfamiliar with scripting in this web app.
Would someone be able to explain the process to generate this please?
AI: The process that would generate a script that makes mentioned conditional formatting includes of course what you mentioned you are unfamiliar with: scripting.
A) Learn the basics of google apps script bound to google sheets. This is just a small part of apps script and this is good starting point. Most of the basics can be learned while trying to build your formatting script but you have to want to learn scripting.
B) In the sheets document, open the script editor and define the following function:
function onEdit(event) {
var sheet = SpreadsheetApp.getActiveSheet();
var range = event.range;
var adress= range.getA1Notation();
Logger.log("change cell %s", adress);
sheet.getRange('F2').setValue(adress);
}
C) Install a trigger on your spreadsheet that triggers our 'onEdit' function when the sheet is edited. See the official HOWTO.
Test that this simple trigger and code works. Also make sure you understand what the code expresses.
D) Write the code corresponding to the logic:
FOR EACH ROW in event.range() {
IF( your condition for formatting) THEN
var myRange= sheet.getRange(rownr, 1,1,nbrOfColumns)
myRange.setBorder();
ENDIF
}
Note that the former is not apps script but pseudocode explaining the logic. This translates into the following apps script:
function onEdit(event) {
var sheet = SpreadsheetApp.getActiveSheet();
var range = event.range;
var startingRow=range.getRow();
var numRows = range.getNumRows();
for (var i = 1; i <= numRows; i++) {
var rowNbr=startingRow+i-1;
Logger.log("changed row %s",rowNbr );
//Now check the WHOLE row
var colLeft=1; //1=A
var colRight=10; //10=J
var row = sheet.getRange(rowNbr,colLeft, 1, colRight-colLeft+1);
if(row.isBlank()) {
row.setBorder(false, null, null, null, null, null, "black", SpreadsheetApp.BorderStyle.SOLID_MEDIUM);
} else {
row.setBorder(true, null, null, null, null, null, "black", SpreadsheetApp.BorderStyle.SOLID_MEDIUM);
}
}
}
Small variation:
iso 1 row the code underneath simply formats a single cell:
function onEdit(event) {
var sheet = SpreadsheetApp.getActiveSheet();
var range = event.range;
var adress= range.getA1Notation();
Logger.log("changed cell %s", adress);
sheet.getRange('F2').setValue(adress);
var numRows = range.getNumRows();
var numCols = range.getNumColumns();
for (var i = 1; i <= numRows; i++) {
for (var j = 1; j <= numCols; j++) {
var currentValue = range.getCell(i,j).getValue();
Logger.log("changed cell %s", range.getCell(i,j).getA1Notation() );
if(currentValue != "") {
Logger.log("positive on %s", range.getCell(i,j).getA1Notation());
range.getCell(i,j).setBorder(true, null, null, null, null, null, "black", SpreadsheetApp.BorderStyle.SOLID_MEDIUM);
} else {
range.getCell(i,j).setBorder(false, null, null, null, null, null, "black", SpreadsheetApp.BorderStyle.SOLID_MEDIUM);
}
}
}
} |
H: Automation of export data
I know about the option to export data to Excel manually.
Is there a way to export Cognito Forms to Excel (for example) automatically?
AI: I'm a developer with Cognito Forms.
You can have data sent to Google Sheets each time a new entry is submitted. This can be done by using Zapier. Cognito Forms can be connected to Google Sheets and the data for each entry can be sent to the sheet to update as each new entry is submitted.
We do have a blog post about setting up the connection between Google Sheets and Cognito Forms. |
H: FILTER or QUERY multiple ranges with blanks removed
I am trying to query or filter multiple ranges but am running into a situation with blank cells as I need all the ranges merged without blanks inbetween.
Here is the sheet which has both my query and filter attempts.
Sample source data:
A B C D E
1
2 RANGE 1 JIM JON STAN BOB
3 RANGE 2 JOE LUKE MEL
4 RANGE 3 DAVE DON
AI: QUERY has a inbuilt option to remove blanks:
=TRANSPOSE(QUERY(TRANSPOSE({B2:E2,B3:E3,B4:E4}),"select * where Col1 is not null"))
This is a alternative solution, which does not require you to list all the ranges (useful, if there are 1000s of ranges)
=ARRAYFORMULA(SPLIT(TRIM(CONCATENATE(QUERY(B2:E4&" ",, 50000)))," ", 0)) |
H: How to multiply two cells ignoring text?
I have two cells, containing "number text", how do I extract numbers from them to multiply?
AI: =ARRAYFORMULA(PRODUCT(--REGEXEXTRACT(A1:A2,"\d+")))
Assuming A1 and A2 has the digits text combination. |
H: Iterating through a non-contiguous range in Google Spreadsheet
Consider a Google Spreadsheet. Each row contains some measurement data from a given patient.
I wrote a Google Script function which iterates through the selected rows and exports each patient's data into a separate PDF file.
function Export() {
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("master-lab");
var range = sheet.getActiveRange();
var row0 = range.getRow();
var row1 = row0 + range.getNumRows();
for (i = row0; i < row1; ++i) {
ExportRow(i);
}
}
This code does not work if the user selects a non-contiguous array of rows, like in the following figure:
Is it there a way/workaround to iterate through non-contiguous ranges in Google Sheet?
AI: The problem is not with iterating through ranges (having an array of ranges and an additional for loop to go over them is not a problem). The issue is the script will not know what the ranges are.
Google Apps Script is unable to access multiple ranges selected by a user. Only the last selected range is visible to it. There is a feature request Add support to allow use and manipulate disjoint Ranges which was filed in 2014 and remains outstanding. |
H: Using alpha-numeric time representation (days, hours, minutes) in a formula
I'm looking for a way to take raw data in the form of number of days, hours, and minutes (e.g. 1d 2h 3m) for one week and have the updated total subtracted from the prior week's entry to show the difference.
(e.g.: 7d 20h 44m - 7d 18h 12m = )
The issue I'm encountering is all the formulas I've tried so far work with numeric values only. The format of the data referenced is raw data pulled from a main source that updates regularly, so for the sake of speed and convenience would like to be able to maintain that format if possible.
Is there a way to do this in Google Sheets where the only variables pulled for the formula are the numbers, but still produce the same format with the results? #d #h #m
AI: Suppose cell A2 has "7d 20h 44m" and cell B2 has "7d 18h 12m" . Then the following will compute the duration of the difference; be sure to format the output as duration for the displayed value to make sense. It will be 2:32:00.
=regexextract(A2, "(\d+)d") - regexextract(B2, "(\d+)d") + time(regexextract(A2, "(\d+)h"), regexextract(A2, "(\d+)m"), 0) - time(regexextract(B2, "(\d+)h"), regexextract(B2, "(\d+)m"), 0)
The first part, regexextract(A2, "(\d+)d") - regexextract(B2, "(\d+)d"), extracts the numbers of days and subtracts them. The second part handles hours and minutes by converting them to time like time(regexextract(A2, "(\d+)h"), regexextract(A2, "(\d+)m"), 0). The format is time(hours, minutes, seconds). |
H: Trying to sort by column is causing an error
I have a simple script that I am trying to make to sort a specific column, but for some reason the code I've taken directly from the examples online (from the API) is causing an error message:
Cell reference out of range (line 7, file "Code")
My code is as follows:
function Remove_Duplicates() {
var ss = SpreadsheetApp.getActiveSheet();
var row = 2;
var col = 7;
cellStr = ss.getRange(row,col).getValue();
Logger.log(cellStr);
ss.getRange("G2:H100").sort([{column: 1, ascending: true}]);
}
AI: According to the example for sort(sortSpecObj), Column A has column number 1, Column B has column number 2, and so on.
The error occurs because the range to be sorted is G2:H100 but column A (column 1) isn't included. |
H: Using Calculated Values in Math Functions
I need to perform a basic "X to the power of Y" calculation. The calculation builder doesn't accept the ^ character as an operator, so it seems I need to use the Math.Pow(x,y) function.
That would fine if both X and Y were static numbers, but in my case Y needs to be a value that is calculated in a field higher up in the form and is based on user input. Math.Pow() will not accept the field itself as an argument.
Is there any way to do an "X to the power of Y" calculation that uses a calculated value, either with Math.Pow or otherwise?
AI: Turns out that along the trail of calculations I was trying to use as an argument for the Math.Pow() function, I was using the "Value" parameters from one of my "Choice" type fields.
The values I'd assigned to the choices in that field could be used in most calculations, but not in the Math.Pow() function.
So I ended up creating a new hidden "Number" type field that returns the correct value based on the choice option selected. Not super elegant, but it's working for me. |
H: Storing number produced by RAND function
In cell B2 I have the formula:
=INT(RAND()*100+1)
Using a script, is there any way I can copy the current results of this RAND function into another cell on the sheet? I want to copy the absolute value, not just mirror the current value.
All attempts I've come up with cause the function to generate a new random number, store that value, then generate yet another random value in cell B2 due to the page being updated.
Ultimately I'd like to click a button that runs a script to store the current value of B2 into another cell.
AI: Ruben's answer is technically correct. However, I found a workaround that does what I need. Since I couldn't get the current value of the cell that was previously produced by the RAND function, I just masked it using the random number generated when the custom function below was ran and stored it internally as var V (I moved the RAND function to cell K1). This way that particular value doesn't change while I run the rest of the function.
It also shows a "history" of previous numbers chosen.
function randomize(){
var sheet = SpreadsheetApp.getActiveSheet();
var end = sheet.getLastRow() + 1;
var v = sheet.getRange("K1").getValue();
sheet.getRange("B2").setValue(v);
for (var i = 2; i < end; i) {
var value = sheet.getRange(i, 3).getValue();
if (value == "") {
sheet.getRange(i, 3).setValue(v);
i = end;
} else {i = i + 1}
}
} |
H: Where is the edit (existing) subtitle option in YouTube video manager?
I made some subtitles.
Where is the edit (existing) subtitle option in YouTube video manager?
[
If I click on "Add new subtitles" it asks me if I want to discard existing ones:
AI: In the picture, see where the blue button where it says "Add", so you know clicking there isn't what you want. Below that, there is the green dot and it says Published: English(United Kingdom). Click there, where i've circled, then the screen changes and you can see your existing subtitles and there's an edit button.
Alternatively you could use a program or website like subtitle-horse.com to make a subtitles file which seems similar to youtube's system.. and you can import that file into youtube. |
H: How to change value of cell in sheet 2 based on drop down selection in sheet 1?
I have a dropdown in sheet 1 which has the values "cat","dog", and "horse". On selection of a value, I want it to take the adjacent column as a key and search on it in another sheet and write the corresponding value next to it. For example:
This is sheet 1. Upon selection of "Cat" in A1, it takes the value of adjoining column i.e., "house1" and in sheet 2, a search is done for "house1" and in the adjoining column animal, the value "Cat" is written.
AI: When I select "Cat" option in the drop-down list of A1 in sheet 1, it should write "Cat" in B2 of Sheet 2 using the "house1" as the key to write it there.
Sheet2!B2:
=ARRAYFORMULA(VLOOKUP(A2:A4,{Sheet1!B1:B3,Sheet1!A1:A3},2,0)) |
H: Why does Blurb Bookify's startup progress bar freeze at 99%?
I have a couple of users interested in using Blurb's "Bookify" flash app for creating photobooks (although that link may redirect to the download for the desktop native app if Flash isn't installed).
Both users have logins on a (high-end) machine running Linux (Debian "Stretch" 64bit) with Firefox (ESR) 52.4.0 and Adobe Flash 27.0.
For one user, the "Bookify" application appears to run absolutely fine.
For the other user (on the same machine, using the same browser and flash version!), it shows its startup progress bar dialog... but that bar freezes at the 99% point forever.
I've tried clearing all "blurb" cookies, clearing browser cache... but nothing seems to improve situation for that user. Whereas the other user continues to have no problems when they attempt to use the app.
Any ideas how to "unstick" it?
Someone posted the same/similar problem on Blurb's FB page a while ago; no solution posted there but I'll try messaging them myself. (There's also another mention from around the same time here).
AI: This issue was resolved: with Firefox closed, the user with the problem ran the flash-player-properties tool and on its "Local storage settings" tab used the "Delete All" dialog's "Delete All Site Data And Settings".
Then when Firefox was restarted and the Bookify page visited, the progress bar completed and the application appeared as expected.
It seems the user experiencing the problem had used Bookify at some point in the past. I'm guessing that at some point the application was changed in a way that it was broken by old versions' local saved data; that'd explain the multiple users apparently experiencing similar difficulties a few months ago. |
H: Would my reply be seen by all people to whom an original email was sent?
I never understood how this works, so I try to ask here.
If from someone I receive an email that is sent to many people (the case where Gmail shows "to so-and-so, so-and-so, ...), and if I reply to that email directly, then would everyone else get my reply too or just the original sender will receive it?
AI: Your e-mail will be always delivered to the ones you've sent it
It's not a joke, it's really so easy: whenever you answer to a mail (forward one, write a new one) you just need to check "To", "Cc" (and sometimes "Bcc") lines to see who will receive it.
Your e-mail won't be sent to anybody not listed there. (of course it can be forwarded by your recipients but I suppose it's not your issue now).
Update
if someone A sends an email to me and others B, C, and if I reply to A directly, then B and C will see my reply too??
If you click "reply" and only A's address will be added to "To", then only A will receive it
If you click "reply all" and all of their adress will be added, then all of them will receive it.
Again, all you need to do is to check those fields before sending the mail. |
H: Move existing email to G Suite
So I've done some research around this question on Google's G Suite site and can't tell definitively if the following is possible:
Scenario:
I have an email address on a non-G Suite server.
Let's call it "sales@alias.com"
Question:
If I open a G Suite account will I be able to use the exact same email address, sales@alias.com, on G Suite?
I do know I can migrate existing mail and calendar information to G Suite but I want to know if I will be able to use the exact same email address I am currently using.
AI: Generally, yes.
If you own/control the domain alias.com, you can move it to G Suite and then either create an account sales@alias.com or create some other account like russell@alias.com and add the sales@ address to it.
If you only have an account provided by someone else in the alias.com domain that you do not control, you can still use G Suite with your own domain somethingelse.com, create an account for yourself russell@somethingelse.com, and then from within that account enable sending and receiving of email through sales@alias.com.
In the first scenario, you actually move the address to Google. In the second, Gmail acts as an email client. |
H: Not being notified in Mailchimp when subscribers are added via Zapier
Normally, when a subscriber signs up though MailChimp you have the option to get an email:
I have this option turned on, however when a subscriber gets added through Zapier instead of directly through MailChimp, the notifications don't happen. How do I still get notifications even when they have been added with Zapier?
Note that it must be doable from a free MailChimp and Zapier account.
AI: Simply make a new Zap in Zapier:
Trigger: MailChimp subscriber
Action: Send Outbound email. - Get it to send to your email address.
Done! |
H: Split Text and reorganize and concatenate back together
I want a formula to split data "052 089652" and to reorganize it as "089652/A052/9" in Google Sheets. The formula needs to add "A" to the start of "052", add a "9" at the end, keep the leading zero, if there is one and place "/" in between. Another example below:
Input: 125 896542
Output:896542/A125/9
I can do it using SPLIT and CONCATENATE functions in different cells but it gets messy.
Is there a simpler "all in one formula" to do this?
AI: Assuming You provided a exact format of data,
=REGEXREPLACE(F2,"(\d+) (\d+)", "$2/A$1/9") |
H: What information about me is visible with shareable links?
If I distribute a shareable link for a file in my Google Drive, what information about me is visible to those who click on the link?
I want to share some .mid file via shareable link, which allows people to download the midi file, but I don't want them to be able to see my information (name, email, etc.) in the process.
AI: Shared Google Drive files could be added to "My Drive" by people that has access to the file and from there they are able to see the name of the file owner, but not their email address. Also they could see the a broad description of the activity done on the files.
From View activity & file versions
See changes made to your files in Drive and keep track of who made those changes. You might see changes when someone:
Edits or comments in Google Docs
Renames a file or folder
Moves or removes a file or folder
Uploads a new file to a folder
Shares or unshares an item |
H: How to stop email status tracking by senders who are using mailtrack.io or something similar?
I found out, using "show original" on Gmail, that some business associates are embedding tracking into their sent emails (without any obvious warning/declaration), which tells them :
If I have received the email in my inbox
Number of times I have read it
Also sends them notifications when I read it (the worst part)
These people are not part of my company but with whom I have to interact closely over long periods of time.
I have already enabled "Do not show external images" but it does not work. I have explored Google forums but no article seems to address this exactly.
This is how it shows up in the "show original" option in Gmail:
What can I do to stop the received/unread/read status of my received emails from being tracked by the sender?
Edit 1: Ghostery claims it can block this (https://apps.ghostery.com/hu/apps/mailtrack.io), but I'd prefer a DIY approach, and I don't trust Ghostery with all the data it will get access to.
Edit 2: As asked in comment, browser used by me is Firefox (I've seen it working successfully even with Chrome). Only red flag in email privacy tester was for DNS pre-fetch. No other warning.
No helpful reply yet even on Google forums:
https://productforums.google.com/forum/#!topic/gmail/3VJbpH1RdGk
Edit 3: This is another snippet from "show original" in Gmail, 0 pixel image I guess:
Maybe, Google is pinging the mailtrack server when I open the email (To download that "image" and show its own copy (thus generating a timestamp event)
AI: If you don't want third party software like Ghostery or PixelBlock, one way to stop tracking via email is to disable automatic image loading in Gmail. The tracking is usually done via tiny images, so stopping these images from being loaded will prevent your data from being sent back to the tracker.
ITworld has instructions for how to disable automatic image loading:
https://www.itworld.com/article/2701379/consumerization/how-to-turn-off-automatic-image-loading-in-gmail.html |
H: Apply conditional formatting to the top four values in a range
I have a range of cells B11:B18 and I want to conditionally format them to highlight ONLY the top four values. I have tried different formulas I found online but they rank ALL eight cells!
AI: =ARRAYFORMULA(OR(B11=LARGE($B$11:$B$18,{1,2,3,4})))
Apply to B11:B18 |
H: How to share a video on YouTube with password protection on it
I'd like to share a video on YouTube with password protection on it.
Is that possible?
I know I can share a video with a contact that has a Google account, but in this instance I want anyone with the password to be able to access it. Delisting the video isn't suitable either it needs to be password protected.
Is that possible?
AI: YouTube does not have this feature. You may want to use Vimeo or a self hosted solution instead. |
H: How to extract image link from Google Spreadsheet cell
The text below is coming from an external source RSS using Zapier and it is stored in a google sheets cell, how can I extract the image link specifically inside the src tag?
<p><img class="alignleft size-full wp-image-20168" src="https://jd3sljkvzi-flywheel.netdna-ssl.com/wp-content/uploads/2017/10/Ra_Adagio_Splash_1000px.jpg" alt="" width="1000" height="563" srcset="https://jd3sljkvzi-flywheel.netdna-ssl.com/wp-content/uploads/2017/10/Ra_Adagio_Splash_1000px.jpg 1000w, https://jd3sljkvzi-flywheel.netdna-ssl.com/wp-content/uploads/2017/10/Ra_Adagio_Splash_1000px-300x169.jpg 300w, https://jd3sljkvzi-flywheel.netdna-ssl.com/wp-content/uploads/2017/10/Ra_Adagio_Splash_1000px-768x432.jpg 768w" sizes="(max-width: 1000px) 100vw, 1000px" /></p>
AI: Using REGEX It is possible. For example,the
image link specifically inside the src tag
can be extracted by
=REGEXEXTRACT(A1,"(https://\S+)"&CHAR(34)) |
H: Determining whether specified time is within 15mins of target time using Google Sheets scripting
I previously built this sheet in Excel in 2016 without scripting. I'm posting a similar question as I did back then, but this time I'm reconstructing the sheet in Google Sheets and automation is provided by script.
The sheet contains a cell formatted as a time duration and contains the actual time that a backup is supposed to be initiated (eg. 22:00). Another cell holds a "threshold" value formatted as a decimal (eg 15). This is the permitted deviation in minutes from the scheduled start time of the backup.
For the above example, a backup is executed in compliance if it is run between 21:45 and 22:15.
My script accepts a raw export (pasted into sheet called "RAW") from our backup software and processes it in order to identify the non-compliant. My problem is how to compute compliance.
// Now the Tape Label is existing in Master we import the start and end times from RAW sheet into Master sheet.
// Get the 'Timeliness Threshold' from the Master sheet
var tThresh = sM.getRange(1,14).getValue(); (15 mins)
// Find the correct date (Start Time Cell) relative to the transaction date
// The sheet is for a month and each date has columns dedicated to it for start time, end time, compliance (and more). The "Transaction Date" determines which date columnset is used (rather than the "start time").
var dateStr = Date.parse(sRVals[i][0]); // Array of raw data from the RAW sheet. This is all run inside a loop hence 'i'
var date = new Date(dateStr); // Converts from string into recognized 'Date'
var TransDoM = date.getDate(); // Extracts the date (1-31) from the new date set above
// Extract the actual Start Time from array of raw data from RAW sheet.
var dateStr = Date.parse(sRVals[i][3]); // Current format '9/1/2017 23:00:00'
var date = new Date(dateStr); // Converts from string into recognized 'Date'
var stime = date.getTime(); // Extracts the start time
// Compute the T-comp (Timelines Compliance) - THIS IS THE PART THAT'S NOT WORKING
// get Schedule
var tSched = sM.getRange(searchResult+4, 7).getValue(); // Reads the "Scheduled Time" from Master sheet using the row stored in searchResult.
var tSched = new Date(tSched); // Converts from string into recognized 'Date'
var tCompEarly = tSched-(tThresh/1440); // Deducts allowable threshold value from schedule to determine earliest time allowed to execute.
var tCompLate = tSched+(tThresh/1440); // As above but gets latest allowable time.
if (stime >= tCompEarly && stime <= tCompLate) {
var tComp = 1; // Compliant
} else {
var tComp = 0; // Not Compliant
}
Logger.log('tThresh = '+tThresh);
Logger.log('tSched = '+tSched);
Logger.log('tCompEarly = '+tCompEarly);
Logger.log('tCompLate = '+tCompLate);
Logger.log('stime = '+stime);
Logger.log(searchTL+' Compliance = '+tComp);
Below is the result of the Logger.
[17-10-29 10:38:40:342 HKT] tThresh = 15
[17-10-29 10:38:40:344 HKT] tSched = Sat Dec 30 1899 21:54:17 GMT+0800 (HKT)
[17-10-29 10:38:40:345 HKT] tCompEarly = -2209111543000.0103
[17-10-29 10:38:40:345 HKT] tCompLate = Sat Dec 30 1899 21:54:17 GMT+0800 (HKT)0.010416666666666666
[17-10-29 10:38:40:345 HKT] stime = 1504278000000 // which is Fri, 03 Sep 49638 00:00:00 +0000
[17-10-29 10:38:40:346 HKT] System 514 Full FS (Daily) Compliance = 0
Desired result in the logger (based on input data)!
[17-10-29 10:38:40:342 HKT] tThresh = 15
[17-10-29 10:38:40:344 HKT] tSched = Fri Sep 01 2017 22:00:00 GMT+0800 (HKT)
[17-10-29 10:38:40:345 HKT] tCompEarly = Fri Sep 01 2017 21:45:00 GMT+0800 (HKT)
[17-10-29 10:38:40:345 HKT] tCompLate = Fri Sep 01 2017 22:15:00 GMT+0800 (HKT)
[17-10-29 10:38:40:345 HKT] stime = Fri Sep 01 2017 23:00:00 GMT+0800 (HKT)
[17-10-29 10:38:40:346 HKT] System 514 Full FS (Daily) Compliance = 0
I'm ok with Unix timestamps if they are correct. I can compute those but the long date format is easier to check in the logger.
I'm basically asking for help to correct the issues seen in the log.
AI: var dateStr = Date.parse(sRVals[i][3]); // Current format '9/1/2017 23:00:00'
This isn't an acceptable date time format for Google Apps Script, which is much stricter in parsing dates than most other JavaScript engines. For a string to be correctly parsed into a Date object, it must be like 2017-12-31T12:34:56 with optional microseconds .123, and optional Z to indicate UTC timezone (otherwise it's interpreted in the script's own timezone).
Three ways to solve this:
Make sure that the datetimes are formatted as datetimes (and not as text) in the source sheet. In this case getValues will retrieve them as Date objects, eliminating the parsing steps.
If the above is impossible, change the format of input strings to be ISO 8601 compliant, as described above.
Parse the strings manually by using .split. Example below.
var str = '9/1/2017 23:00:00';
var parts = str.split(/[/ :]/);
var d = new Date();
d.setFullYear(parts[2], parts[0]-1, parts[1]);
d.setHours(parts[3], parts[4], parts[5]); |
H: Why is =AVERAGE returning a divide by zero error in this scenario?
Sample Spreadsheet
I get a divide by zero error when trying to =AVERAGE the output of a =SUBSTITUTE function in two cells. When I don't use the =SUBSTITUTE function, but instead enter the desired result manually, I don't get the error. I don't understand why.
AI: This is because SUBSTITUTE transforms number to string or text.
To convert it back to number, You could use any of the below methods:
=SUBSTITUTE(C2,"%","")*1
Just multiply(or divide) by 1 as shown above: *1
Add(or -) a zero: +0
Use a Double unary operator: --
(For Ex: --SUBSTITUTE(...)) |
H: How can I view my ACTUAL earned YouTube Revenue?
If I go on YouTube under analytics and select revenue, I get a bunch of information on estimated revenue. I want to see the actual revenue and not what is estimated as YouTube does not pay straight from their site, it goes to AdSense.
If I log into AdSense I get the following message:
YouTube earnings will be added to your AdSense payments page before the 15th of the month and included in your payment if your total earnings exceed the payment threshold. Estimated earnings will not be updated to include your YouTube earnings.
So my YouTube earnings will be in the total paid to me. I want to know what of that total is YouTube, but this line makes it seem like I have no way of finding out: "Estimated earnings will not be updated to include your YouTube earnings." My estimated earnings does not include YouTube.
How can I find out EXACTLY what was actually paid out to me?
Right now it just seems I hope that I'm getting YouTube revenue without knowing if I am or how much.
AI: You can see the finalized earnings in AdSense's payment report. You can reach it via Settings > Payments on AdSense. |
H: List of people who have added me on Messenger, and I haven't accepted yet
Bob is a real life friend, but we are not connected at all on social media.
A few days ago, I got this (on Android, but my question below is about the desktop website):
I was at work so I switched off my phone's screen (after taking the screenshot above as a memo). When the evening came, the message request was nowhere to be found, on mobile nor on the desktop website.
Question: Where to see a list of all pending New Message Requests?
Preferably on the desktop website. Please note that it is not simply a case of Bob canceling their request: Indeed, searching for Bob's name (luckily Bob's real name is very unique) lead me to their Facebook web profile page, and a click on "Message" revealed that the request is actually still pending:
I have not accepted yet, because I want to find out where a list of such requests is available. I wonder how many other unnoticed Message Requests I have pending.
AI: From your screenshot I am assuming your are talking about Facebook Messenger app.
Please see following screenshot from the desktop app of pending message requests:
For your mobile app view the following screenshot: |
H: How to create a dynamic named range?
I saw this question and its accepted answer, but I can't wrap my head around how/if it might be used for my situation.
I'm pulling data dynamically from several APIs so the data may be different at any moment, including the actual placement of the data on my sheet. I want to define various cells within the returned data, as named ranges. But without knowing for certain exactly what cell each piece of data will reside in at all times, named ranges don't work well for this. Ideally I could place say a vlookup in a named range, but you can't use formulas at all in named ranges, in Google Sheets.
I don't update the formulas that often, but when I do my calculations break if the named ranges aren't correct anymore. I would have to use vlookup in dozens of formulas on multiple sheets and it just makes the formulas huge and ungainly, when a named range keeps them incredibly tidy and easy to understand. GAS is fine with me as long as I know what to do with it.
Is there any way to get to the same effective result using a named range? I reference these named ranges in many places throughout my workbook, which is why I wanted to use named ranges in the first place... it makes all those other formulas much easier to read & debug.
EDIT: I hope I can provide a bit more of an example here. A hypothetical set of data might be:
ABC 123456
DEF 987654
GHI 246802
ABC 537910
But the next time I pull the data, it could look like this:
XYZ 135791
ABC 123456
LMN 086420
DEF 987654
GHI 246802
ABC 537910
LMN 776655
So now my original 3 values are still there, but they have moved in their rows. A vlookup would make this very easy since it will always adapt to wherever the target value is located, and return the adjacent value. But I need each one of those adjacent values to be its own named range, that will always be correct regardless of where the data moves to.
Also there are often multiples of the key value in the data, and a given formula elsewhere in the sheet needs to pull the first one, or second, or third, etc.
AI: I've come up with a solution which is acceptable to me. I created a secondary table that fetches the data I need to turn into a named range, by using a nested vlookup and indirect, like so:
=vlookup(J22,indirect("F"&row(vlookup(I22,A:G,COLUMN($F$1),false))+1):G91,2,false)
This question was originally attempting to find a more direct solution so I simplified my example data, but the final data is a bit messier. I needed to first locate a string that I knew would never move (which is in column A), then figure out its row number and look one down to set the start of the range for a second vlookup, which then retrieves the actual piece of data I need.
This is in turn made into a named range, and now no matter where my data moves itself vertically as the API returns change, my named ranges don't break. Working like a charm! |
H: Notify me if a dependency for my issue is resolved
I'm using JIRA v6.2.7, where I can link two issues using relations like is necessary for, blocks and their respective counterparts. Let's say I have an issue A assigned to me and an issue B assigned to someone else, and B is necessary for A. Now, I would like to be notified if issue B is resolved so I can start working on A.
Is it possible to configure this in JIRA?
AI: One possibility would be to make a JQL query, save it as a filter and then subscribe to this filter.
1. JQL query
The following query gets all issues that are assigned to me and had a dependency resolved in the last 24 hours:
assignee = currentUser() and (
issueFunction in linkedIssuesOf("resolutiondate >=-24h", "is necessary for")
or
issueFunction in linkedIssuesOf("resolutiondate >=-24h", "blocks")
)
And this is the reverse query, it gets the corresponding issues that have been resolved and are therefor no longer blocking my work:
resolutiondate >=-24h and (
issueFunction in linkedIssuesOf("assignee = currentUser()", "is dependent on")
or
issueFunction in linkedIssuesOf("assignee = currentUser()", "is blocked by")
)
2. Save as Filter
Copy one of the above queries into the search, hit enter to see if everything works, then press "Save as", name the filter and submit.
3. Subscribe to Results
After saving the filter, the "Details" link becomes available and there you can set up a subscription. For the above filter a daily e-mail makes sense. You can adjust the period, e.g. to a week, but make sure to keep the filter and subscription settings in sync. Otherwise you will either receive the same issue in various mails or miss some issues completely.
I found this solution while researching my question. If there is an easier way I'd like to learn about it! |
H: Is there a currently scheduled or announced release date for the Team Drives feature on the G Suite Basic plan?
G Suite Team Drives is currently available for:
G Suite Enterprise
G Suite Business
G Suite for Education editions
My domain is on the cheaper G Suite Basic plan.
You can tell if you are on G Suite Basic by checking https://support.google.com/a/answer/7212025?hl=en. If it says "You need to upgrade" at the top then you are using G Suite Basic.
AI: This kind of announces are made on https://gsuiteupdates.googleblog.com/
It's worth to note that the Team Drive announcement made on March 2017, was updated to announce the inclusion of G Suite for Nonprofits, but there is no mention of the G Suite (basic).
https://gsuiteupdates.googleblog.com/2017/03/introducing-new-enterprise-ready-tools-google-drive.html |
H: How can I search for web results specific to a country
In the old days I could (sometimes) get country specific results by using the google portal in that country (like google.co.uk). However, Google has removed this functionality. Also, that functionality did not work for small countries that did not have portals.
What I am trying to do is get results ONLY FROM WEB SITES IN THAT COUNTRY. In other words, I do not web pages about that country. I want web sites located IN that country.
For example, if I do the search "washing machines india" of my results 9 were .com sites and only a single result was a .in result. I want ALL my results to be .in results. Is there any way to restrict results to a particular country domain?
AI: You could set the site: filter to the top-level domain (TLD) of that country. For example:
Search for foo site:uk and you'll only get results from sites with the TLD name "uk", which limits results to the United Kingdom. |
H: How to customize pages hosted at GitHub.io overriding default layout?
I want to customize the "This site is open source. Improve this page." footer and add a header and footer of my own.
I've found Customizing CSS and HTML in your Jekyll theme and
could make the CSS part work using a /assets/css/style.css file.
But I can't make the /_layouts/ & default.html part work, I think it may be because I have not chosen a "theme" (actually I think themes will spoil my minimalist design).
AI: It works without choosing a theme. Add this to /_layouts/default.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>The title</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700" media="all">
</head>
<body>
<h1><a href="/">Title & link to home</a></h1>
<div class="content">
{{ content }}
</div>
<footer>
<div class="container">
my footer
</div>
</footer>
</body>
</html> |
H: Using =SPLIT and converting whole number to decimal percent
Sample Spreadsheet
I'm trying to simplify my spreadsheet
I have a spreadsheet that imports data from a table on a website. Sometimes this data is a percentage in decimal format, and sometimes the website doesn't have precise data, so it gives two numbers. For example, "7-13%". I use =SPLIT to separate these two numbers into Columns D & E, then in Column F, I convert them to decimal percent and average them. This percentage is then multiplied by the contents of Column B
Is there a simpler way to do this, and compress it down into one column instead of three?
AI: =IF(ISNUMBER(SEARCH("–", C3)), (B3*sum(split(C3,"–%"))/2)*0.01, B3*C3)
Seems to be what I'm looking for. |
H: How do I concatenate the data in column B based on the data from column A?
I'd like to turn the image below:
into the following:
A1: Yellow // B1: The quick brown fox jumps over the lazy dog.
A2: Blue // B2: The earliest known appearance of the phrase is from The Boston Journal.
AI: You might try:
=join(" ",FILTER(B:B,A:A=A1))
copied down to suit (I haven't because you data sample lacks consideration for those who rely on screen readers) then Copy/Paste special values only over the top and if say in ColumnC then:
=unique(C:C)
Copy/Paste special values only over the top again and delete surplus. |
H: Composing a plain text email in Google Groups
Is it possible to compose a plain text email in Google Groups?
Clicking on the "New topic" button opens a rich text editor, and I see no option to switch to plain text.
AI: By default , it is just plain text, until you change certain formatting options.
(or paste in something with rich content, with ctrl+V rather than ctrl+shift+V)
As an owner of a group, you could remove the rich formatting permission from selected members. |
H: What is the difference between duckduckgo.com and start.duckduckgo.com?
Both https://duckduckgo.com and https://start.duckduckgo.com present as the first page of the search engine. I configure my browser to pass search queries to either of them.
I learnt about the start. domain when I stepped through a tutorial/infobox on the regular domain that suggested something like "never see this again".
What is the difference if I use one domain rather than the other? (I'd prefer official documentation that clarifies the goal rather than (just) the implementation.)
AI: The redirect from the regular start page states:
Clear your cookies often? Try our homepage that never shows these messages: start.duckduckgo.com
...this implies that the regular homepage sets a cookie to hide messages the next time you visit, while the "start" page just never displays them.
According to an official DDG support representative on the DDG forum, start.duckduckgo.com was introduced in 2016 as a "cleaner start page". You'll notice there are fewer UI elements, such as tips or links to add-ons, at the start.duckduckgo.com domain. The search experience is exactly the same, though. |
H: Table of contents doesn't work
I'm trying to add a table of contents to a document in Google Docs using Insert > Table of contents menu but it doesn't show any headings.
Here is a sample document:
https://docs.google.com/document/d/1jAH3pmeRT2kyqGPOeUA2QaiqEOISNKM678kDx7XeVoQ/edit?usp=sharing
It has a Table of contents on page 1, Chapter 1 on p. 2 and Chapter 2 on p. 3. Chapters paragraph style is set to Title but they don't appear in the table. This is how the table actually looks:
I've pressed refresh button on the left many times - no effect.
I'm using web version of Google Docs. My browser is Google Chrome Version 62.0.3202.75 (Official Build) (64-bit). Cleaning cookies didn't help.
AI: Your Chapter 1 and Chapter 2 have style Title, change that to one of the Headings options (should be in the ribbon just under Tools) and then click on the icon shown at the left in your image. |
H: Display dates in ISO 8601 format in the Microsoft Outlook web interface
Is it possible to display the dates in ISO 8601 format in the Microsoft Outlook web interface?
I read on https://support.office.com/en-us/article/Time-zone-and-language-settings-in-Outlook-Web-App-5565cc28-bc5c-47f1-849d-b57f1ffdfb53:
However I cannot find the options menu. Screenshot from my web interface:
AI: You have to click on the setting button (the wheel) right when the page is loading, before your name appears on the top right. If you do so, then the setting menu has many more entries, including options:
Then you can change the date format: |
H: SUM of multiple values/variables in Google Sheets using "IFERROR"
I have a Google Sheets (titled: ALLORDERS) that lists orders from my online store. These are listed as one single product sale per line. The output looks like:
Invoice Number | Invoice Date | Buyer Name FIRST | Buyer Name LAST | Buyer Email | SKU | Order Item Title | Quantity Shipped | Total Amount | Sales Channel
0001 | 1/31/2017 | TestFirst | TestLast | test@gmail.com | skutest001 | Item1Name | 1 | 12.49 | Wholesale
0002 | 2/22/2017 | TestFirst | TestLast | test@gmail.com | skutest001 | Item1Name | 5 | 62.45 | Retail
0002 | 2/22/2017 | TestFirst | TestLast | test@gmail.com | skutest002 | Item2Name | 10 | 124.9 | Retail
0003 | 3/31/2017 | TestFirst | TestLast | test@gmail.com | skutest001 | Item1Name | 5 | 62.45 | Retail
0003 | 3/31/2017 | TestFirst | TestLast | test@gmail.com | skutest002 | Item2Name | 10 | 124.9 | Retail
0004 | 3/31/2017 | TestFirst | TestLast | test@gmail.com | skutest001 | Item1Name | 5 | 62.45 | Wholesale
I'm looking to compile the information from this sheet into two other sheets (titled: Wholesale and Retail).
Here's an example of the desired output for: Wholesale
(NOTE: Let me start by saying that the first four columns of this table [UPC, Artist, SKU, and Title] are imported from another sheet. These are fixed values that follow all of my products from system to system)
UPC | Artist | SKU | Title | 1 | Jan $ | 2 | Feb $ | 3 | Mar $ | 4 | Apr $ | 5 | May $ | 6 | Jun $ | 7 | Jul $ | 8 | Aug $ | 9 | Sep $ | 10 | Oct $ | 11 | Nov $ | 12 | Dec $ | | TOTAL | TOTAL $
00123123123123 | Artist1 | skutest001 | Item1Name | 1 | 12.49 | 5 | 62.45 | 10 | 124.9 | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | 13 | 237.09 | #N/A | #N/A | #N/A | #N/A | | #N/A | 0
00123123123124 | Artist1 | skutest002 | Item2Name | #N/A | #N/A | 10 | 124.9 | 20 | 249.8 | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | #N/A | 19 | 312.01 | #N/A | #N/A | #N/A | #N/A | | 0 | $0.00
00123123123125 | Artist2 | skutest003 | Item4Name | | #N/A | #N/A | | | | | | | | | | | | | | | | | | | | | | | | 0 | $0.00
00123123123126 | Artist3 | skutest004 | Item5Name | | #N/A | #N/A | | | | | | | | | | | | | | | | | | | | | | | | 0 | $0.00
Here's a little explanation of the fields and work so far:
The column headers of "1", "2", "3", etc. correspond with the MONTH() of the "Invoice Date" in the "ALLORDERS" sheet
The #N/A are results of their being no value for the formula to compute. In these cases, I've been attempting to get cells to populate with "0" instead.
I've been attempting to total the "Quantity shipped" per month, per SKU, per wholesale/retail
For example, this is what I've cobbled together for the first SKU ("skutest001") under the column "1" (January):
=ArrayFormula(sum(filter(IFERROR(VALUE(ALLORDERS!$H$2:$H)), regexmatch(ALLORDERS!$F$2:$F, $C2), MONTH(ALLORDERS!$B$2:$B)=$F1), ALLORDERS!$J$2=$E1))
However, I'm unable to get the "#N/A" values to read out as "0" - therefore, I'm unable to get "TOTAL" and "TOTAL $" columns to successfully sum. (I believe this is because I am running into problems with "IFERROR" having too many values.)
As I am new to Google Sheets and creating this type of thing, the more I look at this, the more confused I become. I appreciate any and all help that comes my way.
Here's an example sheet that I've shared to help provide a better example:
https://docs.google.com/spreadsheets/d/1-uoG13vfYmcfff6rCqDy2fHkYguu87rvVvaghq653Vk/edit?usp=sharing .
AI: The whole sheet is confusing. And your question lacks clarity. I think you want Wholesale!AE2. If so,
=sum(QUERY(transpose(F2:AC2),"select * skipping 2"))
AF2:
=sum(QUERY(transpose(G2:AC2),"select * skipping 2"))
Also this might be helpful:
=QUERY(ALLORDERS!A1:J7,"Select F, G, sum(H), sum(I) Where J='Wholesale' group by F, G pivot month(B)+1 ") |
H: What can be done when many websites classify your website and email addresses as invalid?
I own New gTLD Program website and email addresses - XXX.YYY.science and XXX@YYY.science.
My issue is that many websites that require those to be supplied while filling forms do not support New gTLD Program domains such as .science, .camera, and .game.
Furthermore, some anti-spam engines classify email messages originated in those email addresses as spam.
For example, Facebook blocks my website address - it doesn't let me send it via private messages or share it anywhere; I have it defined under my contact information, but clicking on the link redirects to a "Link Blocked" page with the following message: "We believe the link you are trying to visit is malicious. For your safety, we have blocked it."
Another case is LinkedIn, which doesn't show and link to my email address correctly under Contact and Personal Info in my profile. Even though my email address is verified, it shows and links to: https://www.linkedin.com/redir/invalid-link-page?url=XXX%40YYY%2escience
Now, I could ask every single website to add an exception or add support for New gTLD Program domains, but it might take much time to do so, or won't even be possible, in case the website uses some third-party web form service.
Alternatively, I can use my Gmail address, but then I miss all the point of a standalone professional email address.
One of the aims of those new domains is to enhance the competition between domain vendors and make domains more affordable to personal needs and small businesses. But if they are not fully supported by many web and email services, including major ones, then I guess that something should or must be done in form of proper standardization of their integration, so that in a few years this issue would be solved.
What would be a possible action to take for the sake of all the New gTLD Program users?
AI: There is a group known as "Universal Acceptance steering group" which want to promote the concept that all domain names should be treated equally. They are now letting people around the world to submit info about sites that not accept gTLD to them at https://uasg.tech/global-support-centre/ so that they would contact and track support status of different sites.
Alternatively you can also contact those site and request them to support gTLD addresses, some time it would work even more if you're contacting them in open and public way to put public pressure onto them.
Here is a blog I saw that talked about it a bit https://www.eurodns.com/blog/gtlds-email-addresses-and-universal-acceptance
A possible workaround could be registering yet another regular dotcom address and then redirect the dotcom address to your gTLD address.
Edit: Also, many email filtering programmes like SpamAssassin have been actively and consciously blocking email from new TLD as they seems to think these domain names send more spam mail. (Some info about a similar situation happened to.biz last decade: https://wordtothewise.com/2007/11/why-does-everyone-tell-you-to-avoid-biz-in-your-emails/ and some info on spam filters being updated to block these gTLDs: http://uribl.com ) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.