INDIRECT parameter value is not a valid in another tab - google-sheets

I create an account sheet on a google spreadsheet for my new small business. There have 3 tab sheets. In the Dec tab, I want to create a dependable dropdown list. In the data tab, the Array Formula works correctly but the same formula does work in Dec Tab. Can anyone help me, please?

try:
=ARRAYFORMULA(IF(LEN(D2:D), TRANSPOSE(
IF(TRANSPOSE(D2:D)=Data!B1, INDIRECT("Data!Funding"),
IF(TRANSPOSE(D2:D)=Data!C1, INDIRECT("Data!Sales_Revenue"),
IF(TRANSPOSE(D2:D)=Data!D1, INDIRECT("Data!Space_Equipment"),
INDIRECT("Data!Inventory_Purchase"))))), ))

Related

How to return nth value from one Column based on another Column using ArrayFormula or QUERY?

I'm working with a long, growing list of ratings data, and I'm trying to find a way to reference the 2nd (3rd, 4th, etc.) rating.
Here's a link to the sheet I'm working on.
The data I want to reference is in F5:H. I'm using QUERY to show most of the info I want (see A5 in my sheet for this formula), but where I'm running into trouble is when I try to retrieve only the Nth rating from Column H for a particular client based on the Client in Column A.
I'm sure I'm missing something obvious... the biggest (potential) limitation is that I need a formula that I can put in D5 that auto-fills this info for the entire column.
Thanks in advance!
try:
=ARRAYFORMULA(IF(A5:A="",, IFNA(VLOOKUP(A5:A,
FILTER(G5:H, COUNTIFS(G5:G, G5:G, ROW(G5:G), "<="&ROW(G5:G))=2), 2, ),
VLOOKUP(A5:A, G5:H, 2, ))))

Index Match on 2 separate google sheets

Can you please help me with the index match formula with Google sheets on 2 different workbooks? I know the formula on a regular excel sheet but it just won't do the same with google sheets.
I tried the same formula with the regular excel sheet but it just won't work.
try:
=IMPORTRANGE("1VYCPRlno-upguZFmf-dgVG8pXxkXXTx-OWt_VBv4d5c", "Sheet1A:Z")
note: chenge sheet name if needed
note2: first you will see ref error. hover your cursor over it and a button will popup. click on it to authorize the connection/link between your two spreadsheets

need assistance referencing data from one sheet to another dependent on different conditions

I need help. I have a google form to populate the responses into Google Sheets. in google sheets I have the sheet with the results and a master sheet that I want to search the results sheet to find a reference number across certain columns of the sheet sorted by date and if the value is found then for it to reference a specific cell value from the row that result was found in.
any help would be VERY much appreciated!
https://docs.google.com/spreadsheets/d/1OPvK5QSniZEwHhR60zT-4L8IB64A_ZxfOqpcc0rwkX0/edit?usp=sharing
I've been trying h/vlookup and index match but I'm quite a novice at this so I'm probably doing something wrong.
Basically, the scope of this is to track checked in/out assets showing their status and where they are.
=ARRAYFORMULA(IFERROR(VLOOKUP(B3:B, QUERY(TRIM(SPLIT(TRANSPOSE(SPLIT(
QUERY(TRANSPOSE(QUERY(TRANSPOSE(
IF('Asset Movements'!G2:O<>"", "♦"&'Asset Movements'!G2:O&"♠"&'Asset Movements'!B2:B, ))
,,999^99)),,999^99), "♦")), "♠")), "OFFSET 1", 0), 2, 0)))
I think you are looking for this: Search a value from another tab/sheet in google sheets based on cell reference
It creates a search page in google sheets where the user enters a value in one cell(s) and then other cells auto-populate with values from another tab/sheet based on the value entered in the search cell(s). It has a working sheet example. You can try it so that by for example entering your 'Bin Asset No.' in the search cell as reference it will give you the matching 'Bin Size', 'Status'.
The formula shared by #player0 works too.

Finding a result based on search query

I'm hoping someone can help with this.
I have two sheets/tabs:
A Database tab that collects links using IMPORTXML.
A spreadsheet that sorts the data.
What I would like to do is automatically categorise certain links from the database tab in certain columns to the sorting tabs.
For example, in column E of the sorting tab is Github. I'd like find the links for Github in the Database tab and sort these appropriately for the matching abbreviation - so I expect and MATCH and INDEX to be involved at some stage as row 1 in the Database tab isn't fixed - the abbreviations header may move.
I am expecting to have a function that searches for "GitHub" in a given search column and returns that cell to the Sorting tab, but I am unable to find a solution for this.
This is an example of the result that I am hoping to achieve, but the screenshot below isn't automated based on data pulled from IMPORTXML, which is the reason for this new spreadsheet.
If anyone can provide help with this, that would be great!
paste in D2 cell and drag to the right:
=ARRAYFORMULA(IF(LEN(INDIRECT("A2:A"&COUNTA($A$1:$A))), IFERROR(VLOOKUP($A$2:$A,
SPLIT(TRANSPOSE(SPLIT(TRIM(QUERY(TRANSPOSE(QUERY(TRANSPOSE(IF(IFERROR(REGEXEXTRACT(
IF(Database!$A$2:$CG<>"", "♠"&Database!$A$1:$CG$1&"♦"&Database!$A$2:$CG, ),
LOWER(D$1)))<>"",
IF(Database!$A$2:$CG<>"", "♠"&Database!$A$1:$CG$1&"♦"&Database!$A$2:$CG, ), ))
,,999^99)),,999^99)), "♠")), "♦"), 2, 0)), ))

Index row formula error on Google spreadsheet

I have a formula in Google spreadsheet from cell B2 all teh way to B100 which is
B2=iferror(INDEX(DB!$B:$AC,SMALL(IF(DB!$B:$AC=$A$1,ROW(DB!$B:$AC)),ROW(1:1)),0), "")
B3=iferror(INDEX(DB!$B:$AC,SMALL(IF(DB!$B:$AC=$A$1,ROW(DB!$B:$AC)),ROW(2:2)),0), "")
B4=iferror(INDEX(DB!$B:$AC,SMALL(IF(DB!$B:$AC=$A$1,ROW(DB!$B:$AC)),ROW(3:3)),0), "")
B5=iferror(INDEX(DB!$B:$AC,SMALL(IF(DB!$B:$AC=$A$1,ROW(DB!$B:$AC)),ROW(4:4)),0), "")
..
...
......
So it is pulling up values from a second tab which is named as "DB".
The Index row formula looks for the status "Completed" ( which is on cell A1) and return the details for all completed from the DB.
Google spreadsheet
main spreadsheet
Database in tab 2 (DB)
DB
The formula works fine , however i am getting duplicates of every cell which got the status "Completed "
Attached links to the screen shots for your reference.
Don't know what i am missing. 0_o
Thanks
I think you can use QUERY() for what you try to achieve.
Have a look at this example sheet and check sheet 2 where this formula is used to filter the data from sheet 1:
=query(Sheet1!A:H, "select * where B = '"&A1&"' ")
(where A1 is a drop down list with the values 'COMPLETED', 'in progress', 'resolving').
See if that helps ?
there is no need for formula here.
This is simply done by filtering:
Supposing you have a DB sheet like this
In your main sheet, put DB!A1 in cell A1, and drag and fill horizontally and vertically, to copy exactly your DB sheet into main sheet (you can do this selectively as well, there is no need to copy every column, just cpy those you want). Then click on FILTER, you can find it in SORT AND FILTER, then you will see a dropdown menu on all of the column headers. Simply by clicking on your status header, you can selected completed and press OK, it will ONLY show rows with completed on their status column.
And here is the link to download this example sheet
your links don't work for me.
You should use the FILTER() function, that is designed exactly for this purpose:
in cell A2 on your second sheet use: =filter('DB'!B:AC,'DB'!B:B=$A$1)
As suggested I would use Data validation with dropdown list, so that only valid statuses may be chosen.

Resources