Multiple vlookups in single cell

BRUD1

New Member
Joined
Mar 9, 2018
Messages
4
Hi, New to this forum, so go easy.

I have managed to return 4 separate values using 4 vlookups on different lines in a single cell.
The purpose would be for these formula to run the entire year and show dates from the 4 other cells in the corresponding months accordingly.
However when one of the dates is not in range of Mar -18 it returns #N/A. How to return a blank for Non Mar 18 dates and still show those dates that are in Mar 18.

=TEXT(VLOOKUP($E$9,Table9[Mar-18],1,FALSE), "dd/mm")& "
" &TEXT(VLOOKUP($F$9,Table9[Mar-18],1,FALSE), "dd/mm")& "
" &TEXT(VLOOKUP($G$9,Table9[Mar-18],1,FALSE), "dd/mm")& "
" &TEXT(VLOOKUP($F$9,Table9[Mar-18],1,FALSE), "dd/mm")

Cheers
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
You can try...

=IFERROR(TEXT(VLOOKUP($E$9,Table9[Mar-18],1,FALSE), "dd/mm"),"")& "
" &IFERROR(TEXT(VLOOKUP($F$9,Table9[Mar-18],1,FALSE), "dd/mm"),"")& "
" &IFERROR(TEXT(VLOOKUP($G$9,Table9[Mar-18],1,FALSE), "dd/mm"),"")& "
" &IFERROR(TEXT(VLOOKUP($F$9,Table9[Mar-18],1,FALSE), "dd/mm"),"")
 
Upvote 0
I have another question regarding the above Vlookup in single cell. To distinguish what each value represents, I'm trying to workout if I can conditionally format each of the 4 values into different colors. Not sure if its possible.
 
Upvote 0
I have another question regarding the above Vlookup in single cell. To distinguish what each value represents, I'm trying to workout if I can conditionally format each of the 4 values into different colors. Not sure if its possible.

I'm afraid this is not possible with formulas or format cells. I don't think such is possible with conditional formatting either.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,316
Members
452,634
Latest member
cpostell

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