简体   繁体   English

在 Excel 中跨多个单元格设置格式

[英]Formatting across multiple cells in Excel

Trying to set formatting that will add a line (border) depending on the "rank" entered as shown below.尝试设置将根据输入的“等级”添加线条(边框)的格式,如下所示。 Tried the following with conditional formatting by formula with no results.通过公式尝试了以下条件格式,但没有结果。

With A18:T18 selected选择 A18:T18

B17 = D2 B17 = D2

在此处输入图像描述

Use a condition with this formula:使用此公式的条件:

=$C11-1=$D$2

But place the line above the cell (and not below)但是将线放在单元格上方(而不是下方)

It should give you the result you want for all ranks, except the last one.它应该为您提供所有等级的结果,除了最后一个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM