Solved

isnull sql server function in excel vba

Posted on 2013-12-20
1
1,151 Views
Last Modified: 2013-12-24
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
Comment
Question by:johnnyg123
1 Comment
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 500 total points
Comment Utility
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 Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Row-Level Security 2 15
Create a loop to find all instances of a string 6 28
Macro 3 13
Delete Trigger in SQL Server2008R2 5 0
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now