Hi,
I have a statement where conditional formatting has been done to mark the cells which do not fall under the condition with yellow color. So the table is like this
Characteristics date1 date2 date3 date4
A1. Val1. Val2. Val3. Val4
A2. Val1. Val2. Val3. Val4
Now some values under the date fall under the conditional formatting criteria.
The thing I have to do is put a column after the last column which counts the number of cells in a row with a background color as yellow.
The main problem is , the data in the cell is extracted from a macro hence the number of columns keep changing. But the number of rows is same i.e 258. So to add a column which counts the number of yellow cells in a row we first need to find the last column and then add a new column after that to put the values or count of yellow cells.
Please help
Thank you
I have a statement where conditional formatting has been done to mark the cells which do not fall under the condition with yellow color. So the table is like this
Characteristics date1 date2 date3 date4
A1. Val1. Val2. Val3. Val4
A2. Val1. Val2. Val3. Val4
Now some values under the date fall under the conditional formatting criteria.
The thing I have to do is put a column after the last column which counts the number of cells in a row with a background color as yellow.
The main problem is , the data in the cell is extracted from a macro hence the number of columns keep changing. But the number of rows is same i.e 258. So to add a column which counts the number of yellow cells in a row we first need to find the last column and then add a new column after that to put the values or count of yellow cells.
Please help
Thank you