Combine two Vlookups in one cell

DougStroud

Well-known Member
Joined
Aug 16, 2005
Messages
2,968
I need to locate two values and combine them in the same cell and add a text value.

The final result would look like this: $3000/$6000.
=VLOOKUP($D$6,'Portfolio 2019.csv'!$D$4:$AE$116,5, FALSE) & =VLOOKUP($D$6,'Portfolio 2019.csv'!$D$4:$AE$116,6, FALSE)

I have tried a few different approaches but failed. I need some assistance with this please.

=VLOOKUP(($D$6,'Portfolio 2019.csv'!$D$4:$AE$116,5, FALSE, VLOOKUP($D$6,'Portfolio 2019.csv'!$D$4:$AE$116,6, FALSE))

Thanks.
 
Last edited:

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Why not "=1st vlookup & "/" & 2nd vlookup ??

Code:
=VLOOKUP($D$6,'Portfolio 2019.csv'!$D$4:$AE$116,5, FALSE) & "/" & VLOOKUP($D$6,'Portfolio 2019.csv'!$D$4:$AE$116,6, FALSE)
 
Last edited:
Upvote 0
Try it this way:

= VLOOKUP ($ D $ 6, 'Carteira 2019.csv'! $ D $ 4: $ AE $ 116,5, FALSO)&VLOOKUP ($ D $ 6,'Carteira 2019.csv'! $ D $ 4: $ AE $ 116,6, FALSE)
 
Upvote 0
Try it this way:

= VLOOKUP ($ D $ 6, 'Carteira 2019.csv'! $ D $ 4: $ AE $ 116,5, FALSO)&VLOOKUP ($ D $ 6,'Carteira 2019.csv'! $ D $ 4: $ AE $ 116,6, FALSE)

Thank you eduzs! I was on that path, but I was trying to nest them... Thank you!!!
 
Upvote 0

Forum statistics

Threads
1,213,562
Messages
6,114,322
Members
448,564
Latest member
ED38

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top