#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default WHATS AN ARRAY

HI

CAN ANY ONE TELL ME WHATS AN ARRAY AND HOW TO USE IT.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default WHATS AN ARRAY

Excel help will tell you about array formulae and array constants.
--
David Biddulph

"Srikanth" wrote in message
...
HI

CAN ANY ONE TELL ME WHATS AN ARRAY AND HOW TO USE IT.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default WHATS AN ARRAY

"Srikanth" wrote in message
...
HI

CAN ANY ONE TELL ME WHATS AN ARRAY AND HOW TO USE IT.


An array is a block of cells.

You can have one-dimensional arrays:
A column (A:A) or part of a column (A1:A5).
A row (3:3) or part of a row (E3:J3).

You can have a two-dimensional array:
For example, C7:E12 is a 3x6 array as it contains 3 columns and 6 rows.

You have already used one-dimensional arrays in SUMPRODUCT.

The simplest example of using a two-dimensional array is
=SUM(A1:B2)
This simply adds up the four values in A1, A2, B1 and B2.

Another example of using a two-dimensional array (E10:F19) is:
=VLOOKUP(A1,E10:F19,2,FALSE)
This takes the value in A1, looks down the first column of the array E10:F19
to see if there is a match, and if there is returns the corresponding data
from column 2 of the array. ("FALSE" tells it only to look for an exact
match.)



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default WHATS AN ARRAY

Hi Stephen,

Thanx for the reply..

"Stephen" wrote:

"Srikanth" wrote in message
...
HI

CAN ANY ONE TELL ME WHATS AN ARRAY AND HOW TO USE IT.


An array is a block of cells.

You can have one-dimensional arrays:
A column (A:A) or part of a column (A1:A5).
A row (3:3) or part of a row (E3:J3).

You can have a two-dimensional array:
For example, C7:E12 is a 3x6 array as it contains 3 columns and 6 rows.

You have already used one-dimensional arrays in SUMPRODUCT.

The simplest example of using a two-dimensional array is
=SUM(A1:B2)
This simply adds up the four values in A1, A2, B1 and B2.

Another example of using a two-dimensional array (E10:F19) is:
=VLOOKUP(A1,E10:F19,2,FALSE)
This takes the value in A1, looks down the first column of the array E10:F19
to see if there is a match, and if there is returns the corresponding data
from column 2 of the array. ("FALSE" tells it only to look for an exact
match.)




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
whats it do Curt Excel Discussion (Misc queries) 14 April 13th 07 07:53 PM
Whats the best way to... Azrael Excel Worksheet Functions 0 September 13th 05 04:51 AM
Whats the best way to... Azrael Excel Worksheet Functions 0 August 18th 05 05:33 AM
Whats the best way to... Azrael Excel Worksheet Functions 1 August 16th 05 09:01 PM
Whats Wrong with this?? drvortex Excel Worksheet Functions 1 October 30th 04 06:48 PM


All times are GMT +1. The time now is 06:50 PM.

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"