#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DKS DKS is offline
external usenet poster
 
Posts: 103
Default Use of arrays

Hi,

I used to do have this kind of worksheet function (feature) a few years ago
but since then due to non-usage I have forgotten how to do it.

Basically I have a 2 column based spreadsheet. First column (column A)
contains a code (text), let us say:

A
B
C
.....

There can be duplicates.

Second column (column B) contains a whole number. Once again can contain
duplicates.

In cell C1, I would give one of the valid text-codes that is available in
column A. Let us say that I type the code "C".

I would like a formula in cell D1 that gives me the average value (using
average function) of column B for all cells where in column A we find the
code "C". I believe this is doable with the array function (curly brackets)
but as mentioned at the start I have forgotten the technique.

all help appreciated.
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
Using CORREL with arrays containing null values rmellison Excel Discussion (Misc queries) 1 November 11th 05 03:02 PM
vba adding arrays Jeff Excel Discussion (Misc queries) 1 November 4th 05 02:50 PM
Problem with plotting a chart when using arrays as Values and Xvalues [email protected] Charts and Charting in Excel 3 August 19th 05 09:05 PM
Confused about arrays and ranges in functions Llurker Excel Worksheet Functions 0 July 7th 05 05:44 AM
Comparing Arrays TangentMemory Excel Discussion (Misc queries) 2 May 13th 05 05:06 PM


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