google-sheets-formula

Query one table and output data into multiple columns

半城伤御伤魂 提交于 2019-12-31 04:28:30
问题 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

Countifs in Google Sheets with various 'different than' criteria in same row adds +1 value

吃可爱长大的小学妹 提交于 2019-12-29 09:35:13
问题 I'm trying to count all values different than some specific criteria on the same row in a Google sheet that is feed via a google form but the final count shows "1". The row I'm counting from corresponds to a multiple choice question that has an 'other' option so the user can enter other values and I'm trying to count the number of 'other' values in the row. I tried normal count and couldif but when you use a <> it ends up counting to infinite if you want to check a B2:B range (B1 Is the

Cross Join two Columns

旧城冷巷雨未停 提交于 2019-12-25 18:23:29
问题 I want to Join these two Columns in Google sheets so that each cell of column A is Joined to all the values of Column B. Thanks Labels Dates Ess Performance 7/1/2019 DV3-Retargeting 7/2/2019 Facebook WCA 7/3/2019 DV3-Retargeting 7/4/2019 DV3-Retargeting 7/5/2019 DV3-Retargeting 7/6/2019 DV3-Retargeting 7/7/2019 Facebook LAL 7/8/2019 DV3-Retargeting 7/9/2019 FiddeAds 7/10/2019 7/11/2019 7/12/2019 7/13/2019 7/14/2019 7/15/2019 7/16/2019 7/17/2019 7/18/2019 7/19/2019 7/20/2019 7/21/2019 7/22

Code Trigger does not work in App Google Sheets [duplicate]

旧巷老猫 提交于 2019-12-25 17:17:42
问题 This question already has answers here : Executing Google Apps Script Functions from Mobile App (2 answers) Closed 3 months ago . I have a code that lets people jump to the current date row, when opening my sheet. I solved the problem on desktop in the following way: Previous solution Now this should also work in the same way on the iOS and Android App Google Sheets. However, nothing happens if I open the sheet in the App. Does someone know how to trigger jumping to the current date row if

How to dynamically increase or decrease limit value in Query of Google sheet

主宰稳场 提交于 2019-12-25 01:27:52
问题 So my task is to get last x rows based on some count calculation and for that, I'm using limit offset in a query. To elaborate more, I have this formula that works fine =COUNTIF(QUERY(A:A,"limit 5 offset "&(COUNT(A:A)-5),A1)>1 The problem here is that I don't want to "Hardcode" that value of "5" since my range changes based on the count of some timestamp function I'm using on another column. SO I made some changes in above formula by adding another count function that checks the other column

Google Sheets - Function to combine cells in a column into two columns with all possible combinations?

强颜欢笑 提交于 2019-12-25 01:00:22
问题 Can anyone help me write a Google Sheets function for doing this: Google Sheets example of what needs to be done: The first column could be filled with X lines with a name in each one. From that names, the columns "target" and "source" would be filled with all possible combinations between the names , without repeating a pair (if you already have "Gustavo | Jacinto", you don't need "Jacinto | Gustavo"). I know I can solve this problem using python and other stuff, but I wanted to do this

How to get value depending on list selection in spreadsheet?

送分小仙女□ 提交于 2019-12-25 00:12:56
问题 I have a sheet strictly for listing called "List": I have another where I enter data called "Data": I was able to figure out how to reference a list from another sheet doing a google search. On the "Data" sheet I can choose a dealer on the A2 drop down menu. When I choose a dealer I want it to automatically populate the value to "Amount" from "Dealer's Amount" corresponding to the dealer from the "List" sheet. The "Dealer's Amount" in the "Data" sheet should just be read-only. I don't have

Custom Formula Conditional Formatting incorporating 2 spreadsheets

做~自己de王妃 提交于 2019-12-24 19:25:59
问题 Is it possible to arrange a conditional formatting custom formula based on information input into a different spreadsheet? For example, I have 1 in A1, 2 in A2 and 3 in A3 on a spreadsheet saved as 'Numbers' and in a worksheet titled 'List' and in a spreadsheet saved as 'Input' I enter 1 in A1 of a worksheet titled 'Entry'. When I enter 1 in the 'Input' spreadsheet I would want cell A1 in the 'Numbers' spreadsheet to become highlighted. I've had a play around with IMPORTRANGE AND IF formulae

Google Sheets: Automatically Increment Date by 1 Month

耗尽温柔 提交于 2019-12-24 13:46:48
问题 I am currently using a budget sheet that automatically updates date cells to the next "payment" date for a bill. As an example: =VALUE("2019-03-08")+14*FLOOR((NOW()-VALUE("2019-03-08"))/14) The cell starts with a date and it then updates every 14 days to the new date. This shows me a cell that has the date of the biweekly payment that is due. In the above example, the cell shows the value of "2019-03-08" until 2 weeks have passed. Once 14 days have passed, the cell will automatically upload

Transpose Unique Values from Multiple Columns

拈花ヽ惹草 提交于 2019-12-24 10:49:51
问题 I'm trying to generate unique values in D1:F but my formula is not working. For example, row 1 has A B C milk milk 44 the output should be: D E milk 44 here is my formula and my sheet =ARRAYFORMULA(unique(A1:C)) 回答1: UNIQUE works only in one dimension (row or column) =QUERY(UNIQUE({A:A;B:B;C:C}), "where Col1 is not null", 0) =ARRAYFORMULA(SPLIT(REGEXREPLACE(SUBSTITUTE(TRIM(TRANSPOSE(QUERY(TRANSPOSE({QUERY(QUERY( UNIQUE(SPLIT(TRANSPOSE(SPLIT(TRIM(QUERY(TRANSPOSE(QUERY(TRANSPOSE( IF(LEN(A2:A),