ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   VLookup returning more than one Row of information (https://www.excelbanter.com/excel-worksheet-functions/120461-vlookup-returning-more-than-one-row-information.html)

Kharum

VLookup returning more than one Row of information
 
I know this has to be easy but for the life of me I can't figure it out. I
have a Vlookup statement...IF(ISNA(VLOOKUP($A2,COREDB,8,False)),"
",VLOOKUP($A2,COREDB,8,false))...it works but it only returns information
from one entry. The number in cell A2 appears in the database "COREDB" more
than once and I wouold like to have it return the entire row of information
foe each time the number appears. ex.

A B C D
1234 yes no yes
1234 no no no
1244 nju ijn noio

I would like the lookup to return both rows of 1234. How can I do this?
Please help.

Niek Otten

VLookup returning more than one Row of information
 
http://office.microsoft.com/en-us/as...260381033.aspx


--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Kharum" wrote in message ...
|I know this has to be easy but for the life of me I can't figure it out. I
| have a Vlookup statement...IF(ISNA(VLOOKUP($A2,COREDB,8,False)),"
| ",VLOOKUP($A2,COREDB,8,false))...it works but it only returns information
| from one entry. The number in cell A2 appears in the database "COREDB" more
| than once and I wouold like to have it return the entire row of information
| foe each time the number appears. ex.
|
| A B C D
| 1234 yes no yes
| 1234 no no no
| 1244 nju ijn noio
|
| I would like the lookup to return both rows of 1234. How can I do this?
| Please help.



Kharum

VLookup returning more than one Row of information
 
I keep getting a #REF error when tring to reference another sheet.


"Niek Otten" wrote:

http://office.microsoft.com/en-us/as...260381033.aspx


--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Kharum" wrote in message ...
|I know this has to be easy but for the life of me I can't figure it out. I
| have a Vlookup statement...IF(ISNA(VLOOKUP($A2,COREDB,8,False)),"
| ",VLOOKUP($A2,COREDB,8,false))...it works but it only returns information
| from one entry. The number in cell A2 appears in the database "COREDB" more
| than once and I wouold like to have it return the entire row of information
| foe each time the number appears. ex.
|
| A B C D
| 1234 yes no yes
| 1234 no no no
| 1244 nju ijn noio
|
| I would like the lookup to return both rows of 1234. How can I do this?
| Please help.





All times are GMT +1. The time now is 12:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com