Nest vlookup within large function

M

Mike S

MAX(VLOOKUP(A8,Sheet1!B2:E12,4,FALSE),VLOOKUP(A8,Sheet1!B2:E12,3,FALSE))

this works fine, but when I try to enter (ctl+shift+enter) the same formula
using the large function, I get an error

LARGE((VLOOKUP(A8,Sheet1!B2:E12,4,FALSE),VLOOKUP(A8,Sheet1!B2:E12,3,FALSE)),1)

Can vlookup not be nested within large? There is no particular reason I
wanted to use LARGE, I wanted to try it and cannot make it work.

Thanks for your help
 
D

daddylonglegs

LARGE expects a range or array as the first argument - you could use this
formula

=LARGE(VLOOKUP(A8,Sheet1!B2:E12,{3,4},0),1)

confirmed with CTRL+SHIFT+ENTER
 
Top