Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default MAX value but with two comparison filtering criteria

Hi again chaps,
I'm using the following array formula to determine the MAX value in column
I3:I1002:

{=IF(I1019="","",MAX(IF($G$3:$G$1002$H$3:$H$1002, I3:I1002)))}

I get the MAX value from column I3:I1002 but only where corresponding values
in G3:G1002 are larger than the values in H3:H1002.

This appears to work fine but I now need the MAX value not only with
G3:G1002H3:H1002, but also where E3:E1002F3:F1002.

If someone could work the additional criteria into my formula it's be a
great help.
Many thanks for looking.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default MAX value but with two comparison filtering criteria

One way is to just nest another IF test.

Array entered:


=IF(I1019="","",MAX(IF(G3:G1002H3:H1002,IF(E3:E10 02F3:F1002,I3:I1002))))

This has the meaning of:

IF G3:G1002H3:H1002 *and* IF E3:E1002F3:F1002 on a cell by cell basis.

--
Biff
Microsoft Excel MVP


"Struggling in Sheffield"
wrote in message ...
Hi again chaps,
I'm using the following array formula to determine the MAX value in column
I3:I1002:

{=IF(I1019="","",MAX(IF($G$3:$G$1002$H$3:$H$1002, I3:I1002)))}

I get the MAX value from column I3:I1002 but only where corresponding
values
in G3:G1002 are larger than the values in H3:H1002.

This appears to work fine but I now need the MAX value not only with
G3:G1002H3:H1002, but also where E3:E1002F3:F1002.

If someone could work the additional criteria into my formula it's be a
great help.
Many thanks for looking.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default MAX value but with two comparison filtering criteria

Hi Biff,
Thanks for that, works a treat.

Just hit the buffers again though where I need to find the MAX value in
I3:I1002 but using an OR function rather than AND.
If value in column G3:G1002 is 7 OR value in H3:H1002 is 7 (or even if
both columns have a value 7 in them), how could I find the MAX corresponding
value in column I3:I1002 where one or both criteria are met?

"T. Valko" wrote:

One way is to just nest another IF test.

Array entered:


=IF(I1019="","",MAX(IF(G3:G1002H3:H1002,IF(E3:E10 02F3:F1002,I3:I1002))))

This has the meaning of:

IF G3:G1002H3:H1002 *and* IF E3:E1002F3:F1002 on a cell by cell basis.

--
Biff
Microsoft Excel MVP


"Struggling in Sheffield"
wrote in message ...
Hi again chaps,
I'm using the following array formula to determine the MAX value in column
I3:I1002:

{=IF(I1019="","",MAX(IF($G$3:$G$1002$H$3:$H$1002, I3:I1002)))}

I get the MAX value from column I3:I1002 but only where corresponding
values
in G3:G1002 are larger than the values in H3:H1002.

This appears to work fine but I now need the MAX value not only with
G3:G1002H3:H1002, but also where E3:E1002F3:F1002.

If someone could work the additional criteria into my formula it's be a
great help.
Many thanks for looking.



.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default MAX value but with two comparison filtering criteria

Array entered:

=MAX(IF((G3:G10027)+(H3:H10027),I3:I1002))

--
Biff
Microsoft Excel MVP


"Struggling in Sheffield"
wrote in message ...
Hi Biff,
Thanks for that, works a treat.

Just hit the buffers again though where I need to find the MAX value in
I3:I1002 but using an OR function rather than AND.
If value in column G3:G1002 is 7 OR value in H3:H1002 is 7 (or even if
both columns have a value 7 in them), how could I find the MAX
corresponding
value in column I3:I1002 where one or both criteria are met?

"T. Valko" wrote:

One way is to just nest another IF test.

Array entered:


=IF(I1019="","",MAX(IF(G3:G1002H3:H1002,IF(E3:E10 02F3:F1002,I3:I1002))))

This has the meaning of:

IF G3:G1002H3:H1002 *and* IF E3:E1002F3:F1002 on a cell by cell basis.

--
Biff
Microsoft Excel MVP


"Struggling in Sheffield"

wrote in message
...
Hi again chaps,
I'm using the following array formula to determine the MAX value in
column
I3:I1002:

{=IF(I1019="","",MAX(IF($G$3:$G$1002$H$3:$H$1002, I3:I1002)))}

I get the MAX value from column I3:I1002 but only where corresponding
values
in G3:G1002 are larger than the values in H3:H1002.

This appears to work fine but I now need the MAX value not only with
G3:G1002H3:H1002, but also where E3:E1002F3:F1002.

If someone could work the additional criteria into my formula it's be a
great help.
Many thanks for looking.



.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default MAX value but with two comparison filtering criteria

Cheers Biff

"T. Valko" wrote:

Array entered:

=MAX(IF((G3:G10027)+(H3:H10027),I3:I1002))

--
Biff
Microsoft Excel MVP


"Struggling in Sheffield"
wrote in message ...
Hi Biff,
Thanks for that, works a treat.

Just hit the buffers again though where I need to find the MAX value in
I3:I1002 but using an OR function rather than AND.
If value in column G3:G1002 is 7 OR value in H3:H1002 is 7 (or even if
both columns have a value 7 in them), how could I find the MAX
corresponding
value in column I3:I1002 where one or both criteria are met?

"T. Valko" wrote:

One way is to just nest another IF test.

Array entered:


=IF(I1019="","",MAX(IF(G3:G1002H3:H1002,IF(E3:E10 02F3:F1002,I3:I1002))))

This has the meaning of:

IF G3:G1002H3:H1002 *and* IF E3:E1002F3:F1002 on a cell by cell basis.

--
Biff
Microsoft Excel MVP


"Struggling in Sheffield"

wrote in message
...
Hi again chaps,
I'm using the following array formula to determine the MAX value in
column
I3:I1002:

{=IF(I1019="","",MAX(IF($G$3:$G$1002$H$3:$H$1002, I3:I1002)))}

I get the MAX value from column I3:I1002 but only where corresponding
values
in G3:G1002 are larger than the values in H3:H1002.

This appears to work fine but I now need the MAX value not only with
G3:G1002H3:H1002, but also where E3:E1002F3:F1002.

If someone could work the additional criteria into my formula it's be a
great help.
Many thanks for looking.


.



.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default MAX value but with two comparison filtering criteria

You're welcome!

--
Biff
Microsoft Excel MVP


"Struggling in Sheffield"
wrote in message ...
Cheers Biff

"T. Valko" wrote:

Array entered:

=MAX(IF((G3:G10027)+(H3:H10027),I3:I1002))

--
Biff
Microsoft Excel MVP


"Struggling in Sheffield"

wrote in message
...
Hi Biff,
Thanks for that, works a treat.

Just hit the buffers again though where I need to find the MAX value in
I3:I1002 but using an OR function rather than AND.
If value in column G3:G1002 is 7 OR value in H3:H1002 is 7 (or even
if
both columns have a value 7 in them), how could I find the MAX
corresponding
value in column I3:I1002 where one or both criteria are met?

"T. Valko" wrote:

One way is to just nest another IF test.

Array entered:


=IF(I1019="","",MAX(IF(G3:G1002H3:H1002,IF(E3:E10 02F3:F1002,I3:I1002))))

This has the meaning of:

IF G3:G1002H3:H1002 *and* IF E3:E1002F3:F1002 on a cell by cell
basis.

--
Biff
Microsoft Excel MVP


"Struggling in Sheffield"

wrote in message
...
Hi again chaps,
I'm using the following array formula to determine the MAX value in
column
I3:I1002:

{=IF(I1019="","",MAX(IF($G$3:$G$1002$H$3:$H$1002, I3:I1002)))}

I get the MAX value from column I3:I1002 but only where
corresponding
values
in G3:G1002 are larger than the values in H3:H1002.

This appears to work fine but I now need the MAX value not only with
G3:G1002H3:H1002, but also where E3:E1002F3:F1002.

If someone could work the additional criteria into my formula it's
be a
great help.
Many thanks for looking.


.



.



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
Filtering with multiple criteria fgwiii[_2_] Excel Discussion (Misc queries) 1 June 9th 09 04:52 PM
Different comparison criteria in sumproduct adimar Excel Worksheet Functions 5 January 29th 08 09:11 PM
Filtering by criteria within PV in Excel. Sardonic Excel Discussion (Misc queries) 0 December 4th 07 02:57 PM
Two cell Comparison with three different Criteria [email protected] Excel Worksheet Functions 8 December 28th 05 03:33 PM
Filtering by criteria in two columns bookmike Excel Worksheet Functions 2 July 20th 05 04:03 AM


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