• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Max function in Excel 2010

sparkles

New Member
I'm working on improving my stock keeping system and have been trying to use the Max function with varing results.


The formulae below is designed below to find the maximum purchase paid for a raw material.


=MAX((Purchase!$B$2:$B$70=A2)*(Purchase!$F$2:$F$70))


Purchase! Column B is the product code in the purchase order

Purchase! column f is the price paid


However I'm having problems with the formulae - can anybody offer advise please?


The problem:-

In the cell in which the formulae is typed the the first value of product A2 price paid is depicted rather than the correct answer. If however you pressed the "fx" insert function tab the function arguments window appears showing the correct answer.


If you F9 the formulae the correct answer appears, but does not then update if you change the data. Has anybody got any ideas as to where I am going wrong?


Thanks

Sparkles
 
Also tried:-


=MAX(--(Purchase!$B$2:$B$70=A2),--Purchase!$F$2:$F$70)


with the same problem - incorrect in the cell, yet correct in the function argument window!


Help

Rgs
 
Back
Top