Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear All,
I know that we can add a formula to a cell in VBA by: Range(myRange).Formula = "=SUM(iRange)" ....but can anybody help me with an Array Formula? ... eg.. something like Range(myRange).Formula = "{=SUM((...)=...)*(....))}" This obviously doesn't work... but is there a solution? Regards, andym |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
use FormulaArray instead of Formula to enter an array formula
-- Gary "andym" wrote in message ups.com... Dear All, I know that we can add a formula to a cell in VBA by: Range(myRange).Formula = "=SUM(iRange)" ...but can anybody help me with an Array Formula? ... eg.. something like Range(myRange).Formula = "{=SUM((...)=...)*(....))}" This obviously doesn't work... but is there a solution? Regards, andym |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Try Range(myRange).FormulaArray = "=SUMetcetc Hope this helps Steel Monke -- Steel Monke ----------------------------------------------------------------------- Steel Monkey's Profile: http://www.excelforum.com/member.php...fo&userid=2905 View this thread: http://www.excelforum.com/showthread.php?threadid=57365 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Gary,
fantastic!!! How easy was that!!!! Regards, andy.. Gary Keramidas wrote: use FormulaArray instead of Formula to enter an array formula -- Gary "andym" wrote in message ups.com... Dear All, I know that we can add a formula to a cell in VBA by: Range(myRange).Formula = "=SUM(iRange)" ...but can anybody help me with an Array Formula? ... eg.. something like Range(myRange).Formula = "{=SUM((...)=...)*(....))}" This obviously doesn't work... but is there a solution? Regards, andym |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell format for an array formula containing text | Excel Worksheet Functions | |||
Array Formula - Average from every other cell | Excel Discussion (Misc queries) | |||
Multi-Cell Array Formula | Excel Worksheet Functions | |||
Tricky array formula issue - Using array formula on one cell, then autofilling down a range | Excel Programming | |||
referencing the value of a cell containing an array formula | Excel Worksheet Functions |