I'm trying to write an if else statement in Google Sheets.
I want the value in cell B2
to dictate what the value you will be in cell D2
. If the cell B2
is less than 12 than I want D2 = 17
, if B2
is less than 15 but greater than 12 then I want it to equal to 16 and so on and so forth as shown by the code above.
Google Sheets If else formula
How can I keep app config in the cloud such that it is editable in a user-friendly way?
Currently I keep a list of people who need to be alerted to certain events in a Google Spreadsheet. I share this spreadsheet between the appropriate admins so they can update it. I use the Sheets API to get data from the appropriate cells.
I found this to be a bit clunky, so I hacked something together with https://form.io. It works pretty well - you can design a form, do a submission of the form and then send your admins a link to edit that submission using the form. You can grab the data behind that singleton submission by API from your code.
But I'm thinking there must be a better tool for this?
Zapier have this: https://zapier.com/help/create/storage-and-digests/storage-examples-in-zaps , but it's geared toward maintaining state rather than configuration.
This seems like a common problem - surely there's a better way?
Need to create a formula with the operand in a different cell in Google Sheets
For eg .
Existing formula which works
Query(A4:K,"Select A Where I = > 30%")
should be replaced by
Query(A4:K,"Select A Where I = "&N1&"")
with N1 containing value '>30%'
Appreciate any help
Getting lots of spam on an alias to my Outlook.com account
Recently, I started getting lots of spam emails to (mainly) an alias to my Outlook.com account. Those spam emails are not caught my Outlook.com spam filter and end up in my Inbox (I get more than 20 every day). Most of these emails are obviously spam; e.g., emails without content, emails with weird fonts in the subject, or emails that reach my inbox and they are "important" flag already set!
I tried blocking the sender, but those spammers are "smart" enough to use different sender email every time. I also added the SMTP server to the blocked senders' list, but that did not have any effect.
Given that I would like to keep the alias:
- What options do I have to block those spam emails? Or,
- How to block all emails to this alias, except if they are from "known" senders?
Facebook; Posted comments on blogs goes to FB
If i comment on a blog which comment section has a Facebook Comments Plugin my comments go to all my FB "friends". How can this be prevented?
How to Automatic Reply to Sender if email contains certain words?
We have G Suite (Gmail) email, and we have the same question every day. We thought about Automatic Replies to emails that came with certain words.
We are looking for an (even paid) service (which is not Outlook) that will check if an email (subject+body) contains certain words and will be auto replied with a specific email to those words.
For example: a mail having the words "world" and "cup", will be sent an auto reply email with "Welcome to the football team" in the subject. Or for example: If you send "Package" and "Delivered", the sender will receive a "Thank you" email.
I've checked Freshdesk and automate.io but they didn't really meet our expectations.
Preview Excel file attachments in Google Mail (cell format settings)
When I open a preview of an Excel File I got as an attachment in Google Mail, Google changes all the date formats to "US style"MM/DD/YYYY
although the original file uses "German format"DD.MM.YYYY
.
Is there a way to prevent this, or show all dates in my desired format (DD.MM.YYYY
)?
I already checked that the language the Account-Settings (myaccount.google.com) under Data & personalization -> language
is set to German (Germany)
.
HTML discriptive text pop up in Gmail
The pop up in Gmail every time the mouse cursor goes over it is crazy. Can it be turned off?
How to use the PIXLR editor on Google Drive images
I am trying to use an editor in Google Drive images — the PIXLR editor —, but is giving me errors as shown in the screenshot below.
I had an image which when I wanted to open
In last screenshot you can see I get a 404 not found error and this is not only for this image. Any screenshot which I want to open with this app in Google gives me this 404 not found error.
Any idea why this is happening?
Google Sheets split by " ,"& add new rows
Write both values and formulas at once in Google Apps Script
The row in my spreadsheet has format
<value>, <formula>, <value>, <formula>, ...
I need to update this row. Indeed, I can't use range.setFormulas, because it has values and I can't use range.setValues, because it has formulas. The only way I found - to set by one value, but this is very expensive if I have a lot of cols in my sheet.
Is there any way to set both formulas and values in one network request?
PS. To set value via setFormula('"' + str + '"') is not very good idea
Edit a post made in multiple languages
Our Facebook page is set up in two languages. However, once posted I can't seem to be able to edit the post in the second language. Even if I switch default language and click edit it only shows up in the first language.
Any help?
Convert any image to copy & paste icon, is there any way?
I would like to add an icon to my Twitter bio but it is not available on Twitter emoticons.
So, I wonder if there is any way to convert an image to a copy & paste icon to be able to add it in my Twitter bio and of course, I want it to be visible for anyone who visits my profile through web browser or Twitter app.
Does someone know if this is possible?
Add single value as constant line to diagram
I have a range A1:B
of which I make a simple line diagram. I also have a single value in another cell, say C1
, which I want to use as a constant reference line in the diagram.
I know I could populate the whole C
column with C1
and then extend the diagram to the range A1:C
. But I was wondering if there is a better way to add a value as a constant line in a diagram without wasting a whole column.
Example data
Year Expenses My Goal
2007 500$ 500$
2008 400$
2009 550$
2010 450$
2011 300$
Move labeled subset of Gmail messages to another account
I want to move my messages from one Gmail account to another, but not all and that is the problem. All manuals in the web shows how to set up forwarding/import that moves all messages, but I don't want to do that, I want to move messages by some label.
I tried email import feature making target messages unread beforehand, but anyway it imported all mailbox, both read and unread.
Is there a way to more fine-grained import?
Thanks.
How can i get data from Google Sheets to Google Forms dropdown list?
I have some data over Google Sheets file, i want to get Google Forms dropdown list to be updated automatically from that list.
Is it possible?
Thanks
Assigning ID automatically using Arrayformula and text
I'm probably approaching this wrong but I'm trying to automatically assign an ID to an item, I'd like the format to be C#### where #### starts with 0s and is assigned as 0001.
The expected output would be C0001, C0002, C0003... C9999
={"UID"; ARRAYFORMULA(if(D2:D="", "", ("C"&(text(row(D2:D)-1), "####"))))}
Without the text formatting, it has no issues assigning the first item as C1. If I assign the preceding 0's, it would generate as C0001... C00011 as opposed to C0011.
Thanks in advance for your help.
How can i add search bar above dropdown menu on Google Forms?
There are around 550+ items on the dropdown list, is it possible to filter them out?
G-suite to Salesforce Attribute mapping
I’m running into an issue while mapping attributes from G-suite to Salesforce.
I’ve setup the following environment:
G-suite for Business &
Salesforce lightning sandbox
SSO (SAML2.0) is setup between the two and G-suite is the identity provider.
User provisioning is enabled and I am able to map basic user information (name/email) from G-suite to Salesforce.
I would like to map more attributes and not just the basic user information and here is where I am stuck. I can’t for the life of me figure out which attributes to map and which values are expected.
I would like to fill ‘User license & Profile
While scooping around in G-suite user provisioning, there is an attribute from which I assume it might have something to do with User license
called entitlements
.
Google recommends using the SAML Name ID attribute mapping
for this, but can’t provide any further information on this issue.
Salesforce support informs me that this issue is out of scope and sents me to Google for more information.
Any insights on this issue are greatly appreciated.
I am trying to create a data entry using google apps scripts whihc should add user input to the sheet
here are the two files that i am using userform.html
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<div class="container">
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">account_circle</i>
<input id="techname" type="text" class="validate">
<label for="techname">Tech Name</label>
</div>
<div class="input-field col s12">
<i class="material-icons prefix">phone</i>
<input id="tel" type="text" class="validate">
<label for="tel">Telephone</label>
</div>
<div class="input-field col s12">
<button class="btn waves-effect waves-light" id= "btn">Add
<i class="material-icons right">send</i>
</button>
</div>
</div><!-- End Row-->
</div>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script>
var TechName = document.getElementById("techname");
var Phone = document.getElementById("tel");
document.getElementById("btn").addEventListener("click",addRecord);
fucntion addRecord(){
var TechNameData = TechName.value;
var PhoneData= Phone.value;
google.script.run.appendData(TechNameData,PhoneData);
Logger.log(TechNameData);
}
</script>
</body>
code.gs
function showUserForm(){
var template = HtmlService.createTemplateFromFile("userform");
var html = template.evaluate();
html.setTitle("Data Entry");
SpreadsheetApp.getUi().showSidebar(html);
}
function appendData(TechNameData,PhoneData){
var ws = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Data_Entry");
ws.appendRow([TechNameData,PhoneData]);
}