Use of VLOOKUP function in an array formula

J

jaxgab

When I try the following array formula, the correct answer is not
returned:

=SUM(('PY Labor Distribution'!$A$7:$A$1000=$C8)*
(VLOOKUP('PY Labor Distribution'!$C$7:$C$1000,Names!$B:$F,
5,FALSE)="Southwest")*
('PY Labor Distribution'!$E$7:$E$1000))

Is it against the "rules" to use VLOOKUP in an array formula?
 
S

ssGuru

When I try the following array formula, the correct answer is not
returned:

=SUM(('PY Labor Distribution'!$A$7:$A$1000=$C8)*
(VLOOKUP('PY Labor Distribution'!$C$7:$C$1000,Names!$B:$F,
5,FALSE)="Southwest")*
('PY Labor Distribution'!$E$7:$E$1000))

Is it against the "rules" to use VLOOKUP in an array formula?

Try SUMPRODUCT
 

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