vba - How to make dynamic cell in formula based on pointed value in excel spreadsheet -


i have issue cell range in formula , don't know how change based on predefined value in spreadsheet. example, figure have cells b8:b12=0 (5 cells), however, if want change range range b10:b12=0 (3 cells) should delete them formula. how can reference specific cell in spreadsheet can change value 5 3 , change automatically, without interfering formula each time? i'm new vba, appreciated.

example

as mentioned before, should try offset function , like: and(sum(offset(d13,-1,-2,-(g6),1))=0). cells in range b8:b12 possible change inserting range in cell g6.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -