I recently used an array formula in a workbook where I wanted to find the mean of all the values in the range "data" which lay on the odd-numbered rows.
The formula I used was:
={average(IF(ISODD(ROW(data)),data))}
This gave a VALUE! error.
However,
={average(IF(ROW(data)=ODD(ROW(data)),data))}
worked fine.
Any idea why?
Tony
The formula I used was:
={average(IF(ISODD(ROW(data)),data))}
This gave a VALUE! error.
However,
={average(IF(ROW(data)=ODD(ROW(data)),data))}
worked fine.
Any idea why?
Tony