Problem with Nulls

iamcaesar

New Member
Joined
Jun 17, 2004
Messages
8
Howdy,

My boss tells me he runs into a bunch of problems when his database contains null values... Has anyone else run into any problems caused by nulls? If you have, could you please explain your problems here? thanks,

Caesar (y)
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
It depends on how the cell or field is formatted. In theory Null means the cell is empty - ie. does not contain anything.

In practice, if the cell is formatted as Text an empty cell contains an empty string which can be referred to as "".

If formatted as a number, the empty cell can contain either nothing - ie Null, or number zero. This is the one that usually gives a problems - especially when using MS Access - because the system does not count a Null cell as zero, so calculations go wrong.

In Excel this is not a big problem unless we are writing macros that search for zero. A way of getting round this is to actually put zeros into empty cells.
MS Access has a nz() function for use where this might be a problem.
 
Upvote 0

Forum statistics

Threads
1,221,831
Messages
6,162,248
Members
451,756
Latest member
tommyw

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