formula with {}

G

GeorgeA

I have a formula that shows as:
{=A5-INDEX(A5:A400,MATCH(TRUE,K5:K400>0,0))}

It works but I want to change it to:
{=A5-INDEX(A5:A400,MATCH(TRUE,J5:J400>B6,0))}

Problem is that when I click to edit the formula, the {} brackets disappear
and then the formula returns $VALUE!.

Why do these brackets show up and how do I edit this formula?

Thanks, any help would be appreciated!
 
H

Homey

after you chang formuls dont just press enter. instead press
ctrl-shift-enter. this is call 'array-entering'.

|I have a formula that shows as:
| {=A5-INDEX(A5:A400,MATCH(TRUE,K5:K400>0,0))}
|
| It works but I want to change it to:
| {=A5-INDEX(A5:A400,MATCH(TRUE,J5:J400>B6,0))}
|
| Problem is that when I click to edit the formula, the {} brackets
disappear
| and then the formula returns $VALUE!.
|
| Why do these brackets show up and how do I edit this formula?
|
| Thanks, any help would be appreciated!
|
 
C

Chip Pearson

The curly braces { } indicate that the formula is an "array
formula". To make a formula an array formula, you must press CTRL
SHIFT ENTER rather than just ENTER when you first enter the formula
and whenever you edit it later. You don't type in the braces; Excel
puts them in automatically. See
www.cpearson.com/Excel/ArrayFormulas.aspx for much more information
about array formulas.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional,
Excel, 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
 
E

Eduardo

Hi
Edidt the formula, go to the cell where the formula is, press F2, then press
CTRL+SHIFT+ENTER

that will do the trick
 
G

GeorgeA

That's it! Great to know, thanks!

Eduardo said:
Hi
Edidt the formula, go to the cell where the formula is, press F2, then press
CTRL+SHIFT+ENTER

that will do the trick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top