I've got that bit to work but how do I refer to a cell in the row above only on the even rows?Take a look at the ISODD and ISEVEN functions.
You can use these on the ROW() function, which returns the row number of the row the formula is placed in, i.e.
Excel Formula:=ISEVEN(ROW())
and why it needs to behave that way.I really need a non volitile version of Offset.
Please see the image.It would be very helpful if instead of speaking in vague generalities, if you actually give us an example of exactly what it is you are trying to do.
Then we may be able to build a solution tailored to your specific situation, instead of just vague responses to vague questions.
And please explain what exactly you mean here:
and why it needs to behave that way.
Odd rows : =IF(ISODD(ROW()),IF($M3=1,TRUE,FALSE),FALSE)Please the Conditional Formatting formulas, so we can help you update it accordingly.
We can not update a formula if we don't know what it is.
=IF(ISODD(ROW()),AND($M3=1,...),AND($M2=1,...))
Where the row is EVEN I need to refer to the row above in the formula and if ODD I need to referSomething like:
Rich (BB code):=IF(ISODD(ROW()),AND($M3=1,...),AND($M2=1,...))
Because a row number can only ever be EVEN or ODD, you only need to check one condition. If it is not one, it is the other.
AND and OR functions return boolean values, by definitition, so you don't explicitly need to tell them to return TRUE or FALSE.
The Red part of the function is what to do on an ODD number row, and blue is for the EVEN number row.