array-formulas

Categorizing bank transactions in Excel

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 16:30:28
I have an exported list of bank transactions in Excel, which I'd like to categorize as quickly and simply as possible. I suspect this is possible just with array formulas, but a VBA function would be equally useful. The Scenario My spreadsheet header looks like this: | A | B | C | D | ========================================== | Date | Description | Amount | Category | ------------------------------------------ Date, Description and Amount come pre-populated from my bank. I fill in the category for each transaction in column D. This is fine, but time-consuming, because each category has to be

ArrayFormula and “AND” Formula in Google Sheets

点点圈 提交于 2019-12-03 10:21:59
In Google Sheets, when using ArrayFormula with AND formula, I don't get the results as it should be. A|B 2|7 In C1 I put formula as: =and(A1>5,B1>6) then I get True . If in D1 I put formula as: =ArrayFormula(and(A1:A>5,B1:B>6)) I get the results as False . Here are my two questions: Why is ArrayFormula not repeated for all cells in the column? Why do I get true without ArrayFormula and False with Arrayformula ? AND doesn't work with that way with Array formulae because it AND s the whole array together in the top left cell of the regardless of number of dimensions. I.e. it checks if "">""

Array formula to return an ARRAY without duplicates, without VBA

青春壹個敷衍的年華 提交于 2019-12-03 10:11:16
I would like to know whether it's possible to return an array from a single cell formula, which is filtered to remove duplicates, and which is built purely on Excel formulas. I'm aware of approaches to return a list of values where the duplicates are removed (see this question ), where the list is spread over multiple cells. However I specifically want to return an array intermediate. E.g. For the list in A1:A5 , I can get an array of values {0.1,0.2,0.2,0.7,0.3} , from which I want a second array {0.1,0.2,0.7,0.3} , as an intermediate in an array formula. Current approaches use single-end

Apply formula to the entire column

我们两清 提交于 2019-12-03 04:00:35
问题 I'm trying to recode all the zip code from Column A into Column B with the formula: =TEXT(A1,"00000") Like this: I want every cell in Column B to be transformed using the formula above. But I have over 40,000 rows, so it is impossible to drag down the formula and apply it to the entire Column B. Is there a formula I could use to solve this problem? 回答1: I think it's a more recent feature, but it works for me: Double clicking the square on the bottom right of the highlighted cell copies the

Get maximum value based on unique values

杀马特。学长 韩版系。学妹 提交于 2019-12-02 13:34:57
问题 I have two columns in Excel as follows: col1 col2 1 10 1 22 1 11 1 23 1 14 2 16 2 12 2 10 2 9 How do I write a command to returns the maximum value from col2 corresponding to each unique value in col1 ? So here I need to write a command to get 23 and 16 . The data I have shown here are dummies; I have 600 unique values in col1 in my actual data set. 回答1: Pivot tables: the single most underutilized and powerful feature of excel. File menu: Insert Pivot Table Select range Fill in as indicated

.setFormula() and received error missing ) argument list

喜欢而已 提交于 2019-12-02 08:28:36
I have .setFormula() and stuck on this. I think the problem is the comma ( &"," ). I have researched several online forum before posting this question but no luck; perhaps someone here could help me out. I do know the rules about using the "" and '' that's why I have tried several formulas but still, I receive the error message: "Missing ) after argument list". Your time and help is appreciated! Original formula: =arrayformula(concatenate(filter('Sheet1'!E2:E,'Sheet1'!E2:E<>"")&", ")) code: me.getRange('B8').setFormula("=arrayformula(concatenate(filter('Sheet1'!E2:E,'Sheet1'!E2:E<>"") & ", "))

Get maximum value based on unique values

ぐ巨炮叔叔 提交于 2019-12-02 07:14:17
I have two columns in Excel as follows: col1 col2 1 10 1 22 1 11 1 23 1 14 2 16 2 12 2 10 2 9 How do I write a command to returns the maximum value from col2 corresponding to each unique value in col1 ? So here I need to write a command to get 23 and 16 . The data I have shown here are dummies; I have 600 unique values in col1 in my actual data set. Pivot tables: the single most underutilized and powerful feature of excel. File menu: Insert Pivot Table Select range Fill in as indicated in image below Step by Step: Place cursor in cell to right of all data on sheet. Select insert from menu

Query one table and output data into multiple columns

柔情痞子 提交于 2019-12-02 04:57:56
Simply put I am trying to take a single column query result and output it into a 5 wide by × long table. This is how the main table is organized. On separate tabs, I want to list all of the caught and seen Pokemon on their own for easy search. While I can get it to output something like this with =query(NatDex, "Select C Where F <> ''",1) I would like it to output the data something like this for easy reading so it's not eventually 100+ entries long: Bonus points if you can give me formula/something to do it where I can vary how wide the second table is. But this is far less important to me. I

Can MATCH function in an array formula to return multiple matches?

橙三吉。 提交于 2019-12-01 12:08:09
问题 I tried to use the MATCH function in an array formula to return multiple matches (by default it only returns the first match). However, this doesn't seem to work. How can I solve this problem without a complex, unreadable formula? 回答1: How about this, without VBA? [entered on cell C9 as an array formula with CTRL + SHIFT + ENTER, where your searched column is A9:A24, and your search terms are in B1:B4], and dragged down to find multiple hits? =SMALL(IFERROR(MATCH($B$1:$B$4,$A$9:$A$24,0),"")

ArrayFormula a Filter in a Join (Google Spreadsheets)

谁说我不能喝 提交于 2019-12-01 11:19:12
I've done a lengthy search and couldn't find what I'm looking for. Maybe someone out there can kindly help? I have this formula in my Google Spreadsheet (I will explain what it does below): =Join(" ",FILTER(Sheet1!B:B;Sheet1!A:A=A1)) In Sheet 1 is a table: Column A is first names (e.g. 'James') and Column B is some comment (e.g. 'Headache'). James (or anyone else) may have multiple rows with different comments in each one (e.g James has 2 rows, one saying 'Headache' and another saying 'Knee pain'.) In sheet 2, column A, I have a list of the names that appear in Sheet1 (Using the '=UNIQUE'