I3atnumb3rs
New Member
- Joined
- Nov 2, 2018
- Messages
- 34
Hello,
I'm trying to loop through a workbook and calculate the percentage between two values that are sums of their respective columns in each worksheet. I want to divide column Q last row value by R's last row value as well as T last row divided by R last row. My code is working, but the only value being polulated is the divided value in the last worksheet in the workbook. So the same values are being populated in each sheet, except I want each to be calculated individually.
http://prntscr.com/p3uzwk
http://prntscr.com/p3uzih
I'm trying to loop through a workbook and calculate the percentage between two values that are sums of their respective columns in each worksheet. I want to divide column Q last row value by R's last row value as well as T last row divided by R last row. My code is working, but the only value being polulated is the divided value in the last worksheet in the workbook. So the same values are being populated in each sheet, except I want each to be calculated individually.
http://prntscr.com/p3uzwk
http://prntscr.com/p3uzih