Combine two Vlookups in one cell

DougStroud

Well-known Member
Joined
Aug 16, 2005
Messages
2,976
Office Version
  1. 365
Platform
  1. MacOS
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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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
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 Patropi, you were on the same direction as eduzs.
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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