google-sheets-formula

How to convert a rectangle of cells to a row/column of cells in Google Sheets?

余生长醉 提交于 2019-12-13 19:28:40
问题 I have a dataset from range A1:T25 and I want this to be in a single row or column. There are 25 rows and 20 columns. I tried the following: ={A1:A25; B1:B25; C1:C25; D1:D25; E1:E25; F1:F25; G1:G5; H1:H25; I1:I25; J1:J25; K1:K25; L1:L25; M1:M25; N1:N25; O1:O25; P1:P25; Q1:Q25; R1:R25; S1:S25; T1:T25} After pressing Enter a column appears with my data, but somehow there are 480 cells instead of the 500. I want to know which of the multiple ranges I made a mistake in, as well as a short, non

How to sum up the values in each column and ranking each column name by sum of values in google sheet

风流意气都作罢 提交于 2019-12-13 09:06:29
问题 I have a google sheet with values that is getting populated A B C D E F G H Top scorers Date Player l Player 2 Player 3 Player 4 13 Jan 2019 1 1 1 20 Jan 2019 2 1 1 the idea is: each match day I will enter the date of the match and number of goals that each player scored, if new player score I will just put his name in new column and number of goal on that date. If any player not score that day, I will just leave that cell blank. Then I want to populate first column "Top scorers" with ranking

Extract Text Within a Long Varying String of Text

╄→尐↘猪︶ㄣ 提交于 2019-12-13 08:13:25
问题 The problem I'm having is this. The data I pull adds information in a very inconvenient way. When I'm trying to isolate and extract a certain text within the string it becomes super complicated. I want to be able to extract "Ships in 1-2 business days" some of the strings are listed as "Ships 1-2 weeks" which also needs to be extracted if applicable. The string in the cell is: [{"orderItemId":609507407,"lineItemKey":"1509870501993","sku":"SKU-111111","name":"Company Product - NA / Ships in 1

VLOOKUP to the left from another sheet in Google Sheets

做~自己de王妃 提交于 2019-12-13 03:54:48
问题 I have a spreadsheet that is managed externally to my own spreadsheet in Google Sheets. I am trying to pull in data to my sheet from that external sheet so I have a centralized location to display task items that pertain to me. Here is the formula that I thought would work: =VLOOKUP("My Name", IMPORTRANGE("https://linkto.othersheet.com", {"Tab1!$G$1:$G$999","Tab2!$A$1:$A$999"}),2,FALSE) The formula should use IMPORTRANGE to pull in 2 of the columns (or multiple columns) from the external

Why does a deleted name create the following error from a linked list?

梦想的初衷 提交于 2019-12-13 03:29:38
问题 I have a list called Assignment in which names appear (dropdown list). These names are assigned certain values, they are in the same line. The names are defined in a worksheet called Input Data! If I now delete a name like Green, John from the Input Data worksheet, then I get the following error in another worksheet (Evaluation). In this evaluation worksheet the values are evaluated by the following formula: =ARRAY_CONSTRAIN(ARRAYFORMULA(SUM(IF((IF($B$2="dontcare",1,REGEXMATCH(Assignment!$E$3

Google sheets - VLOOKUP inside ARRAYFORMULA

这一生的挚爱 提交于 2019-12-13 03:24:24
问题 I am trying to do Vlookup inside an Array formula in Google Sheets. I have two sheets, S1 and S2. Each has 3 identical columns, Col A (Date), Col B(Name) and Col C(Payment-Type) I would like to read the payment type from sheet 2 into sheet 1 based upon date and name combination match. Meaning if the date and name matches in sheet 2, return the Payment Type. Here is my Vlookup formula, =VLOOKUP(A2,FILTER('S2'!A2:C7,'S2'!A2:A7 = A2,'S2'!B2:B7 = B2),3,FALSE) Above formula explained: S1 is sheet

Best way to show blank cell if value if zero

坚强是说给别人听的谎言 提交于 2019-12-13 02:04:28
问题 =COUNTIFS(Orders!$T:$T,$B4) is a code that gives 0 or a +ve result I use this across 1500 cells which makes the sheet gets filled with 0s I'd like to remove the Zeros by using the following formula if(COUNTIFS(Orders!$T:$T,$B3,Orders!$F:$F,""&P$1&"*")=0, "", COUNTIFS(Orders!$T:$T,$B3,Orders!$F:$F,""&P$1&"*")) This calculates every formula twice and increases the calculation time. How can we do this in 1 formula where if the value is 0 - keep empty - otherwise display the answer 回答1: You only

Sum all values in all rows using array formula

╄→尐↘猪︶ㄣ 提交于 2019-12-12 18:19:44
问题 I would like an array formula to sum up columns G26:AD per row, since the amount of rows is dynamic. =ArrayFormula(sum(G26:26)) does not work. I tried using MMULT but did not manage to get it working: =MMULT(G26:26,TRANSPOSE(ARRAYFORMULA(COLUMN(G26:26)^0))) Any other ideas? 回答1: Sum by rows The sum of each row in A:C : =arrayformula(mmult(A2:C*1, transpose(A2:C2 * 0 + 1))) Edit. This one is even shorter: =arrayformula(mmult(A2:C*1, transpose(A2:C2 ^ 0))) Sum by rows with conditions

How to count the number of characters before a certain word appearing several times in a cell in Google Sheets?

為{幸葍}努か 提交于 2019-12-12 17:36:47
问题 I've found the below formula to count the number of characters preceeding a certain word, following the solution provided here: Count number of characters before a certain word in cell =SEARCH("apple",A2)-1 My issue is the following: How to count the intermediary characters between 2 occurrences of the same word in a single cell? Adapting Nicole's example found here): "I need to count the number of characters in a text string before a word. For example, lets say the word is "Apple". and the

Is it possible to assign conditional formatting to a named range in Google Sheets?

℡╲_俬逩灬. 提交于 2019-12-12 16:06:14
问题 I'd like to apply a conditional formatting rule to a named range. Is that even possible? How do I do that? When trying to enter the Name of the Range to the Field where you set up the range the rule applies to it won't accept my input. Also with INDIRECT it does not work: 回答1: this is not possible in Google Sheets for the custom formula you need to wrap it into INDIRECT formula like: 回答2: I think it is not possible, it is not documented in official docs. Range names: Can contain only letters,