if(len(vlookup with error

gabdid

New Member
Joined
Mar 21, 2022
Messages
20
Office Version
  1. 365
Platform
  1. MacOS
I am having trouble getting in a isblank in my formula. its a vlookup on a isblank cell, i also need the vlookup to have the error but i dont want the N/A if the cell its getting the information from is blank;

First part: =IF(ISBLANK(E49);"";E34+7) - works fine
Second part: =IF(LEN(VLOOKUP(E32;Sheet1!U2:W865;3;0))=0;"";VLOOKUP(E32;Sheet1!U2:W865;3;0)) - this is where i need to also add make it blank if cell E32 is blank so i dont get the N/A

Can someone help me?

Thanks in advance!
 
Hi again, thought maybe you could work your magic again. i tried the same formula in another document where i have the info on the same sheet,

=LET(v;VLOOKUP(C3;$A$2:$B$200;2;0);IF(C3="";"";IF(v="";"";v)))

In A column is mixed with no formulas and =IF(ISBLANK($A$52);"";$A$52-7)

However i get N/A in all the cells again with no date.

Is there something i need to tweek?
 

Attachments

  • Screenshot 2022-03-22 at 10.30.02.png
    Screenshot 2022-03-22 at 10.30.02.png
    246 KB · Views: 9
Upvote 0

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Sorry i had it in white font. its the date thats its based on.
 

Attachments

  • Screenshot 2022-03-22 at 12.58.52.png
    Screenshot 2022-03-22 at 12.58.52.png
    202.5 KB · Views: 5
Upvote 0
None of those cells are blank.
 
Upvote 0
where its taking the info from, in column A there are some cells blank. So the vlookup should base the info from C column and the info is in A-B column. in the A column i have some blank cells, some with a formula (isblank) and some with just the date without a formula. and in column I i dont want the N/A to show if there is no info or that date. If that makes sense? :)
 
Upvote 0
But you originally said if the vlookup returned #N/A you wanted to see that.
 
Upvote 0
Ah then sorry if i wasn't clear. i want it to be blank and not show the N/A in column I. Just like i did in the last document and there this formula worked but it doesnt work in this document.

=LET(v;VLOOKUP(C3;$A$2:$B$200;2;0);IF(C3="";"";IF(v="";"";v)))
 
Upvote 0
That formula is doing exactly what you originally asked for. If C3 is blank or col B is blank then return "" otherwise return the result of the vlookup including #N/A.
If you now want something different you will need to explain exactly what you do want.
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,399
Members
449,447
Latest member
M V Arun

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