954,262 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

MS EXCEL: How to find MAX value of a range using VLOOKUP?

Hello everybody,

I have a sheet containing historical exchange rates for AUDJPY (2 columns, Date and Price). I also have another sheet containing hypothetical AUDJPY trades (4 columns, Start Date, End Date, Start Price and End Price). What I would like to do is find the maximum value of a range as defined by the Start/End dates for each trade. I tried using the following but it only takes the Start/End prices and finds the MAX of the two, ignoring all values in between:

=MAX(VLOOKUP(A2,'Historical Data'!A4:O4385,2), VLOOKUP(AUDJPY!B2,'Historical Data'!A4:O4385,2))

Does anyone have an idea of how to solve this?

Many thanks!

quiptro
Newbie Poster
19 posts since Jan 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: