Formula for a count of only the positive difference between rows then outputting a sum of the difference.
1. I am using Excel 07 on a Win 7 system.
2. On a monthly basis we must report our public wifi user statistics. (we are a municipal library)
3 We download our report directly from the wifi equipment. This report contains 2500-ish rows of data. Below is a small sample of the report data.
[TABLE="width: 90"]
<tbody>[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]5
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
</tbody>[/TABLE]
For all that data the positive difference is only 7. Making that 7 total users accessing public wifi.
The report always has a 1 that is the equipment so we do not count 1 we only count the positive difference. If we could count only the positive difference rows of data we would have the correct number of public users.
So far, for months I have just been counting the reports by hand. Needless to say its been mind numbing and very time consuming. If anyone could help me out you would have my eternal gratitude. If what I am trying to do is not feasable just let me know and I will go back to counting by hand.
Thank you for your time in just reading this
1. I am using Excel 07 on a Win 7 system.
2. On a monthly basis we must report our public wifi user statistics. (we are a municipal library)
3 We download our report directly from the wifi equipment. This report contains 2500-ish rows of data. Below is a small sample of the report data.
[TABLE="width: 90"]
<tbody>[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]5
[/TD]
[/TR]
[TR]
[TD="align: right"]4
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[/TR]
</tbody>[/TABLE]
For all that data the positive difference is only 7. Making that 7 total users accessing public wifi.
The report always has a 1 that is the equipment so we do not count 1 we only count the positive difference. If we could count only the positive difference rows of data we would have the correct number of public users.
So far, for months I have just been counting the reports by hand. Needless to say its been mind numbing and very time consuming. If anyone could help me out you would have my eternal gratitude. If what I am trying to do is not feasable just let me know and I will go back to counting by hand.
Thank you for your time in just reading this
Last edited: