Auto email when a cell is populated - google-sheets

I will explain since coding is many years behind me but I feel this can be done.
We have a form that our employees fill out when they need to return to a job. This works fine, sends them an email that it was received and creates the sheet in google.
We then have the CSR fill out their name once they set up the callback.
Simple right?
Yes and no.
The employees know it was received but not that column c2 (or whatever) is now populated with the CSR name and was set.
What I am looking to do is have column c2 trigger an email back to the employee who filled out the form with certain data from the google sheet so they know it was addressed, by who and when.
I have seen similar codes but nothing that does exactly this. I can play with the column names etc. but I am cannot get it started.
Yes, brand new with google sheets and the last programming I did was DOS and Advanced Revelatinos about 20 years ago.
For argument sake here are the headers:
Date employee_email Customer Address Reason date_needed set_up_date CSR (CSR would be the trigger and it would send the customer, address, set_up_date and CSR name to it.
It sounds so simple yet after 6 hours at my EMT shift (less two calls) I have not gotten far.
Thank you again.
Any help, direction or solution would be great!

Related

Can I set up a Google Sheet to copy everything from another sheet, except for cells with a specific word count?

I have a Google Form set up, and anybody can submit a response an unlimited number of times. (It has to be this way. I can't make people log in.)
The issue is that there's a spammer who's using some website or bot to submit thousands of spam responses. I've tried using the captcha add-on from xfanatical (which adds a question that makes them fill out a particular code, which changes every minute), but the spammer figured out how to get past that.
One thing I've noticed, though, is that each spam submission is exactly 100 words. So one way I can think of to solve this is to have a sheet that returns all rows from the "Responses" sheet except for the rows where the submission is exactly 100 words.
Edit: I've also noticed that all the submissions start with a space, so that could be used too.
Let's say that your Responses 1 sheet has the answers in columns A, B, C, D, E etc. all the way to column Z
Let us now suppose that it is column C that holds the answers that start with a space.
Follow these steps:
Please create another tab and name it Clean.
Place the following formula in another cell A1
=QUERY('Clean'!A1:Z,"select * where not C matches '\s.*'")
Enjoy a spam free answer sheet :)
As mentioned by the OP, one can also use
=QUERY('Responses 1'!A1:Z,"select * where not C starts with ' '")
Functions used:
QUERY

Zapier to Monday.com, is there a way to retrieve or save the numerical monday pulse ID to reference later?

So I have an asknicely.com board that we get customer survey responses from.
I have a Monday.com board where I track these responses and our follow ups for management.
I am using a zapier zap, that filters the responses, that works. BUT it currently puts all the data I want into a new pulse in the first column only. Someone has to move it all manually into each column (me) after it arrives.
I am trying to develop a new zap that creates the pulse then puts the data into the correct columns. I have a zapier structure like this.
When this happens … New Response in AskNicely
Do this … New Pulse on a Board in monday.com
Do this … Update column B in Monday.com
Do this … Update column C in Monday.com
... etc.
My issue is that in order to update a now existing pulse (3 onwards) I have to populate Pulse Id1 2 3 field which accepts only a number.
Here are my questions;
Can I get Zapier to "catch" the pulse ID upon creation so I can save and reference it later?
Or can I retrieve the numerical pulse ID by searching with the text field I first created the pulse with? pulses.getID().contains(someaskicelyTextField);
Or lastly, is there a better approach to this than the one Im using?
I have a java background and its frustrating using these visual widgets instead of working in the actual code to do the above. I am new to both products so if this has been asked before I apologize.
spencemw, you can get the pulseID when you configure the zap.
On the 'Update column value' step, on the item ID, reference the parameter from the previous step.
(Make sure to click the 'show all options')
#Roy Nevo answered. Here are the screen shots for finding the data I was looking for.

The data in my Google Sheet is not appearing in the correct cell

I am trying to create a spreadsheet to simplify our account returns. I am using a variety of named ranges to make life easier. I have created a test sheet which automatically copies the inputted cost to its appropriate category.
I am having a strange issue where the cell I am expecting to see the data in is incorrect. I am wondering if the 2 data validation lists I have created could be causing the issue. I had originally copy / pasted from an old sheet but as I wondered if some strange formatting may have been carried over which is causing the issue I have since manually entered all data to remove this as a potential cause.
https://docs.google.com/spreadsheets/d/1KC8FsVNQZfWtey5TvPDxCxvDhRrFVHdsbDJWmZu73wg/edit#gid=0
This is the test sheet in question. The cost for entries Test 9 & Test 10 should be in the Info Books and Stationary sections retrospectively but they are ending up in the wrong places.
I am not a spreadsheet expert so I apologise if I am missing something blatently obvious. A friend advised me to ask on Stackoverflow after many hours lost to this problem.
Thanks in advance for any help you may be able to give.
Use the third parameter in vlookup set to false (or zero)
=IF(VLOOKUP(companyOfPurchase,suppliersAndCategories,2, 0) = typeOfPurchase,totalOfReceipt,"")
and see if that works?

Automatically extend a Sheets formula for each new Google Form response

I have created a Google Form that logs new customers. Since the business is mostly run on cellphones during the day, I wanted to make it as mobile-friendly as possible.
One of the form response items is a phone number, and to create a call option that will dial when accessed on a mobile device, I can use the formula:
=HYPERLINK("https://ctrlq.org/call/"&E3, "Call "&C3)
This works great, but I have to manually extend it each time a new response is submitted. Is it possible to tweak the formula so that every new entry will have that formula applied to it, increasing the E and C row references by one?
E.g. my next entry would update the formula to call E4 and display the name from C4.
The other option is to do that manually after every entry but I'm hoping I can avoid that.
Try,
=arrayformula(if(len(C3:C), HYPERLINK("https://ctrlq.org/call/"&E3:E, "Call "&C3:C), text(,)))

Write protect cell after first user entry in Google Spreadsheets or Microsoft Excel

How to write protect a cell once any user has written a value to it? Is there a formula? Here's what I'm trying to accomplish. Here's an empty monthly planned tests sheet on Google spreadsheets. About 60 teachers will have access to it. Their goal is to write in the name of their subject in a certain cell, which will mean they will carry a test on a certain day. Once a certain teacher writes the value, the cell needs to get closed from further edits by other teachers [first in, first out principle].
Some teachers would rewrite the values of their colleagues, some would do that by accident, etc. I would want the system to close the cell and even show a msg if that is possible to avoid rewrites or additions.
According to the law, we can have only 1 test per day in grades 1 to 7, and still some teachers would still try and write their subject when done on paper. Some would horrify me with their handwriting, which requires me to make phone calls, e-mails... So, I'm trying to make a digital transition.
Would appreciate any help. Scripting anyone?
For Google Spreadsheets, you have two options:
Hard way: create a custom script function that set cell permission. You attach the function to the sheet with installable trigger so that it will run under document owner permission.
Easy way: use Google Forms. You can create survey forms that function as the input interface. The editor can only submit new data but not view or edit existing data. You can set the spreadsheet permission to read-only if you want teachers to review data.

Resources