Need to get rid of "N/A"

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
819
Office Version
  1. 365
Platform
  1. Windows
How would I get rid of the "N/A" value and replace it with "0?"


=P14*(S14*T14)+R14


thanks!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
819
Office Version
  1. 365
Platform
  1. Windows
maybe the better question is: how do i get this formula to return a "0" value instead of N/A:


=VLOOKUP(E29,LABOR1,11,FALSE)
 
Upvote 0

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
The general context to eliminate N/A is

=IF(ISNA(originalformulahere),"",originalformulahere)

so for your example
=IF(ISNA(VLOOKUP(E29,LABOR1,11,FALSE)),"",VLOOKUP(E29,LABOR1,11,FALSE))
 
Upvote 0

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
819
Office Version
  1. 365
Platform
  1. Windows
Excellent! thank you guys.
 
Upvote 0

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
819
Office Version
  1. 365
Platform
  1. Windows
does the same formula work for #DIV/0!? I tried it and the formula works but I cant get the #DIV/O! out of there.
 
Upvote 0

Forum statistics

Threads
1,191,032
Messages
5,984,247
Members
439,879
Latest member
KingGoulash

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
Top