Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Vic Sowers
 
Posts: n/a
Default Referencing Literal Arrays

If A1 contains =SUM({1,2,3}) it displays 6 (good!), but
if A2 contains =SUM(B2) and B2 contains ={1,2,3} it displays 1 (bad...).

How can I get the reference to B2 in A2 to treat B2 as an array?

TIA




  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Vic Sowers wrote:
If A1 contains =SUM({1,2,3}) it displays 6 (good!), but
if A2 contains =SUM(B2) and B2 contains ={1,2,3} it displays 1 (bad...).

How can I get the reference to B2 in A2 to treat B2 as an array?

TIA





In B2 with

={1,2,3}

only the topleft item is available.

Not that it's the right thing to do, but if you enter in B2

{1,2,3}

without the = sign, you can have:

=SUM(EVAL(B2))

provided you have EVAL, for example, from the morefunc.xll add-in.



  #3   Report Post  
PC
 
Posts: n/a
Default

Don't believe you can store an array in a single cell.

You can definitely store the array in a named formula

Insert/Name/Define

Give it a name and enter the array ={1,2,3}

HTH

PC


"Vic Sowers" wrote in message
...
If A1 contains =SUM({1,2,3}) it displays 6 (good!), but
if A2 contains =SUM(B2) and B2 contains ={1,2,3} it displays 1 (bad...).

How can I get the reference to B2 in A2 to treat B2 as an array?

TIA






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
Comparing Arrays TangentMemory Excel Discussion (Misc queries) 2 May 13th 05 05:06 PM
How to use linest with variably sized data arrays? [email protected] Excel Worksheet Functions 0 April 13th 05 04:56 PM
How do I turn off relative cell referencing in excel? Glenn New Users to Excel 1 April 13th 05 03:06 AM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Comparing Arrays KL Excel Worksheet Functions 9 December 3rd 04 08:58 PM


All times are GMT +1. The time now is 01:54 AM.

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"