Google sheet query using dynamic importranges - google-sheets

Hope someone can help me with this one:
I have multiple sheets and I want to dynamically merge all data into 1 sheet.
In my mastersheet I made a tab with all the URLS and ranges that I want to import.
In a cell I merge all the importranges to use them in my query.
But my query is not accepting the reference to the cell with all my merged importranges., allthough they are correctly merged.
My goal is to automatically expand my query range when a sheet-url and range is added to the list of all sheets.

you cannot use the text output of a cell as an input to a formula. It is not allowed in Google Sheets.

Related

Formula for looking up and filtering data from a sheet

I want to do a complex formula using google sheets:
I have a list of place that will be visited by different people.
Some places are not to be visited, marked with /
Some places need to be assigned, marked with ?
Wanted outcome:
A list of cells that changes every day automatic.
An overview of who is going where that day and what needs to be assigned.
So I need a formula that can select a row based on today() and then filter out Persons in that row. Then for each person, another formula that looks up the first row in the table and puts duplicates together.
Example:
Wanted outcome:
Link to excel file, but it needs to work in google sheets too: xlsx
My solution is not the most elegant but it does the job.
First I build a column with date and unique persons or ? in this column:
=unique(sort(transpose(index(A1:H10,match(today(),A1:A10,0)))))
Then I find Places corresponding to these persons (I use filter function for it and then I use textjoin to keep them in single cell).
The formula is copied down as filter function does not accept a range and arrayformula as a filtering criterium.
My solution is available here:
https://docs.google.com/spreadsheets/d/1GTy_UaFP8LbA8OLnEhT_R_twpDCIWCuvQfBAigqtbR0/copy

Vlookup using multiple conditions [Vlookup & Hlookup combined]

I want to populate my review sheet using the raw data sheet.
Daily data is appended in the raw data sheet. I think a combination of vlookup & hlookup is requried but not sure how to procees on this.
Review sheet
Raw sales sheet
Link to the sample sheet
You can use the below formula in'B2 of the Review sheet:-
=SUMIFS(Raw!$C:$C,Raw!$A:$A,Review!B$1,Raw!$B:$B,Review!$A2)
Then either drag the formula or do a copy-paste to other cells.
Hope that works.

Using text from a cell in a formula in Google Sheets

I would like to use the text from a cell in a formula in Google Sheets.
I have a document with multiple sheets that a variety of people can edit with a H,M,L (high, medium, low) value from a drop-down list. Each person has their own tab in the Google Sheet.
I then have a dashboard that populates based on their choices of H,M,L. I know that I can use the formula =('Jay Delacruz'!C6) for example to populate a cell in another sheet by manually selecting the cells on the other sheet.
However, I am looking to make quite a few of these documents automatically with another Google Script that I am running that creates the individual sheets from a roster of names on the first tab.
My question is, is it possible to have a =('Jay Delacruz'!C6) type formula that instead of the sheet reference it can pull the name of the person from the roster, as this will match exactly the sheets that are automatically generated by the script I have running.
So I would essentially have a pre-populated dashboard of formulae that would become valid once the sheets are created with the names, as created by the other script.
If it makes it a little clearer, there is a link below to make a copy of the Sheet I am working with. All names were randomly generated, so don't reference any real people or data.
https://docs.google.com/spreadsheets/d/1NiXqko8SibD6VsfrnFcj7e7c99Hg-RoSlHVAYWb0E94/copy
Thank you in advance!
Liam
Try
=INDIRECT(C1&"!C6")
Also see here for more info on INDIRECT() function.

Import named range data between Google Workbooks

If within the same Google Sheets Workbook, the formula: index(namedRangeRow , namedRangeColumn) works beautifully to "pull" or extract the piece of data residing at the intersection of the named row and named column onto another Sheet in the SAME Workbook.
How do I write a formula to get the same effect when I want to pull data from a DIFFERENT Workbook? I presume it is importRange, but I can't seem to get that formula to recognize two named ranges and find the data at the intersection thereof.
The formula: importRange("key", "namedRangeRow") works great, but it pulls all the data in the target Workbook range. So, I presume it's some variation of that formula, I just can't find the right way to express the two ranges within the importRange function.
The formula in the image below pulls a value in a cell at the intersection of two named ranges from a separate Google spreadsheet (i.e., workbook). (Link to sheet.)
The sheet where the data resides is below. (Link to sheet.)
The SetLinkData sheet is the 2nd sheet in the Set List workbook as in the pic below and contains the ID of the Song Catalog sheet.

How can I mirror a few specific rows from one sheet to another sheet in Google Sheets?

That's simple i know that =Sheet1!B2 but if i add row above the B2. formulas automatically change to B3. I can write code google apps script but i need to do it with formula. By the way add row automatically specific time.
I want it to stay constant B2
In my testing it would be:
=INDIRECT("Sheet1!B2")*K2
The "Indirect" function returns a cell reference by a string, so the helpful google sheets can't change it by adding new rows.

Resources