Utilization of VBA and Excel as a Technological Innovation for Item Analysis
Keywords:
Item analysis, VBA, Excel, educational measurement, reliability, validityAbstract
Item analysis plays a crucial role in educational evaluation to ensure the validity and reliability of test instruments. Manual calculations of difficulty index (p), discrimination index (D), and reliability coefficients such as KR‑20 are often time‑consuming and prone to human error. This study introduces an innovative approach by utilizing Microsoft Excel combined with Visual Basic for Applications (VBA) to automate item analysis. The developed macro system allows educators and researchers to input answer keys and student responses, then automatically calculates difficulty index, discrimination index, validity categories, and KR‑20 reliability. In addition, the system generates visual outputs in the form of bar charts, pie charts, and reliability graphs, making interpretation more accessible. A simulated dataset of 20 students with 20 multiple‑choice items was used to demonstrate the system’s functionality. The results show that 80% of items fall into the moderate category, 75% are valid, and the KR‑20 reliability coefficient reaches 0.811, which is categorized as high. These findings confirm that the test instrument has good quality and demonstrate that VBA/Excel‑based automation provides accurate, efficient, and reproducible item analysis. This innovation highlights the potential of accessible spreadsheet technology to democratize item analysis, making it practical for educators across diverse contexts.
References
Arikunto, S. (2021). Fundamentals of Educational Evaluation. Jakarta: Bumi Aksara.
Nitko, A. J., & Brookhart, S. M. (2023). Educational Assessment of Students. Pearson.
Irawan, A. (2024). Educational Data Processing with Excel and VBA. Poliban Press.
Almuna.sch.id. (2025). Automated student score processing and latest item analysis application 2025.
Susanto, H. (2023). Excel based item analysis to improve the quality of learning evaluation. Indonesian Journal of Educational Evaluation, 14(2), 55–67.
Wibowo, A. (2023). Validity and reliability of test instruments in the context of the Merdeka curriculum. National Journal of Education, 18(3), 101–115.
Chen, L., & Huang, M. (2024). Integrating Excel VBA for classroom assessment analytics. Computers & Education, 195, 104–118.
Zhang, Y., & Lee, J. (2022). Automated item analysis using spreadsheet technology. International Journal of Educational Technology, 9(4), 211–225.
Kumar, R., & Singh, P. (2023). Reliability estimation in educational measurement: A KR 20 approach. Asian Journal of Education and Training, 7(2), 89–97.