Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BorisS
 
Posts: n/a
Default using particular positions within an array

I have an array which is 12 cells long. I will need to have a variable on
the sheet which will tell me which if the last position (or ideally, first
and last positions, or super-ideally, which are the individual positions) I
need to use for a given calculation. Is there a function that will look at
the named array and within something like a SUM function, only use the points
from the array which match the positions? In other words, what is the
function that indicates a particular reference spot in an array? Thx.
--
Boris
  #2   Report Post  
bpeltzer
 
Posts: n/a
Default using particular positions within an array

Check out the INDEX or OFFSET functions.

"BorisS" wrote:

I have an array which is 12 cells long. I will need to have a variable on
the sheet which will tell me which if the last position (or ideally, first
and last positions, or super-ideally, which are the individual positions) I
need to use for a given calculation. Is there a function that will look at
the named array and within something like a SUM function, only use the points
from the array which match the positions? In other words, what is the
function that indicates a particular reference spot in an array? Thx.
--
Boris

  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default using particular positions within an array

On Sat, 12 Nov 2005 05:50:02 -0800, BorisS
wrote:

I have an array which is 12 cells long. I will need to have a variable on
the sheet which will tell me which if the last position (or ideally, first
and last positions, or super-ideally, which are the individual positions) I
need to use for a given calculation. Is there a function that will look at
the named array and within something like a SUM function, only use the points
from the array which match the positions? In other words, what is the
function that indicates a particular reference spot in an array? Thx.


Look at the INDEX function


--ron
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
Getting all positions of a value in an array or reference Yossi Excel Discussion (Misc queries) 7 January 2nd 09 09:04 PM
Excel array formulas Les Gordon Excel Discussion (Misc queries) 1 September 3rd 05 04:12 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


All times are GMT +1. The time now is 09:51 AM.

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

About Us

"It's about Microsoft Excel"