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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
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,214,593
Messages
6,120,435
Members
448,961
Latest member
nzskater

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