Hi all,
I have been struggling to find an answer for the code on a simple calulation.
I recorded a macro on one cell and got this code but need it to relate to all rows until the data stops!
Basically column H is muliplied by 1.15 to get an answer in column I
I also need to run an if statement against a column so I can get an idea if a product is in stock or out of stock!
I manually use =IF(AB2>0, "0", "1")
I have been struggling to find an answer for the code on a simple calulation.
I recorded a macro on one cell and got this code but need it to relate to all rows until the data stops!
Basically column H is muliplied by 1.15 to get an answer in column I
Code:
Range("I2").Select
ActiveCell.FormulaR1C1 = "=RC[-1]*1.15"
I also need to run an if statement against a column so I can get an idea if a product is in stock or out of stock!
I manually use =IF(AB2>0, "0", "1")
Last edited: