I'm creating a request/problem form in google form and responses are viewable and editable in google sheet. In the google sheet, I would like to have a timestamp checkbox for myself to whenever I'm done with the problem.
It is look like this
...
Also, This is the function I put in column K(the timestamp) and the column J is the checkbox column.
=ArrayFormula(IF(ROW(K:K)=1,"DATE",IF(ISBLANK(K:K),"DATE",IF(J:J = true,IF(K:K<>"",K:K,NOW()),""))))
The column K function in sheet
The function for column K work as intended and I just need to manually add the checkbox in column J which is fine enough.
But, the problem is happen when a new form is submitted and update the google sheet. Error message appear " "array result was not expanded because it would overwrite data in K81."
The problem
My objective as I mention above is to have a timestamp checkbox for each problem submitted by google form. Is there are any way to work around this?
This error comes up when a function returns an array that is too big to display because something's in its way.
It could be that K81 has a whitespace character in it. Select the whole column under K1 and press Delete. It should remove any content that's not as obvious that it's there.
Related
I'll do my best to explain this. So, I want to use Arrayformula to autofill column based on a condition.
=IFERROR(QUERY(ARRAYFORMULA(IF((Research!$B$1:$B$100)="Yes",REGEXEXTRACT(Research!$A$1:$A$100,".*"),)),"WHERE Col1 is not null")).
It does what it's supposed to, but the problem comes if that condition changes at any point (so it's not true anymore) the value in the cell filled with the array will get deleted but will also offset all the other rows after it (same happens if I insert new row with 'Yes' value in between other rows, in my Research sheet from where I extract my data from).
Is there any way if I need to make changes to the condition in the sheet from where I extract data > and not offset everything else in the sheet where I use the array formula? (either delete the entire row if the value doesn't meet the condition anymore, or insert new row if it meets the condition (not just replace the value in previous cell in its spot, cuz then all the other fields are mismatched). I'm a beginner with excel, I hope that makes sense. Sheet ex
Condition in Main Sheet > Result in Array sheet
(these are the ok examples)
Changed value to yes for Agency 3 > Inserted in Agency's 5 place > and offsets everything after it
Please refer to the spreadsheet for my examples.
Method A: Separate the sheets of input and output
Method B: Input on Research and output on Initiative
Method C: Use Google Apps Script to 'avoid' offset upon change of Take? value. (example is not provided)
I'm posting information from a form to google sheets.
After the insert (which adds the last row), I want to do some apps script post processing. Before I do the post processing I want to fill in a couple of blank cells which are not submitted by the form, including the OFFEREXPIRATIONDATE column which should be set at :
=TODAY()+7
I've been reading https://www.benlcollins.com/formula-examples/array-formulas-forms/ , but I'm not sure if you can apply Arrayformulas to add new formulas into cells.
I tried putting the following in cell J2:
=ARRAYFORMULA({"TODAY + 7";J3:INDEX(J:J,IF(ISBLANK(I3),"",TODAY()+7))})
with the idea of checking if the row to the left is blank, and if not inserting the TODAY()+7 formula in, but this is giving a circular dependancy error.
How can I get this working?
Putting one of these two in J2 should do the trick:
Insert date in J unless I is empty:
=ARRAYFORMULA(to_date(if(I2:I="","",today()+7)))
Insert date in J unless I is #VALUE! or empty (in case you don't want to insert a date either when cells in I get an error):
=ARRAYFORMULA(to_date(IFERROR(if(I2:I="","",today()+7),"")))
I have a google form that has fields taking up 7 columns in the response sheet. I have reserved the 8th column to compute few fields (basically a formula) and generate a unique ID for that response. I know that when new responses are added, I can drag the box of the 8th column field all the way down to the given number of rows to auto-fill the column. But this type of auto-fill requires a manual effort. What I want is an automated system to keep filling in the column with my formula.
I have tried pulling the column down beyond the current number of rows in a hope for it to auto calculate when the new row is added but a new response simply overwrites the entire row instead of filling in just the seven columns which deletes the 8th column in that row.
The spreadsheet is
https://docs.google.com/spreadsheets/d/1HM2dDRtkF_KlQ8SKoeW2YmjP2dttYAk1_4iCYBVEN8o/edit?usp=sharing
The responses fill up to column H (Member #3) and my desired column is column I (Registration ID) which is aided by column J, K and L.
You can try using
=ARRAYFORMULA(IF(ROW(M:M)=1,"Registration_ID",IF(C:C="UM-DAE CBS, Mumbai", "cbs"&"_"&J:J, IF(C:C="ICT, Mumbai", "ict"&"_"&K:K, IF(C:C="IISER, Pune", "iiser"&"_"&L:L,"waiting for a response...")))))
Just some explanation:
//This one is just to label the first row as Registration_ID so you can replace M:M with any column you want.
IF(ROW(M:M)=1,"Registration_ID"
My first time answering in Stack Exchange so I'm not familiar with the formatting.
Also a heads up, if you wanted to use ArrayFormula() with an If(AND()) or If(Or()) function, just know that the ArrayFormula() requires you to use arithmetic functions like "*" or "+" instead.
So IF(AND(A,B)) will be IF(A*B).
Use the "CopyDown" add-on for Google!
On your Google Sheet that your Form posts to, click Add-Ons > Get Add-Ons > type "copyDown".
This add-on quickly & easily allows the sheet to automatically copy the formula from one of your top rows (adjustable) to the rest of the form's submissions.
Love it!
I have got a Google Spreadsheet that is using a lookup function to lookup name from another sheet according to their ID number but when the ID is entered using the submit form it creates a new row each time and therefore nothing is looked up from the other form.
This is my lookup function currently
=VLOOKUP(C2,'Student Details'!A:D,2,FALSE)
But I have also tried following other examples and put in:
=ArrayFormula(VLOOKUP(C3,'Student Details'!A:D,2,FALSE))
None of these formulas are working for me could someone please advice me where i am going wrong.
Thank you
Try using a range in your arrayformula. E.g: in row 2 try:
=ArrayFormula(IF(LEN(C2:C), VLOOKUP(C2:C,'Student Details'!A:D,2,FALSE),))
make sure the column where you want to use this formula is empty (no data or formula) from row two onwards.
It's simple but I am new to Google Sheets.
I enter a number in a field in a row. See img below.
When the number is entered I want it to turn into a hyperlink so it clickible.
Web Address example....http://idx.domain.com/details.asp?mls=77777777&aid=BB333833 Everything remains same. all thing that changes is the 77777777 (A2, A3, A4)
You can use onEdit() trigger. Set up an if statement, so that if the first column is edited change it's value to
"=http://idx.domain.com/details.asp?mls=" + your cell value + "&aid=BB333833"
Here is a similar question with an onEdit() trigger
Here is another example which shows how to check for the correct column.
There are plenty of similar question on this topic in SO if you do some searching.