View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default Find highest value in a specific data set.

??

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Anna" wrote in message
...
Hi,
This array worked for me as well, but I have another problem. I search for
a
value and finding MAX and MIN and so far so good but when my number is
missing it is returning 0 and in my case this is no good answer because
the
answer can be 0 and know I donĀ“t know if this is the max/min value or just
a
missing value.


"Don Guillett" skrev:

An ARRAY formula that must be entered using CSE( ctrl +shift+enter)
=MAX(IF((A2:A22="Acme")*(B2:B22="usa"),D2:D22))
substitute range ref for acme, etc, if desired.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"dj479794" wrote in message
...
Excel 2003

I need a formula that will tell me the largest number in the "Value"
column
for a specific "Group".

In the sample data below the value for ACME's "USA" group would be
"1.5"
for
their "UK" Group it would be "0.5"
"DJ INDUSTRIES "Alpha" group it would be "1.0".

Some "Group" Names maybe the same for diffferent companies ("Company").
So
the formula needs to identify a change in "company" value as well.

Example of Data:
"/" = Denotes New Column of Data
First Row are Column Headers

Company / Group / Product Code / Value / {Column for formula}
ACME/USA/3456/0.5
ACME/USA/3456/0.5
ACME/USA/5432/1.0
ACME/USA/9584/1.5
ACME/UK/3456/0.5
ACME/UK/3456/0.5
DJ INDUSTRIES/ALPHA/5432/1.0
DJ INDUSTRIES/ALPHA/3456/0.5
JR ENTERPRISES/34RES/9584/1.5


Thanks!