Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering an array formula wthawaii Excel Worksheet Functions 2 August 28th 07 01:54 PM
entering formula in a numeric array EO Excel Discussion (Misc queries) 0 October 26th 06 03:49 PM
entering as an array Alfonso Excel Discussion (Misc queries) 0 October 5th 06 04:48 PM
Entering Array Formula No Name Excel Programming 1 September 1st 04 02:04 PM
Programatically Entering an Array Formula John C.[_4_] Excel Programming 1 July 28th 04 01:53 AM


All times are GMT +1. The time now is 10:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"