Vlookup error

Nanogirl21

Active Member
Joined
Nov 19, 2013
Messages
331
Office Version
  1. 365
Platform
  1. Windows
I am using the below formula to populate a cell based on dates from a different worksheet. Everything is working properly, but I am getting error #N/A when the date is not available. How can I modify the formula to return a blank cell (no text) when an error #N/A is returned?

PHP:
=IF(ISERROR(VLOOKUP(F10,Dates!$A:$I,2,FALSE))," ",VLOOKUP(F10,Dates!$A:$I,2,FALSE))&CHAR(10)&VLOOKUP(F10,Dates!$A:$I,3,FALSE)&CHAR(10)&VLOOKUP(F10,Dates!$A:$I,7,FALSE)
 
Last edited:
Try something like this

=IF(ISNUMBER(MATCH(D5,Events!B:B,0)),"rest of the formula","")

M.

I tried this and it is saying that i eneted too many arugments for the function.


Since I could not get it to work. I decieved to just use conditional formatting to turn the cell that contains an error to white.
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Maybe this...

=IF(ISNUMBER(MATCH(D5,Events!B:B,0)),IF(VLOOKUP(D5,Events!B:Z,9,FALSE)="yes",VLOOKUP(D5,Events!$B:$Z,3,FALSE)&CHAR(10)&VLOOKUP(D5,Events!$B:$Z,2,FALSE)&CHAR(10)&VLOOKUP(D5,Events!$B:$Z,6,FALSE),""),"")

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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