Cell/column/row divider between formula/import result - google-sheets

This is a Google Sheets case, but if you good enough with MS Excel and
know the solution, don't be shy and share it with the community. Your
experience could be relevant to all of us.
Hello over there! I still didn't find any relevant solution in google, so I post my problem here.
I have a sample sheet and I import data via formula to cell via:
=UNIQUE(INDIRECT(C$2&"!"&$O3)
which means import all unique values via formula from Sheet!Range:range
It works fine, and I receive necessary data like:
But I want to see it like this:
with X (1,2,3,etc) row/cell/column spaces between them. I guess that =SPLIT formula should help me with that, but when I use , as a separator, I receive only first value, not the whole array of results that I needed it to.
So is there any way to achieve the result that I show at the picture above via formula or Google Script?
SAMPLE TEST SHEET with EDIT permission here:
https://docs.google.com/spreadsheets/d/1eYeFI8nL39kLNDkcyyjeqV8tc9LwG7P7cn2NzUIB7Wo

=ARRAYFORMULA(SUBSTITUTE(TRANSPOSE(SPLIT(QUERY(
"♂"&UNIQUE(INDIRECT(F$2&"!"&$G2))&"♂♀",,999^99), "♂")), "♀", ""))

Related

IMPORTRANGE with Blacklist on Google SHeets

I'm quite novice so I apologize if this is obvious. I'm trying to have an import range show names and another value from another google sheet, but exclude those from a blacklist. I have pasted the formula I'm currently working with below. Any ideas?
=QUERY(IMPORTRANGE("XXXXX", "XXXX!$A:$B"), " skipping != 'Blacklist'!$A:$A")
The import range it pulls from is a Filter already, I've pasted that below. Could it be worked there?
=IFERROR(FILTER('XXXXX'!$A:$B, 'XXXXXX'!$H:$H = "ABCD")," ")
Thanks in advance!
FILTER is my preferred way of removing from a list.
Here is the formula
=FILTER(A2:A6,NOT(COUNTIF(B2:B3,A2:A6)))
You can think of it like
=FILTER( list ,NOT(COUNTIF( needle , haystack)))
Usually you use this to whitelist a document (hence why I dedicated this formula to memory in a needle-haystack fashion.) But by throwing in the NOT in the criteria of the filter, it works great for blacklisting too!
As to why it works, I'm not sure, my best guess is when google sheets is running through the COUNTIF for any given cell if it meets the criteria it will return a '1' which is truthy and it includes it in the results. This also allows us to compare un-even amounts of data. ie. B2:B3 rather than B2:B6

Google sheets Import Range

I don't think that importrange is a real formula I have spent hours on this and it doesn't work full stop.
The sheet name of the data I wish to import is Fire Safety Audit but it was originally sheet 1
=importrange(https://docs.google.com/spreadsheets/d/18B8KclREhEvOm9ZeOEEfpFSkTol1uxwlCt8kVfptO6I/edit#gid=2093530965";"fire safety audit"!A1:w1000")
=importrange(https://docs.google.com/spreadsheets/d/18B8KclREhEvOm9ZeOEEfpFSkTol1uxwlCt8kVfptO6I/edit#gid=2093530965";"sheet1"!A1:w1000")
I have tried so many different types of formulas with colons, commas and semi colons.
Every time no matter what I try the number 2093530965 remains in blue font and it says I have parse error. Not quite sure why Google make this so complicated and do not have any help for it whatsoever. In summary its crap.
I use importrange literally everyday for work, it definitely is a real formula ;) that said your main issue from those examples is that you are missing a " infront of your url, google sheets formulas are also command delimited not semi colon as in open office. Finally, you're entire sheet and cell reference needs to be in 1 set of quotes.
Example -
=importrange("https://docs.google.com/spreadsheets/d/SOMEID","SheetName!A:Z")
Once you have done that you are going to get a permissions error because you need permission to import data (even if you own both sheets). To fix this, hover over the cell with the error and click "Grant Access".
Try using the formula with the syntax in the documentation:
Syntax
IMPORTRANGE(spreadsheet_url, range_string)
So, if your Sheet is named Sheet1 change from this:
=importrange(https://docs.google.com/spreadsheets/d/18B8KclREhEvOm9ZeOEEfpFSkTol1uxwlCt8kVfptO6I/edit#gid=2093530965";"sheet1"!A1:w1000")
To this:
=importrange("https://docs.google.com/spreadsheets/d/18B8KclREhEvOm9ZeOEEfpFSkTol1uxwlCt8kVfptO6I/edit#gid=2093530965";"sheet1!A1:w1000")

Google Sheets ImportXML - Extract Class Information

First post on Stack Overflow! I have minimal IT/Dev background, and I was just trying to learn how to data scrape using the Import XML function in Google Sheets to get a little experience with the function and I've ran into a speed bump, hoping you can help!
I've been successful in my attempts to pull the data I would like so far, but there is a tiny amount of information I would also like to extract, but can't really figure it out thus far. I can see the information in Google DevTools. (Screenshot attached)
The data is stored in the Class definition line and it defines the time Last Seen, accessible one of two ways.
URL : https://us.tamrieltradecentre.com/pc/Trade/SearchResult?ItemID=11807&SortBy=Price&Order=asc
Desired function from ImportXML would be to pull the text, or the URL Extension - With the information of one of those two pieces of information
Thanks for your help!
*EDIT Added Google Sheets Screenshot
Devtool Screenshot
Google Sheets Screenshot
Red Circles for Values I Would Like To Import
You want to retrieve the values of "Last seen" like "1 Hour ago" from the URL using IMPORTXML.
When I checked the site of the URL, it was found that at the URL you want to use, the values like "1 Hour ago" are put using Javascript. In this case, unfortunately, that cannot be retrieved using IMPORTXML. Because IMPORTXML cannot evaluate Javascript.

LOOKUP Function won't output correct value

I'm trying to create an Activity tracker for a game. However, I'm trying to use the LOOKUP function to track activity throughout 3 different sheets. However, the LOOKUP function does not seem to be outputting the correct value. LINK: https://docs.google.com/spreadsheets/d/1tdq6oeEFjgxJg6FXvSH2ZmkgRlHaFiD5aycjvezfNvc/edit?usp=sharing
If you look at Activity sheet, E2:E52, you should understand that it's outputting the wrong value(At least based on what I'm reading on the google docs).
I've tried converting this over to one sheet to see if that was the problem, however, it didn't work there either, I tried being more inclusive of the exact letter and number combination and that didn't help either.
I expect it to output the Attacks column for the username based on the Activity1 sheet.
Any help would be greatly appreciated.
PS: I tagged excel as it does the same exact thing on excel, however it gives slightly different values. I'm very confused.
use VLOOKUP instead:
=ARRAYFORMULA(IFERROR(VLOOKUP(D2:D,
{Activity1!C:D; Activity2!C:D; Activity3!C:D}, 2, 0)))

CONCATENATE in ArrayFormula's IF statement in Google Sheets not

Make Google Spreadsheet Formula Repeat Infinitely helped me to expand my formula indefinitely and other StackExchange results helped me get to here:
=ARRAYFORMULA(IF((AF2:AF="")," ","L"&ROW(F2:F)&":AD"&ROW(F2:F)))
However, when I tell "L"&ROW(F2:F)&":AD"&ROW(F2:F) to CONCATENATE, every row gives a results as if it was CONCATENATE(L2:AD2).
I tried =ARRAYFORMULA(IF((AF2:AF="")," ",CONCATENATE("L"&ROW(F2:F)&":AD"&ROW(F2:F)))) and =ARRAYFORMULA(IF((AF2:AF="")," ",CONCATENATE(INDIRECT("L"&ROW(F2:F)&":AD"&ROW(F2:F))))) but neither are working.
I am trying to get each row to CONCATENATE(L2:AD2) then CONCATENATE(L3:AD3) then L4:AD4 and so on.
Any help is most appreciated.
To make more easy to explain and understand by using an example, assume that the source values are in the range A2:C3
Instead of using
ARRAYFORMULA(CONCATENATE(A2:C3))
use
ARRAYFORMULA({A2:A3&B2:B3&C2:C3})

Resources