All,
Here is where I started.
=1440-SUM(IF(ISNUMBER('Line 3'!$D$4:$D$44903),IF(INT('Line 3'!$D$4:$D$44903)=INT('Line 3 calc Sheet'!B18),--(('Line 3 data copy'!$E$4:$E$44703>220)*ISNUMBER('Line 3 data copy'!$E$4:$E$44703)+('Line 3 data copy'!$F$4:$F$44703>220)*ISNUMBER('Line 3 data copy'!$F$4:$F$44703)+ ('Line 3 data copy'!$G$4:$G$44703>220)*ISNUMBER('Line 3 data copy'!$G$4:$G$44703)+('Line 3 data copy'!$H$4:$H$44703>220)*ISNUMBER('Line 3 data copy'!$H$4:$H$44703)>0))))
Now this isn't to bad as it looks up a date then finds the date and sums it in the date. So if any of E, F, G, or H are above 220 in that date, it sums that total and that's what I wont this equation to do and it works. Now I want to find how many times in that day the or state me changes but only changes from >220 to <220. I do not care if it goes from <220 to over 220. I don't know if that makes any since but I might have to throw in a dummy column to make this work. Let me know if you have any ideas.
thanks
Here is where I started.
=1440-SUM(IF(ISNUMBER('Line 3'!$D$4:$D$44903),IF(INT('Line 3'!$D$4:$D$44903)=INT('Line 3 calc Sheet'!B18),--(('Line 3 data copy'!$E$4:$E$44703>220)*ISNUMBER('Line 3 data copy'!$E$4:$E$44703)+('Line 3 data copy'!$F$4:$F$44703>220)*ISNUMBER('Line 3 data copy'!$F$4:$F$44703)+ ('Line 3 data copy'!$G$4:$G$44703>220)*ISNUMBER('Line 3 data copy'!$G$4:$G$44703)+('Line 3 data copy'!$H$4:$H$44703>220)*ISNUMBER('Line 3 data copy'!$H$4:$H$44703)>0))))
Now this isn't to bad as it looks up a date then finds the date and sums it in the date. So if any of E, F, G, or H are above 220 in that date, it sums that total and that's what I wont this equation to do and it works. Now I want to find how many times in that day the or state me changes but only changes from >220 to <220. I do not care if it goes from <220 to over 220. I don't know if that makes any since but I might have to throw in a dummy column to make this work. Let me know if you have any ideas.
thanks