# ISNA VLOOKUP formula error

#### towners

##### Board Regular
Hi,

I'm attempting to create a formula that sets to zero any cell that is blank on my VLOOKUP. The VLOOKUP works fine however when I use this code I get "formula contains an error" and the "0" is highlighted.

=IF(ISNA(VLOOKUP(\$B\$1&"Line "&\$A\$5&\$B5,'Daily Data'!\$A:\$AA,19,FALSE),0,VLOOKUP(\$B\$1&"Line "&\$A\$5&\$B5,'Daily Data'!\$A:\$AA,19,FALSE))

Can anyone help? btw it's excel 2002

Many thanks

Paul

### Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

#### VoG

##### Legend
Try

=IF(ISNA(VLOOKUP(\$B\$1&"Line "&\$A\$5&\$B5,'Daily Data'!\$A:\$AA,19,FALSE)),0,VLOOKUP(\$B\$1&"Line "&\$A\$5&\$B5,'Daily Data'!\$A:\$AA,19,FALSE))

#### towners

##### Board Regular
You're a very, very, very nice man. Thank you for swift and effective response - have a great day!

Replies
3
Views
302
Replies
1
Views
315
Replies
3
Views
364
Replies
1
Views
155
Replies
1
Views
291

1,195,619
Messages
6,010,736
Members
441,567
Latest member
Flitbee

### 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.

### Which adblocker are you using?

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

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