Nest vlookup within large function

G

Guest

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
 
G

Guest

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
 

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