【GH】【EXCEL】P3: Set Conditional Formatting To Excel Data By Gh

news2024/9/24 17:17:57

文章目录

  • conditional formatting
    • data source
    • Conditional Scale
      • Conditional Scale
    • Conditional Percent
      • Conditional Top Percent
    • Conditional Average
      • Conditional Average
    • Multiple Conditions
    • Conditional Bar
      • Conditional Bar
    • Conditional Unique
      • Conditional Unique
    • Conditional Value
      • Conditional Value

conditional formatting

data source

image-20240819220309583

Conditional Scale

The Conditional Scale colors the cell backgrounds based on their relative numeric values with a 2 or 3 color gradient

image-20240819221141229

Conditional Scale

image-20240819221335390


Add conditional formatting colors to a Range based on relative values


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name
  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)
  • Parameter (Number) The parameter of the midpoint of a 3 color gradient
  • Gradient Color 1 (Colour) The first color of the gradient
  • Gradient Color 2 (Colour) The second color of the gradient
  • Gradient Color 3 (Colour) The third color of the gradient
  • Clear (Boolean) If true, the existing conditions will be cleared
  • Activate (Boolean) If true, the condition will be applied

Output parameters:

  • Range (Generic Data) An Excel Range Object

Conditional Percent

The Conditional Percentages colors the cell backgrounds based on their relative pecentile numeric values

image-20240819222244594

Conditional Top Percent

image-20240819222422203


Add conditional formatting to a Range based on the top percent


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name
  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)
  • Percentage (Number) The percentage of the values to highlight
  • Cell Color (Colour) The cell highlight color
  • Flip (Boolean) If true, the 'bottom 'percent will be highlighted
  • Clear (Boolean) If true, the existing conditions will be cleared
  • Activate (Boolean) If true, the condition will be applied

Output parameters:

  • Range (Generic Data) An Excel Range Object

Conditional Average

The Conditional Average colors the cell backgrounds based on their status relative to other numeric values

image-20240819223510334

Conditional Average

image-20240819223639311


Add conditional formatting to a Range based on the average of the values


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name
  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)
  • Type (Integer) The condition type
  • Cell Color (Colour) The cell highlight color
  • Clear (Boolean) If true, the existing conditions will be cleared
  • Activate (Boolean) If true, the condition will be applied

Output parameters:

  • Range (Generic Data) An Excel Range Object

Multiple Conditions

Conditional formatting can be layered to place multiple conditions on overlapping ranges.

image-20240819224311911

Conditional Bar

image-20240819225211627

Conditional Bar

image-20240819224511660


Add conditional formatting bar to a Range based on relative values


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name
  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)
  • Cell Color (Colour) The cell highlight color
  • Gradient (Boolean) If true, the bars will be a gradient
  • Clear (Boolean) If true, the existing conditions will be cleared
  • Activate (Boolean) If true, the condition will be applied

Output parameters:

  • Range (Generic Data) An Excel Range Object

Conditional Unique

image-20240819230202523

Conditional Unique

image-20240819225849361


Add conditional formatting to a Range based on unique values


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name
  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)
  • Cell Color (Colour) The cell highlight color
  • Flip (Boolean) If true, non unique values will be highlighted
  • Clear (Boolean) If true, the existing conditions will be cleared
  • Activate (Boolean) If true, the condition will be applied

Output parameters:

  • Range (Generic Data) An Excel Range Object

Conditional Value

Conditional Value

image-20240819230405567


Add conditional formatting to a Range based on a value


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name
  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)
  • Value (Number) The value to check against
  • Type (Integer) The condition type
    • Greater
    • GreaterEqual
    • Less
    • LessEqual
    • Equal
    • NotEqual
  • Cell Color (Colour) The cell highlight color
  • Clear (Boolean) If true, the existing conditions will be cleared
  • Activate (Boolean) If true, the condition will be applied

Output parameters:

  • Range (Generic Data) An Excel Range Object

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2067943.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

JUC7-共享模型之工具

线程池 自定义线程池 import lombok.extern.slf4j.Slf4j; import org.springframework.core.log.LogDelegateFactory;import java.util.ArrayDeque; import java.util.Deque; import java.util.HashSet; import java.util.concurrent.TimeUnit; import java.util.concurrent.l…

git常用操作合集

1 撤销 1.1 适用场景 如果在git上提交了commit&#xff0c;但是当前提交的代码有问题&#xff0c;需要回退到上个版本 1.2 操作命令 1、git log 查看历史提交记录及对应的commit id 找到需要回退的commit id 2、执行git reset回退到之前的状态 git reset --hard <commi…

BaseCTF [第一周]Ez Xor

笔记。 64ida打开。 走&#xff01; 逆向逆向&#xff0c;逆向往前看。 因为异或算法&#xff0c;A ^BC >>> C^BA 所以在只需要知道密钥key就可以了。 是不是头大&#xff1f; 没事 这里介绍另一种方法>>> IDA 动态调试去获取key值、密文值 。(灵活使用工…

编写程序调用元神操作系统的API

1. 背景 本文介绍了元神操作系统API的调用&#xff0c;并详细介绍了“调用元神系统API读取磁盘扇区”程序的编写以及测试结果。 2. 方法 &#xff08;1&#xff09;元神操作系统API的调用方法 元神操作系统0.4版beta4开始提供了对OS功能的调用&#xff0c;调用相关的定义如…

整形提升

有任何不懂的问题可以评论区留言&#xff0c;能力范围内都会一一回答 整型提升 (Integral Promotion)是指在计算机编程中&#xff0c;当不同类型的整数类型进行运算时&#xff0c;较小类型的整数会被自动转换为更大类型的整数&#xff0c;以确保运算的正确进行。这种类型转换主…

【生日视频制作】公司前台接待文化形象墙字写字楼办公室AE模板修改文字软件生成器教程特效素材【AE模板】

公司前台形象墙写字楼办公室生日视频制作教程AE模板修改文字素 怎么如何做的【生日视频制作】公司前台接待文化形象墙字写字楼办公室AE模板修改文字软件生成器教程特效素材【AE模板】 生日视频制作步骤&#xff1a; 安装AE软件下载AE模板把AE模板导入AE软件修改图片或文字渲染…

STM32寄存器操作、模板构建

目录 外设寄存器查找 ① 名称② 偏移地址③ 寄存器位表④ 位功能说明寄存器基本操作 C语言的置位和清零 具体方法设置GPIO流程给寄存器赋值带参数宏STM32F1xx 芯片识别存储器映射寄存器映射让GPIOB端口的16个引脚输出高电平&#xff0c;要怎么实现&#xff1f;STM32寄存器映射…

探索大语言模型在DNA 分析到表达预测以及生物信息学应用

概述 论文地址&#xff1a;https://arxiv.org/abs/2401.04155 随着 OpenAI 的 GPT-X 和谷歌的 BERT 等大规模语言模型的出现&#xff0c;自然语言处理领域得到了飞速发展。这些先进的模型将理解和生成人类语言的能力发挥到了极致&#xff0c;彻底改变了日常交流和业务流程。 …

premiere2023暴力压缩视频

目录 1. 需求说明2. 压缩流程 1. 需求说明 要将三段视频拼接起来&#xff0c;时长超过了1h&#xff0c;然后压缩到200M以内的视频。 这是三段视频的信息&#xff1a; 合并三个视频文件意味着总时长增加了。较长的视频文件通常也会更大&#xff0c;即使比特率相同。 当我把三段…

分治算法的介绍与原理解析

文章目录 1.分治算法1.1 如何判断分治问题1.2 为什么通过分治可以提升效率1.2.1 操作数量的优化1.2.2 并行计算优化 1.3 分治常见应用 1.分治算法 分治&#xff08;divide and conquer&#xff09;&#xff0c;全称是分而治之&#xff0c;是一种非常重要且非常常见的算法。分治…

【SQL基础】【牛客网】子查询、联表查询

子查询 基本语法 子查询&#xff0c;也称为嵌套查询&#xff0c;是在另一个 SQL 语句中嵌套的查询。子查询的结果可以被主查询&#xff08;外部查询&#xff09;使用&#xff0c;用于满足更复杂的数据检索需求。 例如&#xff1a; SELECT employee_name FROM employees WHE…

优化的热点分析与异常值分析:让数据分析更加便捷高效

热点分析作为一种常用的空间统计方法&#xff0c;能够帮助我们识别地理空间中的热点和冷点区域&#xff0c;即那些高值或低值集中出现的地方。而优化的热点分析进一步简化了这一过程&#xff0c;使用户无需手动调整参数即可获得可靠的结果。此外&#xff0c;异常值分析则专注于…

学习记录——day35 数据库 sqlite3

目录 一、安装sqlite3数据库以及sqlite3函数库 二、数据库的结构 三、常用数据库类型 1、sqlite3 2、mysql 四、sqlite3数据库的使用 1、打开数据库 2、sqlite3数据库中指令的使用 1&#xff09;界面指令 2&#xff09;操作指令 3&#xff09;大小写敏感性 3、创建表…

基于STM32开发的智能家居灯光控制系统

目录 引言环境准备工作 硬件准备软件安装与配置系统设计 系统架构硬件连接代码实现 系统初始化灯光控制逻辑传感器数据采集Wi-Fi通信与远程控制应用场景 家庭智能灯光管理办公室与商业环境的智能照明常见问题及解决方案 常见问题解决方案结论 1. 引言 随着智能家居技术的普及…

尚品汇-购物车列表、临时用户购物车与登录用户购物车合并实现(三十七)

目录&#xff1a; &#xff08;1&#xff09;功能—展示购物车列表 &#xff08;2&#xff09;在web-all添加前端实现 &#xff08;3&#xff09;功能--合并购物车 &#xff08;1&#xff09;功能—展示购物车列表 购物车列表接口&#xff1a;CartService /*** 通过用户Id …

Ps:高速缓存机制

Photoshop 的高速缓存 Cache技术利用缓存和分块的方法处理图像数据&#xff0c;通过合理设置高速缓存级别和拼贴大小&#xff0c;可以有效地提升软件在处理图像时的性能。 Ps菜单&#xff1a;编辑/首选项 Edit/Preferences “首选项”中提供了 8 种高速缓存级别。 增加高速缓存…

一文带你读懂反向代理服务器

文章目录 一、什么是反向代理&#xff1f;二、反向代理的主要特点2.1 负载均衡2.2 隐藏IP2.3 响应加速2.4 过滤非法请求 三、反向代理的应用场景3.1 负载均衡3.2 SSL/TLS终止3.3 日志记录3.4 URL重写3.5 API网关3.6 CDN服务 四、区分反向代理和正向代理4.1 从工作原理上4.2 从安…

Memcached:单节点、集群案例;概念、工作原理

目录 案例前置知识点 Memcached 概念 部署场景 Memcached常用架构 流程 Memcached Memcached API 数据存储方式 数据过期方式 LRU Lazy Expiration Memcached缓存机制 Memcached路由算法 求余数hash算法 一致性hash算法 Memcached分布式 案例 单节点Memcach…

2024电工杯B题完整论文

大学生平衡膳食食谱的优化设计及评价 摘要 大学阶段是学生获取知识和身体发育的关键时期&#xff0c;也是形成良好饮食习惯的重要阶段。然而&#xff0c;当前大学生中存在饮食结构不合理和不良饮食习惯的问题&#xff0c;主要表现为不吃早餐或早餐吃得马虎&#xff0c;经常食…

如果这10道关于数据库的测试题你都会,面试必过!

一、什么是数据库测试&#xff1f; 数据库测试也称为后端测试。数据库测试分为四个不同的类别。 [if !supportLists] [endif]数据完整性测试 [if !supportLists] [endif]数据有效性测试 [if !supportLists] [endif]数据库相关的性能 [if !supportLists] [endif]测试功能&a…