PC Review


Reply
Thread Tools Rate Thread

Array Formula Help

 
 
Liz
Guest
Posts: n/a
 
      24th Jun 2008
I have a spreadsheet and I need to have formulas that will check column A
for a specific customer and if it is the specific customer, I need it to look
at column F and give me the average, median, total, min, and max items
ordered. I am trying to use array formulas and the max and total formulas
work, but the other three do not. Could you tell me what I may be doing
wrong? Here are the two array formulas that work.
=MAX((DataEntry!$A$4:$A$2000=$A5)*DataEntry!$F$4:$F$2000)
=SUM((DataEntry!$A$4:$A$2000=$A5)*DataEntry!$F$4:$F$2000)
Any help you can give me would be appreciated.
Betsy"

 
Reply With Quote
 
 
 
 
Serena595
Guest
Posts: n/a
 
      24th Jun 2008

If I read your post correctly, I think the others may not 'working' because
they are not ignoring zeros (it may be that you want to include zeros if so -
disregard this response)

Here is what I would do for the MEDIAN formula (the others should be similar).

{ =MEDIAN( IF(((DataEntry!$A$4:$A$10=$A5)* (DataEntry!$F$4:$F$10))<>0,
((DataEntry!$A$4:$A$10=$A5)* (DataEntry!$F$4:$F$10))) ) }

Goodluck
T

"Liz" wrote:

> I have a spreadsheet and I need to have formulas that will check column A
> for a specific customer and if it is the specific customer, I need it to look
> at column F and give me the average, median, total, min, and max items
> ordered. I am trying to use array formulas and the max and total formulas
> work, but the other three do not. Could you tell me what I may be doing
> wrong? Here are the two array formulas that work.
> =MAX((DataEntry!$A$4:$A$2000=$A5)*DataEntry!$F$4:$F$2000)
> =SUM((DataEntry!$A$4:$A$2000=$A5)*DataEntry!$F$4:$F$2000)
> Any help you can give me would be appreciated.
> Betsy"
>

 
Reply With Quote
 
Liz
Guest
Posts: n/a
 
      25th Jun 2008
Thank you so much for your help. Everything works great.

Liz

"Serena595" wrote:

>
> If I read your post correctly, I think the others may not 'working' because
> they are not ignoring zeros (it may be that you want to include zeros if so -
> disregard this response)
>
> Here is what I would do for the MEDIAN formula (the others should be similar).
>
> { =MEDIAN( IF(((DataEntry!$A$4:$A$10=$A5)* (DataEntry!$F$4:$F$10))<>0,
> ((DataEntry!$A$4:$A$10=$A5)* (DataEntry!$F$4:$F$10))) ) }
>
> Goodluck
> T
>
> "Liz" wrote:
>
> > I have a spreadsheet and I need to have formulas that will check column A
> > for a specific customer and if it is the specific customer, I need it to look
> > at column F and give me the average, median, total, min, and max items
> > ordered. I am trying to use array formulas and the max and total formulas
> > work, but the other three do not. Could you tell me what I may be doing
> > wrong? Here are the two array formulas that work.
> > =MAX((DataEntry!$A$4:$A$2000=$A5)*DataEntry!$F$4:$F$2000)
> > =SUM((DataEntry!$A$4:$A$2000=$A5)*DataEntry!$F$4:$F$2000)
> > Any help you can give me would be appreciated.
> > Betsy"
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array formula SUMIF with 2D sum_range array Rich_84 Microsoft Excel Worksheet Functions 3 3rd Apr 2009 10:46 PM
Array formula: how to join 2 ranges together to form one array? Rich_84 Microsoft Excel Worksheet Functions 2 1st Apr 2009 06:38 PM
Difference between results of array formula and non-array, with IF(ISNUMBER) THOMAS CONLON Microsoft Excel Discussion 3 27th Aug 2006 10:22 PM
Tricky array formula issue - Using array formula on one cell, then autofilling down a range aspenbordr Microsoft Excel Programming 0 27th Jul 2005 03:59 PM
Array Formula - Use of OFFSET function with array argument Alan Microsoft Excel Worksheet Functions 2 11th Feb 2004 09:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:34 PM.