Ищете способ скрыть содержимое ячейки, если другие ячейки в той же строке имеют значения - PullRequest
0 голосов
/ 02 августа 2020

Я новичок в кодировании, пока что я прошел долгий путь с некоторыми результатами, которыми я доволен. Однако я озадачен, когда дело касается формул и сценариев.

Example of row

As shown above, I have a record consisting of 11 columns. The first 10 columns are input data from a form I've made. The 11th column is a link generated from a script that would allow a user to re-enter information if they previously left it blank.

What I'm trying to do is find a way to hide the 11th column if and only if the other 10 columns have values contained in them.

I'm pretty sure a function or array is needed, but I do not know how to go about writing it. Any help would be greatly appreciated.

Link to Project: https://docs.google.com/spreadsheets/d/17H5Qi-OedED_ek1v5A5MLV9OWKEK-3Ku5vBvm9OqBdI/edit?usp=sharing

1 Ответ

0 голосов
/ 02 августа 2020

попробовать в K1:

={"Edit Link *"; 
 ARRAYFORMULA(IF(10=MMULT(IF(INDIRECT("A2:J"&COUNTA(A2:A)+1)="", 0, 1), 
 TRANSPOSE(COLUMN(A:J)^0)),,"generate link"))}

введите описание изображения здесь

...