Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 208
Default How do I return Multiple values using VLookup?

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?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 150
Default How do I return Multiple values using VLookup?

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$20 00,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!

In article ,
Sean wrote:

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup one value and return multiple values Lisa Excel Discussion (Misc queries) 3 April 10th 07 04:44 PM
Lookup in Multiple Columns, Return Multiple Values andy62 Excel Worksheet Functions 3 July 6th 06 02:36 AM
How can I use the vlookup function to return a sum of the values? Chaandni Excel Discussion (Misc queries) 4 November 7th 05 03:05 PM
vlookup function return all values j2thea Excel Worksheet Functions 20 November 2nd 05 10:32 PM
Search multiple values to return single values JANA Excel Worksheet Functions 8 October 27th 05 04:26 PM


All times are GMT +1. The time now is 09:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"