night24_Excel 2010条件格式梦Night 如何在列表中分隔日期?|环球微资讯
night24
【资料图】
[Updated June 2018] I"m a big fan of Excel"s conditional formatting, and often use it to highlight cells on a worksheet. But this week I ran into a conditional formatting nightmare, and had to start from scratch. Fortunately, the fix didn"t take too long, but with complex formatting, things could have been much worse.
[2018年6月更新]我是Excel 条件格式的忠实拥护者 ,经常使用它来突出显示工作表中的单元格。 但是这周我遇到了有条件的格式化梦night,不得不从头开始。 幸运的是,修复并没有花费太长时间,但是使用复杂的格式,情况可能会变得更糟。
分隔列表中的日期 (Separate the Dates in a List)
There are lots of ways to use Excel conditional formatting. It"s useful for alerting people to problems, hiding duplicate values in a column, or even hiding cells" contents, until related cells are filled correctly.
有很多使用Excel条件格式的方法。 这对于提醒人们出现问题,在列中隐藏重复的值,甚至隐藏单元格的内容非常有用,直到正确填充相关单元格为止。
Earlier this year, I posted a tip for separating dates in a list, by using a red border at the start of a date change.
今年早些时候,我发布了一个技巧,用于在列表中分隔日期 ,方法是在日期更改开始时使用红色边框。
更容易阅读 (Easier to Read)
It"s a technique that I use in one of my own workbooks, which I update every morning. The red border really makes the list easier to read, especially if I"m looking at it before my morning coffee!
我每天早上都会更新自己的一本工作簿中使用的这项技术。 红色边框确实使该列表更易于阅读,尤其是如果我在早上喝咖啡之前正在看的时候!
The conditional formatting was set for cells A2:F9, and uses a simple formula to see if the date is equal to the date in the row above.
为单元格A2:F9设置了条件格式,并使用一个简单的公式查看日期是否等于上一行中的日期。
快速复制和粘贴 (Quick Copy and Paste)
In the workbook, I track some daily statistics for my website, and use the same headings every day. So, to save typing time, I copy and paste the headings from the day before.
在工作簿中,我跟踪网站的一些日常统计数据,并每天使用相同的标题。 因此,为节省键入时间,我复制并粘贴了前一天的标题。
For example, in the screen shot above, I could copy the regions and products headings from B2:C4, and paste them into cell B10:C12, for the latest day"s data.
例如,在上面的屏幕快照中,我可以从B2:C4复制区域和产品标题,并将它们粘贴到单元格B10:C12中,以获取最新的日期数据。
The Excel table automatically expands to include the new rows, and fills in the formulas in column F. Awesome!
Excel表将自动展开以包括新行,并在F列中填写公式。太棒了!
And that copy and paste trick is what I"ve been doing every day, for months on end.
这个复制粘贴技巧就是我连续几个月都在做的事情。
线路故障 (Trouble With the Lines)
Suddenly, this week, I started having trouble with the red border between dates – it wasn"t going across the full table.
突然,这个星期,我开始遇到日期之间的红色边框的麻烦–它没有遍及整个表格。
So, I went into the Conditional Formatting Manager, to fix the problem. But, instead of one simple rule, there were hundreds of rules!
因此,我进入条件格式管理器来解决此问题。 但是,不是一个简单的规则,而是数百个规则!
You can see the tiny scroll box at the bottom right in the screen shot below. That should give you some idea of how long that list was.
您可以在以下屏幕截图的右下方看到微小的滚动框。 这应该使您知道该列表有多长时间。
Every time that I copied and pasted within the conditional formatting range, it created another rule for the worksheet. Yikes!
每次我在条件格式范围内复制和粘贴时,它都会为工作表创建另一个规则。 kes!
Let"s take a look at the smaller example, where I just copied and pasted the Region and Product headings. Now, it has two rules, instead of one, after one copy and paste within the table.
让我们看一下较小的示例,在该示例中,我刚刚复制并粘贴了Region和Product标题。 现在,它有两个规则,而不是一个,一个是复制并粘贴到表中。
清理混乱-更新 (Cleaning Up the Mess - UPDATED)
UPDATE - March 2017: I"ve found a quicker way to fix the problem, as you can see in this video. Get the detailed steps on my Conditional Formatting page.
更新-2017年3月:正如您在本视频中所看到的,我找到了解决此问题的更快方法。 在“ 条件格式”页面上获取详细步骤。
演示地址
The previous solution is listed below, in case you"d rather try that.
如果您愿意尝试一下,下面列出了以前的解决方案。
清理混乱-原始解决方案 (Cleaning Up the Mess - ORIGINAL SOLUTION)
I scrolled through the list, and deleted a few of the rules, but quickly realized that it would take far too long to delete all of them. So, to clean up the mess, I cleared the conditional formatting from the worksheet, and set it up again.
我滚动浏览列表,并删除了一些规则,但很快意识到删除所有规则将花费很长时间。 因此,为清理混乱,我从工作表中清除了条件格式,然后再次进行设置。
With all the extra rules gone, the conditional formatting borders were working correctly again.
随着所有其他规则的消失,条件格式设置边框再次正常工作。
避免条件格式化梦Night (Avoid Conditional Formatting Nightmare)
Now, when I want to save some typing time in the daily list, I copy the previous headings, and use the Paste Values button to create the new records. I"ve got a copy of that button on Excel"s Quick Access Toolbar, so it"s easy to click.
现在,当我想在每日列表中节省一些键入时间时,我复制了以前的标题,并使用“粘贴值”按钮来创建新记录。 我在Excel的快速访问工具栏上有该按钮的副本,因此很容易单击。
That adds the text, and the table expands, including the formulas – but the conditional formatting doesn"t create a new rule.
这样就添加了文本,表格也进行了扩展,包括公式-但条件格式不会创建新规则。
Be careful out there -- don"t let this conditional formatting nightmare happen to you!
小心点-不要让这种条件格式化的噩梦发生在您身上!
另一种解决方案 (Another Solution)
Update: Thanks to Khushnood, who suggested leaving 3 blank rows at the bottom of the table, and inserting new rows above that, when adding new data.
更新:感谢Khushnood的建议,他建议在表底部保留3个空白行,并在添加新数据时在其上方插入新行。
Copy and pasting within the table doesn"t seem to produce the duplicate conditional formatting.
在表中进行复制和粘贴似乎不会产生重复的条件格式。
It"s still an extra step though, instead of a simple copy and paste. ________________
但是,这仍然是一个额外的步骤,而不是简单的复制和粘贴。 ________________
night24
标签:
相关推荐:
最新新闻:
- 马赫带效应是什么?马赫带效应的定义
- hp服务器电话官方网站怎么查询?查询步骤 环球热闻
- 如何在oracle中导入dmp数据库文件?
- 如何区分光伏系统中的“李逵”与“李鬼”?
- 【全球时快讯】shutdown和close的区别 Sockfd如何关闭socket的描述符?
- night24_Excel 2010条件格式梦Night 如何在列表中分隔日期?|环球微资讯
- 逐鹿工具显示服务器错误连接不上怎么解决?解决方法如下
- 网络广告类型有哪些?网络营销广告的类型(CPC、CPM、CPA、CPS, CTR)|焦点快播
- 挪威国宝级女歌手:一首炽热的英文情歌-当前看点
- 《英雄联盟比赛服》怎么下载?英雄联盟比赛服-观点
- 当前信息:新手程序员的代码写不好怎么办?38条PHP优化代码
- 环球即时:微信如何开通直播?微信开通直播的方法
- 【雅思阅读】最好的雅思课程-阅读部分全集
- 如何下载顺义区卫星地图高清版大图?下载步骤-全球信息
- macOS如何给文件加密?macOS文件加密技巧
- 数学小知识汇总 矩阵范数、梯度和梯度场的区别-全球资讯
- 粘粘世界worldofgoo攻略 《粘粘世界 world of goo》怎么下载?:全球动态
- Cygames即将发布《小小诺娅:乐园继承者》的新公告
- 多人弹幕射击游戏《黑白之地》Steam页面上线 支持简体中文_当前关注
- 2022年PlayStation游戏七大趋势:交界地的喘息
- 每日速看!松下电饭煲将告别日本制造 移交给中国工厂生产
- 天天观点:暴雪子公司Proletariat收购6个月后试图成立工会
- 《星空》玩家将有前往地球的机会 那地球会是什么样?:天天速看料
- 阿凡达2全球票房破10亿美元 走势优于预期
- 打不开192.168.1.1怎么办?打不开192.168.1.1解决方法
- WIN10如何修复操作系统?超详细的五种解决方法
- iphone已被停用怎么办 教你两招轻松解除停用状态
- 图片水印如何去除?推荐3种去水印的好方法
- 戴尔笔记本能换显卡吗?笔记本电脑显卡和台式机显卡有什么区别?
- 如何修改注册表路径?通过注册表修改软件安装路径
- 电脑怎么终止自动关机命令?电脑解除自动关机命令方法
- 休眠快捷键如何设置?键盘休眠状态设置技巧
- 电脑突然蓝屏怎么办?处理电脑蓝屏的正确方法
- 条形码打印机怎么换碳带?更换打印机碳带详细步骤
- 风云防火墙使用教程 防火墙的使用技巧
- 复印机卡纸了怎么弄出来?解读复印机为什么会卡纸?
- 打印机墨盒怎么加碳粉?打印机加碳粉教程
- windowsxp怎样重装系统?重装系统教程
- 电信托管服务器的好处 服务器托管的安全性
- 笔记本键盘保护膜有必要吗?键盘膜优缺点有哪些?
- 车载mp3播放器怎么使用?车载mp3播放器使用方法
- h3cs5500交换机配置教程 解析H3C华三交换机的配置命令
- 金山毒霸2009卸载不了怎么办?完美卸载金山毒霸的方法
- sc光纤跳线连接方法 sc光纤跳线注意事项
- 尼尔德鲁克曼:《最后生还者》剧集会是最好的游改剧集
- 当前速看:《艾尔登法环》荣获106项年度游戏奖 2022年度游戏
- 42岁广末凉子时隔22年再出写真 招牌笑容依旧少女感
- 苹果跨年福利被指优惠力度低 网友吐槽是在清库存
- 当前快播:《暗黑破坏神4》新短片欣赏 英雄大战地狱军团!
- 今日聚焦!摆脱三季度阴霾,容百Q4利润环比涨超120% | 见智研究
- 世界观速讯丨公司裁员的前兆
- 18英寸“大家伙”要来了 ROG玩家国度新品发布会定档1月4日
- PC玩家狂喜:PS3模拟器已可运行所有PS3游戏
- 世界快资讯:如何查看电脑连接的wifi密码 一共三种方法
- iPhone 15或将告别直角设计 新设计手感更好:全球最新
- RTX 4070Ti性能曝光 比RX 3090Ti还要强-环球观焦点
- 每日观察!Capcom开展网络调查 填完问卷可获限定壁纸
- 能源危机下的众生相:德国重回“燃煤”时代,中东豪掷千金奔向清洁能源_每日聚焦
- 天天快报!性价比碾压小米13?Redmi K60系列发布会汇总
- 环球热议:学AMD大涨价!Intel新一代平民主板来了:这涨幅不小
- 【世界时快讯】AMD最便宜的Zen4处理器要上新了:1月10日上市
- 消息称任天堂的确考虑过Switch Pro不过已改变策略
- 菲尼克斯NT参战《机动战士高达:激战任务2》_世界要闻
- 全球微资讯!海外版拼多多成美国下载量最高App
- 已做工商变更 微念与李子柒达成和解
- 测试画面放出 淘宝将在春节期间推出首个元宇宙直播间
- 超越PS4!Switch全球销量1.18亿台:史上销量第四主机-重点聚焦
- 宏碁发布27英寸暗影骑士电竞显示器:100Hz刷新率 仅679元
- 口碑稀烂破纪录?网飞《猎魔人:血源》好评率仅8%
- Epic喜加一:《Severed Steel》免费领取_全球播报
- 全球即时:另一家动视暴雪工作室Proletariat正在组建工会
- RTX 4080移动版跑分来了!42%碾压移动版3080-世界观天下
- 外媒评2022最难的15款游戏:《老头环》《战神》等_每日时讯
- GOG喜加一:《百战天虫:革命》黄金版免费领
- 越南这波资本外流告一段落了-今日精选