google-sheets-formula

'No match' message in Google Sheets Vlookup results for cells with no data

元气小坏坏 提交于 2019-12-24 06:50:03
问题 Based on (Search a value from another tab/sheet in google sheets based on cell reference), I have 2 tabs/sheets in Google Sheets, one that gathers data from a Google Forms and the other is a Search sheet. The example is here (It's the same one used for the question mentioned above but with added data): (https://docs.google.com/spreadsheets/d/1qLcJdCn4EdV7lPOAfZ_CMak1LBkve45FL5SXyqBV3L8/edit#gid=354631176) On the top of the Search sheet, I have search fields that the user fills and down in

How to auto-convert a whole number into it's 2 decimals points?

限于喜欢 提交于 2019-12-24 06:47:09
问题 Following the previous answers How to make a condition based on the number of decimals a number has with the IFS and AND functions in Google Sheets? The formula given didn't return a result for whole numbers (any number without decimals, for example: 1(.00), 12(.00) etc.). To make it return a result also for inputs with whole numbers, I thought of some formula like this: =IF(A1=(a whole number/number without decimals),A1.00(A1 formatted as a whole number with two decimals),A1(A1 with any

How do I return a string that the built in Google Spreadsheet function can us

老子叫甜甜 提交于 2019-12-24 06:34:48
问题 I have a function that returns a string that are the cells that I need to scan with the UNIQUE() built-in function, but it does not process the returned value. Tried putting them in quotes, didn't help. function GetRange(sheet, ColumnLetter , Offset) { var startColumn = letterToColumn(ColumnLetter); var string = ""; for(var i=startColumn; i <= Offset; i++) { string += sheet + "!" + columnToLetter(i) +":"+columnToLetter(i)+";"; } string = string.substring(0, string.length-1); return string+"";

Parsing JSON in Google Sheets

房东的猫 提交于 2019-12-24 05:26:04
问题 I'm working with JSON for the first time, so please excuse my lack of knowledge. I'm trying to use a JSON file to populate data in a Google Sheet. I just don't know the right syntax. How can I format a JSON function to properly access the data and stop returning an error? I'm trying to pull data from here: https://eddb.io/archive/v6/bodies_recently.jsonl into a Google Sheets. I've got the ImportJSON script loaded and I've tested it with a really small JSON file (http://date.jsontest.com/) and

Script workaround to solve importRange problems for drop down list

☆樱花仙子☆ 提交于 2019-12-23 03:19:54
问题 I am sharing this with hopes I workaround solution to this problem I am facing. I am using data validation to get values of a drop down menu. The values come from Range(“A1:A40”) in a sheet I called “calculation” Since I have about 50 spreadsheets that use the same drop down values and same pattern, I simply decided to use an importRange function to fill the information in Sheet(“Calculation”).Range(“A1:A50”). The importRange was taking the list from a separate spreadsheet that I dedicated

Google Sheets formula match multiple criteria

£可爱£侵袭症+ 提交于 2019-12-22 17:56:09
问题 I have a spreadsheet like the one shown in the image. What I would like to do is generate a formula that will count how many times MALEs from NEW YORK choose the BLUE color. In column D, the user can enter 1-3 different colors. Column B will be ignored in this case. Can anyone help me with the formula? 回答1: Try this formula in Google docs =ARRAYFORMULA(sum(if(A2:A4="Male",if(C2:C4="New York",If(isnumber(search("Blue",D2:D4)),1))))) you can expand it to as many rows as you need 来源: https:/

Using MIN() inside ARRAYFORMULA()

£可爱£侵袭症+ 提交于 2019-12-22 05:52:33
问题 I've seen some examples of using SUM() inside an ARRAYFORMULA() in Google Spreadsheets (and oddly enough, they all seem like workarounds) but I can't figure out how to apply them to using MIN() instead. Let's say I have columns A , B and C and I just want to get the result of MIN(A:C) on the D column, just for the three cells that would match each row. The straightforward way should be ARRAYFORMULA(MIN(A1:C)) but surely enough that doesn't work. How can I programmatically calculate the MIN()

Multiple criteria for sumif in Google Sheets

喜你入骨 提交于 2019-12-22 05:28:13
问题 I'm trying to calculate the sum of column in google spreadsheet when DataSheet!G:G="solved" AND DataSheet!C:C="May" it must calculate the sum of DataSheet!H:H. I have tried =ARRAYFORMULA(SUM(((DataSheet!C:C)="May") * ((DataSheet!G:G)="solved") * (DataSheet!H:H) )) But it returns N/A can anyone help me with this. 回答1: This formula would only returns N/A if a value on your H column is N/A . Have you checked that? And, are you sure it's N/A and not other kind of error? If so, can you please

Google Spreadsheet multiple column filter using OR

一世执手 提交于 2019-12-20 12:36:48
问题 I have a Google Spreadsheet with 3 columns that are either blank or have a value. I want to get the count of the number of rows that has A and either B or C populated. If I were writing a SQL query it would be select count(*) from Table where A is not null and (B is not null or C is not null) But I can't for the life of me figure out how to get this in a Google Spreadsheet 回答1: The formula below should do what you are after: =ROWS(FILTER(A2:A, NOT(ISBLANK(A2:A)), NOT(ISBLANK(B2:B))+NOT

How do I combine COUNTIF with OR

最后都变了- 提交于 2019-12-20 10:25:56
问题 In Google Spreadsheets, I need to use the COUNTIF function on a range with multiple criteria. So in the table below, I would need to have something like =COUNTIF(B:B,"Mammal"or"Bird") and return a value of 4. A |B ------------------- Animal | Type ------------------- Dog | Mammal Cat | Mammal Lizard | Reptile Snake | Reptile Alligator | Reptile Dove | Bird Chicken | Bird I've tried a lot of different approaches with no luck. 回答1: One option: =COUNTIF(B:B; "Mammal") + COUNTIF(B:B; "Bird")