I've been trying -- without much success -- to create a checkbook register for AD&D 1e campaigns. I've attached what I've gotten so far, but I'd like for the reconciliations at the bottom to be automatic.
I envision some sort of looping IF statement in a macro whereby if the number in column L is divisible by 10, 100, 1000, etc., it is divided by highest power of 10 possible, the remainder returned and the quotient added to the number in column M. Then if the number in column M is divisible by 10, 100, 1000, etc., it is divided by highest power of 10 possible, the remainder returned and the quotient added to the number in column N. Then if the number in column N is divisible by 2, 4, 6, etc., it is divided by highest even number possible, the remainder returned and the quotient added to the number in column O. Then if the number in column O is divisible by 5, 10, 15, etc., it is divided by highest power of 5 possible, the remainder returned and the quotient added to the number in column P.
But I'm getting the cart before the horse. I also want to deal with the largest denominations of coins I can. And don't want any negative numbers unless I'm truly overdrawn. You can see in rows 37-40, I've manually corrected give me all positive numbers.
This may be confusing, and it's just for fun. I'll answer any questions, and really appreciate the help.
Bookmarks