I have the following formula written in the cell B5
=SUMPRODUCT(--(COLORINDEXOFRANGE(Data!D10:HO10,FALSE,1)=COLORINDEXOFONECELL(Data!$F$3,FALSE,1)))
When i drag down from B5 to the next row, the cells in the formula change to COLORINDEXOFRANGE(Data!D11:HO11,FALSE,1)
But i want the column number to remain the same and want just the row number to change to, for example COLORINDEXOFRANGE(Data!E10:HO10,FALSE,1)
for the cell C5 and COLORINDEXOFRANGE(Data!F10:HO10,FALSE,1)
for cell D5 and so on.
COLORINDEXOFRANGE is an inbuilt function that i found on the internet.
Please help. Thanks
$
in the formulas? – Brad