# VLOOKUP Values In 2 Different Cells And Return Other Columns?

Feb 26, 2013

Vlookup or Match for a product list project.

I need "my sheet" to populate (columns A,B,&C) with some source data; however, I need the lookup to reference both retailer# and color (columns D&E) and return other information such as description, color description, etc...

Here is the example of both sheets:

My Sheet:
Row/Col.
A
B
C

[Code]....

## How To VLOOKUP A Value In A Another Sheet And Return Concatenated Values Of Other Cells

Nov 27, 2013

I need to do a vlookup of the values of Sheet 1 Column A (Ref) in Sheet 2 Column A (Ref).

The results will be the concatenated values of Sheet 2 Column B + C + D + E to be displayed in Sheet 1 Column B (Address).

I'm not sure how I can do this using formula.

I've attached a example.

## Vlookup To Return One Value From Multiple Columns?

Sep 21, 2013

I have two separate worksheets, and I am trying to create a Vlookup or Index and Match formula. Here is the example:

Sheet 1
Cell A1= Employee ID: 123-D.

Sheet2
Vlookup A1 from Sheet 1, and match the first five characters to Column A, Column I and Column P. If a match, return name (e.g. John Doe) in Sheet 1, cell B1.

## Vlookup From Multiple Columns With Only One Return

Dec 19, 2008

I have a spreadsheet with twenty columns. Column A has an item number (say "Clutch"), and the remainder of the columns have values. However, there only be one column in the range B:T which will have a value on the same row as "Clutch" (say "Black" in column "N").

How I can I return "Black" using a vlookup or should I be using something else?

## VLOOKUP Return All Columns In The Range

Aug 31, 2007

I wanted to lookup value A5, and return all columns in the range A1:D5, I could use the formula =vlookup(A5,\$A\$1:\$D\$5,2,false) and copy this formula 3 times changing the third parameter 2, to 3 , 4 and 5. i.e 4 VLOOKUP formulas.

I could, instead, convert the VLOOKUP into an array and enter it CSE i.e =vlookup(A5,\$A\$1:\$D\$5,{2,3,4,5},false). This returns the right answer but "appears" to have only used 1 VLOOKUP.

What if this was extended to say 26 columns so instead of "hard coding" the array constants I used =vlookup(A5,\$A\$1:\$D\$5,COLUMN(B:AA),false). Is this better than 26 indivisual VLOOKUP's in term of speed?

## VLookup To Return Yes And No Values

Aug 5, 2009

Is it possible to write a vlookup that will return a value of Yes if the value is true and a value of No if the value is false?

I have data in column A on sheet 1 so the lookup value starts in cell A2 and the table array is on sheet 2 in columns A and B so the column index is 2.

## VLookup Won't Return Any Values

Jul 25, 2012

When I use my vlookup function and hit enter, the no value shows up and I can still see the function syntax that I wrote in the cell. Here's a sample of what my sheet looks like:

Number
Name
Hazard
Number 2

[Code]...

I need to know the value in the 'number 3' column is for the 'number' column. For example, I need '1302-76-7' inputted in a column adjacent to one of the first three columns. Another example: I need 'na - 07' inputted in the same row that has a 'number' of '1073'. This is how I want it to look:

Number
Name
Hazard
Number3

[Code]...

When I type in the vlookup formula listed above, nothing happens. This is exactly how it looks in my spreadsheet, even when I click another cell or hit enter. Is my syntax wrong or have I just missed something?

## Vlookup & Return All Values 2

Jul 7, 2009

Very similar to the original thread 'vlookup & return all values', i need to lookup a velue and return all the relevant values.

Unlike the original thread, i need the macro to return an array of cells, rather than just one.

Public Function FindSeries(TRange As Range, MatchWith As String)

For Each cell In TRange
If cell.Value = MatchWith Then
x = x & cell.Offset(0, 1).Value & ", "
End If
Next cell

FindSeries = Left(x, (Len(x) - 2))

End Function ............................

## Vlookup Two Values And Return Another One

Oct 16, 2009

I have two workbooks which are data dumps from another program. Say I have WO #, Task #, and Cost in workbook1 and WO #, Task # in workbook2. I need to compare the WO# in workbook2 with WO# in workbook1 if it matches I need to compare the Task # in workbook2 with the Task# in workbook1 (but it must compare the same row in which the WO # match was found) then it must return the cost from workbook1 to workbook2 ( again the cost must come from the same row in which the WO and Task match were found in).

This could be a VBA code or even a formula that does not matter.

## Vlookup To Return Multiple Values

Jul 6, 2007

Is there a way where i can vlookup a column and return all matches if there are multiple values?

## VLOOKUP To Return Multiple Values?

Jun 27, 2014

I have a list of countries in column A, there are duplicates in this list. In column B are numbers corresponding to the country.

A B
IRELAND 1221
GERMANY 2341
USA 3443
IRELAND 2231

Ireland could be in the list and have up to 20 different values beside it in column B

On a separate sheet i have a drop down list of all the countries. I am looking for a vlookup or something similar to return a list of all the numbers beside IRELAND when Ireland is selected in the drop down list.

I had been trying a vlookup but this looks at the list and stops at the first "IRELAND" it finds and just returns the value beside the first "IRELAND"

## Vlookup And Return Multiple Values?

Jul 22, 2014

formula to vlookup and return multiple value in a single as per the attachment.

## Use A VLookup To Return Multiple Values

Apr 7, 2009

I have a workbook with 2 sheets. The sheet called 'data' contains all purchasers names (which do get repeated), the item they bought and 3 item costs, all in range A1:E15. The 'lookup' sheet allows the user to enter a purchasers name in cell B1, then I want all the items that purchaser bought listed with the corresponding item costs. I've attached a sample spreadsheet.

## VLOOKUP To Return Multiple Values

Jun 3, 2008

I'm having trouble getting my payroll data to combine. I've been using VLOOKUP to look up employees by their Personel Number (Column A) and return their name (column B), Cost Center (Column C), the Fund that they are paid from (Column D) and the Amount they are paid (Column E). The problem is that some employees are being paid out of 2 or more funds and VLOOKUP is only returning the fund that appears first, leaving out the other portion of their pay and thus making my grand total quite far off. How can I get Excel to return all the entries for a particular Personel Number? There are more than 16000 employees, so this is no small spreadsheet.

## VLookup Return Multiple Values?

Dec 19, 2011

I've been trying to research vlookup to see how I can use it or something like it to return multiple value for a dynamic chart I'm trying to build. I've found several paged to give examples but I can not seem to figure it out with my sheet b/c the examples differ from mine I have a financial spreadsheet with several categories and I want to make a chart for all my utilities. i need a array formula (i think) that will search for (example) My salary, my wife's salary and other income and extract those values in the next column (Credit (+)) to build a chart... (i will use this same concept to make other charts as well.) The Categories column is F and the values will need to be extracted for the chart are in G. doesnt matter where they are extracted to but for the sake of being speific ill say starting P50.

(first row below headings is row 5)
CATEGORYCREDIT (+)DEBIT (-)Salary - Byron\$ 2,571.11 Utility - Electric\$ (154.25)Salary - Felicia\$ 1,120.20 Utility - Gas \$ (79.47)Mortgage\$ (852.01)Salary - Byron\$ 2,499.53 Other Income\$ 150.00

## VLOOKUP Not Return Repeated VALUES

Jun 27, 2012

I have a table like this. I tried using a formula to get the return code values ​​equal no more have exito.

45

2
43

5
45

89
76

[code].....

How to do VLOOKUP bring the values ​​of the numbers "1".?

## VLOOKUP Multiple Return Values

Apr 8, 2008

I am up for any way that this would be possible ....

## Vlookup Formula To Return Multiple Values?

Jun 23, 2014

I'm trying to use vlookup to return multiple values for the same unique identifier. I've read a couple of examples within the forums, but I haven't been able to find anything I understand. I have employee ID's and these ID's have specific access associated with their ID's and each access is listed within a different row. Within a new spreadsheet I removed all duplicates of the employee ID so now I no longer have a one to one match between spreadsheets, so I would like to create a vlookup that will list all access associated with each employee ID. I have attached a sample of the data sheet I am working with.

## Vlookup To Return Multiple Values For Graphing

Mar 7, 2014

I am attempting to graph data based on work down in specific work centers to track efficiency. I can download all items that were finished for a certain time frame (yesterday, last month, last year, etc.), but the data only shows up as the item, quantity, and the date of closure. I take that info and copy and paste it to the close out tab of the other work book, where it references another sheet to pull in the time required to complete the task, and the work center that did the work. My problem is when an item has multiple work centers on the same item and then taking that info into a pivot table to graph. This can be done manually, but I was hoping I could create a way to only have to copy and paste the data and have it return the work done.

I have included a shortened version of what I am trying to do, eventually there will be 25000+ items on the data tab, but if I can get this to work, then i assume I can extrapolate.

## Vlookup Return Multiple Values In One Cell

Feb 15, 2010

I tried searching for a solution to my formula problem in this forum regarding vlookup and saw similar formula e.i returning multiple values but it doesn't cater with what I need.

Vlook is returning only the first value but what I need is to return all the multiple return values in 1 cell. I've attached a sample worksheet for reference.

## VLookup One Value And Return Multiple Corresponding Values In One Cell?

Feb 23, 2012

OK for example if i hae this list of data:

Invoice number Order number
111 560
112 561
112 562
113 563

What i need to do is a vlookup from the above table to return the following:

Invoice Number Order number
111 560
112 561, 562
113 563

## VLookup To Return Multiple Values In Same Cell?

Jul 17, 2012

Traditionally the vookup will return the first value it can match. I can return multiple values on different lines using an array formula but this is not useful.

In the example below I have table array A1:B8. Lookup criteria in cell A11 and want to return MULTIPLE values from column B in cell B11.

I would prefer to not use VBA if possible

A
B
1

[Code]....

## Vlookup Return Same Values With Text File

Sep 22, 2006

I would like to know if the data saved from a text file to an excel file, would affect the Lookup query.

My problem was vlookup kept returning the same values.

## Vlookup A Column To Return Multiple Values

Jul 6, 2007

Is there a way where i can vlookup a column and return all matches if there are multiple values?

## Look Across Values In 12 Columns, Return The Number Of Unique Values

Apr 17, 2009

I have 12 columns of data. In those 12 columns of data I have 3 digit numeric IDs. I want to count the unique number of IDs for each row. I have about 14K rows.

What would be the best way to do so?

Some rules about how the data is stored. I have 12 columns of data with anywhere from 1 to 12 columns having data for each respondent. Data always fills left to right and never skips columns.

I have attached an example file that represents how the data is stored and the output I would like (Unique Count).

## VLookup To Compare Two String Values And Return Value Of A Cell

Oct 22, 2012

I need to compare a string from say A1 to a range of cells in another workbook and if found return the value of a cell on the same row.

Something like - look up string value in A1 in other workbook.sheet1.A1:A65535 if matched return the value of matched row column b.

OR

IF Otherworkbook.sheet1.A20 = A1 return the value of B20

## VLookup Multiple Values And Return Only Smallest Value Found

Nov 27, 2013

I have an excel sheet with multiple columns. In one column I have X's and in another I have a limit. I need to look down the stuff column, find every X, match each X to its corresponding limit and then compare all the limits and return only the smallest limit found. I.e if I was looking down the stuff column I would find 4,6,8,8,3 and thus I would return 3 as my value. I am very new to working with excel formulas,

limit
something
stuff
4
x

[Code]....

## VLookup Multiple Values And Return In One Cell With Comma Separated

Apr 6, 2013

code1
code2
lookup Range1
lookup Range2
Return Value
Lookup
Multiple Return

[Code]....

I am trying to vlookup multiple value and return multiple values in one cell

## VLookup Using Two Values In Two Columns

Aug 11, 2014

I am creating a payroll spreadsheet that will look up tax deductions from a spreadsheet I pulled from the IRS website. The first two columns represent a range of values the employee's pay would fall between. The first column is "paid at least" and the second column is "but paid less than".

Once I locate which row the employee's wages fall between, I would then need to match their number of withholdings with the corresponding column. Columns 3, 4 and 5 have headings to represent 0, 1 or 2 withholdings.

The value I need returned would be the intersection of wages paid and withholdings. For my spreadsheet example, if the employee's wages are 1,023 and they have 1 withholding, I need the formula to return 147. I was able to find a vlookup/match formula but it worked only without a range of wages paid.

For example, if the employee was paid exactly 1,030 and had 1 withholding, it would vlookup/match to return 147. Obviously, this won't work with me needing to find the correct row based on where their wage falls in the ranges.

I've attached a picture of the spreadsheet example below. payroll example.jpg

## Return Values From Several Columns

Feb 19, 2009

If I am creating a vlookup forumulae, and I want to return values from several columns, I have been manually changing the column it's returning the value from when I drag the formula across the columns. This is ok for a few columns.

eg =VLOOKUP(\$D2,\$AB:\$AJ,1,FALSE), dragged across columns, and then manually edited in each column to read

=VLOOKUP(\$D2,\$AB:\$AJ,1,FALSE), =VLOOKUP(\$D2,\$AB:\$AJ,2,FALSE), =VLOOKUP(\$D2,\$AB:\$AJ,3,FALSE), =VLOOKUP(\$D2,\$AB:\$AJ,4,FALSE)

etc

The value doesn't increase when you drag it.

is there a short cut for doing this automatically?