Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need Excel to do a MAX function, but only on a specified number of cells.
ie. I need it to MAX the cells adjoining cells that are sorted into groups A,B,C or 1,2,3 seperately. This is what I have so far. =IF(Q:Q=1,MAX(Y:Y),"") What am I doing wrong? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just ENTER): =MAX(IF(Q1:Q100=1,Y1:Y100)) Or, normally entered (just ENTER): =SUMPRODUCT(MAX((Q1:Q100=1)*Y1:Y100)) Note: you can't use entire columns as range references in either formula - Q:Q, Y:Y (unless you're using Excel 2007) Biff "Clay" wrote in message ... I need Excel to do a MAX function, but only on a specified number of cells. ie. I need it to MAX the cells adjoining cells that are sorted into groups A,B,C or 1,2,3 seperately. This is what I have so far. =IF(Q:Q=1,MAX(Y:Y),"") What am I doing wrong? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
T. Valko
THANK YOU, THANK YOU. I know you probably shook your head at such a stupid question, but you don't realize how much time I put into figuring this out. Thanks a million. Clay "T. Valko" wrote: Try this: Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just ENTER): =MAX(IF(Q1:Q100=1,Y1:Y100)) Or, normally entered (just ENTER): =SUMPRODUCT(MAX((Q1:Q100=1)*Y1:Y100)) Note: you can't use entire columns as range references in either formula - Q:Q, Y:Y (unless you're using Excel 2007) Biff "Clay" wrote in message ... I need Excel to do a MAX function, but only on a specified number of cells. ie. I need it to MAX the cells adjoining cells that are sorted into groups A,B,C or 1,2,3 seperately. This is what I have so far. =IF(Q:Q=1,MAX(Y:Y),"") What am I doing wrong? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
I know it's a cliche, but, there are no stupid questions! Biff "Clay" wrote in message ... T. Valko THANK YOU, THANK YOU. I know you probably shook your head at such a stupid question, but you don't realize how much time I put into figuring this out. Thanks a million. Clay "T. Valko" wrote: Try this: Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just ENTER): =MAX(IF(Q1:Q100=1,Y1:Y100)) Or, normally entered (just ENTER): =SUMPRODUCT(MAX((Q1:Q100=1)*Y1:Y100)) Note: you can't use entire columns as range references in either formula - Q:Q, Y:Y (unless you're using Excel 2007) Biff "Clay" wrote in message ... I need Excel to do a MAX function, but only on a specified number of cells. ie. I need it to MAX the cells adjoining cells that are sorted into groups A,B,C or 1,2,3 seperately. This is what I have so far. =IF(Q:Q=1,MAX(Y:Y),"") What am I doing wrong? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find value in array | Excel Worksheet Functions | |||
Reusing formula | Excel Discussion (Misc queries) | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |