INDEX, MAX, OFFSET, MATCH

J

Joe Gieder

I'm having trouble with this formula:
INDEX('All Data'!$J$3:$J$671,MAX(('All Data'!$J$3:$J$671),OFFSET('All
Data'!$A$3,MATCH('Summary Data'!A8,'All Data'!$A$3:$A$671,0)-1,9,-1,-1)))

What I'm trying to do is use a part number from one sheet (Summary Data A8)
and look on another (All Data) to find the MAX price for the MATCHing part
number.
the data is contained this way: 'All Data'!$J$3:$J$671 has the price,
'Summary Data'!A8 has the part number I'm using as the value to lookup, 'All
Data'!$A$3:$A$671 has the array of part numbers to look in for the MATCH. On
the All Data sheet the same part number is listed many many times and a lot
of times the price is same, example:

A J
123 $5
123 $5
123 $6
123 $5
123 $6
987 $10
987 $11
987 $10

Can this be done?

TIA
joe
 
T

Toppers

try:

=MAX(IF('All Data'!$A$3:$A$671='Summary Data'!A8,'All Data'!$J$3:$J$671))

Entered with Ctrl+Shift+enter

You will get curly braces {} round the formula if entered correctly.
 
J

Joe Gieder

This worked great. Thank you.

Toppers said:
try:

=MAX(IF('All Data'!$A$3:$A$671='Summary Data'!A8,'All Data'!$J$3:$J$671))

Entered with Ctrl+Shift+enter

You will get curly braces {} round the formula if entered correctly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top