从公式调用图像

时间:2017-03-10 11:32:15

标签: google-sheets formula

如果语句公式无法根据相邻单元格中的特定文本调用特定图像。

这有效:

    `=if(istext(A2), image("https://img.labnol.org/di/high-quality-  photo.jpg",2),"")`

这不是可行的,但却是需要的:

        `=IF(istext(A2="Van", image("https://img.labnol.org/di/high-quality-photo.jpg",2),IF(A2="Bike", image("https://isome other image from the library",2),""))`

Image Spreadsheet

1 个答案:

答案 0 :(得分:0)

istext(A2="Van"更改为=if(find("Van",A3)>0, image("https://img.labnol.org/di/high-quality-photo.jpg",2),"")