text
stringlengths 83
79.5k
|
---|
H: Figuring out who is the real owner of Facebook Page
Is there any way for anyone at Facebook to determine, who is the real owner of Facebook Page?
I want the create a webpage, where I want to post some true facts about my previous employer, to prevent others from falling into same problems, like I did. There will be absolutely no lies, just the pure facts (but verifiable only, once you're employed, not before, and that is the purpose of the page). But even so, I want to avoid any problems did by my former employer. And in the same time, I don't want to violate Facebook's policy and registering another (fake) account for setting up that page.
Is there any way for my former employer or anyone to find out, who had actually created (and is managing) particular Facebok Page? Or this kind of details are available only to Facebook stuff and would be revealed only upon eventual court case?
AI: There are no guarantees: Facebook's current policy is that the page-creator and current administrators' are not shown to people - but they could change their rules at any time. |
H: What are the three different TV speeds shown in BBC iPlayer speed test results?
The BBC iPlayer diagnostics page has a speed testing service which shows whether your current broadband speed is adequate for various BBC services, radio, TV, HD-TV etc.
Here's what a typical results page looks like:
What are the three TV categories 1500, 800 & 500?
There's nothing on the page and no mouseover either.
BTW this screenshot done at work where the connection is great, reason for asking is home speed is so much worse and there I won't get those green ticks for the more demanding services.
AI: The three TV categories 1500, 800 and 500 (kbps) would seem to relate to the different resolutions you can view SD content.
1500 kbps is the required bitrate for fullsize SD (832 x 468) (just shorter than the width of the website) - this is the default size when you navigate to the TV show (assuming your connection can cope). This is also considered "Normal Bandwidth" (option at bottom of screen.)
500 kbps (or rather 480 kbps) is the required bitrate for the smaller (640 x 360) "popout" player. This is also the "Lower Bandwidth" option - selected at the bottom of the screen (which changes what you see in the main player).
I can't currently see where 800 kbps is used. However, I suspect this might be the default if your connection can't cope with the full width 1500 kbps version. I thought iPlayer used to open at a smaller size by default and there was an option to display full width (like there is with YouTube). The 800 might relate to this smaller size. However, for me it opens full width and there is no option to make it smaller (unless I open it in the "popout" player).
You can right-mouse (context menu) on the streaming video to see what "version" you are viewing. From the popup menu you can also "Toggle info console" that shows you more information. eg. "Current Stream Bitrate: 1500 kbps" / "Avg Streaming Bandwidth: 9828 kbps" / "Stream Buffer Length: 75 seconds". |
H: Facebook Page Ads pay scheme
Does anyone here have any experience with Facebook Page Ads and can explain me, how Facebook payment scheme works in this case?
I've setup a test, three days long, Facebook Page Ad, using PayPal and one of my credit cards, that is attached to that PayPal's account. Ad is working just fine, Facebook claims, that it displayed it more than a thousand times and I have received noticable increase in likes of my ad-adverted page.
However, I see not even a trace of that payment anywhere, neither in PayPal's (one-time payments or recurring payments) nor in bank (credit-card pre-charges list or charges already on account).
When should I see this payment in both PayPal and bank account history? I've set three-days long ad campaign with lowest budget ($5 / day) and it is running now for 2,5 days, ending within next 6 hours. Will Facebook charge my PayPal account / credit card not eariler then ad campaign is over?
I setup 3 days x $5 and provided PayPal (or credit card) details before my ad campaign started, so I was pretty sure, that Facebook will charge me immediately, to secure its payments.
Now, when it looks like it charges upon campaign end (or correct me, what am I missing?), isn't that a security leak of some kind? I mean -- I can provide a fully working credit card and made it not payable within these three days (pass its limits). Or I can provide working PayPal account before ad campaign starts and then remove all bank accounts and all credit cards from it, so it will not be able to pay to Facebook upon ad campaign end.
AI: You haven't reached the first threshold of $25 USD https://www.facebook.com/help/105373712886516. In addition Facebook may charge every few days. The charge will stay on your account until paid I believe if you remove banking information. |
H: How to update YouTube video with an edited version?
I often need to edit my video and update the new version on YouTube, but on the same address.
It seems not possible, so is there a way maybe to create some automatic redirection feature from old to new address?
AI: It’s not actually possible to upload new versions and “update” a video clip on YouTube.
Here are my best practice tips for updating a video:
Upload your update video as a new video
Tag it the same way as the original, paying some attention to improving the tags at the same time.
Use a similar description as the original, again taking the chance to improve it during the process
Add it as a video comment to the original
Add an annotation to the old video with a message saying it’s no longer up to date and give a link to the new version
Promote the new version in all the ways you would normally promote a new video
Why is that best practice?
By following the above best practice you don’t lose your total “views” or the position of that video in search results. At the same time you provide useful and relevant information to people who happen to view the old video clip - you give them a link to a newer version. You’ve helped them. You’ve used the ecosystem of the web in a much better way than just deleting the old, out of date, video. |
H: Format for ID of YouTube video
Every YouTube video has a unique ID which can be used to get at it. For example, the video at http://www.youtube.com/watch?v=aN46pEO_jX8 has the id aN46pEO_jX8.
After some observation, it looks to me like these IDs obey the following two rules:
Exactly 11 characters
Allowed symbols: a-z, A-Z, 0-9, -, and _
I want to know:
Whether these two rules are both always correct.
If there are any other rules that are important to follow.
AI: According to the Youtube 2.0 API documentation and 3.0 API documentation, the videoId is a string, nothing is specified about the current set of characters used...
About the 11 characters length, a post from a Youtube API Team say :
I don't see anywhere in the documentation where we officially commit
to a standard length of 11 characters for YouTube video ids. It's one
of those things where we have a current implementation, and it may
stay that way indefinitely. But we're not offering any official
commitment to that, so proceed at your own risk.
And last but not least, another post clarify (or not) the format :
We don't make any public guarantees about the format for video ids.
While they're currently 11 character strings that contain letters,
numbers and some punctuation, I wouldn't recommend hardcoding that
into your application (unless you have an easy way of changing it in
the future).
The Youtube team seems to prefer to directly ask Youtube server if the Video_ID is correct or not (refer to an existing video) :
If you need to validate that random user input corresponds to a valid
video id, I'd recommend doing an empirical test. Attempt to access
http://gdata.youtube.com/feeds/api/videos/VIDEO_ID
If you get a 200 response, then VIDEO_ID is valid. If you get a
non-200 response, you have an invalid id. There are some edge cases
for newly uploaded videos or private videos, but for most purposes I'd
assume that would be okay. |
H: Create IFTTT recipe to post a Facebook status at a specific date/time
I want to create a recipe in IFTTT like:
Update Facebook status on a date or time. But I cannot find any way, instead there is STATUS trigger for publishing the status.
AI: For an IFTTT recipe, you need a trigger and action.
In your case, your Action is to post a Facebook status. Fortunately, the Facebook channel has a Post Status action available.
Your Trigger is a specific date/time. You want to use the Date & Time channel for your trigger.
Create a new recipe and...
...for This select the Date & Time channel and choose the appropriate trigger. These triggers are designed to be recurring triggers, but one presumes that you'll delete the recipe once the status is posted. (I'd choose the "Every year on" trigger.)
...for That select the Facebook channel and choose the appropriate action, which as we've established is "Create a status message". Add the text of the status message you want.
That's all you need.
If you prefer, you can take this recipe, which is currently for posting a "Happy New Year" status, and modify it to your needs. |
H: Trello board with no admin
How is it possible to have a board in Trello, that has no admin user on it?
The board is not part of any organization, I am the only user on it (I use this board mainly for managing my tasklist), but I just discovered that I am not an admin. (All because of background colours...)
I have no idea how this happened, to the best of my knowledge a single admin cannot be removed or un-admin'ed, until there is at least one more user with admin privileges.
How can I get admin rights on my board back?
AI: You can always email Trello Support (support@trello.com). I've had a couple issues that have been resolved within a couple days. They're pretty good at resolving issues quickly. |
H: How to report non-developer, non-security issue to Facebook?
I have found a small, yet annoying issue with Facebook Page Ads (details below) and I would like to report this to Facebook. How can I do this?
Fifteen minutes of search lead me to only tools for reporting security vulnerabilities, developers API bugs and to some misleading texts in Facebook Help (where title and introduction says something like "If you want to report a bug, you're in a right place", but then only links to some texts follows and there is no link to any real bug reporting tool).
AI: There's a Facebook Survey box, that any Facebook Pages Ads campaign runner my reach, by going to New Page Insights, clicking on ... buton in (right-top corner) and selecting Send Feedback.
But, I'm not sure, if this is what you've been looking for? And... I'm not sure, if anyone is reading this at Facebook side! :] |
H: Change the start point of Facebook Page Ads
Facebook says in docs, that Facebook Page Ads always start and end on midnight. In which timezone it is measured? Is there any way I can adjust this to my own timezone (or any other, I like to), to be able to have each day of my Facebook Page Ad campaign start and end at selected moment?
AI: If you go to New Page Insights and then click on Likes tab, you'll see a text saying Daily data is recorded in the Pacific time zone, so I believe, that all Facebook Pages ads also starts and ends at midnight PT.
However, I have no idea, how to change this and if this is possible at all? |
H: Exactly for what am I billed in Facebook Pages Ad campaign?
I have run a 3-days long Facebook Pages Ad campaign and by the end of third day Facebook said:
For exactly what am I billed? Did I spent 33.59 PLN (~11 USD) for reaching 1,785 viewers (about 160 viewers / reachers per 1 PLN) or for likes (~3.5 like per 1 USD)?
Answer to this question is essential to me. I've received 39 likes in total for 3-days campaign, that costed me 11 USD. While Facebook promised me at least 50 likes per day for $5 (daily budged set by me) -- cite: "est. 50-200 likes per day". So, if I'm counted for likes, not for impressions (reach) that would mean that this Facebook Page Ad campaign ended up as a complete failure and money waste.
Edit: I used the very basic version of ad, by clicking Promote Page and setting campaign length (set to 3 days) and daily budget (set to $5 / 16 PLN).
AI: If you go to Ads Manager section, for a simple, basic campaign created with Promote Page buton in Facebook, you can see detailed information about all your ads campaigns.
Second column there says Cost $0.32 Page Likes, which may lead us to a conclusion, that you're paying for each new Like to your page, marked as Paid (so, excluding those marked as Organic).
If you hover your mouse on ? sign next to Cost, you'll see an explanation saying: The average you paid for each action associated with your objective. Which -- in my opinion -- is confirming my above asumption. |
H: Facebook status updates disappearing from timeline
I have created a simple Facebook Page. Because it is about past events, I backdated each status update to correct date. All was fine, when I was adding (and backdating) events for past year (2013). Once I started to enter status updates for current year, they're all gone. I can't see them (or any for 2014) on my timeline.
Particular status update appears only, if I add it with current date (January 15). When I backdate it for any past date in January (e.g. January 2) it is gone.
I'm pretty sure, that these status update were added, because:
they appeary in the News Feed (!),
I am able to create Promote Page ads using newest status updates' content,
Facebook warns me, when I'm trying to add exactly the same status update as just posted.
But they're all not visible in main page, that is on Timeline of my page.
I tried using different browsers, refreshing page, relogin, anything. No effect.
I can add as many status update as I want, when they're are posted with no date change (current date) or when I backdate them to year 2013. Whenever I post something (I can see it!) and then make its date to any date in 2014, except today -- post update vanishes.
What is wrong or what am I missing?
(I asked the same question of Facebook Community)
AI: You can't have all your status updates backdated! You must have at least one post with current date!
It goes like this:
once you backdate your last post with current date, all your post from particular year are hidden from timeline (don't have any idea, why)?
once you add at least one status update with current date, they're all visible back again.
If you need to have all important posts backdated, then at the end of back-editing your page, post anything with current date, to have everything back in place and easily displayed! |
H: Is there a more efficient formula to use than just copying and pasting?
D3 =(B3^3.0)-(B2^3.0)
D4 =(B4^3.0)-(B3^3.0)
D5 =(B5^3.0)-(B4^3.0)
D6 =(B6^3.0)-(B5^3.0)
D7 =(B7^3.0)-(B6^3.0)
....
I rarely used Excel but since I don't have it installed on my computer I'm using Google Spreadsheets. Is there a way to formulate this so I don't have to keep on copying and pasting this formula?
AI: This is what you are looking for.
Formula
=ARRAYFORMULA(IF(ISBLANK(B:B)=TRUE,"",B2:B^3 - B1:B^3))
Screenshot
Example
I've created an example file for you: ARRAYFORMULA |
H: Tumblr global tags as RSS
We can transform any individual site tags as rss by simply going to [sites].tumblr.com/tagged/[tag]/rss and we can also see global tags result by going to tumblr.com/tagged/[tag]
However, tumblr.com/tagged/[tag]/rss isn't a valid page. Is there any API or 3rd party service to transform the global tag into RSS?
AI: This is not currently possible from Tumblr itself, but you might be able to use a 3rd party service like that offered by FiveFilters.org to create an RSS feed from the Tumblr global tag page: http://createfeed.fivefilters.org/
Enter web page URL: http://www.tumblr.com/tagged/cat/
Look for links inside HTML elements whose id or class attribute contains: post_content
Only keep links if link URL contains: /post/ |
H: Provide a timestamp when a particular row is edited
I noticed this code from a thread I was reviewing as I needed the same functionality to provide a timestamp when a particular row is edited in a Google Spreadsheet;
function onEdit() {
var s = SpreadsheetApp.getActiveSheet();
var r = s.getActiveCell();
if( r.getColumn() != 18 ) { //checks the column
var row = r.getRow();
var time = new Date();
time = Utilities.formatDate(time, "GMT-08:00", "MM/DD/yy, hh:mm:ss");
SpreadsheetApp.getActiveSheet().getRange('B' + row.toString()).setValue(time);
};
};
It works perfectly I was able to determine how to modify it to place the timestamp in column R which suited my needs but is there a simple way to make it ignore Row 1 which is the column headers?
AI: You just need to wrap an extra conditional around the "stamping" code. Check the row value and only execute the stamping part if the row is NOT 1.
function onEdit() {
var s = SpreadsheetApp.getActiveSheet();
var r = s.getActiveCell();
if( r.getColumn() != 18 ) { //checks the column
var row = r.getRow();
if (row != 1) {
var time = new Date();
time = Utilities.formatDate(time, "GMT-08:00", "MM/DD/yy, hh:mm:ss");
SpreadsheetApp.getActiveSheet().getRange('B' + row.toString()).setValue(time);
};
};
}; |
H: How do you remove results from searches in bing?
I want to remove results from a query in bing. But when I use the NOT, which I have read is to remove searches. But whenever I do use NOT it just includes the keyword I am trying to remove.
For example, when I type keyword1 and NOT keyword2.Results starting showing up for keyword2. NOT doesn't seem very effective.
AI: Try just:
keyword1 -keyword2
This seems to work on a test for searching on:
Windows 7 -amazon -wikipedia
Versus just plain search for “Windows 7”. |
H: Marking all further messages in a thread as read in Gmail
I subscribe to a number of mailing lists which occasionally have interesting information but often contain conversations that I am not interested in. Unfortunately, these conversations can often run into hundreds of messages.
Is there any convenient way in Gmail to mark any further messages that
arrive with the same title as read?
I know that it is possible to do so by setting up a custom filter, but it seems like more effort than should be necessary. A "mute" button such as the one used for Facebook conversations is what I have in mind.
AI: You do have a Mute function in Gmail. If you have keyboard shortcuts enabled, simply press M to mute a conversation.
Otherwise, click the More button in the Gmail toolbar, and select Mute, Ignore or whatever it is called in your language: |
H: CONCATENATE a string with an ArrayFormula
I have the following string in column H and I.
H2="http://"
I2="aaa"
H3="http://"
I3="bbb"
I want to have a auto-generated J column, which results like:
J2="http://aaa"
J3="http://bbb"
So I put the following formula in J1:
= ARRAYFORMULA (IF(ROW(J:J)=1;"formulaTest";CONCATENATE(H:H1, I:I1 ) ))
But the result I got is:
J2="http://http://aaabbb"
J3="http://http://aaabbb"
What is going wrong with my formula?
AI: This is what you are looking for:
=ARRAYFORMULA((IF(ROW(J:J)=1,"formulaTest",H1:H & I1:I))) |
H: Check if Column contains value, when found return contents of another column in that row
I'm using a Google Drive spreadsheet to organize guests I want to invite to my wedding. On one sheet I want all my guests and information relating to them (are they friend/family? Are they an usher/groomsman? etc). On another sheet I want stats so I can prevent going crazy. I want to indicate how many family members, friends, groomsmen, etc are showing up. I also want a field to show the names of people who have certain responsibilities such as Best Man and Priest.
Here's how I think I can best set up the table to do this.
-----------------------------------------
| First Name | Last Name | Status | ... |
-----------------------------------------
| John | Doe | F | ... |
-----------------------------------------
| Joe | Smith | ABG | ... |
-----------------------------------------
| Cousin | Doe | FU | ... |
-----------------------------------------
Status contains letters such as F for family, A for amigo (F is for family, can't use Friend), B for Best Man, G for Groomsman, U for Usher, P for Priest and more as needed. For example, Joe Smith is a friend, the best man and inherently also a groomsman. Cousin Doe is a family member who is also an usher.
Is there a formula where I can look for a Status column entry that contains a B and if so, pieces together the first and last name?
I am just starting to make this so I can restructure if there's an easier approach. I'm just trying to avoid having a dozen columns of checkboxes that say "Is Groomsman" or "Is Bartender" if some responsibilities only apply to one person (i.e. it's unlikely that my priest will also be the bartender, though that'd be bad ass).
AI: I discovered VLOOKUP and could use it for what I need. It did however require that I move my Status column to be A instead of C.
=CONCATENATE(VLOOKUP("*B*", GuestList!A2:C1000, 2, FALSE), " ", VLOOKUP("*B*", GuestList!A2:C1000, 3, FALSE))
VLOOKUP will search for anything with a B (as defined by "*B*" as the first parameter) in the first column of the specified range (GuestList!A2:C1000, it looks in column A) and when it finds it, it returns the value in column 2. The list is not sorted so I used the optional parameter to say so. Throw all that into a CONCATENATE twice like this along with a space and I get the name! |
H: Sum every 9th row starting from the 4th row in Google spreadsheet
I have a column where there is a number every 9th row. The problem is that my first value starts on 4th row then all the next ones every 9th row. So far I tried this:
=ArrayFormula(sum(if(mod(row(J:J),9)=0,J:J))) => sum on J column every 9th row
and this:
=ArrayFormula(sum(if(mod(row(J4:J),9)=0,J4:J))) => I thought it would work but gives me the same result as the first one.
Is there a way to start from a row then sum every a number of row in Google Spreadsheets?
AI: Glad it worked! Copying over the answer:
You can try something like this: =J4 + ArrayFormula(sum(if(mod(row(J5:J)-4,9)=0,J5:J))) |
H: send HTML email from a spreadsheet using a different alias
I've been frolicking around sending emails from Google Spreadsheet.
The sent email has two requirements to fill:
It needs to be send from my work-alias
It needs to be as HTML
I can do the former with:
GmailApp.sendEmail(to,subject,body,{from:alias,replayTo:alias})
Given a proper definition of 'alias', that works very well.
I can do the latter with:
MailApp.sendEmail(to,subject,"",{htmlBody:body})
But, perhaps you guessed it:
GmailApp doesn't seem to support the HTMLBody option,
MailApp doesn't seem to be able to send e-mail from an alias.
Did I do something wrong? Did I search the wrong place? Is there a way around this?
AI: Both API's, GmailApp and MailApp, have the possibility to send a HTML body via the advanced options. I used below code and was able to send HTML formatted text through both of them.
Code
// global var
var html =
'<body>' +
'<h2> Test </h2><br />' +
'<p> Greetings Earthling </p>' +
'</body>'
function testGmailApp() {
GmailApp.sendEmail(
'your@emailaddress.com', // recipient
'test GmailApp', // subject
'test', { // body
htmlBody: html // advanced options
}
);
}
function testMailApp() {
MailApp.sendEmail(
'your@emailaddress.com', // recipient
'test MailApp', // subject
'test', { // body
htmlBody: html // advanced options
}
);
}
Screenshot
Reference
GmailApp: sendEmail(recipient, subject, body, options)
MailApp: sendEmail(recipient, subject, body, options) |
H: Exclude starred messages?
I
ran a search
on my messages including
-is:starred
I also tried
-has:yellow-star
however I am still getting starred messages in my search results
AI: Labels appears to work better with conversations, so I am going to go with that.
-label:cygwin |
H: What’s a simple workflow for bulk deleting emails from Gmail?
Now that Mailstrom is no longer free, I am looking for a way to move or delete email messages within Gmail in bulk.
I don't want to set up a filter which will affect new messages, just move and delete existing messages.
AI: You can use the advanced search page to search for existing messages. In other words you can create an ad hoc filter.
Once you have identified all the messages that meet your criteria, you can then select them. It doesn't matter if the number of messages returned is a handful or thousands all can be selected at the same time. Once you have selected them, they can be labeled, relabeled, archived, or even deleted. |
H: How can I find out which languages GitHub thinks my project is written in?
I can't seem to find any indication in the GitHub UI which languages it thinks my projects are in.
Also, is there a way to suggest a different set of languages for each project?
AI: Click on the color bar in the screenshot below:
FYI: How does github figure out a project's language? (answer: using the linguist library) |
H: How do I write or read Google-Sheets "comments" on mobile devices?
In a Google-Sheet called Field Schedules for Google web-apps at http://drive.google.com you can right click on a cell to open a context menu with the option to "Insert comment." Let's say for example I insert a comment: "hello world." into the cell "A1."
After I create comments, I attempt to open the same Google-Sheet, Field Schedules on my Boss's iPad, or on my LG-G2-Android device and I do not see any option to "Insert comment[s]." Nor can I find comments that already exist.
After exiting the Field Schedules from the Android & Apple devices I can confirm that the original comment exists by using my desktop computer to open Field Schedules and hovering my cursor over "A1" it will then display my comment "hello world."
TLDR: How do I write or read Google-Sheets "comments" on mobile devices?
AI: The answer would appear to be: You can't. (At least right now.)
From Google Support, regarding the Android app:
The Drive app doesn’t currently support viewing and editing comments in Google spreadsheets or Google presentations.
Google Support, iOS app:
The Drive app doesn’t currently support viewing and editing comments in Google spreadsheets or Google presentations.
Collaborate on documents in a mobile browser doesn't mention comments at all. However, from my experimenting, it doesn't look like comments are available there either. (Which makes sense; the mobile browser version is a limited subset of functionality.) |
H: Disable "[Message clipped] View entire message" in Gmail?
Is there anyway to increase the displayable size of emails to avoid the annoying "Message Clipped" additional step in Gmail?
[Message clipped] View entire message
Desktop:
Mobile:
AI: There is no way to disable clipping in Gmail, as per this rather new post on the Google Product Forum.
This web app in the Chrome store comes as recommended in the different posts:
Trimmless for Google Mail
Note: I'm not affiliated to the vendor of the app |
H: Revoke Gmail 'send as' permission?
Gmail has this convenient way to 'send email as' another account, to make it appear like the email came from that account rather than the Gmail mailbox. A great way to hook up your domain to your Gmail but still rely on Gmail's great SMTP servers. To get this started, you have to send a verification/permission request email to the concerned email address. Nice and safe.
However, I have a question with regard to revoking this verification afterwards.
Say I no longer have access to the Gmail account that can send on behalf of my @mydomain email account (as I've previously verified that it could do this). Is there a way to revoke this permission? I realise I can delete the alias from the Gmail account, but what if I do not have access to the account, and can only access the @mydomain email address? Can I force Gmail to re-verify?
AI: Save the verification email you get when you originally set up the "send mail as". At the bottom of the message is a different link and text that says:
If you accidentally clicked the link [to verify your address], but you do not want to allow [redacted]@gmail.com to send messages using your address, click this link to cancel this verification:
If you click this second link, the account will be removed as a "send as" option for that Gmail account. |
H: Cube rooting a negative number does not work?
I tried using this formula for cube rooting but it doesn't seem to work.
=ROUND(C38^(1/3))
The value of C38 is -2.
I'm getting the following error:
Imaginary numbers are not supported in real sheets.
Shouldn't cube roots logically work without being imaginary, whether it's negative or positive?
AI: I am not sure why it's not supported but you can bypass it this way:
=ROUND(IF(C38 < 0,-1*ABS(C38)^(1/3),C38^(1/3)))
That would be your formula for rounding a cube root. |
H: Facebook Fan Page - Question
If I create a Facebook page then is it possible for anyone to know which user has created this fan page or who owns this fan page?
I want to keep my personal facebook page separate from my fan page. In a nutshell I want to hide my personal identity from a fan page .
Can anyone shed some light on it?
AI: Yes, Facebook Profile and Facebook Fan Page are separate things / entities, once you create page in Facebook you will be admin of the page and you can moderate the page but there is no way to other users know who is the admin of page. So there will not be any harm to our personal identity by creating a fan page. |
H: How to see click throughs for Google Plus posts?
I'm relatively new to Google Plus. As far as I can tell, it's impossible to see click throughs via the platform. Click the "down arrow" in the upper right corner of a post and you will see this menu:
"View post activity" will show you +1's and reshares, but no click through data. And Dashboard view doesn't seem to provide this info either.
Is it possible to track clicks on posted links in Google Plus?
AI: Google Plus has no native option to track clicks on posted links, but you can use any link tracking system like Google URL Builder. |
H: Count the number of Fridays in a specific month
I would like to find the number of Fridays for a specific month via function in Google Spreadsheets.
For example, for January 2014 the value would be 5 and for February 2014 the value would be 4.
How can I do that?
AI: This is how to do that with Google Apps Script.
Code
function specificDays(dayName, monthName, year) {
// set names
var monthNames = ["January", "February", "March",
"April", "May", "June",
"July", "August", "September",
"October", "November", "December"
];
var dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saterday"
];
// change string to index of array
var day = dayNames.indexOf(dayName);
var month = monthNames.indexOf(monthName)+1;
// determine the number of days in month
var daysinMonth = new Date(year, month, 0).getDate();
// set counter
var sumDays=0;
// iterate over the days and compare to day
for(var i=1; i<=daysinMonth; i++) {
var checkDay = new Date(year, month-1, parseInt(i)).getDay();
if(day == checkDay) {
sumDays ++;
}
}
// show amount of day names in month
return sumDays;
}
Screenshot
Remarks
Add the script via Tools>Script editor in the menu. Save the script and you're on the go !!
Example
I've created an example file for you: Amount of Day Names in Month |
H: Split content with multiple lines into multiple rows and columns in Google sheets
I like to know if it is possible to split an entire paragraph contained in a single cell, into multiple columns and paragraphs using formula's in Google sheets. This is what the text in the cell would look like:
1 coffeeextradark 240gr
1 milkshake 28Oz
5 chocolatebigones 30 pcs
2 andthelistgoeson 34items
And this is how I would like it to be split up into separate cells
1 | coffeeextradark | 35
1 | milkshake | 28Oz
5 | chocolatebigones | 30 pcs
2 | andthelistgoeson | 34items
I found these nice examples how this can be done using formulas combined with Excel's Text to columns tool or using VBA, but can someone help me to do the same using Google Apps Script?
AI: Sounds like the =SPLIT function would do what you need. Given that A1 contains the text 1 coffeeextradark 240gr, then
=SPLIT(A1, " ")
(notice the space between the quotation marks)
will split the text into three cells:
1 | coffeeextradark | 240gr |
H: How to google for "extern void*"?
I want to search for a specific string that unfortunately contains google wildcards (*).
How can I search pages where the exact string extern void* appears.
(Some of you might have guessed that I am wrestling with C these days)
I tried with DuckDuckGo or Bing with the same result: the * is interpreted.
AI: You cannot search for string containing * with Google: the character is ignored. See replacement for Google Code Search? for searching code. |
H: Can't find source of GitHub Pages website
I noticed a typo on http://dblock.github.io/dotnetinstaller/ . Judging by its URL it seems to be a GitHub Pages website, so I thought I would fix the typo via a GitHub pull request.
If I am not mistaken, the HTML for a http://xyz.github.io website is at https://github.com/xyz/xyz.github.com so I went to https://github.com/dblock/dblock.github.com .
Surprise: The HTML does not look to be the same at all. There is not even a dotnetinstaller folder.
What kind of magic is operating here?
Are my assumptions about how GitHub Pages work false?
AI: The correct link is https://github.com/dblock/dotnetinstaller/tree/gh-pages
Your assumption is not false but work only for User or Organisation page not for project page, so github.com/dblock/dblock.github.com is for dblock.github.io and dotnetinstaller (if it's not a folder of a User or Organisation page) is located at github.com/dblock/dotnetinstaller in the gh-pages branch. |
H: Looking for an "isFormula" formula for Google Spreadsheets
Is there a function that will tell if a specific cell has a plain (manually entered) value or has a formula?
AI: With this little snippet you can do that.
Code
function isFormula(startcol, startrow) {
// prepare string
var str = String.fromCharCode(64 + startcol) + startrow;
// retrieve formula
var fCell = SpreadsheetApp.getActiveSpreadsheet()
.getRange(str).getFormula();
// return false if empty else true
return fCell ? true : false;
}
Usage
In this answer, Tom Horwood found a way to circumvent the usage of quotes.
Example
Add the script under Tools>Script editor and press the bug button to activate the authentication.
I've created an example file for you: Check for Formula |
H: What's the difference between "add to network" and "connect" in LinkedIn?
What's the difference between "add to network" and "connect" in "People You May Know"?
AI: "Add to network" are taken from your contacts list or address book (if you've allowed LinkedIn to see that), but do not yet have a matching LinkedIn account. For these you will see the name, but instead of a job title, it will list their email address.
"Connect" will appear for existing LinkedIn profiles.
When you click "Add to network" it will send an invite to the person (but will not be customisable) asking them to join and create an account. |
H: Can my location be found from a Facebook picture?
This old ABC News clip dramatically announces a "new and freightening threat [...] unknown to many Internet crime experts", which exposes a child's location via pictures posted to Twitter, Facebook, Craigslist, Photobucket.
Does Facebook expose location of pictures, without the user actively specifying it?
Be it via picture GPS metadata or IP geolocalization or anything.
Let's say the posted picture contains GPS data and shows not recognizable landmarks.
This question is about the Facebook website, not about the Facebook smartphone apps.
AI: Facebook now strips all metadata from posted pictures to avoid this problem:
What information can someone see when they download my photo from Facebook?
However, be careful when you post links to photos on other websites or when using third-party image hosting services with Facebook, Twitter, etc. |
H: How can I find out what a goo.gl URL leads to, without visiting it?
goo.gl allows us to shorten URLs. For example, http://goo.gl/Y5VIoG will link to http://google.com
How can we determine what URL the goo.gl link points to without actually visiting it?
For example, how can we see that the link http://goo.gl/Y5VIoG points to http://google.com without actually clicking on it?
Is there an official way to do this (provided by Google instead of a 3rd party)?
AI: Adding a .info after the URL will give you detailed analytics of the short URL, including:
The full URL being pointed to
QR Code
Number of clicks over various timeframes
Visitor information:
Referrers
Browsers
Platforms (Windows, et al.)
Country of origin
For instance: This question: http://goo.gl/e1kTPw.info
For a better example, here's the example link from Goo.gl Help: http://goo.gl/l6MS.info
(Note: Analytics for all goo.gl short URLs are publicly visible to all users.) |
H: How can I make Google include special characters to search for programming terms?
This comes up from time to time when I want to search for a line of code, and it's perhaps something common to many languages or is a word/phrase outside of programming. The special characters and formatting are what makes my query unique. However, Google ignores almost all special characters. I have put my string in quotes and also used verbatim mode. No dice. If I search "/echo/html/" (including the quotation marks), even in verbatim mode, Google finds results such as "You need to echo HTML" which do not include my forward slashes. I've read this Help article from Google but it doesn't address my situation. The same problem exists for <>, (), and many other common programming special characters. If I want to read about <head> or print(), I need to include words like "HTML" or "Python" and even then I might get hits that aren't about the specific query I want. . seems to be included, so searching for .Net is not a problem.
Is there a solution I'm missing? Am I just not able to use the search how I would like?
AI: Try out SymbolHound, it's a search engine that allows you to search with special chars. This allowed me to search for very specific functions/errors rather than the special chars being replaced with spaces and bringing up irrelevant stuff. |
H: How to drag down 'A1:A2', 'A1:A3', 'A1:A4'
Let's say every day (1 day = 1 row) a number is being added in column A
I want to have column B show the total of these numbers. However, if I drag it down, it keeps moving 'B1' too, while I only want the second one to move +1 -->. So:
Cell B1: '=A1'
Cell B2: '=SUM(A1:A2)'
Cell B3: '=SUM(A1:A3)'
Cell B4: '=SUM(A1:A4)'
etcetera.
Dragging this down doesn't give the wanted result.
AI: You don't do this by increasing the formula by a cell for each row. This is not possible.
Instead, you use as the formula
cell B1 = A1
cell B2 = SUM(B1, A2)
cell B3 = SUM(B2, A3)
Now you can drag down the formula from B2 and B3 (don't include B1 in the selection!) for as many rows as you like. |
H: How do I hide the Hangouts panel on Google Plus?
On the Google+ website (plus.google.com), the Hangouts panel appears on the right hand side. I already have the Chrome Hangouts extension so I don't need it there at all.
AI: Click on "Hangouts" at the top of the sidebar. |
H: How do I split multiple rows / insert a row below every existing row in Google Spreadsheets?
I use a spreadsheet to keep track of journeys in a lift-club. Each day has its own row, and the number of lifts given to a person will be 0, 1 or 2.
I realized that the algorithm for the lift scheme is slightly flawed, so now I need to record each journey individually, i.e., I need to split each row in two.
There are already a lot of days on the chart. How can I add a row below each row / i.e., split every row? Usually rows are added at the end of the spreadsheet.
AI: There is no default way to do it through UI of Google Spreadsheets. However, I have written a small script that you can use on your Google Spreadsheet to add rows.
function addRows(){
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();
for (var i = 1; i <= numRows*2 - 1; i+=2) {
sheet.insertRowAfter(i);
}
}
To use this code, follow these steps.
In Google Spreadsheets, navigate to Tools > Script Manager.
Click New in the next window, a blank code.gs file will be opened. Copy and Paste the above code in Code.gs and save the project.
Come back to the tab that contains your original document. Open script manager again if it is not already open. Click Refresh at top right. Now you will see the function "addRows". In the screenshot you will see other function that I have created earlier, but you will only see one unless you already created some other function. Select it and click Run. Now rows will be inserted in your spreadsheet at once. |
H: Shortcut key for archive and open next message
The e shortcut key in GMail archives the current conversation:
e Archive Archive your conversation from any view.
In my personal GMail account, hitting e opens he next conversation automatically. In my corp account, e archives the conversation and returns to the inbox.
Any idea how to set the e key to archive and open the next conversation?
Update: I do not have the Auto-advance option in my general settings:
Update #2: Auto-advance is enabled at the labs tab.
AI: Open Settings and choose Go to next (newer) conversation in Auto-advance section of General tab. |
H: Switch between accounts in GitHub
I have a personal and professional Gmail account. Switching between then is easy - clicking on my name in the upper-right corner opens a switching menu:
I have two GitHub accounts as well, each associated with one of the aforementioned Gmail accounts, and switching is a real pain - I have to log out and log in again as the other user:
Any idea how to easily switch between multiple GitHub accounts on the web?
My current solution is working with two browsers, which is really awkward.
AI: I don't think this can be done. Gmail allows multiple accounts running at the same time whereas there is no such mechanism on GitHub. |
H: Google Apps: See all recently deleted users
So I need to recover a recently deleted user in a Google Apps account. I know how to do this and have done it a few times before.
The problem is that, just after the account was deleted, we deleted about six thousand other users. The "recently deleted users" list in the admin interface only shows the last one-hundred and there seems to be no way to search the list.
Is there a way to find the account I'm after?
AI: @kevtufc, you have a few options open to you:
Faster, more ghetto way
If you don't remember the username, use the API explorer here, limiting your search to domain and showDeleted=True. This will return a list of recently deleted users for that domain. Note that you'll need to authorize, you can limit yourself to the read-only scope if desired.
So with the username in hand (or from memory), go here and set userKey = the deleted user's primary email address. Execute the request and the user should be restored!
The slightly slower, more reliabile way
Download and install Google Apps Manager by Dito. This tool is incredible. One of its great functions is undeleting users, with the syntax gam undelete user <user email>. Just set up GAM via the instructions and GAM away! |
H: What can do when I receive email from Facebook when a user tries to use my Gmail ID without dot?
I recently received email from Facebook saying that:
To verify that you own abcxyz@gmail.com, please click here. You may be
asked to enter this confirmation code: 32522
But my email address is abc.xyz@gmail.com. Gmail ignores dot in email address but I think Facebook does not because of which I am receiving this email. Someone, it seems, is trying to use abcxyz@gmail.com to register on Facebook.
What can I do in this case? Can someone hijack my account via this method?
AI: It's annoying, but I don't think there's anything you can do. I also don't think there's much to worry about. Facebook will alert you if there's a change on your account.
One thing you might do is add your dotless gmail address as an alternative address on your account. That way, at least, when someone tries to sign up with it they should get a message that it's already in use.
That said, make sure you're using good, unique passwords on Facebook and especially your Google Account. Every "forgot password" mechanism out there sends a message to your confirmed email address, so if someone can get into your Gmail they can really mess with your entire life.
If it continues, you might want to open a ticket with Facebook. They might have some measures to keep this person who doesn't know their own email address from trying to inadvertently hack your account. |
H: Convert to HTML / change formatting
I have a CSV file with a cells filled with text formatted like this.
<p>
This is some sample text</p>
<p>
<br />
This is some sample text<br />
<br />
&nbsp;</p>
I need this to be converted to HTML tags. How do I do it ?
AI: There are two ways, if you simply copy paste the whole text into a new notepad file and save it as sample.html and open this html file in a browser, you will see that it is already a html file.
Instead if you want to convert the < to < etc, Open the csv file in either excel of notepad and use replace function. Do following replacements.
Replace < with a <
Replace > with a >
and save the csv file as a html file just by clicking save as in notepad and give a name as newsample.html or something. Now you can open in a browser like any other html file. |
H: Can Google Drive Document Permissions be centrally managed for free?
Currently, document authors in the not-for-profit community group I belong to grant access to each individual document explicitly to each person who needs access.
This isn't convenient when a new member joins the group as existing documents then have to be individually shared with the new member. This is hard to organise as there are several authors and no way to manage this centrally.
Is there a way to define group(s) and share documents to a group so that a new member added to a group instantly has access to all the existing documents or some other method to simplify permissions?
Ideally, permissions should be able to be managed centrally rather than us all having to maintain groups (or similar) individually.
Note: We use the free Google Drive offering and do not have a domain defined via Google Apps etc.
Edit: We are in Australia.
AI: Yes, you can sign up for Google apps for nonprofits. Just search that term. You can host everything off Google's servers, but no email @yourdomain.com. |
H: Is there any way to fine-tune the permissions for Trello board members?
For example, I want to allow board members to create cards and comment on cards, but not move cards between lists or alter lists.
AI: Trello is very much like a wallboard with Post-it note cards with lists.
Anyone with physical (edit) access to the board can make changes.
Currently, the best approach is to discuss the issues with your team members and set guidelines for everyone.
You may not be able to enforce the guidelines, but card activity tracks who made what changes so you can tell who changed what.
Visit the development boards by Trello to suggest changes. Vote on cards for features you would like to see. |
H: Google Sheets Print Filtered Rows
I use a Google-Sheet (sheet called "Data") for my payroll. In A1 I paste data from another spreadsheet that I use to store all the data for my business ( example value of job, location, date, subcontractor name ) There are 600 rows total in the sheet called Data
In my payroll Google-Sheet I have an additional sheet for each subcontractor that works for me. These are meant to be statements that I can print with their checks. Each of these sheets also have 600 rows, and each element ( still talking about the subcontractor's shets ): A1, A2 ..., B1, B2, ...is a reference to the same A1, A2, ..., B1, B2, ... in the sheet called Data.
All I have to do in each of the subcontractor-sheets is filter by name & Wala! it is ready to be printed.
For example: Let's say I filter a subcontractor-sheet for my name Xzila. Of the 600 rows only 7 are for Xzila. I then click on print, but now it is printing like 30 pages because it is including the other 593 rows I filtered out.
TLDR: How to use the google-sheets filter to hide rows and then print the sheet such that it does not print those filtered rows.
Attempts:
To actually make the rows hidden ( this works but it is very tedius
and defeats the time saving purpose )
Use a google-script to hide each row one at a time ( this takes a reaaaaaaly long time )
export Google-Sheet to an excel spread sheet and the print. ( this works, but it loses a lot of formating and forgets that some numbers are currency and some numbers are dates )
AI: Create yet another sheet, with a catchy name like for example PRINTING.
Use the FILTER formula to set the data range and filter for the sub-contractor:
=FILTER(DATA!A:U, DATA!F:F=H1) // H1 = Xzila
If you place H1 outside the printing area, then it will not take part in the printing. |
H: How can I delete a shared file from Google Drive
I have a shared file with someone and I don't want her to reach it anymore. She shared the file with me. Can I delete it permanently without the possibility that she will reach it again?
Will she get a notice about it?
AI: If the file is shared with you, then you cannot remove the other person's access, as they are the owner. In Sharing Settings they will appear as "Is owner".
If you have shared the file with someone else, then in Sharing Settings you can click the X to remove a person from viewing the file any longer.
Sharing settings overview describes more options in detail. You can prevent someone from resharing a document, for example.
Important note: You cannot prevent a person from retaining a local copy of a document if they have already downloaded a copy to their computer. They will no longer be able to access the live document, but can reopen a document they have saved. |
H: Putting my company directory into Google Sites with pictures
I'm using this code to pull the name and emails of my users into an intranet page on Google Sites. I was just wondering, is there some code that I can add to this so I can retrieve pictures? I would imagine it goes in below flexTable.setWidget(parseInt(i), 1, app.createLabel(user.getEmail())); but I'm not sure what I can add there to retrieve their picture from their profile. I would also like to do the same for phone number.
function doGet() {
var app = UiApp.createApplication();
var users = UserManager.getAllUsers();
var flexTable = app.createFlexTable().setBorderWidth(1);
for (var i=0, len=users.length; i<len; i++) {
var user = users[i];
flexTable.setWidget(parseInt(i), 0, app.createLabel(user.getGivenName()
+ ' ' + user.getFamilyName()));
flexTable.setWidget(parseInt(i), 1, app.createLabel(user.getEmail()));
}
app.add(flexTable);
return app;
}
Edit: I tried adding flexTable.setWidget(parseInt(i), 2, app.createLabel(user.getPhones())); but that gives me an error in the code. I got this from the API reference for scripts.
AI: That's not possible I'm afraid with the API used. The API that's being used doesn't allow for more (basic) info to be retrieved.
There's however a new API released under Google Apps Script that can help you out:
Admin SDK Directory Service
This allows for much more tweaking !! |
H: Google+ without prefix name
I want to use my nickname as my Google+ custom URL, however Google+ is forcing me to use my name as prefix. Since I can only set my URL only once, how can I choose one without my name on it?
AI: In short, you can't. You can only use the URLs that have been "suggested" by Google.
Your best bet to changing this policy is to send feedback.
You may be able to create a Page that is attached to your profile with your nickname as the page name. But even this is no guarantee that they will give you a vanity URL for the page. |
H: Why don't emails targeting disabled GMail account bounce (NDR) to sender?
I have admin rights for Google Apps on our domain. Recently an employee left the firm. Rather than delete his Google account, I just disabled his rights to use GMail. This worked. His account can no longer be used to access GMail. Yet when I send mail to his GMail account, I don't receive a bounce-back (NDR - non-deliverable). Why is this? I'd prefer that those who send email to this old account get a bounce-back so they don't assume that their email was delivered successfully. Any ideas?
AI: Removing access is not the same as removing the email. The email account still exists, they just can't access it. So emails are collecting in the inbox. If you enable access and log in, you will see them. To get a message to bounce, you have to remove the email account entirely. If you managed your own mailbox server, for example Postfix, then you could probably set an option or filter to bounce even if the account existed. However, for web-based mail, you won't have that level of control. |
H: Setting to turn off viewing of Facebook photos from those tagged as "Public"?
Currently, to someone that views my timeline as Public, they are able to see all my photos. I've been looking at my Account and Privacy settings, but no where is there a change that allows me to turn off all photos from being viewed as Public. This is a bit disconcerting to me, as that opens up a lot of people being able to see my photos, regardless of their affiliation to me.
Is there a setting that allows me to turn off all Public access to my photos, and only my Friends can view these photos?
AI: You need to go into your Privacy Settings. Under "Who can see my stuff?" there's an option to "Limit past posts". Choosing that option should take everything you've previously shared to "Public" or "Friends of Friends" to simply "Friends".
You'll also, of course, want to make sure your setting for future posts to something more restrictive. |
H: How to remove blog name from page title in individual blog posts?
Currently on my blog (which is hosted on Blogger *.blogspot.com) the title shown on the window/tab of browser appears as:
[Blog Name]: [Blog Post Title]
I would like to remove [Blog Name] from title so that it only appears as:
[Blog Post Title]
Is this possible?
AI: Yes. Edit your template, and find this code:
<title><data:blog.pageTitle/></title>
Replace it with
<b:if cond='data:blog.pageType == "item"'>
<title>
<data:blog.pageName/> </title>
<b:else/>
<title>
<data:blog.pageTitle/>
</title>
</b:if>
An alternative code if you want to display the blog title after the post title (in [Page name] | [Blog title] format)
<b:if cond='data:blog.pageType == "item"'>
<title>
<data:blog.pageName/> |
<data:blog.title/>
</title> <b:else/>
<title>
<data:blog.pageTitle/>
</title>
</b:if> |
H: How do I delete text messages from Google Voice?
I want to delete about three text messages from Google Voice.
How, when I only see the option to delete the entire conversation?
AI: It seems like you can only delete entire conversations, based on this Google Voice issue about deleting SMS messages,
Google Voice is big on the Conversation, or "SMSThread" as we have
named it. I do not think it is even possible to delete a specific
message out of a conversation or SMSThread, you have to delete the
whole thing.
I checked the Google Voice help page but it doesn't say much,
Here's how you can delete a text or voicemail message or a recorded call on the Google Voice website: Select the checkbox to the left of the message or call you want to delete. Click the Delete button at the top of the page.
There might be a workaround. I don't have any Google Voice SMS messages that I can access, in order to be certain (it was mentioned in the first URL above). When Google Voice says delete, it is moving the conversation to the Trash. To really delete the conversation, you have to empty the Trash. Once the whole conversation is in the Trash, you should be able to see the ID associated with each SMS message. That should allow you to delete just the messages you want, then you can undelete the rest of the conversation's messages that you want to keep.
I also noticed a way to count how many text messages you've sent but not deleted using Google Voice, just in case you want to keep a tally. |
H: Using the Google Admin SDK
I'm trying to use the Google Admin SDK to get all of the users for a directory on our site but I'm trying to figure out what exactly page on line 4 of the code means.
function listAllUsers() {
var pageToken, page;
do {
page = AdminDirectory.Users.list({
domain: 'example.com',
orderBy: 'givenName',
maxResults: 100,
pageToken: pageToken
});
var users = page.users;
if (users) {
for (var i = 0; i < users.length; i++) {
var user = users[i];
Logger.log('%s (%s)', user.name.fullName, user.primaryEmail);
}
} else {
Logger.log('No users found.');
}
pageToken = page.nextPageToken;
} while (pageToken);
}
AI: There are couple of things you need to do when performing this piece of code.
enable the Admin Directory API in the script editor
enable the Drive SDK from the Google Developers Console
in the Admin console of your Google Apps domain, under Security, enable API access:
add proper domain name, ie not example.com
I just tried the following revised code, with my own domain name:
function listAllUsers() {
var users = AdminDirectory.Users.list({domain: 'jacobjantuinstra.nl'}).users;
if(users.length != 0) {
for (var i=0; i<users.length; i++) {
var user = users[i];
Logger.log('%s (%s)', user.name.fullName, user.primaryEmail);
}
} else {
Logger.log('No users found.');
}
}
and the following was shown in the logger:
The do while is meant to restrict each iteration to 100 users. If you have less, or have an execution time of less than 5 minutes, then the above code will suffice. |
H: Outlook.com import emails with large attachments
Is there any way I can get around the 10MB limit?
Using the "Add Send/Receive Account" import method seems to just ignore them, and "copy to folder" using an email client (Windows Live Mail) fails.
AI: Seems like the Mail Migration add-on will do the trick (requires IE).
Setup your existing email account with Outlook Express, Windows Live Mail or Windows Mail.
Send/Receive to download your messages
Sign-in to your Outlook.com in IE & run the tool.
Just tested with a ~20MB attachment and all was good. |
H: Find an email address within the body of an email
I know I can put in an email address in the search box in Gmail to find the messages sent either to or from that email address. However, I have a situation where someone was supposed to send me details about an email address in the body of the email.
I have one message that I know contains the email address in question within the body content, and I'm trying to see if I received others, but when I put that address in the search box, nothing returns. I have tried specifying body: in the search, as well as enclosing the email address in quotes, but it never shows up.
Is there any way to search for addresses that are not part of any to/from fields? Anything special I have to do to escape the @ sign, or something like that?
AI: The only way I know of doing this is to limit your search to filter out cases in which you don't want to see that email address. This should at least remove a lot (not all) of false positives from your search results.
-to:foo@bar.com -from:foo@bar.com -cc:foo@bar.com "foo@bar.com"
What you're doing is filtering out foo@bar.com from the to, from and cc fields. What should be left is searching for "foo@bar.com" in any remaining fields.
Again this isn't 100% reliable, but might help you out. |
H: How to count items meeting criteria in multiple columns
In Google Spreadsheets I need to count instances of a certain value but only when they match either of two values in another column. So below I would ask for the count of all brown animals that are either Mammal OR Reptile, and expect a value of 2.
| A B C
----------------------------------
1| Animal Type Colour
----------------------------------
2| Dog Mammal Yellow
3| Cat Mammal Brown
4| Lizard Reptile Brown
5| Snake Reptile Yellow
6| Alligator Reptile White
7| Dove Bird White
8| Chicken Bird Brown
AI: Use the following formula to accomplish that:
=QUERY(C1:E8, "SELECT COUNT(C) WHERE (D='Mammal' OR D='Reptile') AND E='Brown' LABEL COUNT(C) ''") |
H: How to share the "Look Back" video from Facebook?
On Facebook, there is a link to view a video looking back on your Facebook history. Apparently, some people have shared this video with their friends, however I and someone else cannot figure out how to do so. This URL is not unique, it's a global URL which shows the video of who's logged in. People say there's supposed to be a "share" link, but there are no links whatsoever. And, I can't share the URL because it would show them their own videos.
How do I share this video with friends on Facebook?
without using a screen recorder to capture it
AI: Play through the video once and you should see the "Share Your Movie" button right on top of the video. If you don't see it, refresh the page and it should pop up.
This had happened to me as well. Let me know if it doesn't work for you. |
H: Use Domain from Google Mail for Business
A friend started to use "Google Apps for Business" (Mail) where he has to pay for it. He also registered through Google a Domain with his name (office@namename.com)
When he now enters the domain www.namename.com a Google page says that this domain does not exist (quite logical).
He asked me how he can setup a homepage, but I'm don't know how this "Google Apps for Business" thing works.
Is it possible to point the domain to a shared web hosting server, in order to generate a website for him?
AI: Your friend have at least three ways for publish a website with Google apps:
If he bought the domain through Google apps also has a control panel on GoDaddy. From them can point a subdomain everywhere
He can activate 'Sites' directly from Google apps.
Create an app on Google App Engine
..is flexible enough. |
H: How often does Gmail auto-check for new emails?
In Gmail, there are 3 ways to check for new email:
Wait
Refresh page
Click the refresh button
How often does Gmail check while you're waiting?
AI: For a POP account it depends on how often you get mail. If one check results in new mail being found it will shorten the time until the next check, until it reaches a minimum wait time of 5 minutes. If it checks and doesn't find new mail, it lengthens the wait time until it reaches the maximum, which I believe is an hour between checks.
For mail sent directly to Gmail it has new mail coming in all the time, though they don't update your screen instantaneously.
In either case there will be a delay while Google is virus checking them, depending on the size of the message and the size and type of attachments. |
H: Stop Facebook games tagging
Since few days I'm receiving a notification which says I've been tagged in a post. The post is:
MyFriendName was saved by a friend in Hidden Shadows. Thank you MyName!
Your Friend needs You! Help catch the criminals and solve the case.
This is an automatic tag by a game. In five days it tagged me like 15 times and I don't want it to continue. How can I stop being tagged by games on Facebook?
AI: So the app is Hidden Shadows. You can go here: https://www.facebook.com/appcenter/playhiddenshadows , and click on Block, then Confirm. |
H: Does Gmail calculate email storage per plus sign or alias address?
With Gmail you can arrange additional address aliases by appending + and any arbitrary string to your original login.
Example:
original account: johndoe@gmail.com
sample aliases: johndoe+subscriptions@gmail.com, johndoe+work@gmail.com, etc.
Do messages sent to an alias address add up to the original account's storage limit,
or by working with aliases can one get some additional storage, say: 2GB per alias?
AI: Alias = mirror of the original or main email address. Therefore the disk space is shared between the two.
Good explanation over here.
An alias is essentially just a nickname for a mail account. The alias itself has no mailbox and all mail sent to it will be delivered to the mailbox it is mapped to. |
H: 500 error with Google admin sdk
I'm using the Admin SDK with Google Apps Script to create a directory of user's names and emails on a Google Site. The code seems to work fine because when I view the logs I see the results.
[14-02-04 12:24:05:996 GMT] Joe Ardee (joe.ardee@example.com)
[14-02-04 12:24:05:997 GMT] The Headmaster (jim.dix@example.com)
[14-02-04 12:24:05:997 GMT] Edward Smith(edward.smith@example.com)
After I publish it as a web app and add it to my page using the insert scripts function I get a 500 error, on the page I get a message saying Google Drive encountered an error. When I published the app I set it so that only I can access it. I have also enabled the API and enable API access in the admin console.
Here is the code I am using;
function listAllUsers() {
var users = AdminDirectory.Users.list({domain: 'example.com'}).users;
if(users.length != 0) {
for (var i=0; i<users.length; i++) {
var user = users[i];
Logger.log('%s (%s)', user.name.fullName, user.primaryEmail, user.phones);
}
} else {
Logger.log('No users found.');
}
}
(Instead of example.com in domain I have used the correct domain)
AI: That's because it needs a whole different approach. Use the following code.
Code
function doGet(e) {
var app = UiApp.createApplication();
var flex = app.createFlexTable();
var users = AdminDirectory.Users.list({domain: 'jacobjantuinstra.nl'}).users;
if(users.length != 0) {
for (var i=0; i<users.length; i++) {
var user = users[i];
flex.setWidget(i, 0, app.createLabel(user.name.fullName))
flex.setWidget(i, 1, app.createLabel(user.primaryEmail));
}
} else {
flex.setWidget(0, 0, app.createLabel('No users found.'));
}
app.add(flex);
return app;
} |
H: Google Doc style comments? Direct a Comment to a particular user
One of the features I absolutely LOVE in Google Docs is Comment directed at a user's email.
Is there a way to do something like that in Trello?
Use Case:
I'm working on a task with our UX designer and he makes a suggestion. I want to quickly find out if the Subject Matter Expert agrees or as any comments.
I guess I could add him to the Card, but how will he know he's now got a "task? (question to answer)
AI: I found the answer just as I finished my question. But wanted to post it here for posterity.
In the Comment blank (under Activity), type @ and then the user name. Works just like Google Docs. Sweet! |
H: Hiding seen posts in Tumblr
I see that posts have an ID. for example if you like a post and then another person reblogs it, it appears as liked by you already. So there should be a way to tell Tumblr not to show in my dashboard posts that I already saw. I've seen this in some internet forums; do you know if Tumblr has this feature?
AI: No, I don’t think that Tumblr’s dashboard offers such a functionality.
Keep in mind that rebloggers may add additional content to reblogged posts. So if all reblogs of posts you liked were hidden, you would not notice when one of your reblogging followers adds content to it.
It might be possible to achieve something like that with an (e.g. Greasemonkey) user script. |
H: How can I list all questions I asked anonymously on Quora?
How can I list all questions that I asked anonymously on Quora?
AI: There is currently no option to do so. Alternatively you can keep track of them using your followed questions
http://www.quora.com/home/following
On a different note, for all new questions the first follower is the person who asked the question. |
H: How many named ranges can a single Google Spreadsheet have?
Is there even a limit to the number of named ranges that you can create within a single Google Spreadsheet?
It's rather cumbersome to add a new one, so I would prefer to not just open a spreadsheet and start making them over and over until it tells me there's a limit after 100 or 255 or something.
AI: I was able to make 4963 named ranges, before the execution time of the Google Apps Script expired, using this piece of code.
Code
function namedRanges() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
for(var i=1; i<5000; i++) {
var r = ss.getRange('A'+i);
ss.setNamedRange("test"+i, r);
}
}
Screenshot
If you plan on making larger named ranges (I created only one celled ranges), I guess it will take longer and thus reduce the amounts you can make.
If you're about to add them manually, I'd say you're safe. |
H: Importing columns of data
I'm trying to import columns of data from different sheets. Examples:
SEARS -- (sheet one) (I'm entering the prices manually)
1/2013 $8
2/2013 $5
3/2013 $14
Here is sheet two: (I'm entering the prices manually)
TARGET
1/2013 $7
2/2013 $10
3/2013 $4
Here is the resulting sheet (to be imported automatically from the other 2 sheets).
TOTALS SEARS TARGET
1/2013 $8 $7
2/2013 $5 $10
3/2013 $14 $4
I'm not sure how to do this. I think that for the resulting sheet I could use the VLOOKUP function to look for a date value in each sheet. Something like:
=VLOOKUP (1/2013, 'TARGET_SHEET'|B1:C3,1).
This produces the desired result for the cell, but ideally I would want a way to clone this formula to all the rows and columns on the result sheet so I don't need to fill it out manually for each cell.
Anyone have an idea about how to do this?
I am using the NEW Google sheets, by the way.
AI: Ok, I think I've figured it out. Not straightforward, but now that it's done, not terribly difficult.
**=VLOOKUP(D1,'TARGET_SHEET'|A:B,2)**
Some explanations about why I couldn't get the answer.
Criterion (the D1 here) does not need to be a string. It can be a
cell reference.
A1 notation for cells can be used to refer to
complete columns (did not know that). So A:B is perfect syntax in A1 notation.
http://msdn.microsoft.com/en-us/library/office/bb211395%28v=office.12%29.aspx
The array by definition needs to be 2 or more columns. (duh!) The value for the index parameter will likely be "2" (for a two column array). If the array had 3 columns, more than likely the value would be 2 or 3.
You can auto-increment the values for this vlookup formula by grabbing the handlebars and pushing them down on the result column. So: in the cell immediately below the one with the formula, you will see =VLOOKUP(D2,'TARGET_SHEET'|A:B,2) |
H: In Google Drive spreadsheet, how do I put tabs at the top of the screen?
I want to make a public Google Doc with tabs similar to https://docs.google.com/spreadsheet/pub?key=0AifXEOqTcGcLdFVvWk1GRjVJTHJUaTVLcGViR1RRTFE, but I haven't been able to find instructions or other examples.
AI: The tabs appear at the top of the document when using the "Published" view.
You can see this by going to File, Publish to the Web..., and click Start publishing.
If you copy and open the resulting link, you will see a read only view with the tabs at the top and none of the spreadsheet UI. |
H: How do I create a report on user's email addresses in Google Analytics?
I have a website. To track the mail address of my users on Google Analytics I include the following script:
_gaq.push(['_setCustomVar',
1, // Slot #1
'email', // Variable name
'email@example.com', // Variable value
1 // Scope = visitor-level, optional
]);
I'm not a frequent user of Google Analytics.
How can I see the individual email address of users in the GA web tool (no premium account)?
AI: You need to create a report for your custom variables under Audience→Custom variables:
From here, click Customize:
Under Dimension drilldown, you should be able to find your custom variables in the list: |
H: Why do my Google Drive folders have colors?
For a while I have been wondering what is the significance of grey color and green color in my Google Drive. Any idea?
AI: From what I can see, the only automatic thing Google does to folders is add a person icon to folders that have been shared.
You can change the color of a folder yourself, either by right-clicking on it or checking the box and using the "More" menu.
The most likely explanation is that you changed the color of those folder in the dim-and-distant past and it simply slipped your mind. |
H: How to make macro's inline in Confluence
I am trying to use the highlight macro to highlight a word inline, similar to this:
I only want the word this to be grey.
When I use the Confluence editor, I create this:
Next, I ensure that inline display is selected:
I include no new lines, and no matter what I get this output:
What am I missing to make the entire sentence appear on the same line?
AI: One answer is to put the whole line in a {wiki} macro, like so:
{wiki} I only want {highlight:gray} this {highlight} word to be gray. {wiki}
Seems crazy but I could not get the inline button to work for me at all. |
H: Am I allowed to host a commerical website on GitHub Pages?
Can I host my company's website on GitHub Pages, if I wanted?
Are there any restrictions on what you can and can't use GitHub pages for?
We don't get a lot of traffic, so I don't think bandwidth is the issue. I'm interested from a legal perspective.
AI: Note! This answer is old and outdated, please check the other answers here, as well as checking the current Terms of Service.
(rest of answer is left as-is)
According to the GitHub Terms of Service, under section G. General Conditions, you'll find this:
You may use GitHub subdomains (e.g., yourname.github.io) solely as permitted and intended by the GitHub Pages tool to host your company pages, personal pages, or open source project pages, and for no other purpose. You may not use GitHub subdomains in violation of GitHub's trademark or other rights or in violation of applicable law. GitHub reserves the right at all times to reclaim any GitHub subdomain without liability to you.
(my emphasis)
After you did contact GitHub directly you commented that their response was:
The content of Pages is at the user's discretion, as long as it's legal and doesn't otherwise violate the Terms of Service. Some users may choose to include ads, donation buttons, ticket sales, or other ways of monetizing their projects, and that's OK with us. Of course we hope folks will Keep It Classy™ and use this power for awesome! Thanks |
H: Add event to secondary Google calendar
I often receive invites to events via Gmail, and wish to add them to one of my calendars in Google. When I click 'add to calendar' (or equivalent), I see the usual drop-down to allow me to choose between calendars. When I click on this drop-down, however, the only option is my primary calendar (the one with the same name as my Google account).
So...is there a way to add events to one of my other calendars, or do I just have to make a copy of the event if I want it outside my Google account primary calendar?
AI: If I remember rightly, you have to add it do the calendar of the logged in user and then move it to any other linked calendar for which you have write access. |
H: Does coderwall award badges for contributions to private repositories?
Sometimes I want to keep my privates, private, other times, not so much.
Will coderwall let people know about contributions I've made to private repos? Most of the contributions I'm OK with being known, but not all.
AI: In the future, maybe.
Until then, no, achieving badges based on private repos will not earn you the related badge.
think it's neat that u stream that thru but if u work primarily on private repos like me, there are no badges to show. - @timfernihough, 31 January 2013
we're looking into add'l badges in the future too - @coderwall, 31 January 2013
Since those comments were made last year, if you're not seeing any badges related to activity on private repos, it's still not implemented. |
H: Can I convert a MS Word document to a Google Document format using GAS?
I know how to convert a Microsoft Word document to Google Documents format manually (right click, open with Google Drive). But is there any way to do this using Google Apps Script? I have looked through the help and can't find any methods for files that lets you change the file type, or save in a different format. This seems such an obvious service that I suspect I am missing something.
Does anyone know a way to do this?
AI: Currently, that's not possible, even though the request is pending for some time now. If you follow the below mentioned issue (star it; upper left corner), then you will be notified about any change.
Issue Tracker
https://code.google.com/p/google-apps-script-issues/issues/detail?id=585
Note
The higher the number of votes (star), the higher the chance of it being implemented by the Google Apps Developers team. |
H: Direct link for PDF files in SkyDrive/OneDrive
I want to make a direct link to a document at SkyDrive, so that I'll see only the PDF at the browser, not any of the SkyDrive chrome. For example, if you click http://www.cccf-fcsge.ca/wp-content/uploads/RS_94-e.pdf, you will go automatically to the PDF file.
Is there any way to do this?
AI: Unfortunately, no, there's not currently a way to directly link to a PDF on SkyDrive. The closest you can get—using the built-in "Share" link—will instead open it in Office365's online Word viewer, for whatever reason. You can almost circumvent this by sharing the document, then, in the viewer, grabbing the URL that you ultimately download the PDF from by clicking the "Download" button, but this URL appears to be fairly ephemeral.
You might instead take a look at Dropbox, which has this functionality built-in, and which is free for small accounts. |
H: Should and can I connect my Facebook page for my website to my website's like button?
It seems I have 2 pages to "like" on Facebook for my website: 1) The Facebook page for my website and 2) The actual URL of my website which is a different page than for my Facebook page. And even a third option 3) The URL to my FB app which has a third address.
I don't know which of these three that I should promote when I want users to "like" my webapp or is it even possible to make users "like" the Facebook page instead of the URL to the website? Currently the FB page ("www.facebook.com/mybrandname") has many more likes than the actual URL to the webapp ("www.brandname.com"). So I thought that I might "consolidate" the likes to just one page and in that case, which one should I use to accumulate likes?
AI: In my view, you should go for the Facebook page. That's where users would be looking for 'how many likes' you got. |
H: Calculate score and ranking in Google Spreadsheet
I want to create a Google Spreadsheet which will work as a ranking system for a game.
One sheet, "Ranking", should display the current ranking of the players, based on their points.
Another sheet, "Matches", could be used to add matches.
Each match has one winner and one loser, where the winner should earn 10% of the loser's points (the loser does not lose any points).
The points in the "Ranking" sheet should be updated as new matches are added (but points should obviously only be added once per match).
View a simple example spreadsheet here:
https://docs.google.com/spreadsheet/ccc?key=0AqNThcZwHAYldEMzYUJmTU1TUW5WaVNSUlJhY1BGT0E&usp=sharing
Any tips on how this could be achieved?
AI: This calls for a Google Apps Script, but not a very complicated one.
First, you need to decide a starting point for each player. Let's say each player starts on 100 points.
The following updateRankings function iterates through all matches, and calculates match points for each match. Player ranking points are updated after each match.
var MATCHES_SHEET_NAME = "Matches";
var RANKING_SHEET_NAME = "Ranking";
var RANKING_PLAYER_NAME_COL_IDX = 0;
var RANKING_PLAYER_POINTS_COL_IDX = 1;
var RANKING_INIT_POINTS = 100;
var WINNER_COL_IDX = 0;
var LOSER_COL_IDX = 1;
var MATCH_POINTS_COL_IDX = 2;
var MATCH_POINTS_PCT = 10;
function updateRankings() {
var matchesRange = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(MATCHES_SHEET_NAME).getDataRange();
var matchesValues = matchesRange.getValues();
var rankingRange = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(RANKING_SHEET_NAME).getDataRange();
var rankingValues = rankingRange.getValues();
var players = {};
for (var i = 1; i < rankingValues.length; i++) { // Collect player names
var rankingRow = rankingValues[i];
var playerName = rankingRow[RANKING_PLAYER_NAME_COL_IDX];
players[playerName] = RANKING_INIT_POINTS; // Each player starts at 100 points
}
for (var i = 1; i < matchesValues.length; i++) { // Iterate through all matches
var matchRow = matchesValues[i];
var winnerName = matchRow[WINNER_COL_IDX]
var loserName = matchRow[LOSER_COL_IDX];
var matchPoints = players[loserName] * MATCH_POINTS_PCT / 100; // Loser's ranking points * 10%;
players[winnerName] += matchPoints; // Add points to winner's ranking
matchesValues[i][MATCH_POINTS_COL_IDX] = matchPoints; // Set match points column
}
// Update the ranking sheet with new ranking points
for (var i = 1; i < rankingValues.length; i++) {
var rankingRow = rankingValues[i];
var playerName = rankingRow[RANKING_PLAYER_NAME_COL_IDX];
rankingValues[i][RANKING_PLAYER_POINTS_COL_IDX] = players[playerName];
}
// Finally, write the updated value arrays back to the sheet
matchesRange.setValues(matchesValues);
rankingRange.setValues(rankingValues);
}
You need to decide when the script should run (how often the ranking should be updated). Take a look at my example spreadsheet, where I have created a button that runs the script when clicked. |
H: How do I create a timeline in my WordPress blog?
I see some sites use a timeline graph using some Google tools. I am not able to get it in WordPress.
How do I get a timeline graph in a WordPress blog ?
AI: WordPress.com doesn't allow for execution of arbiratry Javascript, neither does it allow iframes to be embedded in posts:
If you are familiar with HTML, you’ll notice that codes such as embed, frame, iframe, form, input, object, textarea and others are missing from the above list. Those codes are not allowed on WordPress.com for security reasons.
Users are not allowed to post JavaScript on WordPress.com blogs. JavaScript can be used for malicious purposes.
In other words, you can't use Timeline.js on WordPress.com |
H: Can someone (employee/freelancer) steal a Twitter account if you give them the password?
How do you handle hiring someone to make tweets for your company but also keep the account secure?
AI: Ok I found it. Apparently that is a paid feature in HootSuite.
https://hootsuite.com/plans
However, I found a way around it for either HootSuite or TweetDeck. You can sign up for a throwaway Twitter account to do all the authentication yourself and add all the accounts that you need, then give out the password to the throwaway account. Since all the accounts are pre-authorized via OAuth tokens, the password is safe. The worst that can happen is someone could hack the throwaway and spew spam or such onto your linked accounts. At least the password will be safe. However, you will need an email address to create a new Twitter id, which is easy.
However, if you try to re-add the account, you will go through a lot of trouble because the services might say the account is already linked:
xxxx has already been added by another HootSuite user. Please add a different social network.
So you will have to de-activate the application and probably go through a bunch of other rigmarole. |
H: How to view the header of an email in Gmail?
I would like to view the full header of an email message in Gmail. Is this feature allowed or are you only allowed to view it on the mailbox server on their side?
AI: Open any email, then open the dropdown menu, and select the show original option:
It will give you all the information about that email. |
H: Use Group Email (hosted by Google) to create an account on Google Play Store
I am trying to create a Google Play Store account but with a group email (hosted by Google). Is this possible?
For example, I have a group email on my Google Apps Business Console (hello@company.com) and I want to use this group email to set up an account on Google Play store. Is this possible?
AI: From my own experience the Google group emails are not personal emails therefore you'll not be able to create a Play Store account with one. Also, you as an individual, don't have access to such an email account, no password access.
What you could do is to create the Play Store account using the email account which manages (the owner account) the group account. |
H: Is it possible to merge two YouTube channels?
I heard that it is now possible to merge two YouTube channels, using Google+ or something like that. If that's true then:
How would I do it?
Will both accounts become only one?
Will the views and the subscribers be merged, too?
AI: Unfortunately, you can’t merge or link separate YouTube channels. |
H: Google Spreadsheet; Function to Search a Sheet for String and Return Value of Next Column
Here is what I have so far. it will:
Search for keyword in my other sheet (JSON)
When it finds the keyword (modname) it returns the row #
The keyword is on the A column. What I want is for a function to return the value on the B column of the same row. How do I do this?
function onSearch2(modname)
{
var searchString = modname;
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("JSON164");
var column =1; //column Index
var columnValues = sheet.getRange(2, column, sheet.getLastRow()).getValues(); //1st is header row
var searchResult = columnValues.findIndex(searchString); //Row Index - 2
if(searchResult != -1)
{
//searchResult + 2 is row index.
SpreadsheetApp.getActiveSpreadsheet().setActiveRange(sheet.getRange(searchResult + 2, 1))
return searchResult+2
}
}
AI: I was working on a solution as well.
Code
function onSearch1(searchString) {
var sh = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("JSON164");
var values = sh.getDataRange().getValues();
for(var i=0, iLen=values.length; i<iLen; i++) {
if(values[i][0] == searchString) {
return values[i][1];
}
}
}
Explained
The value var will retrieve all values at once. The single result var will capture the first index found in the range. After that, the result of the adjacent column will be shown, analogue to values[i][0].
Usage
=onSearch1("test")
Note
The findIndex function is none-exsisting in Google Apps Script. If you want to seperate them, then use this code:
function onSearch2(searchString) {
var sh = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("JSON164");
var values = sh.getDataRange().getValues();
var i = findIndex(values, searchString);
return values[i][1];
}
function findIndex(values, searchString) {
for(var i=0, iLen=values.length; i<iLen; i++) {
if(values[i][0] == searchString) {
return i;
}
}
}
Example
I've created an example file for you: findIndex |
H: Sum if date is in range
I have a table of random dates A and a sum for each date B.
The sum is over all the amounts in D, where the date in C is before the date of A.
So B3 is D1+D2+D3+D4+D5+D6 because the date in A3 is past the date in C6.
How could I do this with a formula?
A B C D
---------------------------------------
2.3.2013 45 1.3.2013 45€
6.4.2013 90 1.4.2013 45€
5.8.2013 270 1.5.2013 45€
1.1.2014 315 1.6.2013 45€
3.1.2014 315 1.7.2013 45€
5.2.2014 315 1.8.2013 45€
9.2.2014 315 1.9.2013 45€
AI: Try this formula for B1, copy-paste (or drag across) to other cells in column B:
=SUM(FILTER(D$1:D; A1 > C$1:C))
The FILTER includes only values from column D which have a corresponding value in column C which is lower than A1. So for row 1, this would mean =SUM(FILTER(D$1:D; 2013-03-02 > C$1:C)).
When copying this formula to the other rows, A1 should be automatically replaced with Ax, where X is the row number.
I have created an example spreadsheet to demonstrate.
Note that I use ; in the formula. Depending on your locale settings for Google Spreadsheets, you might have to replace ; with ,. |
H: How do I prepend a string to a column of cells in Google Spreadsheets?
I imagine this is laughably simple but I just don't know what to do. I have a column (A) of cells with strings in them and I want to simply prepend each string in every cell with a web address:
A
--------
1| /foo/bar/
2| /foo/foo/
3| /foo/baz/
...
I want:
A
--------
1| http://foo.com/foo/bar/
2| http://foo.com/foo/foo/
3| http://foo.com/foo/baz/
...
AI: You can do that with a formula, so that e.g. column B will display the URL:
="http://foo.com" & A1
(the & is the string concatenation operator in Google Spreadsheets)
Put this formula in B1, and copy-paste it to other cells in the B column. |
H: SUMIF not working
I have values in column L and I'd like to SUM what is in column B IF the value in L is greater than 1600
Here is my formula:
=SUMIF(L2:L,">1600",B2:B)
I'm getting a result of 0 in the cell currently (expecting some numbers as there are values in L larger than 1600)
AI: Looks as though, as with Excel, the string functions (LEFT, MID, RIGHT) return strings regardless of whether these look like numbers. So a solution is to force conversion with =VALUE hence:
=VALUE(LEFT(A2,FIND("x",A2)-1))
in ColumnL should provide the input required for the existing =SUMIF formula to function as intended. |
H: Google Groups holding legitimate email from subscribers as spam
I'm an admin using a free version of Google Groups as an email list.
Lately, Google Groups has been holding a lot of legitimate emails from subscribed users as spam. Worse, it hasn't been informing me of this quickly so I can approve those messages in a timely manner.
I've found a Google Groups for Businesses, but not for free users like myself. Is there such a help forum?
Is there anything I can do to get Google to not sequester my users' email as spam?
AI: @Steve, according to this post from 2012, Google doesn't allow you to disable spam moderation in free Google Groups. You can disable it in Google Groups for Business by following these directions, although I know that doesn't directly help you in this situation.
I assume that you are getting an email from Google around 3 days after the "spam" mail is caught by the filter (that was the time window I observed). Does the email contain a link where you can view the moderation queue in its entirety (it does on Google Apps for Business)? If so, you can manually check that page daily to make sure nothing gets caught for more than 24 hours.
Your second option is to drop the ~$60/year on Google Apps ($8-12 for domain, $50 for one user/year) and set up the group that way. You can create an administrator user to manage the domain and then create an unlimited number of groups (no increase in licensing costs). |
H: Multiple conditions look up
I am having trouble building a spreadsheet, the problem its my data table. I want to be able to pull data from the table, something that will match data from column A, and column B (on the same row) and give me the value in C.
Something like a double VLOOKUP matching two inputs (cells) to the table and giving me the third with the data I want.
AI: Perhaps something like this:
=query(A:C;"select C where A=x and B=y")
with x and y replaced by what it is you wish to select.
Since sight of your spreadsheet, I am not sure of what you would like where but suggest:
insert a column immediately to the right of D in Fleet Log and in E2 enter:
=C2&"|"&D2 and copy down to suit.
in Sheet5 Cell C3:
=iferror(vlookup(C$2&"|"&B3,'Fleet Log'!E:F,2,0),"")
and copy down to suit.
I suspect =VLOOKUP will not work 'backwards' (ie to its left) but INDEX/MATCH may suit. Keep the formula from 1. above but put it in G2 instead (without inserting a column). Then in Sheet5 Cell C3 copied down to suit:
=iferror(Index('Fleet Log'!$E:$E,match(C$2&"|"&$B3,'Fleet Log'!$G:$G,0),""))
I'm getting curious to know whether this will work/suit! |
H: Google spreadsheets only shows 6 fonts for me?
Reading around various sites online it seems like you can use any number of Google's web fonts on their Spreadsheets web app, however I only have 6 listed:
I've noticed some people have had the option to add more fonts suddenly appear when they change their language to English, but mine is already set to that (UK) and after changing it to English (US) I still don't get the option for more fonts.
Any ideas why this could be please? I'm using the 'new' spreadsheets too.
AI: From what I can see, only Documents and Presentations have the capability for adding more fonts. Spreadsheets seems to be limited (at least for now) to the six listed. (I see several threads on the Google Product forums complaining about this.)
One thing that seems to have worked for some people is to upload a spreadsheet in a different format (e.g., Microsoft Excel) with the desired font and convert it to a Google Spreadsheet. From what they report the font is retained. How useful that would be for new information added to the spreadsheet remains to be seen. |
H: Is there any way to tell Google to use a particular account for all Google services by default?
I typically use 2 Google accounts simultaneously in my browser. So whenever I fire up any Google service like Google Maps or YouTube or Google Search, it uses one of the accounts. The problem is that I don't want that account to be used and no matter how many times I switch the account for these services, they seem to default to same account.
Is there any way to tell Google to use a particular account for all Google services by default?
I am not talking about using Google account to sign in to third party websites. I am talking only about Google's own services.
I am using Chrome if anyone is going to suggest client-side solution.
AI: Log out of both accounts. Then, log in to the Google Account you want as your "default". After that, use "add account" to log yourself in to the second account.
Google should use the first account you logged in as a default whenever you visit one of their apps.
You might need to clear some browser caches to be sure you sign into the accounts in the right order. |
H: SUMIF and FIND combined?
Here are my columns:
Column A has values representing screen resolutions such as "1366x768"
Column L has a formula to pull the first half of the numbers (the pixel width) out of the text string =VALUE(LEFT(A2,FIND("x",A2)-1))
Column N has my criteria; literal values that can go in the formula like ">=1600"
Column O has the SUMIF formula =SUMIF($L$2:L,N3,$B$2:B)
I'd like to have only one formula so I can do away with the separate column for the number values.
Tried this but got "0" in the cell:
=SUMIF(VALUE(LEFT(A2:A,FIND("x",A2:A)-1)),N3)
AI: Untested but please try (if only to satisfy my curiosity!):
=arrayformula(SUMIF(VALUE(LEFT(A2:A,FIND("x",A2:A)-1)),N3,$B$2:B)) |
H: Using "if" (or other function) to recognize a string and sum values
I started programming just a few weeks ago, got a grasp on the concepts and been evolving on it, since I have certain activities with spreadsheets, I decided to take it to the next level and got stuck on how to make a formula.
I'm manually gathering all the data and I need to keep it as it is, since it's important for the analysis to know if a team is playing at home or not.
Right now, I have something like this it would be A1, B1, C1 and D1. For example:
| Newcastle | 1 | 2 | Liverpool
I'm analyzing one club at time. So I need to know if the team on A1 or D1 is the team that I'm analyzing, then I need it to check how many points this team got from the match, so it needs to recognize what the result on B1/C1 is, and which team owns the result. The team on A1 owns the result on B1, and the team on D1 owns the result on C1.
I hope it's enough to enlight whoever can help me.
Maybe there are better functions to use than IF like I said in the title, if you can point it out, it would be also great. Right now I'm trying to work with nested IF functions.
AI: Please try:
=if(B1=C1;1;if(B1>C1;0;3))
IF the team to be analysed is in F1 then in E1 and copied down:
if(and(F$1=A1,B1>C1),3,if(and(or(F$1=A1,F$1=D1),C1=B1),1,if(and(F$1=D1,C1>B1),3,if(and(F$1=A1,B1>C1),3,0))))
might suit. It is the nature of spreadsheets that locations (cell references) are very significant and with the limited information in the question difficult to optimise what appears an ugly formula. |
H: A function opposed to SUMIF?
I have a huge list of matches between clubs and I want to calculate the goals for and the goals against.
I could find a way to calculate the goals for, using:
=SUMIF (A35:A46, "Liverpool", B35:B46) + SUMIF(D35:D46, "Liverpool", C35:C46)
The team being calculated the number of goals is organized like
Newcaste United 1 2 Liverpool
(where Newcastle is A1, NewcastleGoals is B1, LiverpoolGoals C1 and Liverpool, D1).
What I need is to find a function that is opposed to SUMIF so I can calculate the goals against Liverpool like SUMIF, instead of collecting the result cell by cell with the sum function.
Basically, the logic would be like the first example, but ignoring "Liverpool" and calculating all of the other strings:
=SUMIF (A1:A38, if not Liverpool, B1:B38) + SUMIF(D1:D38, if not Liverpool, C1:C38)
Thank you!
AI: Have you tried <>?
=SUMIF (A1:A38, "<>Liverpool", B1:B38) + SUMIF(D1:D38, "<>Liverpool", C1:C38)
Not that the <>-symbols should be inside the quotation marks. |
H: Adding Multiple YouTube Posts in WordPress
Recently I started a WordPress site to share my music creations which I have already uploaded to YouTube. So I added them one by one as Posts, but when I play them, all the Posts plays the same track that I uploaded last. What's wrong with this? Can any one suggest me a fix?
Wizard Of Music
AI: Use YouTube embedded iframe through their share feature listed under the video and copy it into your post as HTML. This was answered through comments to the original post, but for anyone requiring a full answer.
Visit your YouTube video and click on "Share" below the video.
Next click "Embed" to get your HTML code.
Copy the iframe code it provides and paste it into your WordPress post to embed your YouTube video. |
H: importXML strips leading zeros in Google spreadsheet
I extract one number from an XML online file with Google Spreadsheets. Sometimes the number starts with a zero but the spreadsheet removes it. I'm sure the format of the cell is 'plain text' (I press 020 and 020 appears), but after entering the formula it's like if it became 'number'.
Assuming this data XML:
<sudoc service="ean2ppn">
<query>
<ean>9782870098585</ean>
<result>
<ppn>080253431</ppn>
</result>
</query>
</sudoc>
Using a formula such as:
=IMPORTXML("http://www.sudoc.fr/services/ean2ppn/9782870098585","/sudoc/query/result/ppn")
will return 80253431 whereas I would like it to return 080253431. How might I achieve this?
AI: With the formula TEXT(number, format) we can force the display of zeros.
In my case the formula is now: =TEXT(IMPORTXML(linkOfData,xpath), "000000000") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.