let's suppose I had a column A in google sheets holding terms like
Mäx Mustermann GmbH
Diesdas& Company
that I would like to convert to url names like
maex-mustermann-gmbh
Diesdasand-company
So basically trying to make the word "url" friendly.
Is this something that is possible in google sheets?
Give a try on-
=REGEXREPLACE(REGEXREPLACE(A1, "[^a-zA-Z0-9\-\s]", ""),"[ ]","-")
Related
I am making a calculator in Google sheets and I would like to find a formula or script or something that will allow me to read the value of a certain square and add the formula "=sum(C5:C9)" or "=product(C5:C9)" or whichever depending on what the person puts in C4. Not sure if this is possible in google sheets (without custom code), but if it is, that would be great!
try:
=IF(C4="*"; PRODUCT(C5:C9); SUM(C5:C9))
I'm trying to extract a cell value from a Google spreadsheet using imacro script.
This is the spread sheet I'm working on.
And I need to get the Cell 'A1' value.
Below is my try, and it is not working.
TAG POS=2 TYPE=A ATTR=TXT:https://www.ebay.com* EXTRACT=TXT
Please help.
One of the possible (simplest) ways is to use Google Query Language for requesting necessary data and extract them afterwards. Something like this:
URL GOTO=https://docs.google.com/spreadsheets/d/13akuXU0cp047_6VFdtUgdn2fKfhPilF_hPHrnTNV164/gviz/tq?tqx=out:html&tq=select%20A%20limit%201
TAG XPATH="//tr[last()]/td" EXTRACT=TXT
Keep in mind that your spreadsheet must be shared in this case.
I'm trying to build a webapp based on Google Sheets. I'm a little bit confused with the API. I have a spreadsheet which is shared with me by Drive and contains 2 sheets. I can get the first sheet with
GET /v4/spreadsheets/{spreadsheetId}
Returns the spreadsheet at the given ID.
endpoint. But I couldn't figure out how to get the second sheet. Is there a way I can get spesific sheet from a spreadsheet?
The problem in here is when you are using ranges parameter you have to specify the sheet title with A1 notation syntax as described in this document: https://developers.google.com/sheets/guides/concepts#sheet_id
I was using the ranges parameter and using the A1 notation correctly but I wasn't specifying the sheet title. In that scenario the default sheet is the first one. If you want the get another sheet other than the first one you have to specify the title, like this:
https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}?ranges=sheetTitle!A3:F20
I have a google sheet with nearly 4500 company names in column A. I'd like to write a script that searches google for the companies URL and to return that URL in column B
You want to find the company's official website? I cannot do that, but if you only want a google query, you can use this formula, though I don't think this is what you want :
=HYPERLINK(CONCATENATE("http://www.google.com/search?q=",A1),A1)
You might also look at the GOOGLEFINANCE function on the formula help page.
I'm new to Google sheets, and I've got this spreadsheet with some IMPORTRANGE functions in them, and they look like this:
=IMPORTRANGE($O$2; "Jan!B33")
That first value, $0$2, is supposedly the spreadsheet key, but I'm used to that spreadsheet key coming from the HTML, for example "1QCfFIx6evcghuH4k74_ksqx6P7sb5xzUpRaoQobV6MA", or something like that.
My question is, what is this dollar sign notation, and how do I use it? Is it even something from Google Sheets or is it something someone mistakenly copied from Excel or another program?
That's an absolute cell reference. (The sheet's key is expected to be read from cell O2.)
This range syntax is supported by Excel and Google Sheets.