Don't display "#N/A" or "#VALUE!" in cell?

Eric Livesay

Board Regular
Joined
Feb 13, 2008
Messages
127
Hello fellas,

I have 2 different formulas in 2 different cells that returns "N/A" or "#VALUE!" if there is no data in the cell it's referenceing.

How can i keep the cell from displaying "N/A" or "#VALUE!"?

These are my formulas:
=AV277+LOOKUP(AW277,{"Fail","Pass"}, {10,100})

=IF(M343<>"",SUM(M343+180),"")

Do i have to nest an "ISNA" or "IF" formula in with it? If so, how?


Thanks in advance!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Which version of Excel are you using? In Excel 2007 and later you can use IFERROR function, e.g.

=IFERROR(formula,"")

so for the first formula that would be

=IFERROR(AV277+LOOKUP(AW277,{"Fail","Pass"}, {10,100}),"")
 
Upvote 0
I'm using 2007 and your fix works great.

Thanks!

What about the other formula?
=IF(M343<>"",SUM(M343+180),"")

Inserting IFERROR doesn't work.
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,555
Members
452,928
Latest member
101blockchains

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