How do I create hyperlinks with a formula or rollup? - airtable

I have a table of items, each has a Name and a URL.
How can I combine the two and create a field that stores the hyperlinked Name, linking to its respective URL?
Furthermore, would it be possible to do the same with not just a formula field, but a rollup field?

Related

ImportXML extract table into Google Sheets

I'm trying to extract the whole following Warcraftlog table in a Google Sheets.
I just need the "names" with "count" and the "percentage numbers".
=IMPORTXML("URL"; "XPATH")
=IMPORTXML("https://classic.warcraftlogs.com/reports/P4CQdFTp21wADfKX/#boss=-3&difficulty=0&type=auras&ability=31035"; "//table[contains(#id,'main-table-0')]")
But it doesn't work with //table[contains(#id,'main-table-0')] in the Xpath.
With //table/tr/td it will extract nearly everything on the warcraftlog website, except the table I want to extract.
Is there another option to extract them with XPath?
You are after an html table so switch to IMPORTHTML
Data is pulled dynamically from another endpoint you can find in the network tab of the browser, so make your request to that
The last two webpage visible table columns are $ delimited in the retrieved table so you will need to split the entries e.g. using helper column in column D of sheet (if formula in A1) containing SPLIT
=IMPORTHTML("https://classic.warcraftlogs.com/reports/auras/P4CQdFTp21wADfKX/0/0/6175385/buffs/31035/0/0/0/0/source/0/-3.0.0/0/Any/Any/0", "table",1)

Merge a column of URLs with a column of values

I have two columns in a spreadsheet, "name" and "LinkedIn URL". I'd like to remove the "LinkedIn URL" column and just turn all the names into links to their corresponding url. Is there an easy way to do this without manually copying each link and manually applying the link to the cell?
After creating this new column I would like to remove the original two columns.
you can hyperlink it and repaste it:
=INDEX(HYPERLINK(B2:B; A2:A))
where A are names and B are urls

Apply dynamic hyperlink to the values in a dynamic dropdown in excel

I have two worksheets in a Google spreadsheet.
Sheet-A: Treat this like an “order booking” page. Consists of 10 empty line items, where the user can select an item from a dynamically generated dropdown list. The values in the dynamic list come from Sheet-B’s 1st column range
Sheet-B: Treat this like a “menu details” page. It consists of Menu item name, description, ingredients, etc
What I want to do is:
When users try to place an order, they select a menu item from the dropdown in Sheet A.
If they want to know more about an item, they should click on the hyperlink on top of the dropdown value and be navigated to the respective menu item description in Sheet B.
To summarize, the dynamic values coming in the dropdown list should hold a hyperlink within itself which points to where the value is coming from.
This is straightforward, use the HYPERLINK() function and either the CONCATENATE() function or use the concatenate operator "&". Here is an example from one of my projects:
=HYPERLINK(CONCATENATE("https://tracker.telenetwork.com/admin/reports/SCReport/report_emp.asp?emp=",$B$4,"&nt=",$A$4,"&sd=",A7,"&ed=",B7,"&dur=99999&per=15&client=",C4),"Call Recordings")
I built an example for another person asking a similar type question, between that example and the formula above you should be able to figure out how to implement for your specific situation. Feel free to make a copy of this sheet:
https://docs.google.com/spreadsheets/d/1qbLOjTdzISICTKyUp_jK6gZbQCt-OwtDYYy3HNJygeE/edit#gid=795322028

How do you convert a String to Object in Google Sheets?

So I'm making a dependent dropdown column in Google Sheets that has a bunch of different things of a type. I've named the ranges I want to use and I've got column A with those names in the dropdown. The problem is, I can't use the contents of column A to reference in column B's data verification.
E.g. I select Tech in column A, column B reads that as "Tech" when I want it to be able to reference the named range Tech. How to you convert from the string "Tech" to the named range Tech? Is there a way without using a stupidly long nested IF on every single row of B column's data verification?
Thanks in advance :)

Need help in creating a macro for extracting data from list of web url

Need to write a macro for importing a table from all URLs present in column A of Symbols sheet, each URL table should be written to a new sheet with the sheet being named as per the names in column B of Symbols sheet.
Using the below formula to extract table information from URL, which is working.
=IMPORTHTML(symbols!A1, "table",1)
=IMPORTHTML(symbols!A1, "table",3)
A sample sheet URL is below.
https://docs.google.com/spreadsheets/d/1uJPjfAZLRCwafetbH4-nPJPSpTvvgixlFvGG6gYITBU/edit?usp=sharing
Need to customize a few rows and columns which are not required. I believe this can be done by recording a macro and copy-pasting those modification lines to macro.
Edit: I am able to achieve this in MS Excel, one click does the job of importing table, creating a new sheet, copying the table, little formatting. Want to achieve the same in googlesheets.
check the INDEX and ARRAY_CONSTRAIN functions (probably also QUERY and FILTER function too) which are able to trim off the input exactly as you need to.

Resources