Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

Array formulas and braces { }

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Epinn - 04 Sep 2006 19:41 GMT
I have no problem entering the following array formula, but I still have
some questions.

{=INDEX({1,2;3,4},0,2)}

I understand that the { } for array formulas are included by pressing
Ctrl+Shift+Enter.  That was what I did with the OUTER braces (the ones
enclosing the entire formula); no problem.

For the INNER braces (the ones around 1,2;3,4), I thought I had to use
Ctrl+Shift+Enter.  But of course I couldn't and had to key in the { }
MANUALLY.  The system won't accept ( ) in the place of { }.  Guess we must
use { } to indicate an array but no need to use Ctrl+Shift+Enter when it is
an array and NOT an array FORMULA.

Am I right?  I **was** quite confused as to when to use Ctrl+Shift+Enter and
when to key in the { } manually.

There is quite a bit of trick to enter the above formula.  I did the
following.

Position my cursor in A1 and key in MANUALLY  =INDEX({1,2;3,4},0,2)

Press enter.  Select A1 **and A2**, press F2, press Ctrl+Shift+Enter.
(Note: A2 is a blank cell.)

The outer braces will now be displayed as part of the formula.

A1 shows: 2
A2 shows: 4

Appreciate clarification on keying in the { }.

Epinn
Bernard Liengme - 04 Sep 2006 20:30 GMT
You have correctly analysed the problem
best wishes
Signature

Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

>I have no problem entering the following array formula, but I still have
> some questions.
[quoted text clipped - 32 lines]
>
> Epinn
Bob Phillips - 04 Sep 2006 21:15 GMT
The inner array is an array constant, and is required as it is not the whole
formula that is an array, but just those values. INDEX expects an array of
values, so if hard-coding them you need to tell Excel.

Also, try it without Ctrl-Shift-Enter.

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> I have no problem entering the following array formula, but I still have
> some questions.
[quoted text clipped - 30 lines]
>
> Epinn
Ragdyer - 04 Sep 2006 21:27 GMT
Am I missing something?

How do you get 2 and 4 returned without CSE?
Signature

Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> The inner array is an array constant, and is required as it is not the whole
> formula that is an array, but just those values. INDEX expects an array of
[quoted text clipped - 38 lines]
> >
> > Epinn
Epinn - 04 Sep 2006 23:57 GMT
>>"Also, try it without Ctrl-Shift-Enter."

I hope this is just a suggestion to experiment and see the different results
between an array formula (C+S+E) and a "regular" formula (without C+S+E).

I hope Bob is not saying that without C+S+E we will get 2 and 4.

I have been playing with the formulas and {} quite a bit and I don't want to
confuse myself anymore than I should.

The conclusion of my findings is the following.

Array formula with the braces:  result = 2 and 4

A formula without the braces:  result = 2

I have verified that the information in Help is correct.  You know,
sometimes Help is wrong and I think I have just found a situation to
substantiate my claim.  I am going to start a new thread.  If someone backs
me up, then I'll submit my findings to MS.

Thank you for your attention.

Epinn

> Am I missing something?
>
[quoted text clipped - 58 lines]
> > >
> > > Epinn

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.