Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / June 2007

Tip: Looking for answers? Try searching our database.

How do I return Multiple values using VLookup?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sean - 12 Jun 2007 06:12 GMT
Hey,

I have a spreadsheet running while using VLookup, now in the first row I
have multiple dollar values but different account names that relate to the
dollar value is there anyway to return the other account names that have the
same dollar value?

The function looks like ;
=VLOOKUP(A1,'01.06.07'!$A$1:$C$2000,2,FALSE)

and the multiples would be like I need to return column 1 and 4, so I have
the multiples.

29.8    1942978         -             ACCUFIT 1942978 NETBANK TFR  
29.8    1109582         -                   ACCOUNT 1109582 DIACORE PTY LT

Can anyone help with this?
Domenic - 12 Jun 2007 12:45 GMT
To return the corresponding values for the second column, Column B, try
the following...

B1:

=COUNTIF('01.06.07'!A1:A2000,A1)

C1, copied down:

=IF(ROWS(C$1:C1)<=$B$1,INDEX('01.06.07'!$A$1:$C$2000,SMALL(IF('01.06.07'!
$A$1:$A$2000=$A$1,ROW('01.06.07'!$A$1:$A$2000)-ROW('01.06.07'!$A$1)+1),RO
WS(C$1:C1)),2),"")

...confirmed with CONTROL+SHIFT+ENTER.  To return the corresponding
values for the 3rd column, change the 2 at the end of the formula to a 3.

Hope this helps!

> Hey,
>
[quoted text clipped - 13 lines]
>
> Can anyone help with this?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.