I have created a Google Form. Data submitted through this form is automatically saved to an associated worksheet named "Answers". In the same document, I created a new sheet named "Presentation" for data presentation.
Data from "Answers" is imported 1: 1 using reference =(Answers!A1)
When a new entry is added from the form, it correctly appears at the end of the list on "Answers". Unfortunately, at the same time, the addressing in the "Presentation" spreadsheet changes by itself, as if the row had been deleted or something.
More details:
Content of 5 rows and 3 columns in "Presentation" looks like:
1 =(Answers!A2) =(Answers!B2)
2 =(Answers!A3) =(Answers!B3)
3 =(Answers!A4) =(Answers!B4)
4 =(Answers!A5) =(Answers!B5)
5 =(Answers!A6) =(Answers!B6)
When the third form is sent addressing in "Presentation" is changing by itself and looks like this:
1 =(Answers!A2) =(Answers!B2)
2 =(Answers!A3) =(Answers!B3)
3 =(Answers!A5) =(Answers!B5)
4 =(Answers!A6) =(Answers!B6)
5 =(Answers!A7) =(Answers!B7)
Then of course I can't see the value on line 3 of "Answers". If I send another form, it is like this:
1 =(Answers!A2) =(Answers!B2)
2 =(Answers!A3) =(Answers!B3)
3 =(Answers!A6) =(Answers!B6)
4 =(Answers!A7) =(Answers!B7)
5 =(Answers!A8) =(Answers!B8)
I have no idea where the error is or why it is. Do you have any ideas?
Use arrayformula in Presentation's tab. Put in row#1
={"title of column";arrayformula(Answers!A2:A)}
Related
This may be beyond my skill level in Google Sheets, and it's certainly straining my brain to think through, but I have two columns out a large spreadsheet (30000 lines or so) that I need to find matches between unique values on one list, and non-unique but specific values ONLY on another list. That is, I would need the following list to return only the values on the left that had a 3 in the right column every time that value appears on the left, not just for a specific instance.
"Unique" Identifier (can repeat)
Value
1
2
2
3
3
2
4
2
5
3
6
2
1
2
2
2
3
2
4
2
5
2
6
2
I have the following formula from another couple answers mocked up, but it doesn't get me all the way there:=UNIQUE(FILTER(A2:A,B2:B>0))
How can I get it to exclude the ones that have, for instance, both a 2 and a 3 in the right column for the same value in the left column?
Edit: To put it in more real terms (I was trying to keep it abstract so I could understand the basics), I have a Catalog ID and a Condition for items, and need to find all Catalog IDs that only have Good copies, not any Very Good copies. This link should show what I want to achieve:
https://docs.google.com/spreadsheets/d/e/2PACX-1vSjenkDS2Mk3t4kTcDoJqSc8AV6ONu4Q17K1HPaIUdJkb7dhdnbAt-CzUxGO3ZoJISNpGajUtFTGz8c/pubhtml?gid=0&single=true
to return only the values on the left that had a 3 in the right column every time
try:
=UNIQUE(FILTER(A:A; B:B=3))
update 1:
=UNIQUE(FILTER(Sheet1!A:A; Sheet1!B:B="Good"))
update 2:
=UNIQUE(FILTER(Sheet1!A:A, Sheet1!B:B="Good",
NOT(COUNTIF(FILTER(Sheet1!A:A, Sheet1!B:B<>"Good"), Sheet1!A:A))))
Trying to do a find function on a google sheet.
When I search for a specific string it errors out on the wrong cell because its locked heres an example.
data on tab 1
(data 1 data 2 data 3 data 4)
(data 5 data 7)
ETC ETC
Data on Tab 2
=find(A3, 'data on tab 1'!, 4)
when i would run something like this im getting locked to the 3 row on the first tab for pulling the data. Not from the actual spot i need to pull from.
This has been causing an error of
value# can't find data 3 in data 1 data 2 data 3 data 4.
What am i doing wrong?
https://docs.google.com/spreadsheets/d/1O4u_Cf_6reEiX8kNp8ZD2QKjaUHiNVUKBK831cI_zWg/edit?usp=sharing
Link to a fake sheet im working on that will allow me to see what i need. you all have editor access to this. so if you see where i need it go ahead
looks like there is an incomplete reference to a range:
'data on tab 1'!
should be for example:
'data on tab 1'!A:A
I have 2 documents:
Document 1 contains a list with so called Set-names, displayed as "Set". And within each "Set" there is name that can be found that corresponds to the number within that set.
Document 2 contains all the Set-names with each their own numbers and Name. Each Set-name has it's own Sheet, and there is a lot of them.
I want to fill in just the Set-name "Set" and Set-number "Set#", to automatically display the name corresponding to these two values. The question is however, how do I do that?
Document 1: Collection
Shared document link: Click here (File > Make copy)
Document 2: All Set-names
Shared document link: Click here (File > Make copy)
In this example above I would like to output "Dark Raichu" within Document 1 at Q74:T74 and at Q75:T75. Is this even possible to make? INDIRECT might help as well so I don't have to manually edit each Set-name. Any idea/suggestion/solution is much appreciated!
EDIT
(following OP's explanations)
First of all I have to say that you should AVOID making such radical changes to the original question, since it completely throws readers off balance.
Having said that there is a completely different approach that should be followed.
In your Document 2: All Set-names
Step 1
Go to your Wizards Black Star Promos tab.
Using a formula like =ArrayFormula(A4:A59&"/555")
change the Set # from 1,2,3...59 to 1/555,2/555,3/555...59/555
(555 can be any unique number that does NOT conflict with the other sets)
Step 2
Create a new tab. Name this tab AllSets
Step 3
Use this formula in cell A2
={FILTER('Base Set'!A5:C,'Base Set'!A5:A<>"");
FILTER(Fossil!A5:C,Fossil!A5:A<>"");
FILTER('Base Set 2'!A5:C,'Base Set 2'!A5:A<>"");
FILTER('Wizards Black Star Promos'!A5:C,'Wizards Black Star Promos'!A5:A<>"");
FILTER(Jungle!A5:C,Jungle!A5:A<>"")}
Using this pattern complete the formula for the rest of your tabs. You will end up with a 3 columns list of all your sets in one place.
In your Document 1: Collection
Step 4
Go to your Collection tab.
In cell Q2 (where column Q is exactly before your Name column R) use the following formula.
(As before, complete the formula for the rest of your tabs)
=INDEX(IFERROR(N2:N&(SWITCH(H2:H,
"Base Set","/96",
"Jungle","/64",
"Wizards Black Star Promos","/555",
"Fossil","/62"))))
This way you will bring the complete Set # back.
This will be our helper column which can be hidden and will be only used in the next formula.
Step 5
In the same Collection tab and in cell R2 place this formula
=ArrayFormula(IFERROR(
VLOOKUP(Q2:Q,IMPORTRANGE("1n8iWAl7ZQhsue6Opefvh_9yDwMk06PvqUdQoVuEJw00","AllSets!A2:C"),{2,3},0)))
The above final formula will give you everything.
The Card name, the Type as well as the Link and the Image of the card.
If you do not want the Type just change this part of the formula {2,3} to just 2.
Step 6
Enjoy :)
Additional functions used:
FILTER
INDEX
SWITCH
Original answer
(For the question as originally posted )
You can use a combination formula like
=ArrayFormula(IFERROR(
VLOOKUP(V2:V,{REGEXEXTRACT(Sheet1!R2:R,"\d+")*1,Sheet1!S2:S},2,0)))
(do adjust ranges and locale syntax to meet your needs)
Functions used:
ArrayFormula
IFERROR
VLOOKUP
REGEXEXTRACT
You can easily import a range from one Spreadsheet to another using IMPORTRANGE. IN your case described as you wanted to import the range A5:A (i.e all cells in column A minus the first 5 cells in the column) of the sheet Team Rocket of the Spreadsheet Document 2 into Document 1 cell Q73 you would need to use this function in cell Q73:
=IMPORTRANGE("YOUR DOCUMENT 2 SPREADSHEET URL","Team Rocket!A5:A")
Note that when you first use this function it might ask you to grant access between these Spreadsheeets to let one get the data from the other
I have a google docs sheet that has 5 sheets. The first has all of the data and the other 4 are specific only to a particular name. The header fields are name, fruit, entree, salad dressing, dessert, and day. One of the names on the sheet is Jeremy. He has 7 different records, obviously and so do the other 3 people on the sheet. What I want to be able to do is look on Jeremy's sheet and and pull the dessert (Sheet 1 Column E) for a specific day (let's say Monday currently). I'll have 7 rows, so the value needs to change, but I want to look on the Overview Sheet and find the 1 dessert that has Jeremy listed for that specific day.
For each sheet you can add a filter function starting in row two such as :
=filter(Overview!A:F,Overview!A:A="Jeremy")
you can add multiple filter flags however you like for your conditions:
=filter(Overview!A:F,Overview!A:A="Jeremy",Overview!F:F="Wednesday")
or
=filter(Overview!E:E,Overview!A:A="Jeremy",Overview!F:F="Wednesday")
or you can pull in his name and the specified columns and split:
=split(filter(Overview!A:A&","&Overview!E:E,Overview!A:A="Jeremy",Overview!F:F="Wednesday"),",")
I have a spreadsheet of my department's priorities and initiatives for the year, it has about 10-15 columns. I'd like to create a series of executable buttons to place at the top of the report for easy access to filtering the sheet by certain values. For example, one button may say "show completed items" and when clicked the script would sort the "Status" column show only the rows with completed as the value in that column. The trick here is that I want these filters to run by clicking on the image so they would need to be done in script. I'm a beginning user of scripts so any help would be much appreciated.
In my sheet these are the column headers
Col 1 Pillar
Col 2 Strategy
Col 3 Initiative
Col 4 Priority
Col 5 Quarter Delivered*
Col 6 P&C Owner
Col 7 Partners
Col 8 Current Status
Col 9 Start Date
Col 10 End Date
Col 11 Status Notes
Thank you
The best way is to save your filters. Saved filters are accessible by all viewers.
For steps on how to do this, go to Filter your data, scroll down so you see "Create, name, and save a filter view", then select "Create and save filter view"
After you saved your filter views, you can access them from the drop down menu on the filter button.
Google has some great documentation for their Apps Script, which includes help with writing scripts for Google Sheets. Just go here and click "Build an add-on", and I'm sure SO would be glad to help once you come up with some more specific programming questions.