Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Median array formula

Hi
I have had a look at the median posts and array posts but I am really
struggling with this as I have never built an array before.

I need to find the median length of stay for age/Psex/admissiontype for
each HRG (column A)
I have the following columns of data
A B C D E
F
HRG AgeRange PSex AdmissionType LOS Median LOS
A11 0-14 Male Elective 14
{ARRAY FORMULA??}

I imagine the formula with have to lookup colum G concatenation of
A2&B2&C2&D2 within the range of data (a2:e:100), then find the median
of those results? I just don't know how to put this together or if it
is possible the way I have the dataset laid out. Thanks for you help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Median array formula

Nevermind... I think I got it. Was less scary than I thought.
{=MEDIAN(IF($A$2:$A$2539=A2,$G$2:$G$2539))}
Ciara wrote:

Hi
I have had a look at the median posts and array posts but I am really
struggling with this as I have never built an array before.

I need to find the median length of stay for age/Psex/admissiontype for
each HRG (column A)
I have the following columns of data
A B C D E
F
HRG AgeRange PSex AdmissionType LOS Median LOS
A11 0-14 Male Elective 14
{ARRAY FORMULA??}

I imagine the formula with have to lookup colum G concatenation of
A2&B2&C2&D2 within the range of data (a2:e:100), then find the median
of those results? I just don't know how to put this together or if it
is possible the way I have the dataset laid out. Thanks for you help.


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
Array Formula Not Working with Range with Formulas [email protected] Excel Discussion (Misc queries) 4 February 1st 06 02:01 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
referencing the value of a cell containing an array formula KR Excel Worksheet Functions 4 July 5th 05 06:15 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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