I'm trying to create another function formula in excel vba by using to other formula I've created. The two other formulas are in the last row on top of each other(pretty much offset by 1). Below that I would like to have a other formula which takes the value of those two cells and divides them and divides again by 8. A normal formula in a cell would look like =ROUND(O2/O3/8,0). Because my last two rows with the value is constantly changing(i.e.O30 and O31, then 13 and O14, etc...) I was think I can use the find the two last rows and offset them by 1 the use the formula to get the value that I need, but I'm getting a #NAME error. Here's my formulas below:
Everything works well except the last function. Any help would be greatly appreciated. Thanks!
Bookmarks