M
maciej.grzywna
Hi!
I have a worksheet in which I have a following array formula entered
in Q1:Q1000
={IF(MAX(IF($B$1:$B$1000=B2;$P$2:$P$1000))<30;0;1)}
I would like to write a macro that would enter such formula into
Q1:Q1000, the problem that I can't solve is the number of rows that is
changing, sometimes I have 1000 rows, sometimes more. How to adjust
the formula under vba to consider the number of rows?
TIA
Maciek
I have a worksheet in which I have a following array formula entered
in Q1:Q1000
={IF(MAX(IF($B$1:$B$1000=B2;$P$2:$P$1000))<30;0;1)}
I would like to write a macro that would enter such formula into
Q1:Q1000, the problem that I can't solve is the number of rows that is
changing, sometimes I have 1000 rows, sometimes more. How to adjust
the formula under vba to consider the number of rows?
TIA
Maciek