I'm using the below formula and want to collect the data from the following columns but the last part of the formula I'm using is only collecting if the answer is 'Yes'. I want it to collect for both 'yes' and 'no' responses (or any response) whilst keeping the filtering the same as below.
=FILTER({'Form responses Original'!AM3:AM,'Form responses Original'!E3:E, 'Form responses Original'!B3:B, 'Form responses Original'!G3:G,'Form responses Original'!L3:M},UPPER('Form responses Original'!F3:F="yes"))
Then you no need FILTER() function. Just try-
={'Form responses Original'!AM3:AM,'Form responses Original'!E3:E, 'Form responses Original'!B3:B, 'Form responses Original'!G3:G,'Form responses Original'!L3:M}
Or with FILTER() like
=FILTER({'Form responses Original'!AM3:AM,'Form responses Original'!E3:E, 'Form responses Original'!B3:B, 'Form responses Original'!G3:G,'Form responses Original'!L3:M},UPPER('Form responses Original'!F3:F<>""))
Or can use QUERY() function.
Related
I am struggling with my query. It is only showing my header rows. I would like the choice of “staff” or “student” match column C on Responses tab and then the “1.) 11/3/2022 for Boy’s Basketball” match Column E on Response tab. When those two conditions are selected I want to see just the data matching staff and that event. I’m at a loss of how to get this to work.
https://docs.google.com/spreadsheets/d/1icO6CI_xM75jH8PSFSMFrWYZqnBLEIEBNZZI-oDAm_s/edit
Your formula attempt is:
=query('Form Responses 3'!1:103,"SELECT D,F WHERE C = '"&A1&"' and F = '"&B1&"'")
That fails because your search keys include an apostrophe '.
The easiest solution is probably to express the same through filter(), like this:
=filter(
{ 'Form Responses 3'!D2:D, 'Form Responses 3'!F2:F },
'Form Responses 3'!C2:C = A1,
'Form Responses 3'!F2:F = B1
)
See your sample spreadsheet.
I created a Google Sheet that will record entries from Google Forms. There are many people that submit their respective facility's information before this google Forms.
I have pasted all data into that Google Sheets which records the entry from Google Form Whenever any new entry is submitted through google Forms it Overwrite the data that i have pasted manually.
I hope there will be solution to it. Your help will be much appreciated.
Is this the Form Responses Sheet? The issue is that forms doesn't detect whether that row is populated or not. It depends on the count of responses rather than the content of the sheets.
I recommend that you create a sheet similar to the Form Responses where you do your manual inputs there, while the Form Responses sheet will handle form submissions.
Then you collate both sheets' data into another sheet which combines both form data and manual inputs.
Form response sheet:
Manual input sheet:
Output:
Step by step:
Add the header first
'Form Responses 1'!A1:C1;
Add both data from form and manual sheet, then sort them using the timestamp (1st column)
sort({
filter('Form Responses 1'!A2:C, 'Form Responses 1'!A2:A <> "");
filter('Manual Inputs'!A2:C, 'Manual Inputs'!A2:A <> "")
}, 1, true)
Wrap them all in a curly bracket and output as 1 formula.
Final formula:
={'Form Responses 1'!A1:C1;
sort({
filter('Form Responses 1'!A2:C, 'Form Responses 1'!A2:A <> "");
filter('Manual Inputs'!A2:C, 'Manual Inputs'!A2:A <> "")
}, 1, true)
}
Submitted another form response:
So I'm using Google Sheets and Google Forms, and in Google Sheets, I'm using a VLOOKUP formula like this: =IF(B3="","",VLOOKUP(B3, tickID,5,false)) where tickID is a named range. The tickID is set to 'Form Responses 1'!A2:G102, however it changes to 'Form Responses 1'!A3:G102 when I receive a response.
Can somebody help me? Thank you!
Use full-column references:
'Form Responses 1'!A:G
My Table looks like this
This is a result of using
=filter('Form Responses 1'!A:BJ,'Form Responses 1'!F:F=subjects!A19)
Now all I have to do is, ignore the blank cells and put in the last 3 columns.
I mean, columns N,O,P should come to H,I,J and similiarly other columns towards right of column G should come to columns to H,I,J.
Please help
use:
=FILTER({'Form Responses 1'!A:G,
TRIM(SPLIT(FLATTEN(QUERY(TRANSPOSE(
IF('Form Responses 1'!H:BJ="",,'Form Responses 1'!H:BJ&"♥")),,9^9)), "♥"))},
'Form Responses 1'!F:F=subjects!A19)
Change A4 to:
=filter('Form Responses 1'!A:G,'Form Responses 1'!F:F=subjects!A19)
Put this to H4:
=ArrayFormula(IFERROR(SPLIT(REGEXREPLACE(TRANSPOSE(QUERY(TRANSPOSE(filter('Form Responses 1'!H:BJ,'Form Responses 1'!F:F=subjects!A19)&"♦"),,ROWS(A4:A))),"^(♦ )+|(♦ )*♦$|(♦ )(♦ )+","$4"),"♦ ",FALSE),))
Sample:
This is basically a continuation of my previous question. But my intended output is outlined in a sample Google Sheets:
https://docs.google.com/spreadsheets/d/1k1wQqATlhOuS_ztqtpz3FERVY-g-34rIDARbfOwdtV4/edit?usp=sharing
The intention is there is Control Number in Form Responses 1 Sheet COLUMN AC that serves as a tracker and a search key. Form submissions can add an update or close that Control Number which is indicated in COLUMNs B and C. I would like to add a number appended to UPDATE TICKET in COLUMN B entries when they are filtered and added to a collated data entry similar in Sheet 1.
My problem arises when using COUNTIFS or COUNTIFS since the general forumula in Sheet 1 has dissimilar array sizes (and thus a CONCAT error) and the COUNTIF does not count the per element of the filtered array (in the sample sheet, it only appends 2 to all entries.
=arrayformula(filter('Form Responses 1'!$B2:$B,'Form Responses 1'!$C2:C=INDEX('Form Responses 1'!$C2:$C,COUNTA('Form Responses 1'!$A2:A),0))&" "&IFERROR(COUNTIF(filter('Form Responses 1'!$B2:$B,'Form Responses 1'!$C2:C=INDEX('Form Responses 1'!$C2:$C,COUNTA('Form Responses 1'!$A2:A),0),'Form Responses 1'!$B2:$B="UPDATE TICKET"),filter('Form Responses 1'!$B2:$B,'Form Responses 1'!$C2:C=INDEX('Form Responses 1'!$C2:$C,COUNTA('Form Responses 1'!$A2:A),0),'Form Responses 1'!$B2:$B="UPDATE TICKET")),"")&":"&" "&filter(TEXT('Form Responses 1'!$H2:$H,"dd/mm/yyyy HH:mm"),'Form Responses 1'!$C2:C=INDEX('Form Responses 1'!$C2:$C,COUNTA('Form Responses 1'!$A2:A),0))&char(10))
I also tried adding COUNTIFS additonal rule condition such as row(filteredarray),=<row(filterearray) to output the intedend counter 1,2,3, etc. per match (similar to how the control number works) of the UPDATE TICKET but the ROW function doesn't seem to accept filtered array as a cell reference. Lastly, I want to omit the counter on the last entry which is a CLOSE TICKET. I detailed my trials and the intended output in the linked Google Sheets.
It was difficult to follow what you'd done so far, but you were clear with your goal, so i redid what I needed to to get there. Any formulas in yellow are mine. You'll find this solution on the tab called MK.Help in cell A2.
=ARRAYFORMULA(SUBSTITUTE(TRIM(SPLIT(TRANSPOSE(QUERY(MID(QUERY({"00000"&Form!C2:C&Form!AD2:AD&":|",TEXT(ROW(Form!A2:A),"00000")&Form!AE2:AE&": "&TEXT(IF(Form!H2:H,Form!H2:H,Form!A2:A),"m/d/yy h:mm")&CHAR(10)&CHAR(10),Form!B2:B},"select MAX(Col2) where Col3 is not null group by Col2 pivot Col1"),6,100),,9^9)),"|")),CHAR(10)&" ",CHAR(10)))
Form Reponses 1 - AE2
=ArrayFormula(IF(C2:C="",,"UPDATE TICKET "&COUNTIFS(C:C,C2:C,ROW(A:A),"<="&ROW(A2:A))&": "&TEXT(A2:A,"dd/MM/yyyy HH:mm")))
Sheet1
=ArrayFormula(REGEXREPLACE(REGEXREPLACE(SPLIT(TRANSPOSE(QUERY(QUERY(FILTER({'Form Responses 1'!C:C&"♥",'Form Responses 1'!AE:AE&"♦"},'Form Responses 1'!B:B="UPDATE TICKET"),"select max(Col2) where Col2 is not null group by Col2 pivot Col1",),,10^7)),"♥"),"(?:^\s*)|(?:\s*(♦)\s*)|(?:♦\s*$)","$1"),"♦",CHAR(10)))