Custom Formula Conditional Formatting incorporating 2 spreadsheets

做~自己de王妃 提交于 2019-12-24 19:25:59

问题


Is it possible to arrange a conditional formatting custom formula based on information input into a different spreadsheet?

For example, I have 1 in A1, 2 in A2 and 3 in A3 on a spreadsheet saved as 'Numbers' and in a worksheet titled 'List' and in a spreadsheet saved as 'Input' I enter 1 in A1 of a worksheet titled 'Entry'. When I enter 1 in the 'Input' spreadsheet I would want cell A1 in the 'Numbers' spreadsheet to become highlighted.

I've had a play around with IMPORTRANGE AND IF formulae but to no avail


回答1:


try:

=A1=IMPORTRANGE("16nnuzNRx_kGGJm1EBVX7kBT2bfW1-2TYwSiuaLF-Q", "Numbers!A1:A")

that weird number is spreadsheet ID (you can find it in URL between d/ and /edit)

note that both ranges need to be formatted same


a faster alternative would be to use IMORTRANGE to import those values in some column and then just compare those two columns



来源:https://stackoverflow.com/questions/59257732/custom-formula-conditional-formatting-incorporating-2-spreadsheets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!