google-sheets-formula

Google Sheets IF THIS AND ELSE OR

╄→гoц情女王★ 提交于 2019-12-11 16:08:21
问题 I'm having some issues trying to accomplish the below in a google sheet. What I'd like to have happened is: IF Cell O1 has a value of "Yes" AND Cell E1 is <= 25,000 Cell P1 = "DEFM-HW-A" OR Cell O1 has a value of "Yes" AND Cell E1 is > 25,000 Cell P1 = "DEFM-HW-B" OR IF O1 = "No" Cell P1 = "No" 回答1: Use this in P1: =IF(O1="Yes",IF(E1<=25000,"DEFM-HW-A","DEFM-HW-B"),"No") 来源: https://stackoverflow.com/questions/54712739/google-sheets-if-this-and-else-or

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=

Create a button that will switch the font color of the text of the cell between black and white, adjacent to the currently pointing cell

ⅰ亾dé卋堺 提交于 2019-12-11 12:55:28
问题 I am creating a google spreadsheet having two columns. Question and Answers. Let's consider there are 100 pairs of cells of questions and answers. All the questions have font color as black and answers have font color as white. If the current cell is pointing to one question then I want to create a button which upon clicking will change the font color to black and so the answer will be visible for its adjacent cell. Is there any way to do this? 回答1: you can do this without heavy scripting

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

COUNTA by month and by exclusion in Google Sheets

泪湿孤枕 提交于 2019-12-11 10:58:22
问题 HERE IS A SAMPLE SHEET WITH SOLUTION WORKING: https://docs.google.com/spreadsheets/d/1Twc9i7D5rDvT_Q88thrwjV8E58Ja7c-ifdlCZDwu6Ok/edit?usp=sharing I have a Google Sheet where I have registries that come from a Google Forms for some sort of Help Desk registry. I'm trying to make a general report tab where things are count, in total and for the current month. For example, I'm counting how many entries are classified as 'open' and 'ended' For the global total of 'open' registries I have: =COUNTA

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

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]",""

How to import data from one sheet to “only one cell” in another sheet

烈酒焚心 提交于 2019-12-11 06:55:28
问题 Using google sheets, I am able to transfer data from one sheet to another sheet using =IMPORTRANGE but IMPORTRANGE creates more cells depending on how many cells you are copying over. I need to copy all data from sheet1 into only one cell of sheet 2. Is there a way to do that? Thanks! 回答1: After you authorize the access to the external spreadsheet, try =JOIN(CHAR(10),QUERY(TRANSPOSE(IMPORTRANGE(spreadsheet_key,reference_string)),,2E6)) If the source data is +---+----+----+ | | A | B | +---+--

More Efficient Way to Avoid Multiple Calculations?

我与影子孤独终老i 提交于 2019-12-11 06:25:50
问题 I have a lot of these chains in my sheet. Is there a more efficient way than what I am doing? https://docs.google.com/spreadsheets/d/1sm1WLL6CJHckeUE1eyZQSG4CRb35UVxOb1Ymwtf6Yj8/edit?usp=sharing =$A$2+5 =$A$2+15 =$A$2+20 etc. It there a single formula or more efficient one that may reduce calculation time? 回答1: try like this: =ARRAYFORMULA(ROW(A1:A20)*5+A2) 来源: https://stackoverflow.com/questions/57979532/more-efficient-way-to-avoid-multiple-calculations

Remove diacritics via formula on Google Sheets (Part 2)

偶尔善良 提交于 2019-12-11 06:06:44
问题 With the help of a StackOverflow member, we have created a way to remove diacritics from personal names, these diacritics are saved in a list and as they appear in their names, they are removed and converted to common keyboard letters. =ARRAYFORMULA(PROPER(IFERROR(REGEXREPLACE(C2:C, TEXTJOIN("|", 1, A2:A1000), VLOOKUP(REGEXEXTRACT(C2:C, TEXTJOIN("|", 1, A2:A1000)), A2:B1000, 2* SIGN(ROW(A2:A1000)), 0)&""), C2:C))) But ... What happened was that in one of the names instead of the formula