简体   繁体   English

使用 IMPORTRANGE 或 VLOOKUP 返回数据时是否无法包含字体颜色?

[英]Is there no way of including font color when returning data using IMPORTRANGE or VLOOKUP?

I know these functions don't normally work this way, but this is the only option I can think of with what I need to accomplish.我知道这些功能通常不会以这种方式工作,但这是我能想到的唯一选择来完成我需要完成的工作。 Just please if anyone knows of a way that importrange can also display even just the font color from the source sheet (cell fill doesn't matter), that would be very helpful.如果有人知道 importrange 甚至可以只显示源工作表中的字体颜色(单元格填充无关紧要)的方式,那将非常有帮助。

unfortunately no.抱歉不行。 IMPORTRANGE is not capable to carry on the formatting. IMPORTRANGE无法进行格式化。 but you can copy-paste it by clicking on the red circle and:但是您可以通过单击红色圆圈来复制粘贴它,然后:

在此处输入图像描述

Google Sheets considers formulas and raw data to simply be values inside the cells, and it considers formatting to be visual prettiness for people. Google 表格将公式和原始数据简单地视为单元格内的值,并将格式设置视为人们的视觉美感。 So, there's no formula which can affect a format, nor is there a format which can affect a cell's formula/data.因此,没有可以影响格式的公式,也没有可以影响单元格公式/数据的格式。

However, you can use Conditional Formatting to automatically format a wide range of cells in various ways.但是,您可以使用条件格式以各种方式自动设置各种单元格的格式。 If your goal is to have this spreadsheet apply format to itself automatically based on its cells' values, this is probably what you want.如果您的目标是让此电子表格根据其单元格的值自动将格式应用于自身,这可能就是您想要的。

Google 表格:格式菜单,突出显示条件格式选项Google 表格:条件格式检查器,在 D 列的所有单元格中显示从绿色到黄色到红色的渐变

As a plus, the "Paste format" button works with Conditional Formatting too!另外,“粘贴格式”按钮也适用于条件格式!

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

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