Vlookup

S

sanders

Hi,
When I run a Vlookup for 'X' on a list which has many 'X' values, Excel
only returns the bottom value in the result. Is it possible to return
the Sum of the Xs?
Also, is it possible to make the Vlookup return multiple columns
instead of just one?

Thanks
 
G

Guest

Try:

=COUNTIF(A:A,"X") to give count of Xs

=SUMIF(A1;A100,"X",B1:B100) will sum values in column B where Column A = "X"


=VLOOKUP(3,A1:G8,{2,5,6}), array entered (Ctrl+Shift+Enter) into a 3-cell
row will return
the values from Columns B,E & F that correspond to the value of 3 in Column A.

=VLOOKUP(3,A1:G8,{2;5;6}) will return them to a 3-cell column (array entered).

HTH
 

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

Similar Threads

Using H/VLOOKUP to return multiple values 2
VLOOKUP 2
Sum Vlookup where there are blanks 1
vlookup and sum of colums 5
Vlookup error? 6
Vlookup 6
Vlookup or Other vs Sort? 1
VLookup 1

Top