PC Review


Reply
Thread Tools Rate Thread

Array formula in memory

 
 
=?Utf-8?B?WFA=?=
Guest
Posts: n/a
 
      5th Jul 2007
Using Win 2003 and Office XP;

Is it possible to internally calculate an array formula? By that I mean not
in a sheet, but in memory. For example by using
Application.WorksheetFunctions you can access certain functions in code then
write the result into a sheet. Any ideas how to do this using an array
formula?

Thanks for the help.
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      5th Jul 2007
As an example

myVal = Activesheet.Evaluate("=SUM(IF(A1:A5=""Apple"",B1:B5))")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"XP" <(E-Mail Removed)> wrote in message
news:985D2332-96E7-4102-AC6E-(E-Mail Removed)...
> Using Win 2003 and Office XP;
>
> Is it possible to internally calculate an array formula? By that I mean
> not
> in a sheet, but in memory. For example by using
> Application.WorksheetFunctions you can access certain functions in code
> then
> write the result into a sheet. Any ideas how to do this using an array
> formula?
>
> Thanks for the help.



 
Reply With Quote
 
=?Utf-8?B?WFA=?=
Guest
Posts: n/a
 
      5th Jul 2007
Perfect. Thanks Bob!

Hope you escaped the flooding in Yorkshire and elsewhere...


"Bob Phillips" wrote:

> As an example
>
> myVal = Activesheet.Evaluate("=SUM(IF(A1:A5=""Apple"",B1:B5))")
>
> --
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
> "XP" <(E-Mail Removed)> wrote in message
> news:985D2332-96E7-4102-AC6E-(E-Mail Removed)...
> > Using Win 2003 and Office XP;
> >
> > Is it possible to internally calculate an array formula? By that I mean
> > not
> > in a sheet, but in memory. For example by using
> > Application.WorksheetFunctions you can access certain functions in code
> > then
> > write the result into a sheet. Any ideas how to do this using an array
> > formula?
> >
> > Thanks for the help.

>
>
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      5th Jul 2007
Being 300 miles away, it didn't affect me too much.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"XP" <(E-Mail Removed)> wrote in message
news:E05068B2-A370-4274-A01F-(E-Mail Removed)...
> Perfect. Thanks Bob!
>
> Hope you escaped the flooding in Yorkshire and elsewhere...
>
>
> "Bob Phillips" wrote:
>
>> As an example
>>
>> myVal = Activesheet.Evaluate("=SUM(IF(A1:A5=""Apple"",B1:B5))")
>>
>> --
>> HTH
>>
>> Bob
>>
>> (there's no email, no snail mail, but somewhere should be gmail in my
>> addy)
>>
>> "XP" <(E-Mail Removed)> wrote in message
>> news:985D2332-96E7-4102-AC6E-(E-Mail Removed)...
>> > Using Win 2003 and Office XP;
>> >
>> > Is it possible to internally calculate an array formula? By that I mean
>> > not
>> > in a sheet, but in memory. For example by using
>> > Application.WorksheetFunctions you can access certain functions in code
>> > then
>> > write the result into a sheet. Any ideas how to do this using an array
>> > formula?
>> >
>> > Thanks for the help.

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array formula: how to join 2 ranges together to form one array? Rich_84 Microsoft Excel Worksheet Functions 2 1st Apr 2009 06:38 PM
copy one array formula to an array range =?Utf-8?B?Z3VlZGo1NA==?= Microsoft Excel Programming 2 29th Oct 2006 07:38 PM
Difference between results of array formula and non-array, with IF(ISNUMBER) THOMAS CONLON Microsoft Excel Discussion 3 27th Aug 2006 10:22 PM
Tricky array formula issue - Using array formula on one cell, then autofilling down a range aspenbordr Microsoft Excel Programming 0 27th Jul 2005 03:59 PM
Array Formula - Use of OFFSET function with array argument Alan Microsoft Excel Worksheet Functions 2 11th Feb 2004 09:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:34 PM.