#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default =COLUMN(9:9)

This function returns 1: =COLUMN(9:9). I would expect it to return an error,
being that row 9 is not, in fact, a column.

What's happening here?

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default =COLUMN(9:9)

Help says:
"If reference is a range of cells, and if COLUMN is entered as a horizontal
array, COLUMN returns the column numbers of reference as a horizontal
array."
If you enter only the first element of that horizontal array, you'll get the
first element of the result, i.e. COLUMN(A9), which is 1. If you extend it
to a horizintal array, you'll get 1, 2, 3, .... etc.
--
David Biddulph

"Dave F" wrote in message
...
This function returns 1: =COLUMN(9:9). I would expect it to return an
error,
being that row 9 is not, in fact, a column.

What's happening here?




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default =COLUMN(9:9)

That formula actually returns an array of all the columns in the range 9:9.
To see this press F2 and then F9. The "1" you see is just the first value
in the array.

--
Jim
"Dave F" wrote in message
...
| This function returns 1: =COLUMN(9:9). I would expect it to return an
error,
| being that row 9 is not, in fact, a column.
|
| What's happening here?
|
| Dave
| --
| A hint to posters: Specific, detailed questions are more likely to be
| answered than questions that provide no detail about your problem.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default =COLUMN(9:9)

I'm not sure that answers the question. I entered the formula in cell B1.
Extending it do the right does not return 2,3,4 etc.


--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"David Biddulph" wrote:

Help says:
"If reference is a range of cells, and if COLUMN is entered as a horizontal
array, COLUMN returns the column numbers of reference as a horizontal
array."
If you enter only the first element of that horizontal array, you'll get the
first element of the result, i.e. COLUMN(A9), which is 1. If you extend it
to a horizintal array, you'll get 1, 2, 3, .... etc.
--
David Biddulph

"Dave F" wrote in message
...
This function returns 1: =COLUMN(9:9). I would expect it to return an
error,
being that row 9 is not, in fact, a column.

What's happening here?





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default =COLUMN(9:9)

The way you wrote the formula, it will return an array of column numbers for
each cell referenced, beginning with the first cell referenced.

Try this
A1: =COLUMN(9:9)

Now....edit that cell and press the [F9] key
The cell now displays
{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,....256}

(Where ... is inplace of the series of numbers from 17 through 255)

If you do this instead:
A1: =COLUMN(C9:F9)

Edit....[F9]...the cell displays
={3,4,5,6}


Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Dave F" wrote:

This function returns 1: =COLUMN(9:9). I would expect it to return an error,
being that row 9 is not, in fact, a column.

What's happening here?

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default =COLUMN(9:9)

Actually now I understand your explanation.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Dave F" wrote:

I'm not sure that answers the question. I entered the formula in cell B1.
Extending it do the right does not return 2,3,4 etc.


--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"David Biddulph" wrote:

Help says:
"If reference is a range of cells, and if COLUMN is entered as a horizontal
array, COLUMN returns the column numbers of reference as a horizontal
array."
If you enter only the first element of that horizontal array, you'll get the
first element of the result, i.e. COLUMN(A9), which is 1. If you extend it
to a horizintal array, you'll get 1, 2, 3, .... etc.
--
David Biddulph

"Dave F" wrote in message
...
This function returns 1: =COLUMN(9:9). I would expect it to return an
error,
being that row 9 is not, in fact, a column.

What's happening here?





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default =COLUMN(9:9)

It will if you enter it as an array formula (CSE).
--
David Biddulph

"Dave F" wrote in message
...
I'm not sure that answers the question. I entered the formula in cell B1.
Extending it do the right does not return 2,3,4 etc.


"David Biddulph" wrote:

Help says:
"If reference is a range of cells, and if COLUMN is entered as a
horizontal
array, COLUMN returns the column numbers of reference as a horizontal
array."
If you enter only the first element of that horizontal array, you'll get
the
first element of the result, i.e. COLUMN(A9), which is 1. If you extend
it
to a horizintal array, you'll get 1, 2, 3, .... etc.
--
David Biddulph

"Dave F" wrote in message
...
This function returns 1: =COLUMN(9:9). I would expect it to return an
error,
being that row 9 is not, in fact, a column.

What's happening here?







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
divide column(x) by column(y) to give column(x/y) in excel? James New Users to Excel 2 April 24th 23 11:46 AM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
formula : =(column A)+(column B)-(column C). Why won't it work? Kristin Drover Excel Discussion (Misc queries) 3 October 18th 06 08:48 PM
Divide Column A by Column B multiply Column C Stumped Excel Worksheet Functions 3 December 28th 05 05:51 AM
what formula do i put for column m = column k minus column l in e. jenniss Excel Discussion (Misc queries) 5 January 6th 05 08:18 PM


All times are GMT +1. The time now is 02:00 PM.

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"