Could someone help me with creating a VBA code to do the following
Cell H8 will be where I need the value to be placed.
If there's a number value in Range D68:D81 and there's a number value in range H68:H81 I would like to divide H68 by D68 and put that number in cell H8. And on down the rows.
So say H68 is 300 and D68 is 2 then cell H8 would show 150.
And if H80 is 400 and D80 is 2 then cell H8 would 350. It would add up the values and put that number in cell H8.
Thanks in advance
Excel 2010
Bookmarks