ISNA VLOOKUP formula error

towners

Board Regular
Joined
Mar 12, 2009
Messages
225
Office Version
  1. 365
Platform
  1. Windows
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

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
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))
 
Upvote 0
You're a very, very, very nice man. Thank you for swift and effective response - have a great day!
 
Upvote 0

Forum statistics

Threads
1,213,517
Messages
6,114,085
Members
448,548
Latest member
harryls

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