ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional formatting on dynamic named range (https://www.excelbanter.com/excel-worksheet-functions/450793-conditional-formatting-dynamic-named-range.html)

Håkan Björkström

Conditional formatting on dynamic named range
 
Hello
I have an Excel 2007 sheet with a dynamic named range, "WholeMain", to which I apply some conditional formatting. When I apply a formatting to range ="WholeMain" it changes the range to absolute address =$A$1:$V$379;$A$399:$V$768 skipping the rows 380...398. I have tried to delete the range name and recreate it. I have also recreated all conditional formatting without any success. For any reason one of the formatting clause applies to those rows, but leaving column C unformatted.

Regards
Håkan

Claus Busch

Conditional formatting on dynamic named range
 
Hi Hakan,

Am Wed, 15 Apr 2015 01:27:00 -0700 (PDT) schrieb Håkan Björkström:

I have an Excel 2007 sheet with a dynamic named range, "WholeMain", to which I apply some conditional formatting. When I apply a formatting to range ="WholeMain" it changes the range to absolute address =$A$1:$V$379;$A$399:$V$768 skipping the rows 380...398. I have tried to delete the range name and recreate it. I have also recreated all conditional formatting without any success. For any reason one of the formatting clause applies to those rows, but leaving column C unformatted.


that is a fix range.
A dynamic range should be
=OFFSET(Sheet1!$A$1,,,COUNTA(Sheet1!$A:$A),COUNTA( Sheet1!$1:$1))


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional

Håkan Björkström

Conditional formatting on dynamic named range
 
Den onsdag 15 april 2015 kl. 12:05:03 UTC+3 skrev Claus Busch:
Hi Hakan,

Am Wed, 15 Apr 2015 01:27:00 -0700 (PDT) schrieb Håkan Björkström:

I have an Excel 2007 sheet with a dynamic named range, "WholeMain", to which I apply some conditional formatting. When I apply a formatting to range ="WholeMain" it changes the range to absolute address =$A$1:$V$379;$A$399:$V$768 skipping the rows 380...398. I have tried to delete the range name and recreate it. I have also recreated all conditional formatting without any success. For any reason one of the formatting clause applies to those rows, but leaving column C unformatted.


that is a fix range.
A dynamic range should be
=OFFSET(Sheet1!$A$1,,,COUNTA(Sheet1!$A:$A),COUNTA( Sheet1!$1:$1))


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional


Yes, this is the formula.
Håkan


All times are GMT +1. The time now is 10:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com