Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 116
Default Evaluate Formula shows brackets {}

I am attempting to use the column() function to identify ranges inside the
correl function and get #N/A in the results. The formula is
=CORREL(OFFSET(A1,87,COLUMN(),3,1),B87:B90).

When it show the calculation steps, the evaluation for the column function
show {} around the result and the offset function evaluates as #VALUE!. I
can't figure out what the {} are supposed to represent. The column function
is calculated correctly but doesn't seem to get used in the offset function.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Evaluate Formula shows brackets {}

The curly braces { } indicate an array (vector) of values as opposed
to a single value (scalar). Your OFFSET function returns an array of
three values, which is then passed to CORREL. Are you sure you want
COLUMN() and not COLUMN() -1 ? The value expected by OFFSET is
0-based, so OFFSET(A1,0,0) is the same as A1. So, it you have
OFFSET(A1,87,COLUMN()) in, say, C1, COLUMN() will return 3, so the
OFFSET returns values from column D, not column C. Similarly, the
offset 87 from A1 returns the value from row 88, not 87.

As written, it seems your formula is taking the CORREL using the same
range for both arrays, B87:B90. Note that this is 4 cells while you
are using 3 cells in the OFFSET function.

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



On Sat, 20 Feb 2010 06:20:01 -0800, Barry
wrote:

I am attempting to use the column() function to identify ranges inside the
correl function and get #N/A in the results. The formula is
=CORREL(OFFSET(A1,87,COLUMN(),3,1),B87:B90).

When it show the calculation steps, the evaluation for the column function
show {} around the result and the offset function evaluates as #VALUE!. I
can't figure out what the {} are supposed to represent. The column function
is calculated correctly but doesn't seem to get used in the offset function.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Evaluate Formula shows brackets {}

In addition...

Try forcing the COLUMN() array to a scalar:

=CORREL(OFFSET(A1,86,MAX(COLUMN())-1,4,1),B87:B90)

--
Biff
Microsoft Excel MVP


"Chip Pearson" wrote in message
...
The curly braces { } indicate an array (vector) of values as opposed
to a single value (scalar). Your OFFSET function returns an array of
three values, which is then passed to CORREL. Are you sure you want
COLUMN() and not COLUMN() -1 ? The value expected by OFFSET is
0-based, so OFFSET(A1,0,0) is the same as A1. So, it you have
OFFSET(A1,87,COLUMN()) in, say, C1, COLUMN() will return 3, so the
OFFSET returns values from column D, not column C. Similarly, the
offset 87 from A1 returns the value from row 88, not 87.

As written, it seems your formula is taking the CORREL using the same
range for both arrays, B87:B90. Note that this is 4 cells while you
are using 3 cells in the OFFSET function.

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



On Sat, 20 Feb 2010 06:20:01 -0800, Barry
wrote:

I am attempting to use the column() function to identify ranges inside the
correl function and get #N/A in the results. The formula is
=CORREL(OFFSET(A1,87,COLUMN(),3,1),B87:B90).

When it show the calculation steps, the evaluation for the column function
show {} around the result and the offset function evaluates as #VALUE!. I
can't figure out what the {} are supposed to represent. The column
function
is calculated correctly but doesn't seem to get used in the offset
function.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc



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
Might be a bug in Evaluate Formula? cyx Excel Discussion (Misc queries) 2 May 2nd 07 10:52 PM
What is evaluate formula? Rasoul Khoshravan Excel Worksheet Functions 11 October 27th 06 01:52 PM
Formula Will Not Evaluate Cecil Excel Worksheet Functions 3 April 25th 06 07:38 PM
Evaluate formula using VBA Ali Baba Excel Discussion (Misc queries) 0 August 17th 05 12:31 AM
cell shows 20. Formula shows 20. why not 540/27 griswold Excel Worksheet Functions 2 August 12th 05 05:56 PM


All times are GMT +1. The time now is 08:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"