Ayato,
assumed row1 has headers
Using Advanced filter on Vendors column only get a unique list of Vendors to
column.
say columnD so as your example D2 is a,D3 is b,D4 is c,
and in E2 put this array formula (Entered while Ctrl and Shift keys are
being held down)
=MAX((($A$2:$A$8)=D2)*($B$2:$B$8))
and fill down.
HTH
Cecil
"Ayato " wrote in message
...
Hi @ll,
I need a formula (or VBA code) that could help me to extract the MAX
value for a specific identifer in a range.
For example:
I have vendors in column A and sales in column B
Vendor/Sales
a 50
a 53
a 90
b 110
b 36
a 100
c 500
I need to know the MAX for vendor a = 100, b = 110, c = 500
Please advise,
Ayato
---
Message posted from http://www.ExcelForum.com/