谷歌瀏覽器的翻譯功能在哪_如何在Google表格中使用AND和OR功能

谷歌瀏覽器的翻譯功能在哪

谷歌瀏覽器的翻譯功能在哪

The Google Sheets logo.

If you’ve ever wanted to check whether data from your Google Sheets spreadsheet meets certain criteria, you can use AND and OR. These logical functions give you TRUE and FALSE responses, which you can use to sort through your data.

如果您曾經想查看Google表格電子表格中的數據是否滿足某些條件,則可以使用AND和OR。 這些邏輯函數為您提供TRUE和FALSE響應,您可以使用它們對數據進行排序。

If you use AND with multiple arguments, all of those arguments must be true to get a TRUE response; otherwise, AND responds with FALSE.?If you use OR, only one argument has to be true for OR to provide a TRUE response.

如果將AND與多個參數一起使用,則所有這些參數都必須為true才能獲得TRUE響應; 否則,AND響應為FALSE。 如果使用OR,則OR只需一個參數即可為TRUE,以提供TRUE響應。

You can use AND and OR separately or within other functions, like IF.

您可以單獨使用AND和OR,也可以在其他函數(例如IF)中使用。

使用AND功能 (Using the AND Function)

You can use the AND function on its own or combined with other functions to provide a logical (TRUE or FALSE) test.

您可以單獨使用AND函數,也可以將其與其他函數結合使用以提供邏輯(TRUE或FALSE)測試。

To get started, open a?Google Sheets?spreadsheet and click an empty cell. Type =AND(Argument A, Argument B)?and replace each argument with the criteria you want to use. You can use as many arguments as you’d like, but you must have at least one for AND to work.

首先,請打開Google表格電子表格,然后單擊一個空白單元格。 鍵入=AND(Argument A, Argument B)并將每個參數替換為要使用的條件。 您可以根據需要使用任意多個參數,但是必須至少具有一個參數才能使AND起作用。

In the example below, we used three arguments. The first argument is the simple calculation of 1+1=2.

在下面的示例中,我們使用了三個參數。 第一個參數是1 + 1 = 2的簡單計算。

The second argues that the cell E3 equals the number 17.

第二種說法是單元格E3等于數字17。

Finally, the third argues that the value of cell F3 (which is 3) is equal to the calculation of 4-1.

最后,第三種觀點認為,單元格F3的值(為3)等于4-1的計算。

As all three arguments are true, the AND formula responds with TRUE in cell A2. If we change any of these arguments, it will cause the AND formula in A2 to change the response from TRUE to FALSE.

由于所有三個參數均為真,因此AND公式在單元格A2中以TRUE響應。 如果我們更改這些參數中的任何一個,它將導致A2中的AND公式將響應從TRUE更改為FALSE。

An AND response of TRUE in cell A2 to three arguments on a Google Sheets spreadsheet.

In the example below, the AND formula in cell A3 has two correct arguments and one that’s incorrect (F3=10, while F3 actually equals 3). This causes AND to respond with FALSE.

在下面的示例中,單元格A3中的AND公式有兩個正確的參數,一個不正確(F3 = 10,而F3實際上等于3)。 這導致AND響應為FALSE。

A FALSE response in cell A3 to three arguments on a Google Sheets spreadsheet.

使用或功能 (Using the OR Function)

While AND requires all the arguments it uses to be true, the OR function only requires one to be true for OR to respond with TRUE.

AND要求它使用的所有參數都為true,而OR函數僅要求一個參數為true,OR才能使用TRUE進行響應。

Like AND, you can use the OR function on its own or combine it with other functions. The same as with AND, you can use as many arguments as you want, but you must have at least one for it to work.

與AND一樣,您可以單獨使用OR函數,也可以將其與其他函數結合使用。 與AND相同,您可以根據需要使用任意多個參數,但是必須至少有一個參數才能起作用。

To use OR, click an empty cell and type =OR(Argument A, Argument B), and replace the arguments with your own.

要使用OR,請單擊一個空單元格,然后鍵入=OR(Argument A, Argument B) ,然后用您自己的參數替換。

In the example below, the formula using OR in cell A2 has one incorrect argument out of three (F3=10, where F3 actually equals 3).

在下面的示例中,在單元格A2中使用OR的公式具有三個不正確的參數(F3 = 10,其中F3實際上等于3)。

Unlike when you use AND, one incorrect argument out of three will result in a TRUE result. For a FALSE result, all the arguments you use must be incorrect.

與使用AND不同,在三個參數中有一個不正確將導致結果為TRUE。 對于FALSE結果,您使用的所有參數都必須不正確。

The OR function and three arguments with a TRUE result in a Google Sheets spreadsheet.

In the example below, the OR formulas in cells A4 and A5 returned a FALSE response because all three arguments in both formulas are incorrect.

在下面的示例中,單元格A4和A5中的OR公式返回了FALSE響應,因為兩個公式中的所有三個參數都不正確。

The OR function used in Google Sheets, with no correct arguments, resulting in a FALSE response

對IF使用AND和OR (Using AND and OR with IF)

Because AND and OR are logical functions with TRUE and FALSE responses, you can also use them with IF. When you use IF, if an argument is TRUE, it returns one value; otherwise, it returns another value.

因為AND和OR是具有TRUE和FALSE響應的邏輯函數,所以也可以將它們與IF一起使用。 使用IF時,如果參數為TRUE,它將返回一個值;否則,將返回一個值。 否則,它將返回另一個值。

The format of a formula using IF is =IF(Argument, Value IF TRUE, Value IF FALSE). For example, as shown below,?=IF(E2=1,3,4)?causes IF to return the number 3 if cell E2 equals 1; otherwise, it returns the number 4.

使用IF的公式的格式為=IF(Argument, Value IF TRUE, Value IF FALSE) 。 例如,如下所示,如果單元格E2等于1,則=IF(E2=1,3,4)導致IF返回數字3; 否則,返回數字4。

The IF function with a simple argument in a Google Sheets spreadsheet.

Because IF only supports a single argument, you can use AND and OR to introduce complex logical tests with multiple arguments.

由于IF僅支持單個參數,因此可以使用AND和OR引入具有多個參數的復雜邏輯測試。

在IF上使用AND (Using AND with IF)

To use AND within an IF formula, type =IF(AND(AND Argument 1), Value IF TRUE, Value IF FALSE), and replace your AND argument (or arguments), and IF TRUE and IF FALSE values.

要在IF公式中使用AND,請鍵入=IF(AND(AND Argument 1), Value IF TRUE, Value IF FALSE) ,并替換您的AND參數(或多個參數)以及IF TRUE和IF FALSE值。

In our example below, we used IF with a nested AND formula in cell A2 with four arguments. All four arguments are correct, so the IF TRUE value (in this case, “Yes,”) is returned.

在下面的示例中,我們在單元格A2中使用具有嵌套AND公式的IF和四個參數。 所有四個參數都是正確的,因此返回IF TRUE值(在這種情況下為“是”)。

The IF function with a nested AND formula used to provide multiple arguments in a Google Sheets spreadsheet.

In cell A3, a similar IF with AND formula contains two incorrect arguments. As AND requires all arguments to be correct, IF returns the IF FALSE value, which is a different text value (“No”).

在單元格A3中,具有AND公式的類似IF包含兩個錯誤的參數。 由于AND要求所有參數正確,因此IF返回IF FALSE值,該值是不同的文本值(“否”)。

與IF一起使用OR (Using OR with IF)

The same as with AND, you can also use OR with IF to create a complex logical test. Only one OR argument has to be correct for IF to return a TRUE response.

與AND相同,您也可以將OR與IF一起使用以創建復雜的邏輯測試。 對于IF返回TRUE響應,只有一個OR參數必須正確。

To use OR with IF, click an empty cell and type =IF(OR(OR Argument 1), Value IF TRUE, Value IF FALSE).

要將OR與IF一起使用,請單擊一個空單元格,然后鍵入=IF(OR(OR Argument 1), Value IF TRUE, Value IF FALSE)

Replace the OR argument (or arguments), and your IF TRUE/FALSE values, as required.

根據需要替換OR參數(或多個參數)以及IF TRUE / FALSE值。

In our examples below, the two IF with OR formulas in cells A2 and A3 returned the IF TRUE text value (“Yes”). All four arguments are correct in the A2 IF with OR formula, while A3 has two incorrect arguments out of four.

在下面的示例中,單元格A2和A3中的兩個具有OR公式的IF返回IF TRUE文本值(“是”)。 在帶有OR公式的A2 IF中,所有四個參數都是正確的,而A3在四個中有兩個不正確的參數。

The IF function with a nested OR formula providing multiple arguments that result in both TRUE and FALSE responses in a Google Sheets spreadsheet.

In cell A4, all four arguments in the IF with OR formula are incorrect. This is why the overall IF formula returns the IF FALSE text value (“No”), instead.

在單元格A4中,具有OR公式的IF中的所有四個參數都不正確。 這就是為什么整個IF公式返回IF FALSE文本值(“否”)的原因。

翻譯自: https://www.howtogeek.com/447561/how-to-use-the-and-and-or-functions-in-google-sheets/

谷歌瀏覽器的翻譯功能在哪

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/278406.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/278406.shtml
英文地址,請注明出處:http://en.pswp.cn/news/278406.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

Reptile:requests + Xpath 爬取段子網的段子

2019/1/24 中午路飛學成 爬蟲課程 實驗及筆記。 Xpath是路飛爬蟲課程中老師說的三種解析方式之一,前面是re正則表達式的解析方式,現在是xpath的解析方式,后面還有一個是bs4的解析方式。 re其實我理解的很困難,而且到現在都還不怎么…

Android 系統權限

Android 是一個權限分隔的操作系統,其中每個應用都有其獨特的系統標識(Linux 用戶 ID 和組 ID)。系統各部分也分隔為不同的標識。Linux 據此將不同的應用之間、應用與系統之間分隔開來 ##一、安全架構 Android 安全架構的中心設計點是&#x…

【轉載】負數的二進制

https://jingyan.baidu.com/article/29697b9106eb52ab21de3c7a.html 將十進制的負數變成二進制數的過程: 1.寫出絕對值的二進制碼(原碼) 2.取反(反碼) 3.1,(補碼) 同理,將二進制的負…

保存網絡文章以供以后使用Instapaper閱讀

Have you ever come across a bunch of great articles that you want to read online, but just don’t have the time? Today we take a look at an online service that allows you to read your articles later, either online, or on an iPhone, or eReader. 您是否曾經遇…

谷歌chrome xp_將非Google任務列表添加到Chrome

谷歌chrome xpMost people rely on a task list to help them remember what they need to do but not everyone wants one that is tied to a Google account. If you have been wanting an independent tasks list then join us as we look at the Tasks extension for Googl…

學習筆記 - MarkDown 語法

學習參考網址:https://www.appinn.com/markdown/index.html # **gitskill**## 標題 ># 這是 H1 >## 這是 H2 >###### 這是 H6## 區塊引用 Blockquotes > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipisci…

[BZOJ4671]異或圖

description BZOJ 定義兩個結點數相同的圖\(G1\)與圖\(G2\)的異或為一個新的圖\(G\), 其中如果\((u,v)\)在\(G1\)與\(G2\)中的出現次數之和為\(1\), 那么邊\((u,v)\)在\(G\)中, 否則這條邊不在\(G\)中. 現在給定\(s\)個結點數相同的圖\(G1...s\),設\(S{G1,G2,...,Gs},\) 問\(S\…

我們生活在最好的時代

2019獨角獸企業重金招聘Python工程師標準>>> 沒規劃的人生叫拼圖,有規劃的人生叫藍圖; 沒目標的人生叫流浪,有目標的人生叫航行! 我們生活在最好的時代:在認知和學習機會上,人人平等&#xff0c…

MapReduce詳解和WordCount模擬

最早接觸大數據,常縈繞耳邊的一個詞「MapReduce」。它到底是什么,能做什么,原理又是什么?且聽下文講解。 是什么 MapReduce 即是一個編程模型,又是一個計算框架,它充分采用了分治的思想,將數據處…

無法創建系統映像_如何創建USB驅動器的映像

無法創建系統映像You can back up your USB drive by creating a saved image. You can then take that saved image and clone multiple USB sticks. This guide shows you how to create an image of your USB drive using Windows 10. 您可以通過創建保存的圖像來備份USB驅動…

UGUI事件之Drag拖拽事件

UI事件之Drag拖拽事件2.UGUI 事件命名空間   當我們需要使用 UGUI 中的事件的時候,需要在腳本內引入專有命名空間:   using UnityEngine.EventSystems;----------------------------------2.拖拽相關事件接口----------------------------------1.三…

java 通過cookie判斷是否登陸

protected void doGet(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException {// 判斷cookie是否有登錄信息Cookie[] cookies req.getCookies();boolean isLogin false;for(Cookie c : cookies){if("loginInfo".equals(c.getNa…

使用高級管理控制臺獲得對Windows Home Server的擴展訪問

Windows Home Server is easy to setup and use so anyone with basic computer knowledge can operate their own server. But what if you’re an advanced user and want more control over various administrative functions? The Advanced Admin Console Addin gives you…

變動性算法源代碼分析與使用示例(copy_backward、 transform、 replace_copy_if 等)

首先回顧前面的文章,我們把for_each 歸類為非變動性算法,實際上它也可以算是變動性算法,取決于傳入的第三個參數,即函數 指針。如果在函數內對容器元素做了修改,那么就屬于變動性算法。 變動性算法源代碼分析與使用示例…

[轉]QDir類及其用法總結

直接給出原文鏈接:QDir類及其用法總結 轉載于:https://www.cnblogs.com/rainbow70626/p/10330643.html

如何在Outlook中的電子郵件上顯示快速操作按鈕

There are probably actions you regularly perform in Outlook, such as deleting, archiving, and marking things as read. Here’s how to use Quick Action buttons to add one-click options that appear over every email to perform each action. 您可能會在Outlook中定…

c++讀取和寫入TXT文件的整理

c讀取和寫入TXT文件的整理 #include "stdafx.h" #include <iostream> //無論讀寫都要包含<fstream>頭文件 #include <fstream> #include <iomanip> using namespace std;int main() {//ifstream從文件流向內存的ifstream表示文件輸入流…

使用RestTemplate時報錯java.lang.IllegalStateException: No instances available for 127.0.0.1

我在RestTemplate的配置類里使用了 LoadBalancedComponentpublic class RestTemplateConfig { Bean LoadBalanced public RestTemplate restTemplate(){ return new RestTemplate(); }}或者 再調用Autowiredprivate RestTemplate restTemplate;必須使用應用名作為代替ip:端口&a…

sh變量特性(3)默認特性

變量說明$0當前腳本的文件名$n傳遞給腳本或函數的參數&#xff0c;n是數字&#xff0c;第n個參數$#傳遞給腳本或函數的參數個數$*傳遞給腳本或函數的所有參數$傳遞給腳本或函數的所有參數。被””包含時&#xff0c;與$*稍有不同$?上個命令的退出狀態&#xff0c;或函數返回值…

zune linux_更新您的Zune Player軟件

zune linuxKeeping your computer and software up to date is very important in keeping everything running smooth and secure. It’s also important to keep your geeky gadgets updated as well. Here we take a look at updating a Zune HD. 保持計算機和軟件的最新狀態…