Find Function locked to the row? - google-sheets

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

Related

sync data between to tabs/sheets columns with the same columns in each

Hello Trying to write a simple formula to have two people enter the same data in each of their tabs in the same google sheet--workbook ( no script)
I created the identical row on both tabs. Colum R 1-196 only using R9—196 for data It would be the same data. With all cells using plain text numbers from
2022-000000 and 0000 So if person 1 enters the data or person 2
Both tabs/sheet colums will get populated with the data. I just don't know how to write it and where to write it.
=DailyAlarmsReport_Online sheet/tab 1
=May_LiveTracking shhet/tab 2
=’DailyAlarmsReport_Online’!R9:R196. To =’May_LiveTracking’!R9:R196
And =’May_LiveTracking’!R9:R196 to =’DailyAlarmsReport_Online’!R9:R196
enter image description here enter image description here
you will need a 3rd tab that would compile data from those 2 sheets. formula would be for example:
=ARRAYFORMULA(IF('DailyAlarmsReport_Online'!R9:R196=""; 'May_LiveTracking'!R9:R196; 'DailyAlarmsReport_Online'!R9:R196))

Formula is changed when Google form update sheet

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)}

How to import information from sheets in another Document based on two values? Google Sheets

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

Find result in row 1 based on contents of table

I am having difficulties finding a solution for the following:
In A2:A15, I have a list of given tasks.
In B1:Z1, I have dates.
In B2:Z15, I have written '1' to indictate when that task will be worked on.
An example of this sheet, can be seen here on the 'Database' tab:
https://docs.google.com/spreadsheets/d/1HpfgRMYJqaID8dfoSrXZ7-1vN9yL_e2LH1K92zSYuLA/edit?usp=sharing
What I would like to do with this is conduct a search of this tab so by searching for a task, the search will be able to find the first 1 (i.e the column of the start date for that task), and then return the result in row 1 for that column.
I have created a mock results list shown in the 'Search' tab in the link above.
Any help that can be provided for this will be appreciated.
Try this:
=ARRAYFORMULA({"Start Date";IF(A2:A="",,VLOOKUP(A2:A,{Database!A2:A,INDEX(SPLIT(TRANSPOSE(QUERY(TRANSPOSE(IF(Database!B2:Z,Database!B1:Z1,)),,9^99))," "),,1)},2,0))})
Which i placed in B1 on the new tab called MK.Help

Comparison between current row, previous row and next row in Talend

I want to know if my value is included in an interval consisting of the previous row and the next row. How to do it in Talend?
I tried a tMemorizeRow function where I save 3 lines each time, but encountered a java.lang.NullPointerException exception as when I am on the first line it does not know the next row I saved.
What am I missing?
You can try this : add a column "sequence" with value as Numeric.sequence("s1",1,1)to your data : this way you'll know this exact order between rows in your flow (you can do it in a tMap). Redirect the tMap to a tHashOutput component (if you can't find in the palette, add it through Project Parameters>Designer>Palette>Technique , this component is hidden by default).
Then you'll need an other subjob, with 3 tHashInput : one for your main flow, and the two others as lookup : then you'll be able to join rows with previous and following one , thanks to your 'sequence' field.
Then in tMap_2 you'll be able to compare values from mainFlow with Previous and Next flows.

Resources