A method, system, apparatus, and computer-readable medium for providing spreadsheet-driven key performance indicators are disclosed. In cases that a value of the condition satisfying counter becomes longer than a determination period, and a storage history flag indicates \u201c0\u201d, an additional value is added to the determination period. A control circuit generates a plurality of switching signals to control the transistors.