array-formulas

Fill missing dates in Google Sheets

爷,独闯天下 提交于 2020-05-16 07:50:11
问题 I have two columns: Col A Col B 01.02.2020 17 03.11.2020 24 03.11.2020 12 As I stated in another question, I tried to sum Col B, based on the month in Col A. The solution was the following formula (without the sort): =ARRAYFORMULA( SUMIF( MID(A:A, 4, 2), SORT(UNIQUE(MID(FILTER(A3:A, A3:A <> ""), 4, 2))), B:B ) ) Something I missed was the population of missing months. Therefore my question is: How can I populate the result table with the missing months and zeroes until values are entered? The

Fill missing dates in Google Sheets

折月煮酒 提交于 2020-05-16 07:50:06
问题 I have two columns: Col A Col B 01.02.2020 17 03.11.2020 24 03.11.2020 12 As I stated in another question, I tried to sum Col B, based on the month in Col A. The solution was the following formula (without the sort): =ARRAYFORMULA( SUMIF( MID(A:A, 4, 2), SORT(UNIQUE(MID(FILTER(A3:A, A3:A <> ""), 4, 2))), B:B ) ) Something I missed was the population of missing months. Therefore my question is: How can I populate the result table with the missing months and zeroes until values are entered? The

Rolling sum with array formula in Google Sheets

做~自己de王妃 提交于 2020-05-16 01:39:30
问题 I have the dataset below. Col1 is given data and Col2 is the rolling sum of the previous 5 rows of Col1 (inclusive). Date Col1 Col2 01/04/20 2 2 02/04/20 1 3 03/04/20 4 7 04/04/20 7 05/04/20 7 06/04/20 5 10 07/04/20 2 11 08/04/20 7 09/04/20 7 10/04/20 1 8 11/04/20 3 12/04/20 1 13/04/20 1 14/04/20 1 15/04/20 1 1 Is there a way to use arrayformula to do this rather than inputting a sum formula into every cell in Col2 going down? I had a similar question using count and was given this solution:

Rolling sum with array formula in Google Sheets

依然范特西╮ 提交于 2020-05-16 01:37:36
问题 I have the dataset below. Col1 is given data and Col2 is the rolling sum of the previous 5 rows of Col1 (inclusive). Date Col1 Col2 01/04/20 2 2 02/04/20 1 3 03/04/20 4 7 04/04/20 7 05/04/20 7 06/04/20 5 10 07/04/20 2 11 08/04/20 7 09/04/20 7 10/04/20 1 8 11/04/20 3 12/04/20 1 13/04/20 1 14/04/20 1 15/04/20 1 1 Is there a way to use arrayformula to do this rather than inputting a sum formula into every cell in Col2 going down? I had a similar question using count and was given this solution:

Increasing a number based on a decimal less than 100?

耗尽温柔 提交于 2020-05-14 03:44:10
问题 I'm currently working on some SUMIF formulae which will calculate certain values against specific conditions. All of the values to be calculated are decimalised but are based on 0.80 = 1.00. As an example if I have 1.25 and 1.60 to add together I would want the outcome to read 3.05 but currently, I would get an outcome of 2.85. Is it possible to amend the highest number a decimal can read before it converts to 1? Hope this makes sense. 回答1: try: =ARRAYFORMULA(SUM(QUOTIENT(D1:D3, 1))+ QUOTIENT

How to import table with mix of text and image metadata with IMPORTHTML and/or IMPORTXML?

五迷三道 提交于 2020-04-18 03:47:31
问题 I'm trying to import tables with a mixture of text and images into Google Sheets with IMPORTHTML and/or IMPORTXML function. The tables I'm trying to import are the 'Equipment' tables under the 'Advancement' section from multiple sites like this: https://stt.wiki/wiki/Xindi_%27Prisoner%27_Archer. The number of stars at each item in the table represents a "level" from 1 ("Common") to 5 ("Legendary"), with no stars representing level 0 ("Basic"). The image metadata contains the level description

How to import table with mix of text and image metadata with IMPORTHTML and/or IMPORTXML?

社会主义新天地 提交于 2020-04-18 03:47:23
问题 I'm trying to import tables with a mixture of text and images into Google Sheets with IMPORTHTML and/or IMPORTXML function. The tables I'm trying to import are the 'Equipment' tables under the 'Advancement' section from multiple sites like this: https://stt.wiki/wiki/Xindi_%27Prisoner%27_Archer. The number of stars at each item in the table represents a "level" from 1 ("Common") to 5 ("Legendary"), with no stars representing level 0 ("Basic"). The image metadata contains the level description

Sum the same cell across the sheets in Google Sheets

大城市里の小女人 提交于 2020-04-16 05:48:49
问题 I have a sheet for every day in the month. At the end of every month, I need to sum the same cell across all tabs. The following works: =SUM(March31!L2,March30!L2,March29!L2,March28!L2,March26!L2,March25!L2,March24!L2) However, at the end of the month, the formula will be tremendous. Tried the following: =SUM(March31:March1!L2) Doesn't work. Is it even possible? 回答1: SUM(March31:March1!L2) that won't work, but you can use kind of a generator: ={" "; ARRAYFORMULA("=SUM("&TEXTJOIN(", ", 1, TEXT

Sum the same cell across the sheets in Google Sheets

风格不统一 提交于 2020-04-16 05:48:24
问题 I have a sheet for every day in the month. At the end of every month, I need to sum the same cell across all tabs. The following works: =SUM(March31!L2,March30!L2,March29!L2,March28!L2,March26!L2,March25!L2,March24!L2) However, at the end of the month, the formula will be tremendous. Tried the following: =SUM(March31:March1!L2) Doesn't work. Is it even possible? 回答1: SUM(March31:March1!L2) that won't work, but you can use kind of a generator: ={" "; ARRAYFORMULA("=SUM("&TEXTJOIN(", ", 1, TEXT

How to list the most frequent 3-word strings on Google Sheets

本秂侑毒 提交于 2020-04-14 12:15:33
问题 I have a list of industries with a adjacent list of industries to categorize them. I would like to know which industries are the most common but I don't manage to make Sheets interpret two-word categories as one. First, I would like to know which 5 categories are the most common overall. Also I would like to know the top 5 one-word (black), two-word (red) and three-word (blue) categories. Plus, I would like to get rid of the commas. Here's what I want to achieve and a link to a google sheets