Excel’s MOD function is weird, but now I use it everywhere https://www.makeuseof.com/excels-mod-function