Enum BooleanCriteria
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
불리언기준
조건부 형식 또는 필터에 사용할 수 있는 불리언 기준을 나타내는 열거형입니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
SpreadsheetApp.BooleanCriteria.CELL_EMPTY
입니다.
속성
속성 | 유형 | 설명 |
CELL_EMPTY | Enum | 셀이 비어 있으면 기준이 충족됩니다. |
CELL_NOT_EMPTY | Enum | 셀이 비어 있지 않으면 기준이 충족됩니다. |
DATE_AFTER | Enum | 날짜가 지정된 값 이후인 경우 기준이 충족됩니다. |
DATE_BEFORE | Enum | 날짜가 지정된 값보다 이전이면 기준이 충족됩니다. |
DATE_EQUAL_TO | Enum | 날짜가 지정된 값과 같으면 기준이 충족됩니다. |
DATE_NOT_EQUAL_TO | Enum | 날짜가 지정된 값과 같지 않으면 기준이 충족됩니다. |
DATE_AFTER_RELATIVE | Enum | 날짜가 상대 날짜 값 이후인 경우 기준이 충족됩니다. |
DATE_BEFORE_RELATIVE | Enum | 날짜가 상대 날짜 값보다 이전이면 기준이 충족됩니다. |
DATE_EQUAL_TO_RELATIVE | Enum | 날짜가 상대 날짜 값과 같으면 기준이 충족됩니다. |
NUMBER_BETWEEN | Enum | 숫자가 주어진 값 사이이면 기준이 충족됩니다. |
NUMBER_EQUAL_TO | Enum | 숫자가 지정된 값과 같으면 기준이 충족됩니다. |
NUMBER_GREATER_THAN | Enum | 숫자가 지정된 값보다 클 때 기준이 충족됩니다. |
NUMBER_GREATER_THAN_OR_EQUAL_TO | Enum | 숫자가 지정된 값보다 크거나 같은 경우 기준이 충족됩니다. |
NUMBER_LESS_THAN | Enum | 숫자가 지정된 값보다 작으면 기준이 충족됩니다. |
NUMBER_LESS_THAN_OR_EQUAL_TO | Enum | 숫자가 지정된 값보다 작거나 같은 경우 기준이 충족됩니다. |
NUMBER_NOT_BETWEEN | Enum | 숫자가 주어진 값 사이가 아니면 기준이 충족됩니다. |
NUMBER_NOT_EQUAL_TO | Enum | 숫자가 지정된 값과 같지 않으면 기준이 충족됩니다. |
TEXT_CONTAINS | Enum | 입력에 지정된 값이 포함되면 기준이 충족됩니다. |
TEXT_DOES_NOT_CONTAIN | Enum | 입력에 지정된 값이 포함되지 않으면 기준이 충족됩니다. |
TEXT_EQUAL_TO | Enum | 입력이 지정된 값과 같으면 기준이 충족됩니다. |
TEXT_NOT_EQUAL_TO | Enum | 입력이 지정된 값과 같지 않으면 기준이 충족됩니다. |
TEXT_STARTS_WITH | Enum | 입력이 지정된 값으로 시작하면 기준이 충족됩니다. |
TEXT_ENDS_WITH | Enum | 입력이 지정된 값으로 끝나면 기준이 충족됩니다. |
CUSTOM_FORMULA | Enum | 입력으로 인해 주어진 수식이 true 으로 평가되면 기준이 충족됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003eBooleanCriteria\u003c/code\u003e is an enumeration used to define criteria for conditional formatting or filtering in Google Sheets.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a variety of properties representing different criteria types like \u003ccode\u003eCELL_EMPTY\u003c/code\u003e, \u003ccode\u003eDATE_EQUAL_TO\u003c/code\u003e, \u003ccode\u003eNUMBER_GREATER_THAN\u003c/code\u003e, \u003ccode\u003eTEXT_CONTAINS\u003c/code\u003e, and more.\u003c/p\u003e\n"],["\u003cp\u003eTo use a specific criteria, you call it using the syntax \u003ccode\u003eSpreadsheetApp.BooleanCriteria.<property>\u003c/code\u003e, for example, \u003ccode\u003eSpreadsheetApp.BooleanCriteria.CELL_EMPTY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach property represents a specific condition, such as whether a cell is empty, a date is within a certain range, or text contains a specific string.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBooleanCriteria\u003c/code\u003e helps automate tasks and enhance data analysis by enabling you to dynamically format or filter spreadsheet data based on specified conditions.\u003c/p\u003e\n"]]],[],null,["# Enum BooleanCriteria\n\nBooleanCriteria\n\nAn enumeration representing the boolean criteria that can be used in conditional format or\nfilter.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.BooleanCriteria.CELL_EMPTY`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------------------------------|--------|-------------------------------------------------------------------------------------|\n| `CELL_EMPTY` | `Enum` | The criteria is met when a cell is empty. |\n| `CELL_NOT_EMPTY` | `Enum` | The criteria is met when a cell is not empty. |\n| `DATE_AFTER` | `Enum` | The criteria is met when a date is after the given value. |\n| `DATE_BEFORE` | `Enum` | The criteria is met when a date is before the given value. |\n| `DATE_EQUAL_TO` | `Enum` | The criteria is met when a date is equal to the given value. |\n| `DATE_NOT_EQUAL_TO` | `Enum` | The criteria is met when a date is not equal to the given value. |\n| `DATE_AFTER_RELATIVE` | `Enum` | The criteria is met when a date is after the relative date value. |\n| `DATE_BEFORE_RELATIVE` | `Enum` | The criteria is met when a date is before the relative date value. |\n| `DATE_EQUAL_TO_RELATIVE` | `Enum` | The criteria is met when a date is equal to the relative date value. |\n| `NUMBER_BETWEEN` | `Enum` | The criteria is met when a number that is between the given values. |\n| `NUMBER_EQUAL_TO` | `Enum` | The criteria is met when a number that is equal to the given value. |\n| `NUMBER_GREATER_THAN` | `Enum` | The criteria is met when a number that is greater than the given value. |\n| `NUMBER_GREATER_THAN_OR_EQUAL_TO` | `Enum` | The criteria is met when a number that is greater than or equal to the given value. |\n| `NUMBER_LESS_THAN` | `Enum` | The criteria is met when a number that is less than the given value. |\n| `NUMBER_LESS_THAN_OR_EQUAL_TO` | `Enum` | The criteria is met when a number that is less than or equal to the given value. |\n| `NUMBER_NOT_BETWEEN` | `Enum` | The criteria is met when a number that is not between the given values. |\n| `NUMBER_NOT_EQUAL_TO` | `Enum` | The criteria is met when a number that is not equal to the given value. |\n| `TEXT_CONTAINS` | `Enum` | The criteria is met when the input contains the given value. |\n| `TEXT_DOES_NOT_CONTAIN` | `Enum` | The criteria is met when the input does not contain the given value. |\n| `TEXT_EQUAL_TO` | `Enum` | The criteria is met when the input is equal to the given value. |\n| `TEXT_NOT_EQUAL_TO` | `Enum` | The criteria is met when the input is not equal to the given value. |\n| `TEXT_STARTS_WITH` | `Enum` | The criteria is met when the input begins with the given value. |\n| `TEXT_ENDS_WITH` | `Enum` | The criteria is met when the input ends with the given value. |\n| `CUSTOM_FORMULA` | `Enum` | The criteria is met when the input makes the given formula evaluate to `true`. |"]]