Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Diane
 
Posts: n/a
Default Number of Observations

I have a column (say Column A) with 300 values (basically it is a DDE link
with data I update).

I also have a cell I would like to use (say B1). In cell B1 I would like to
be able to enter a value (say 20) where I will be able to use this value in
another cell to "observe" the top 20 of the cell from column A. So, If I put
20 in cell B1, in cell (say C1) I would like to put some formula where it can
reference the "how many observation" cell B1, and say sum A1:AXX where xx is
the value in cell B1.

I know in this form it cannot be done, but was wondering if someone had an
idea how to get this concept to work,

Thank you for your time.
Diane
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
do you mean
=SUM(INDIRECT("A1:A" & B1))

--
Regards
Frank Kabel
Frankfurt, Germany
"Diane" schrieb im Newsbeitrag
...
I have a column (say Column A) with 300 values (basically it is a DDE link
with data I update).

I also have a cell I would like to use (say B1). In cell B1 I would like
to
be able to enter a value (say 20) where I will be able to use this value
in
another cell to "observe" the top 20 of the cell from column A. So, If I
put
20 in cell B1, in cell (say C1) I would like to put some formula where it
can
reference the "how many observation" cell B1, and say sum A1:AXX where xx
is
the value in cell B1.

I know in this form it cannot be done, but was wondering if someone had an
idea how to get this concept to work,

Thank you for your time.
Diane



  #3   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Diane,

In cell C1:

=SUM(INDIRECT("A1:A"&B1))

HTH,
Bernie
MS Excel MVP

"Diane" wrote in message
...
I have a column (say Column A) with 300 values (basically it is a DDE link
with data I update).

I also have a cell I would like to use (say B1). In cell B1 I would like

to
be able to enter a value (say 20) where I will be able to use this value

in
another cell to "observe" the top 20 of the cell from column A. So, If I

put
20 in cell B1, in cell (say C1) I would like to put some formula where it

can
reference the "how many observation" cell B1, and say sum A1:AXX where xx

is
the value in cell B1.

I know in this form it cannot be done, but was wondering if someone had an
idea how to get this concept to work,

Thank you for your time.
Diane



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


=SUM(A1:INDEX(A:A,B1))

On Tue, 21 Dec 2004 10:17:05 -0800, "Diane"
wrote:

I have a column (say Column A) with 300 values (basically it is a DDE link
with data I update).

I also have a cell I would like to use (say B1). In cell B1 I would like to
be able to enter a value (say 20) where I will be able to use this value in
another cell to "observe" the top 20 of the cell from column A. So, If I put
20 in cell B1, in cell (say C1) I would like to put some formula where it can
reference the "how many observation" cell B1, and say sum A1:AXX where xx is
the value in cell B1.

I know in this form it cannot be done, but was wondering if someone had an
idea how to get this concept to work,

Thank you for your time.
Diane


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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 10:02 PM
Subtracting based on number of miles Ms Chewie Excel Discussion (Misc queries) 3 December 21st 04 06:35 AM
How to format a number in Indian style in Excel? Victor_alb Excel Discussion (Misc queries) 2 December 21st 04 05:21 AM
Count number of shaded cells Maddoktor Excel Discussion (Misc queries) 2 December 20th 04 09:35 PM
Name associated with a number Ken Schmidt Excel Discussion (Misc queries) 5 December 18th 04 11:37 AM


All times are GMT +1. The time now is 04:32 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"