M
M
mUchenik2020-12-28 09:08:53
Google Sheets
mUchenik, 2020-12-28 09:08:53

How to write your own formula for conditional formatting?

There is a table consisting of several columns, for example 15.
Rows, for example, 20.
The task is as follows:
If cell C11 has a value of 100%, then the entire row number 11 (all cells in this row) is filled with color up to column "O" inclusive , but not more.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ivanov, 2020-12-28
@mUchenik

5fe979517035d395854168.png
It may be enough to set up conditional formatting:

  1. specify fill range
  2. select custom functions
  3. enter the function with the $ sign. This will force the entire line to be flooded

G
Grigory Boev, 2020-12-28
@ProgrammerForever

=И(
     ДВСCЫЛ("RC3";0)=1;
     СТОЛБЕЦ(ДВСCЫЛ("RC";0)<=СТОЛБЕЦ($O$1)
  )

,where INDIRECT("RC 3 ";0)=1 - 3 column (C)
INDIRECT("RC3",0)= 1 - =100%
COLUMN(INDIRECT("RC",0)<=COLUMN($ O $1 ) - up to and including the "O" column.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question