Thank you so much for the responses and sorry for my late reply, for some reason I got no notification of replies to my thread.
Joe,
I have attached my entire program.
Ausman,
From what I understand that the sequences may be incorrect but they are the exact same logic with the exact same sequence for total and weekly, why are the readings different for both of them?
Thank you guys once again for taking the time.
Regards,
Vijay