Category "google-sheets-formula"

Google Sheets, how to run function every x column?

I have a script in google sheets with the following function: // Function to get current active sheet-name. function getsheetName(dummy) { return SpreadsheetA

Google Sheet: break transpose to the next row

Beginning from the date on the right corner of the table, I need to automatically fill the days of the calendar. Is it possible to transpose until a given cell

The right XPATH for IMPORTXML (for Yahoo Finance)

I am trying to extract the Stock Price History Section from Yahoo Finance Statistics page. The following Xpath seems to point to the right section, but the func

Extract complete string containing 'xxx' between two spaces

I want to know if there is a formula to extract a complete string containing 'xxx' between two spaces. For example:

Concatenate two variables for email subject

I am trying to fetch the attachment data from gmail to google sheets with identifier as subject. The subject format is such as "Disbursement File 2022-05-14" w

How can I output the values I want by using TEXT() version of TODAY() and FIND() in an IF() formula?

I would like to output "Yes" or "" in column B by using the text version of today's date (e.g. Fri) and finding Fri in column A with values like Tue, Fri, Sun

Is there a single Apps Script function equivalent to MATCH() with TRUE?

I need to write some functions that involve the same function as the Sheets function MATCH() with parameter 'sort type' set to TRUE or 1, so that a search for 3

SUMIFS Between Conditions

I am looking for some help with a SUMIFS formula. I am trying calculate the revenue between dates for a coupon code, where the coupon code sales are in a separa

GSheets Forumula Stalls on Tie Score Number

Background Information I am trying to setup a 1st, 2nd and 3rd rank/scoring system on Google Sheets. The sheet is setup by row and once a week a new row is adde

Regexextract multiple <a> links from HTML

I have an extract from a description off a webpage which contains multiple links to other pages the whole string is in a single cell. The string below is along

If cell contains a certain text, return a specific drop down list item (Google Sheets)

I've created a quote form, and in one cell (C6:H9) I enter the address with the city name. In another cell (C31:F31), I have a drop down list with different cit

Importxml and importhtml don´t give me the data from the table in website that I need (only headers)

I´m trying to take information from a website to googlesheets and I tried with importxml and importhtml, but it´s not working. https://www.fpf.pt/pt

How to Create a List of Available Times after removing Downtimes from a Period

I have a grid which lists the Period (Start - End), and a list of Downtimes. The downtimes are then sorted (to ensure chronological order based on the start tim

REGEX: Transpose each word from a google sheet cell and put them one under the other (rows)

I need to extract each word (phrase) within a cell in google sheets and put each one under the other in a column (row for each one). I have a regex code that w

How to select the column has value other than the header in google sheets?

I got responses from Google form into Google Spreadsheet. I want to filter out the "Weekend" and "Workday". For the "Weekend" days, I only want to select the co

IF Function with multiple true values

Google Sheets has the following IF Function: IF(logical_expression, value_if_true, value_if_false) Is it possible to have multiple 'values_if_true' where the fo

Spreadsheet RegexReplace but exclude non-number

How to RegexReplace but only for number. I tried this formula, but it didn't go as I expected: =REGEXREPLACE(A2, ":<BR CLASS="""">[0-9]", ": [0-9]") Th

Google sheet - Unpivot table and skip blank cells

I cannot work this out: In Google sheet, I'm trying to unpivot a wide and long table by using this formula: =ARRAYFORMULA((SPLIT(FLATTEN(sheet1!$J$3:$J&"//"

get name name of cell from his range google script

I want to retrieve the name of a cell having his range. this is the range : var rangeOfCell = sheet.getRange(100,5); I want to know how to get his native(A1, A

Auto-increment row number from another sheet in INDIRECT formula

I'm working in a google spreadsheet with multiple sheets. This is a situation where I can mess around in a sheet (I call it Sandbox) that I make but can't do an