# VLOOKUP combine two values into one cell, Name and Surname

#### Nick009

##### New Member
Hello,

I would like to combine the returned values of the following VLOOKUP’s into the same cell

=VLOOKUP(VLOOKUP(\$F\$8,Order_Data!\$A\$2:Order_Data!\$N\$8,2),Supplier_Data!\$A\$2:Supplier_Data!\$L\$100,3)

and

=VLOOKUP(VLOOKUP(\$F\$8,Order_Data!\$A\$2:Order_Data!\$N\$8,2),Supplier_Data!\$A\$2:Supplier_Data!\$L\$100,4)

the last number is the only difference 3 and then 4

Can somebody here help me with this?

They will probably end up being more like this but the simpler version is easier to understand for me.

=IF(VLOOKUP(VLOOKUP(\$F\$8,Order_Data!\$A\$2:Order_Data!\$N\$8,2),Supplier_Data!\$A\$2:Supplier_Data!\$L\$100,3)="","",VLOOKUP(VLOOKUP(\$F\$8,Order_Data!\$A\$2:Order_Data!\$N\$8,2),Supplier_Data!\$A\$2:Supplier_Data!\$L\$100,3))

Many thanks,

Nick

### Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

#### ParamRay

##### Well-known Member
.
.

Try something like this:

=TRIM(VLOOKUP(VLOOKUP(\$F\$8,Order_Data!\$A\$2:\$N\$8,2),Supplier_Data!\$A\$2:\$L\$100,3)&" "&VLOOKUP(VLOOKUP(\$F\$8,Order_Data!\$A\$2:\$N\$8,2),Supplier_Data!\$A\$2:\$L\$100,4))

#### Nick009

##### New Member
.
.

Try something like this:

=TRIM(VLOOKUP(VLOOKUP(\$F\$8,Order_Data!\$A\$2:\$N\$8,2),Supplier_Data!\$A\$2:\$L\$100,3)&" "&VLOOKUP(VLOOKUP(\$F\$8,Order_Data!\$A\$2:\$N\$8,2),Supplier_Data!\$A\$2:\$L\$100,4))

That is perfect!! thank you very much.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,305
Messages
5,836,539
Members
430,436
Latest member
Emilycr

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back