LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 145
Default This is probably an Array Formula?

In Column C of my spreadhseet I have a listing of elapsed days (the
difference between a date established in Column A and Column B (where column
A is a discharge date, and column B is the file closing date). Below is the
formula which exists in Column C, and it works just fine:

=DATEDIF(MIN(A4,B4),MAX(A4,B4),"D"))

I am also using the average function (=AVERAGE) to calculate the average
days between discharge date, and file closing (identified in Column C) for
all clients, which also works just fine, and gives me information about the
"average" closing of files (from discharge to closing) on all client cases
posted on the spread sheet:

=AVERAGE(C4:C500)

For enhanced clarity in my overall analysis of data, I would also like to
use the "average" function to obtain information by "progam" and by
"counselor". For formula purposes, "Elapsed Days" are identified in Column C,
"Program" type is listed in Column F, and "Counselor" is listed in Column G.
The following are the formula outcomes by counselor and program that I'd like
to obtain:

1) What are the average days between discharge and file closing by program?
2) What are the average days between discharge and file closing by counselor?

I'll assume that the above 2 are "array" formulas, but I couldn't wrap
myself around how it should look with use of the "average" functcion. Perhaps
something like the following (which I got an error value for):

=Average(C4:C500)*(F4:F500,"OP")
=Average(C4:C500)*(F4:F500,"Jen")

The first formula above should provide the outcome by our various programs
(OP,TP,ARC,IOP), and the second formula should provide outcomes by the
various counselors (Jen, Ernest, Lynn, etc).

Any help would be appreciated!
Thanks in Advance,

Dan






 
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
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Array Formula Brendan Vassallo Excel Discussion (Misc queries) 4 September 13th 06 02:25 AM
Need Help With Array Formula rmeister Excel Discussion (Misc queries) 4 January 6th 06 03:06 PM
array formula Jonathan Cooper Excel Discussion (Misc queries) 4 September 9th 05 12:27 PM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM


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