Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Code for Array formula

I have this formula that I'm trying to put in code, but is not reading
properly to show it is an array ... how would I add the array to handle that
part of the formula?


my code:

Worksheets("Sheet2").Range("b3").Formula = _

"=SUM((Sheet1!B2:B250=""WARRANT"")*(Sheet1!F2:F250 =""E"")*(Sheet1!C2:C250))"



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Code for Array formula

I found it ... I needed to add Array after the word formula ...
Worksheets("Sheet2").Range("b3").FormulaARRAY = _


"Annette" wrote in message
...
I have this formula that I'm trying to put in code, but is not reading
properly to show it is an array ... how would I add the array to handle

that
part of the formula?


my code:

Worksheets("Sheet2").Range("b3").Formula = _


"=SUM((Sheet1!B2:B250=""WARRANT"")*(Sheet1!F2:F250 =""E"")*(Sheet1!C2:C250))"





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
Array formula SUMIF with 2D sum_range array Rich_84 Excel Worksheet Functions 3 April 3rd 09 10:46 PM
Array formula: how to join 2 ranges together to form one array? Rich_84 Excel Worksheet Functions 2 April 1st 09 06:38 PM
Find specific value in array of array formula DzednConfsd Excel Worksheet Functions 2 January 13th 09 06:19 AM
Code to determine if a cell contains an array function? [email protected] Excel Discussion (Misc queries) 1 August 29th 05 10:35 PM
Simplifying code using array John Pierce Excel Programming 3 December 15th 03 03:17 AM


All times are GMT +1. The time now is 05:54 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"