I have an Excel spreadsheet that averages a set of various data. I need a way to display nothing if cell N2 contains the value 9999.09, to make sure that value is not included in the averaging.
Excel code that needs to be modified:
=IF(T2+0<5,N6,N4)
I tried
=IF(AND(T2+0<5,N2=9999.09,N6,N4))
but that doesn't work because it really is a two condition statement. Also cell T2 displays the current hour.
IF(N2<>9999.09,N2,"")? The fact that you are giving such a specific target figure (9999.09) makes me think I've misunderstood. I also don't understand where the values have come from inT2+0<5=if(and(.... Did you perhaps mean=IF(AND(T2+0<5,N2=9999.09),N6,N4)?