![]() |
Entering Formula using Array
Hi,
I am trying to enter various formula into a range using the array function, as follows MyArray = Worksheets("Months").Range("MonthFormulaArray") MyArray = Array("=VLOOKUP(R2C,OHLCTable,3,FALSE)", "=VLOOKUP(R2C[-1],OHLCTable,4,FALSE)") I don't get any errors, but I also don't get my formula in the "MonthFormulaArray" range, which is a continuous range of cells all on the same row ie B5:C5. The actual range I am trying to fill is 48 cells. What am I doing wrong? Thanks in advance. Richard |
Entering Formula using Array
sorry, I've sorted it now
"Richard" wrote: Hi, I am trying to enter various formula into a range using the array function, as follows MyArray = Worksheets("Months").Range("MonthFormulaArray") MyArray = Array("=VLOOKUP(R2C,OHLCTable,3,FALSE)", "=VLOOKUP(R2C[-1],OHLCTable,4,FALSE)") I don't get any errors, but I also don't get my formula in the "MonthFormulaArray" range, which is a continuous range of cells all on the same row ie B5:C5. The actual range I am trying to fill is 48 cells. What am I doing wrong? Thanks in advance. Richard |
All times are GMT +1. The time now is 01:36 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com