This question already exists:
How to Extract link from website Anchor in Google Sheets [closed]
Closed 3 months ago.
Hi I am using this code to extract link from a webpage but its not working properly.
=IMPORTxml("https://www.games1tech.com/hitman-sniper-mod-apk/","//#href","(#class='game-btn')/#href")
I am using this code but it fetch multple url which i dont need. I only want https://www.games1tech.com/hitman-sniper-mod-apk/ this url.
Try this:
=QUERY(IMPORTXML("https://www.games1tech.com/hitman-sniper-mod-apk/",
"//#href", "(#class='game-btn')/#href"),
"where Col1 contains 'feed'", )
Related
This question already has answers here:
Google Sheet: How to use arrayformula to copy data from one sheet to another?
(4 answers)
Closed 4 months ago.
Can somebody help me what's wrong with this formula?
(If I replace semicolons by comas I get an parsing error)
Thanks in advance!
The formula:
=ARRAYFORMULA(VLOOKUP(E2&F2;{A:A&B:B;C:C};2;0))
instead of
A:A&B:B; C:C
use
A:A&B:B\ C:C
for more info see: locale differences in google sheets (documentation missing pages)
This question already exists:
Is there a custom function or script that returns gid of a specific sheet in Google Sheets?
Closed 1 year ago.
I have a been using a Calendar which populates the Data in Calendar by matching the dates from the Event Sheet and it is working fine.
One thing i want that the formula it should create a hyperlink on the value which is populated in the calendar so when i click on the cell it take me to the concern row of the event sheet.
I have quoted two examples. Any help will be highly appreciated
=IFERROR(JOIN(CHAR(10),FILTER(Events!$B:$B,Events!$C:$C<=B5,Events!$D:$D>=B5)))
Examples: Hyperlink in Google Sheets and Gif
Google Sheet Link Google Sheets
here is how you create jump link:
=HYPERLINK("#gid=1102623837", Sheet2!A2)
This question already has answers here:
Query is ignoring string (non numeric) value
(2 answers)
Closed 5 months ago.
I'm using a query to pull data from a multi-sheets in Google Spreadsheet that is populated by a Google Form. If the form has only numbers, there is no problem. However, if there's a mixed of text and number then it did not work.
=QUERY({Sheet1!A:S;Sheet2!A:S},"SELECT* WHERE Col4<>''",0)
EDIT: Added the second one here:
=QUERY(Sheet2!A:S,"SELECT A,C,D,E,F,G,H,I,J,K,L,R WHERE G IS NOT NULL ORDER BY G LABEL R 'FRUIT'",TRUE)
Regards,
Yes, this is how QUERY works. It only pulls the most frequent data type per column. To pull mixed data types, you can use FILTER:
=FILTER({Sheet1!A:S;Sheet2!A:S},{Sheet1!D:D;Sheet2!D:D}<>"")
This question already has an answer here:
Dynamically referencing different sheets by changing sheet range argument depending on another cell's value
(1 answer)
Closed 5 months ago.
I am trying to referencing another sheet using this indirect formula
=indirect("'"&L2&"'!"&B74)
it works with simple name sheet like: m
but doesn't work with the name I want:
animated ad units 10rd of Feb
I have been desperately trying for the whole day but got no success.
Please help me
all you need is:
=INDIRECT(L2&"!B74")
This question already has answers here:
Scraping data to Google Sheets from a website that uses JavaScript
(2 answers)
Closed last month.
Want to get yahoo data in google spreadsheet. I don;t want google data from google finance so please don't suggest that. I want yahoo finance data in spreadsheet.
I want data in the following spreadsheet which is editable:
https://docs.google.com/spreadsheets/d/1_MQyyaeEtGD0p9l7ncFqyLDWDKsnLNh2XBcH5CiHkF8/edit?usp=sharing
I want only specific column data for just first five days. the link for yahoo data extraction is:
https://in.finance.yahoo.com/quote/abb.BO/history/?guccounter=1
I have attached image for reference.
enter image description here
Please help how can I extract data specifically from one column.
I know I will have to use =transpose(importxml("url,xpath) but I am not sure about xpath.
You want to retrieve the latest 5 values of "close" which is yellow range. If my understanding is correct, how about this modification?
Modification points :
In your xpath, //[#class="Pb(10px) Ovx(a) W(100%)" cannot be used. If you want to retrieve values from class Pb(10px) Ovx(a) W(100%) of div, please modify "//div[#class='Pb(10px) Ovx(a) W(100%)']". This xpath includes the values you want. But it cannot retrieve only the latest 5 values of "close".
So I would like to propose "//tr[position()<6]/td[5]" as the xpath.
Modified formula :
=TRANSPOSE(IMPORTXML(A1,"//tr[position()<6]/td[5]"))
https://in.finance.yahoo.com/quote/abb.BO/history/?guccounter=1 is put in "A1".
Result :
If this was not what you want, I'm sorry.