array-formulas

Importing data from multiple sheets with Query/ImportRange formula returning ARRAYLITERAL ERROR

余生长醉 提交于 2019-12-11 19:04:22
问题 I have 2 Google Sheets which track class attendance for our two main sites and each tab on the sheet is a different class/course. Each sheet has a "data" tab which pulls all the class/course data. I am trying to pull the data sheets from these two sheets and put them on a 3rd sheet and organize the class data by a program (GED, CDP, ESL). I have had no issues pulling the data from one sheet, but when I tried stacking the Query and Importrange formulas, I keep receiving an ARRAY LITERAL error

Manual data tagging and lookup

五迷三道 提交于 2019-12-11 18:01:43
问题 I need a system that allows to filters entries by different text tags. Say we store info about some products. We have Red Apples, Pears, Watermelons, Cucumbers, Peppers and Bread. We store them in sheet named "Data" in column A. Next columns are occupied by tags, like Red Apples are Red, Sweet, Fruit, Unpacked; Peppers are Red, Spicy, Veggie, Packed; Bread is just Packed. Then on another sheet we have a dedicated range, say A1:A10, which can accept any data tag, like Spicy or Packed. What I

Array formula basics instead of nested if-else

一曲冷凌霜 提交于 2019-12-11 15:17:55
问题 I have scoured the site for array formulas but am troubled by some basic issue of an array formula that i am not able to figure out. the following table lists prices and various cutoffs for volume discounts for a product. IMO a formula like, {=IF (A2'<'Cutoff,A2*PPVM)} in which cutoff refers to all the values and "price" refers to the price points should do the trick. I do not want to do IFS or IF-ELSE because I might want to add a row/delete a row later. Essentially, if i have 5000 products,

How to make a condition based on the number of decimals a number has with the IFS and AND functions in Google Sheets?

谁都会走 提交于 2019-12-11 14:57:57
问题 I'm trying to do the following in Google Sheets: If the number in cell A1 has 4 decimals (for example "1.0001"), and if cell A1>B1 (for example A1=1.0001 and B1=0.0001), and if the string in cell C1 = "Good", then return (A1-B1)*10000. Additionally: If the number in cell A2 has 2 decimals (for example "1.01"), and if cell A2>B2 (for example A2=1.01 and B2=0.01), and if the string in cell C2 = "Great", then return (A2-B2)*100. So far, I've come up with this IFS function: =IFS((AND(A1>B1, C1=

Need help converting a Multi-Cell Excel formula to basic pseudo code

北城以北 提交于 2019-12-11 14:26:33
问题 I don't think the whole spreadsheet is relevant here (Hope I am not wrong) but essentially I am working with some financial figures and need to work out a "Cumulative Cost". The spreadsheet is correct, but I don't understand the maths of the formula, so I hope somebody can break it down into BODMAS or pseudo code or something (or even Java which it will ultimately be.) {=(PRODUCT($D$4:D7/100+1)-1)*100} {=(PRODUCT($D$4:D8/100+1)-1)*100} {=(PRODUCT($D$4:D9/100+1)-1)*100} etc.. I think I only

Search the same text in 2 tables then check the cell next to it

做~自己de王妃 提交于 2019-12-11 11:31:34
问题 Explanation: I've got 2 tables, one let's say is randomly generated and could contain 5% of the content in the 2nd table or even more. So, the first table let's say has 3 names: Alex, Billy and John, near each name is a fruit: Alex - 2 apples, Billy - 3 pears, John - 5 oranges. Now the 2nd table has many more names, along with Alex, Billy and John. I want to get the numbers and add them to the next table and the type of fruit, also I want it to say that IF Alex has cucumbers he will get -1

Google Sheets VLOOKUP of multiple columns across multiple sheets

对着背影说爱祢 提交于 2019-12-11 08:11:25
问题 I am not 100% sure VLOOKUP is the correct formula to use for this, but what I was trying was the following: =ArrayFormula(IF(len(B2:B),vlookup(B2:B,{‘New1′!B3:C;’New2′!B3:C;’New3’!B3:C},2,FALSE),””)) I wanted to modify the above formula to do the following. I have a Google Sheet with multiple tabs. There is a single tab that has all of the data stored as metadata to populate the other 6 tabs. I am splitting the metadata into the 6 tabs, but want to avoid duplicating the data in the tabs. So I

Using CHOOSE and CONCATENATE with ARRAYFORMULA in Google Sheets

守給你的承諾、 提交于 2019-12-11 07:59:18
问题 I was trying to create an array of dates in a column, and I ran into trouble using the CHOOSE and CONCATENATE formulas with ARRAYFORUMULA. Is there a way to solve the following problems: Column I contains dates; the first date falls on a Weds; all of the other dates fall on a Monday When I use =CONCATENATE(ARRAYFORMULA(Text($I9:$I12,"ddd")),"111") =ARRAYFORMULA(CONCATENATE((Text($I9:$I14,"ddd")),"111")) =ARRAYFORMULA(CONCATENATE((ARRAYFORMULA(Text($I9:$I14,"ddd"))),"111")) I get the following

Turning formula into ArrayFormula

荒凉一梦 提交于 2019-12-11 07:39:09
问题 I have this formula for counting matches in Contents!$B$2 in J4 . =ARRAYFORMULA(IF(NOT(REGEXMATCH(J4, "\w")),0,SUM(COUNTIF(REGEXREPLACE(SPLIT(J4,",")," [\s]",""),REGEXREPLACE(SPLIT(Contents!$B$2,","),"[\s]",""))))) The formula is in K4 but ideally, I want it to work right down J returning values to the relevant adjacent K . I tried this but it didn't work. Just filled the cell the formula was in =ARRAYFORMULA(IF(NOT(REGEXMATCH(J4:J, "\w")),0,SUM(COUNTIF(REGEXREPLACE(SPLIT(J4:J,",")," [\s]",""

Add Countif to Array Formula (Subtotal) in Excel

。_饼干妹妹 提交于 2019-12-11 07:29:17
问题 I am new to array formulae and have noticed that while SUBTOTAL includes many functions, it does not feature COUNTIF (only COUNT and COUNTA ). I'm trying to figure out how I can integrate a COUNTIF -like feature to my array formula. I have a matrix, a small subset of which looks like: A B C D E 48 53 46 64 66 48 66 89 40 38 42 49 44 37 33 35 39 41 Thanks to the help of @Tom Shape in this post, I (he) was able to average the sum of each row in the matrix provided it had complete data (so rows