Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1415
  • Last Modified:

isnull sql server function in excel vba

Is there a function that has similar functionality to the isnull sql server function in excel vba

need to replace null values with zero-
0
johnnyg123
Asked:
johnnyg123
1 Solution
 
Lee SavidgeCommented:
There isn't really a direct replacement but you can still use Excels version in combination with iif. Something like this:

iif(isnull(myvalue), 0, myvalue)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now